Class EntityBat

All Implemented Interfaces:
org.cloudburstmc.api.entity.Creature, org.cloudburstmc.api.entity.Damageable, org.cloudburstmc.api.entity.Entity, org.cloudburstmc.api.entity.EntityAgeable, org.cloudburstmc.api.entity.Living, org.cloudburstmc.api.entity.passive.Bat, org.cloudburstmc.api.inventory.InventoryHolder

public class EntityBat extends Animal implements org.cloudburstmc.api.entity.passive.Bat
Author:
PikyCZ
  • Constructor Details

    • EntityBat

      public EntityBat(org.cloudburstmc.api.entity.EntityType<org.cloudburstmc.api.entity.passive.Bat> type, org.cloudburstmc.api.level.Location location)
  • Method Details

    • getWidth

      public float getWidth()
      Specified by:
      getWidth in interface org.cloudburstmc.api.entity.Entity
      Overrides:
      getWidth in class BaseEntity
    • getHeight

      public float getHeight()
      Specified by:
      getHeight in interface org.cloudburstmc.api.entity.Entity
      Overrides:
      getHeight in class BaseEntity
    • initEntity

      public void initEntity()
      Overrides:
      initEntity in class BaseEntity