summaryrefslogtreecommitdiffstats
path: root/src/main/java/org/bukkit/entity/Player.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/java/org/bukkit/entity/Player.java')
-rw-r--r--src/main/java/org/bukkit/entity/Player.java22
1 files changed, 10 insertions, 12 deletions
diff --git a/src/main/java/org/bukkit/entity/Player.java b/src/main/java/org/bukkit/entity/Player.java
index 8132cf66..6b35240e 100644
--- a/src/main/java/org/bukkit/entity/Player.java
+++ b/src/main/java/org/bukkit/entity/Player.java
@@ -16,12 +16,11 @@ import org.bukkit.plugin.messaging.PluginMessageRecipient;
/**
* Represents a player, connected or not
- *
*/
public interface Player extends HumanEntity, CommandSender, OfflinePlayer, PluginMessageRecipient {
/**
* Gets the "friendly" name to display of this player. This may include color.
- *
+ * <p />
* Note that this name will not be displayed in game, only in chat and places
* defined by plugins
*
@@ -31,7 +30,7 @@ public interface Player extends HumanEntity, CommandSender, OfflinePlayer, Plugi
/**
* Sets the "friendly" name to display of this player. This may include color.
- *
+ * <p />
* Note that this name will not be displayed in game, only in chat and places
* defined by plugins
*
@@ -153,7 +152,7 @@ public interface Player extends HumanEntity, CommandSender, OfflinePlayer, Plugi
/**
* Loads the players current location, health, inventory, motion, and other information from the username.dat file, in the world/player folder
- *
+ * <p />
* Note: This will overwrite the players current inventory, health, motion, etc, with the state from the saved dat file.
*/
public void loadData();
@@ -220,7 +219,7 @@ public interface Player extends HumanEntity, CommandSender, OfflinePlayer, Plugi
* Send a chunk change. This fakes a chunk change packet for a user at
* a certain location. The updated cuboid must be entirely within a single
* chunk. This will not actually change the world in any way.
- *
+ * <p />
* At least one of the dimensions of the cuboid must be even. The size of the
* data buffer must be 2.5*sx*sy*sz and formatted in accordance with the Packet51
* format.
@@ -230,7 +229,6 @@ public interface Player extends HumanEntity, CommandSender, OfflinePlayer, Plugi
* @param sy The y size of the cuboid
* @param sz The z size of the cuboid
* @param data The data to be sent
- *
* @return true if the chunk change packet was sent
*/
public boolean sendChunkChange(Location loc, int sx, int sy, int sz, byte[] data);
@@ -303,7 +301,7 @@ public interface Player extends HumanEntity, CommandSender, OfflinePlayer, Plugi
/**
* Sets the current time on the player's client. When relative is true the player's time
* will be kept synchronized to its world time with the specified offset.
- *
+ * <p />
* When using non relative time the player's time will stay fixed at the specified time parameter. It's up to
* the caller to continue updating the player's time. To restore player time to normal use resetPlayerTime().
*
@@ -471,19 +469,19 @@ public interface Player extends HumanEntity, CommandSender, OfflinePlayer, Plugi
* @return Bed Spawn Location if bed exists, otherwise null.
*/
public Location getBedSpawnLocation();
-
+
/**
* Determines if the Player is allowed to fly via jump key double-tap like in creative mode.
- *
+ *
* @return True if the player is allowed to fly.
*/
public boolean getAllowFlight();
-
+
/**
* Sets if the Player is allowed to fly via jump key double-tap like in creative mode.
- *
+ *
* @param flight If flight should be allowed.
*/
public void setAllowFlight(boolean flight);
-
+
}