public class TropicalFishEntity extends AbstractFishEntity
boots, chestplate, hand, health, helmet, leggings, maxHealth, offHand| Constructor and Description |
|---|
TropicalFishEntity(long entityId,
long geyserId,
EntityType entityType,
com.nukkitx.math.vector.Vector3f position,
com.nukkitx.math.vector.Vector3f motion,
com.nukkitx.math.vector.Vector3f rotation) |
| Modifier and Type | Method and Description |
|---|---|
static byte |
getBaseColor(int variant) |
static String |
getColorName(byte colorId) |
static int |
getPattern(int variant) |
static byte |
getPatternColor(int variant) |
static int |
getPredefinedId(int variant) |
static int |
getShape(int variant) |
static String |
getVariantName(int variant) |
void |
updateBedrockMetadata(com.github.steveice10.mc.protocol.data.game.entity.metadata.EntityMetadata entityMetadata,
GeyserSession session)
Applies the Java metadata to the local Bedrock metadata copy
|
calculateAttribute, createHealthAttribute, isShaking, setDimensions, setFreezing, updateArmor, updateAttribute, updateBedrockAttributes, updateMainHand, updateOffHandaddAdditionalSpawnData, as, despawnEntity, getBedrockRotation, getMaxAir, is, moveAbsolute, moveAbsolute, moveRelative, moveRelative, setAir, spawnEntity, teleport, updateBedrockMetadata, updateHeadLookRotation, updatePositionAndRotation, updateRotationpublic TropicalFishEntity(long entityId,
long geyserId,
EntityType entityType,
com.nukkitx.math.vector.Vector3f position,
com.nukkitx.math.vector.Vector3f motion,
com.nukkitx.math.vector.Vector3f rotation)
public void updateBedrockMetadata(com.github.steveice10.mc.protocol.data.game.entity.metadata.EntityMetadata entityMetadata,
GeyserSession session)
EntityupdateBedrockMetadata in class InsentientEntityentityMetadata - the Java entity metadatasession - GeyserSessionpublic static int getShape(int variant)
public static int getPattern(int variant)
public static byte getBaseColor(int variant)
public static byte getPatternColor(int variant)
public static String getVariantName(int variant)
public static String getColorName(byte colorId)
public static int getPredefinedId(int variant)
Copyright © 2021 GeyserMC. All rights reserved.