Class TropicalFishEntity
java.lang.Object
org.geysermc.geyser.entity.type.Entity
org.geysermc.geyser.entity.type.LivingEntity
org.geysermc.geyser.entity.type.living.MobEntity
org.geysermc.geyser.entity.type.living.CreatureEntity
org.geysermc.geyser.entity.type.living.WaterEntity
org.geysermc.geyser.entity.type.living.AbstractFishEntity
org.geysermc.geyser.entity.type.living.animal.TropicalFishEntity
-
Field Summary
Fields inherited from class org.geysermc.geyser.entity.type.LivingEntity
attributeScale, dirtyHeadYaw, dirtyPitch, dirtyYaw, equipment, health, maxHealthFields inherited from class org.geysermc.geyser.entity.type.Entity
customName, customNameVisible, definition, dirtyMetadata, entityId, flags, geyserId, headYaw, motion, nametag, onGround, passengers, pitch, position, propertyManager, session, silent, uuid, valid, vehicle, yaw -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic bytegetBaseColor(int variant) static StringgetColorName(byte colorId) static intgetPackedVariant(int pattern, int baseColor, int patternColor) static intgetPattern(int variant) static bytegetPatternColor(int variant) static intgetPredefinedId(int variant) static intgetShape(int variant) static StringgetVariantName(int variant) voidsetFishVariant(org.geysermc.mcprotocollib.protocol.data.game.entity.metadata.type.IntEntityMetadata entityMetadata) Methods inherited from class org.geysermc.geyser.entity.type.living.AbstractFishEntity
mobInteractMethods inherited from class org.geysermc.geyser.entity.type.living.WaterEntity
canBeLeashedMethods inherited from class org.geysermc.geyser.entity.type.living.MobEntity
canShearEquipment, initializeMetadata, interact, isEnemy, leashHolderBedrockId, setLeashHolderBedrockId, setMobFlags, testInteraction, testMobInteractionMethods inherited from class org.geysermc.geyser.entity.type.LivingEntity
calculateAttribute, canUseSlot, checkInteractWithNameTag, createHealthAttribute, getEquipment, getItemInSlot, getLerpPosition, getLerpSteps, getMainHandItem, getOffHandItem, hasBodyArmor, hasShield, isAlive, isDirtyHeadYaw, isDirtyPitch, isDirtyYaw, isEquippableInSlot, isHolding, isMaxFrozenState, isShaking, moveAbsolute, moveRelative, setAttributeScale, setBedPosition, setBody, setBoots, setBoundingBoxHeight, setBoundingBoxWidth, setChestplate, setCustomName, setDimensionsFromPose, setDirtyHeadYaw, setDirtyPitch, setDirtyYaw, setEquipment, setFreezing, setHand, setHealth, setHelmet, setLeggings, setLerpPosition, setLerpSteps, setLivingEntityFlags, setMaxFrozenState, setMaxHealth, setOffhand, setParticles, setPassengers, setSaddle, setScale, setSpinAttack, shouldLerp, switchHands, tick, updateArmor, updateAttribute, updateBedrockAttributes, updateMainHand, updateNametag, updateOffHand, updateSaddled, useArmSwingAttackMethods inherited from class org.geysermc.geyser.entity.type.Entity
addAdditionalSpawnData, bedrockPosition, bedrockRotation, despawnEntity, doesJumpDismount, getBoundingBoxHeight, getBoundingBoxWidth, getDefinition, getDirtyMetadata, getDisplayName, getEntityId, getFlag, getHeadYaw, getMaxAir, getMotion, getNametag, getOffset, getPassengers, getPitch, getPosition, getPropertyManager, getSession, getVehicle, getYaw, geyserId, hasLeashesToDrop, interactAt, isCustomNameVisible, isOnGround, isSilent, isValid, javaId, moveAbsolute, moveAbsoluteRaw, moveRelativeRaw, playEntityEvent, playEntityEvent, position, scoreVisibility, setAir, setAirSupply, setClientSideSilent, setCustomNameVisible, setDefinition, setEntityId, setFlag, setFlags, setFlagsDirty, setGliding, setGravity, setHeadYaw, setInvisible, setMotion, setNameEntityData, setNametag, setNametagAlwaysShow, setOffset, setOnGround, setPitch, setPose, setPosition, setRiderSeatPosition, setSilent, setSneaking, setSprinting, setValid, setVehicle, setYaw, spawnEntity, standardDisplayName, teamIdentifier, teleport, updateBedrockEntityProperties, updateBedrockMetadata, updateHeadLookRotation, updateInteractiveTag, updateMountOffset, updateNametag, updatePassengerOffsets, updatePositionAndRotation, updatePropertiesBatched, updateRotation, uuid, uuidMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.geysermc.geyser.api.entity.type.GeyserEntity
updatePropertiesBatched, updateProperty
-
Constructor Details
-
TropicalFishEntity
-
-
Method Details
-
setFishVariant
public void setFishVariant(org.geysermc.mcprotocollib.protocol.data.game.entity.metadata.type.IntEntityMetadata entityMetadata) -
getPackedVariant
public static int getPackedVariant(int pattern, int baseColor, int patternColor) -
getShape
public static int getShape(int variant) -
getPattern
public static int getPattern(int variant) -
getBaseColor
public static byte getBaseColor(int variant) -
getPatternColor
public static byte getPatternColor(int variant) -
getVariantName
-
getColorName
-
getPredefinedId
public static int getPredefinedId(int variant)
-