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

public class ZoglinEntity extends MonsterEntity
  • Constructor Details

    • ZoglinEntity

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

    • 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

      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