summaryrefslogtreecommitdiffstats
path: root/src/main/java/org/bukkit/entity
diff options
context:
space:
mode:
authorErik Broes <erikbroes@grum.nl>2012-01-15 14:37:30 +0100
committerErik Broes <erikbroes@grum.nl>2012-01-15 14:37:43 +0100
commit88c17a7f86eacd1bc49c8f97577bf3c8bc60662f (patch)
tree81a39731db8a8d5ee839148d2fefd254ee78be37 /src/main/java/org/bukkit/entity
parentbc95edd4dc77aec8698d3b3c9a43838f71e04be0 (diff)
downloadbukkit-88c17a7f86eacd1bc49c8f97577bf3c8bc60662f.tar
bukkit-88c17a7f86eacd1bc49c8f97577bf3c8bc60662f.tar.gz
bukkit-88c17a7f86eacd1bc49c8f97577bf3c8bc60662f.tar.lz
bukkit-88c17a7f86eacd1bc49c8f97577bf3c8bc60662f.tar.xz
bukkit-88c17a7f86eacd1bc49c8f97577bf3c8bc60662f.zip
Generic cleaning
Diffstat (limited to 'src/main/java/org/bukkit/entity')
-rw-r--r--src/main/java/org/bukkit/entity/Animals.java1
-rw-r--r--src/main/java/org/bukkit/entity/Minecart.java2
-rw-r--r--src/main/java/org/bukkit/entity/Player.java22
-rw-r--r--src/main/java/org/bukkit/entity/Projectile.java2
-rw-r--r--src/main/java/org/bukkit/entity/Tameable.java4
5 files changed, 14 insertions, 17 deletions
diff --git a/src/main/java/org/bukkit/entity/Animals.java b/src/main/java/org/bukkit/entity/Animals.java
index 960c441f..9ce52193 100644
--- a/src/main/java/org/bukkit/entity/Animals.java
+++ b/src/main/java/org/bukkit/entity/Animals.java
@@ -2,7 +2,6 @@ package org.bukkit.entity;
/**
* Represents an Animal.
- *
*/
public interface Animals extends Creature {
/**
diff --git a/src/main/java/org/bukkit/entity/Minecart.java b/src/main/java/org/bukkit/entity/Minecart.java
index 554c3fdb..35807bf8 100644
--- a/src/main/java/org/bukkit/entity/Minecart.java
+++ b/src/main/java/org/bukkit/entity/Minecart.java
@@ -67,7 +67,7 @@ public interface Minecart extends Vehicle {
/**
* Gets the derailed velocity modifier. Used for minecarts that are on the ground, but not on rails.
- *
+ * <p />
* A derailed minecart's velocity is multiplied by this factor each tick.
*
* @return derailed visible speed
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);
-
+
}
diff --git a/src/main/java/org/bukkit/entity/Projectile.java b/src/main/java/org/bukkit/entity/Projectile.java
index c8212540..0f440035 100644
--- a/src/main/java/org/bukkit/entity/Projectile.java
+++ b/src/main/java/org/bukkit/entity/Projectile.java
@@ -24,7 +24,7 @@ public interface Projectile extends Entity {
/**
* Determine if this projectile should bounce or not when it hits.
- *
+ * <p />
* If a small fireball does not bounce it will set the target on fire.
*
* @return true if it should bounce.
diff --git a/src/main/java/org/bukkit/entity/Tameable.java b/src/main/java/org/bukkit/entity/Tameable.java
index a9dd8664..539bda1b 100644
--- a/src/main/java/org/bukkit/entity/Tameable.java
+++ b/src/main/java/org/bukkit/entity/Tameable.java
@@ -4,7 +4,7 @@ public interface Tameable {
/**
* Check if this is tamed
- *
+ * <p />
* If something is tamed then a player can not tame it through normal methods, even if it does not belong to anyone in particular.
*
* @return true if this has been tamed
@@ -13,7 +13,7 @@ public interface Tameable {
/**
* Sets if this has been tamed. Not necessary if the method setOwner has been used, as it tames automatically.
- *
+ * <p />
* If something is tamed then a player can not tame it through normal methods, even if it does not belong to anyone in particular.
*
* @param tame true if tame