|
||||||||||
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 |
---|
_INVALID_damage, _INVALID_damage, _INVALID_getHealth, _INVALID_getMaxHealth, _INVALID_setHealth, _INVALID_setMaxHealth, damage, damage, getHealth, getMaxHealth, resetMaxHealth, setHealth, setMaxHealth |
Methods inherited from interface org.bukkit.entity.Entity |
---|
eject, getEntityId, getFallDistance, getFireTicks, getLastDamageCause, getLocation, getLocation, getMaxFireTicks, getNearbyEntities, getPassenger, getServer, getTicksLived, getType, getUniqueId, getVehicle, getVelocity, getWorld, isDead, isEmpty, isInsideVehicle, isOnGround, isValid, leaveVehicle, playEffect, remove, setFallDistance, setFireTicks, setLastDamageCause, setPassenger, setTicksLived, setVelocity, teleport, teleport, teleport, teleport |
Methods inherited from interface org.bukkit.metadata.Metadatable |
---|
getMetadata, hasMetadata, removeMetadata, setMetadata |
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 |