Class TameableAnimalMeta
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.tameable.TameableAnimalMeta
- Direct Known Subclasses:
CatMeta
,ParrotMeta
,WolfMeta
-
Field Summary
Fields inherited from class net.minestom.server.entity.metadata.EntityMeta
metadata
-
Constructor Summary
ModifierConstructorDescriptionprotected
TameableAnimalMeta
(@NotNull Entity entity, @NotNull MetadataHolder metadata) -
Method Summary
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
-
TameableAnimalMeta
protected TameableAnimalMeta(@NotNull @NotNull Entity entity, @NotNull @NotNull MetadataHolder metadata)
-
-
Method Details
-
isSitting
public boolean isSitting() -
setSitting
public void setSitting(boolean value) -
isTamed
public boolean isTamed() -
setTamed
public void setTamed(boolean value) -
getOwner
-
setOwner
-