|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IronGolem
An iron Golem that protects Villages.
Method Summary | |
---|---|
boolean |
isPlayerCreated()
Gets whether this iron golem was built by a player. |
void |
setPlayerCreated(boolean playerCreated)
Sets whether this iron golem was built by a player or not. |
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 |
---|
boolean isPlayerCreated()
void setPlayerCreated(boolean playerCreated)
playerCreated
- true if you want to set the iron golem as being player created,
false if you want it to be a natural village golem.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |