Class SquidEntity

All Implemented Interfaces:
org.geysermc.geyser.api.entity.type.GeyserEntity, Leashable, Tickable
Direct Known Subclasses:
GlowSquidEntity

public class SquidEntity extends AgeableWaterEntity implements Tickable
  • Constructor Details

  • Method Details

    • tick

      public void tick()
      Description copied from interface: Tickable
      This function gets called every game tick as long as the game tick loop isn't frozen.
      Specified by:
      tick in interface Tickable
      Overrides:
      tick in class LivingEntity
    • moveRelativeRaw

      public void moveRelativeRaw(double relX, double relY, double relZ, float yaw, float pitch, float headYaw, boolean isOnGround)
      Overrides:
      moveRelativeRaw in class Entity
    • moveAbsoluteRaw

      public void moveAbsoluteRaw(org.cloudburstmc.math.vector.Vector3f javaPosition, float yaw, float pitch, float headYaw, boolean isOnGround, boolean teleported)
      Overrides:
      moveAbsoluteRaw in class Entity
    • setYaw

      public void setYaw(float yaw)
      Description copied from class: Entity
      x = Yaw, y = Pitch, z = HeadYaw Java: Y = Yaw, X = Pitch
      Overrides:
      setYaw in class Entity
    • setPitch

      public void setPitch(float pitch)
      Overrides:
      setPitch in class Entity
    • setHeadYaw

      public void setHeadYaw(float headYaw)
      Overrides:
      setHeadYaw in class Entity
    • setMotion

      public void setMotion(org.cloudburstmc.math.vector.Vector3f motion)
      Overrides:
      setMotion in class Entity
    • getBedrockRotation

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

      public boolean canBeLeashed()
      Specified by:
      canBeLeashed in interface Leashable
      Overrides:
      canBeLeashed in class AgeableWaterEntity