Class HorseMeta
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
net.minestom.server.entity.metadata.animal.HorseMeta
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumstatic enumstatic class -
Field Summary
Fields inherited from class EntityMeta
metadata -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected <T> Tget(DataComponent<T> component) Deprecated.static HorseMeta.VariantgetVariantFromID(int variantID) static intgetVariantID(HorseMeta.Marking marking, HorseMeta.Color color) protected <T> voidset(DataComponent<T> component, T value) voidsetVariant(HorseMeta.Variant variant) Deprecated.useDataComponents.HORSE_VARIANTinstead.Methods inherited from class AbstractHorseMeta
isEating, isHasBred, isMouthOpen, isRearing, isTamed, setEating, setHasBred, setMouthOpen, setRearing, setTamedMethods inherited from class AgeableMobMeta
isBaby, setBabyMethods inherited from class MobMeta
isAggressive, isLeftHanded, isNoAi, setAggressive, setLeftHanded, setNoAiMethods inherited from class LivingEntityMeta
getActiveHand, getArrowCount, getBedInWhichSleepingPosition, getBeeStingerCount, getEffectParticles, getHealth, isHandActive, isInRiptideSpinAttack, isPotionEffectAmbient, setActiveHand, setArrowCount, setBedInWhichSleepingPosition, setBeeStingerCount, setEffectParticles, setHandActive, setHealth, setInRiptideSpinAttack, setPotionEffectAmbientMethods inherited from class EntityMeta
consumeEntity, getAirTicks, getComponent, getCustomName, getPose, getTickFrozen, isCustomNameVisible, isFlyingWithElytra, isHasGlowingEffect, isHasNoGravity, isInvisible, isOnFire, isSilent, isSneaking, isSprinting, isSwimming, setAirTicks, setComponent, setCustomName, setCustomNameVisible, setFlyingWithElytra, setHasGlowingEffect, setHasNoGravity, setInvisible, setNotifyAboutChanges, setOnFire, setPose, setSilent, setSneaking, setSprinting, setSwimming, setTickFrozen
-
Constructor Details
-
HorseMeta
-
-
Method Details
-
getVariant
Deprecated.useDataComponents.HORSE_VARIANTinstead. -
setVariant
Deprecated.useDataComponents.HORSE_VARIANTinstead. -
getVariantID
-
getVariantFromID
-
get
- Overrides:
getin classEntityMeta
-
set
- Overrides:
setin classEntityMeta
-
DataComponents.HORSE_VARIANTinstead.