public class ZoglinEntity extends MonsterEntity
  • Constructor Details

    • ZoglinEntity

      public ZoglinEntity(GeyserSession session, int 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

    • setBaby

      public void setBaby(com.github.steveice10.mc.protocol.data.game.entity.metadata.type.BooleanEntityMetadata entityMetadata)
    • getBoundingBoxHeight

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

      protected boolean canBeLeashed()
      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