|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface PigZombie
Represents a Pig Zombie.
Method Summary | |
---|---|
int |
getAnger()
Get the pig zombie's current anger level. |
boolean |
isAngry()
Shorthand; gets whether the zombie is angry. |
void |
setAnger(int level)
Set the pig zombie's current anger level. |
void |
setAngry(boolean angry)
Shorthand; sets to either 0 or the default level. |
Methods inherited from interface org.bukkit.entity.Zombie |
---|
isBaby, isVillager, setBaby, setVillager |
Methods inherited from interface org.bukkit.entity.Creature |
---|
getTarget, setTarget |
Methods inherited from interface org.bukkit.entity.Damageable |
---|
damage, damage, getHealth, getMaxHealth, resetMaxHealth, setHealth, setMaxHealth |
Method Detail |
---|
int getAnger()
void setAnger(int level)
level
- The anger level. Higher levels of anger take longer to wear off.void setAngry(boolean angry)
angry
- Whether the zombie should be angry.boolean isAngry()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |