Class TropicalFishMeta
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.water.WaterAnimalMeta
net.minestom.server.entity.metadata.water.fish.AbstractFishMeta
net.minestom.server.entity.metadata.water.fish.TropicalFishMeta
- All Implemented Interfaces:
ObjectDataProvider
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumstatic enumstatic class -
Field Summary
FieldsFields inherited from class net.minestom.server.entity.metadata.EntityMeta
metadata -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintstatic TropicalFishMeta.VariantgetVariantFromID(int variantID) static intgetVariantID(TropicalFishMeta.Variant variant) booleanvoidsetVariant(TropicalFishMeta.Variant variant) Methods inherited from class net.minestom.server.entity.metadata.water.fish.AbstractFishMeta
isFromBucket, setFromBucketMethods inherited from class net.minestom.server.entity.metadata.MobMeta
isAggressive, isLeftHanded, isNoAi, setAggressive, setLeftHanded, setNoAiMethods 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, setPotionEffectColorMethods 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
-
TropicalFishMeta
-
-
Method Details
-
getVariant
-
setVariant
-
getVariantID
-
getVariantFromID
-
getObjectData
public int getObjectData()- Specified by:
getObjectDatain interfaceObjectDataProvider
-
requiresVelocityPacketAtSpawn
public boolean requiresVelocityPacketAtSpawn()- Specified by:
requiresVelocityPacketAtSpawnin interfaceObjectDataProvider
-