All Implemented Interfaces:
org.geysermc.geyser.api.entity.type.GeyserEntity, Leashable, Tickable

public class WardenEntity extends MonsterEntity implements Tickable
  • Constructor Details

    • WardenEntity

      public WardenEntity(GeyserSession session, int entityId, long geyserId, UUID uuid, EntityDefinition<?> definition, org.cloudburstmc.math.vector.Vector3f position, org.cloudburstmc.math.vector.Vector3f motion, float yaw, float pitch, float headYaw)
  • Method Details

    • initializeMetadata

      protected void initializeMetadata()
      Description copied from class: Entity
      Called on entity spawn. Used to populate the entity metadata and flags with default values.
      Overrides:
      initializeMetadata in class MobEntity
    • setPose

      public void setPose(org.geysermc.mcprotocollib.protocol.data.game.entity.metadata.Pose pose)
      Description copied from class: Entity
      Usually used for bounding box and not animation.
      Overrides:
      setPose in class Entity
    • setAngerLevel

      public void setAngerLevel(org.geysermc.mcprotocollib.protocol.data.game.entity.metadata.type.IntEntityMetadata entityMetadata)
    • 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
    • onSonicBoom

      public void onSonicBoom()