Class AbstractHorseMeta
java.lang.Object
net.minestom.server.entity.metadata.EntityMeta
net.minestom.server.entity.metadata.LivingEntityMeta
net.minestom.server.entity.metadata.MobMeta
net.minestom.server.entity.metadata.PathfinderMobMeta
net.minestom.server.entity.metadata.AgeableMobMeta
net.minestom.server.entity.metadata.animal.AnimalMeta
net.minestom.server.entity.metadata.animal.AbstractHorseMeta
- Direct Known Subclasses:
CamelMeta
,ChestedHorseMeta
,HorseMeta
,SkeletonHorseMeta
,ZombieHorseMeta
-
Field Summary
Fields inherited from class net.minestom.server.entity.metadata.EntityMeta
metadata
-
Constructor Summary
ModifierConstructorDescriptionprotected
AbstractHorseMeta
(@NotNull Entity entity, @NotNull Metadata metadata) -
Method Summary
Modifier and TypeMethodDescriptionboolean
isEating()
boolean
boolean
boolean
boolean
boolean
isTamed()
void
setEating
(boolean value) void
setHasBred
(boolean value) void
setMouthOpen
(boolean value) void
setRearing
(boolean value) void
setSaddled
(boolean value) void
setTamed
(boolean value) Methods inherited from class net.minestom.server.entity.metadata.AgeableMobMeta
isBaby, setBaby
Methods inherited from class net.minestom.server.entity.metadata.MobMeta
isAggressive, isLeftHanded, isNoAi, setAggressive, setLeftHanded, setNoAi
Methods inherited from class net.minestom.server.entity.metadata.LivingEntityMeta
getActiveHand, getArrowCount, getBedInWhichSleepingPosition, getBeeStingerCount, getHealth, getHealthAddedByAbsorption, getPotionEffectColor, isHandActive, isInRiptideSpinAttack, isPotionEffectAmbient, setActiveHand, setArrowCount, setBedInWhichSleepingPosition, setBeeStingerCount, setHandActive, setHealth, setHealthAddedByAbsorption, setInRiptideSpinAttack, setPotionEffectAmbient, setPotionEffectColor
Methods inherited from class net.minestom.server.entity.metadata.EntityMeta
consumeEntity, getAirTicks, getCustomName, getMask, getMaskBit, getPose, getTickFrozen, isCustomNameVisible, isFlyingWithElytra, isHasGlowingEffect, isHasNoGravity, isInvisible, isOnFire, isSilent, isSneaking, isSprinting, isSwimming, setAirTicks, setCustomName, setCustomNameVisible, setFlyingWithElytra, setHasGlowingEffect, setHasNoGravity, setInvisible, setMask, setMaskBit, setNotifyAboutChanges, setOnFire, setPose, setSilent, setSneaking, setSprinting, setSwimming, setTickFrozen
-
Field Details
-
OFFSET
public static final byte OFFSET- See Also:
-
MAX_OFFSET
public static final byte MAX_OFFSET- See Also:
-
-
Constructor Details
-
AbstractHorseMeta
-
-
Method Details
-
isTamed
public boolean isTamed() -
setTamed
public void setTamed(boolean value) -
isSaddled
public boolean isSaddled() -
setSaddled
public void setSaddled(boolean value) -
isHasBred
public boolean isHasBred() -
setHasBred
public void setHasBred(boolean value) -
isEating
public boolean isEating() -
setEating
public void setEating(boolean value) -
isRearing
public boolean isRearing() -
setRearing
public void setRearing(boolean value) -
isMouthOpen
public boolean isMouthOpen() -
setMouthOpen
public void setMouthOpen(boolean value)
-