Generic cleanup of warnings, whitespace and style.

By: Erik Broes <erikbroes@grum.nl>
This commit is contained in:
Bukkit/Spigot
2011-12-25 16:02:30 +01:00
parent 98960fd73e
commit aaab1cba23
257 changed files with 1408 additions and 1152 deletions

View File

@@ -25,10 +25,10 @@ public interface LivingEntity extends Entity {
* @throws IllegalArgumentException Thrown if the health is < 0 or > max
*/
public void setHealth(int health);
/**
* Gets the maximum health this entity may have
*
*
* @return Maximum health
*/
public int getMaxHealth();
@@ -86,12 +86,14 @@ public interface LivingEntity extends Entity {
/**
* Throws an egg from the entity.
*
* @return The egg thrown.
*/
public Egg throwEgg();
/**
* Throws a snowball from the entity.
*
* @return The snowball thrown.
*/
public Snowball throwSnowball();