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 MetadataHolder 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, getEffectParticles, getHealth, isHandActive, isInRiptideSpinAttack, isPotionEffectAmbient, setActiveHand, setArrowCount, setBedInWhichSleepingPosition, setBeeStingerCount, setEffectParticles, setHandActive, setHealth, setInRiptideSpinAttack, setPotionEffectAmbient
Methods inherited from class net.minestom.server.entity.metadata.EntityMeta
consumeEntity, getAirTicks, getCustomName, getPose, getTickFrozen, isCustomNameVisible, isFlyingWithElytra, isHasGlowingEffect, isHasNoGravity, isInvisible, isOnFire, isSilent, isSneaking, isSprinting, isSwimming, setAirTicks, setCustomName, setCustomNameVisible, setFlyingWithElytra, setHasGlowingEffect, setHasNoGravity, setInvisible, setNotifyAboutChanges, setOnFire, setPose, setSilent, setSneaking, setSprinting, setSwimming, setTickFrozen
-
Constructor Details
-
AbstractHorseMeta
protected AbstractHorseMeta(@NotNull @NotNull Entity entity, @NotNull @NotNull MetadataHolder metadata)
-
-
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)
-