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

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

    • updateMainHand

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

      public void updateOffHand(GeyserSession session)
      Overrides:
      updateOffHand in class LivingEntity
    • checkForCrossbow

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