Class TropicalFishEntity


public class TropicalFishEntity extends AbstractFishEntity
  • Constructor Details

    • TropicalFishEntity

      public 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)
  • Method Details

    • updateBedrockMetadata

      public void updateBedrockMetadata(com.github.steveice10.mc.protocol.data.game.entity.metadata.EntityMetadata entityMetadata, GeyserSession session)
      Description copied from class: Entity
      Applies the Java metadata to the local Bedrock metadata copy
      Overrides:
      updateBedrockMetadata in class InsentientEntity
      Parameters:
      entityMetadata - the Java entity metadata
      session - GeyserSession
    • 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

      public static String getVariantName(int variant)
    • getColorName

      public static String getColorName(byte colorId)
    • getPredefinedId

      public static int getPredefinedId(int variant)