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

public class PillagerEntity extends AbstractIllagerEntity
  • Constructor Details

    • PillagerEntity

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

    • setChargingCrossbow

      public void setChargingCrossbow(org.geysermc.mcprotocollib.protocol.data.game.entity.metadata.type.BooleanEntityMetadata entityMetadata)
    • updateMainHand

      public void updateMainHand()
      Overrides:
      updateMainHand in class LivingEntity
    • updateOffHand

      public void updateOffHand()
      Overrides:
      updateOffHand in class LivingEntity
    • updateCrossbow

      protected void updateCrossbow()
      Check for a crossbow in either the mainhand or offhand. If one exists, indicate that the pillager should be posing