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

public class ZoglinEntity extends MonsterEntity
  • Constructor Details

  • Method Details

    • setBaby

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

      public float getBoundingBoxHeight()
      Overrides:
      getBoundingBoxHeight in class Entity
    • canBeLeashed

      public boolean canBeLeashed()
      Specified by:
      canBeLeashed in interface Leashable
      Overrides:
      canBeLeashed in class MobEntity
    • isEnemy

      protected boolean isEnemy()
      Description copied from class: MobEntity
      Returns if the entity is hostile. Used to determine if it can be leashed.
      Overrides:
      isEnemy in class MonsterEntity
    • useArmSwingAttack

      public boolean useArmSwingAttack()
      Description copied from class: LivingEntity
      Called when a SWING_ARM animation packet is received
      Overrides:
      useArmSwingAttack in class LivingEntity
      Returns:
      true if an ATTACK_START event should be used instead