JavaDoc cleanup.

This commit is contained in:
EvilSeph
2011-06-22 17:05:45 -04:00
parent 7524109bf0
commit f709af58e5
12 changed files with 87 additions and 38 deletions

View File

@@ -53,6 +53,7 @@ public class EntityDamageEvent extends EntityEvent implements Cancellable {
/**
* Gets the amount of damage caused by the Block
*
* @return The amount of damage caused by the Block
*/
public int getDamage() {
@@ -61,7 +62,8 @@ public class EntityDamageEvent extends EntityEvent implements Cancellable {
/**
* Sets the amount of damage caused by the Block
* @return The amount of damage caused by the Block
*
* @param damage The amount of damage caused by the Block
*/
public void setDamage(int damage) {
this.damage = damage;
@@ -69,6 +71,7 @@ public class EntityDamageEvent extends EntityEvent implements Cancellable {
/**
* Gets the cause of the damage.
*
* @return A DamageCause value detailing the cause of the damage.
*/
public DamageCause getCause() {
@@ -92,17 +95,17 @@ public class EntityDamageEvent extends EntityEvent implements Cancellable {
* Damage: variable
*/
ENTITY_ATTACK,
/**
* Damage caused when an entity falls a distance greater than 3 blocks
*
* Damage: fall height - 3.0
*/
SUFFOCATION,
/**
* Damage caused by being put in a block
*
* Damage: 1
*/
SUFFOCATION,
/**
* Damage caused when an entity falls a distance greater than 3 blocks
*
* Damage: fall height - 3.0
*/
FALL,
/**
* Damage caused by direct exposure to fire