More JavaDoc improvements.

This commit is contained in:
EvilSeph
2011-06-24 02:32:04 -04:00
parent b76de1ee24
commit a0c1f68109
56 changed files with 435 additions and 139 deletions

View File

@@ -5,9 +5,7 @@ import org.bukkit.entity.Egg;
import org.bukkit.entity.Player;
/**
*
* @author tkelly
*
* Called when a player throws an egg and it might hatch
*/
public class PlayerEggThrowEvent extends PlayerEvent {
private Egg egg;
@@ -24,16 +22,16 @@ public class PlayerEggThrowEvent extends PlayerEvent {
}
/**
* Get the egg.
* Gets the egg involved in this event.
*
* @return the egg
* @return the egg involved in this event
*/
public Egg getEgg() {
return egg;
}
/**
* Grabs whether the egg is hatching or not. Will be what the server
* Gets whether the egg is hatching or not. Will be what the server
* would've done without interaction.
*
* @return boolean Whether the egg is going to hatch or not
@@ -43,7 +41,7 @@ public class PlayerEggThrowEvent extends PlayerEvent {
}
/**
* Sets whether the egg will hatch.
* Sets whether the egg will hatch or not.
*
* @param hatching true if you want the egg to hatch
* false if you want it not to