Class SquidEntity

All Implemented Interfaces:
Tickable
Direct Known Subclasses:
GlowSquidEntity

public class SquidEntity extends WaterEntity implements Tickable
  • Constructor Details

    • SquidEntity

      public SquidEntity(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

    • tick

      public void tick(GeyserSession session)
      Specified by:
      tick in interface Tickable
    • moveRelative

      public void moveRelative(GeyserSession session, double relX, double relY, double relZ, com.nukkitx.math.vector.Vector3f rotation, boolean isOnGround)
      Overrides:
      moveRelative in class Entity
    • moveAbsolute

      public void moveAbsolute(GeyserSession session, com.nukkitx.math.vector.Vector3f position, com.nukkitx.math.vector.Vector3f rotation, boolean isOnGround, boolean teleported)
      Overrides:
      moveAbsolute in class Entity
    • setRotation

      public void setRotation(com.nukkitx.math.vector.Vector3f rotation)
    • setMotion

      public void setMotion(com.nukkitx.math.vector.Vector3f motion)
    • getBedrockRotation

      public com.nukkitx.math.vector.Vector3f getBedrockRotation()
      Description copied from class: Entity
      x = Pitch, y = HeadYaw, z = Yaw
      Overrides:
      getBedrockRotation in class Entity
      Returns:
      the bedrock rotation