Class MobMeta
java.lang.Object
net.minestom.server.entity.metadata.EntityMeta
net.minestom.server.entity.metadata.LivingEntityMeta
net.minestom.server.entity.metadata.MobMeta
- Direct Known Subclasses:
AmbientCreatureMeta
,EnderDragonMeta
,FlyingMeta
,PathfinderMobMeta
,SlimeMeta
-
Field Summary
Fields inherited from class net.minestom.server.entity.metadata.EntityMeta
metadata
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
boolean
boolean
isNoAi()
void
setAggressive
(boolean value) void
setLeftHanded
(boolean value) void
setNoAi
(boolean value) 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
-
MobMeta
-
-
Method Details
-
isNoAi
public boolean isNoAi() -
setNoAi
public void setNoAi(boolean value) -
isLeftHanded
public boolean isLeftHanded() -
setLeftHanded
public void setLeftHanded(boolean value) -
isAggressive
public boolean isAggressive() -
setAggressive
public void setAggressive(boolean value)
-