public class PillagerEntity extends AbstractIllagerEntity
  • Constructor Details

    • PillagerEntity

      public PillagerEntity(GeyserSession session, long entityId, long geyserId, UUID uuid, EntityDefinition<?> definition, com.nukkitx.math.vector.Vector3f position, com.nukkitx.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