Class EntityDeprecatedVillager

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.DeprecatedVillager, org.cloudburstmc.api.inventory.InventoryHolder

public class EntityDeprecatedVillager extends EntityCreature implements org.cloudburstmc.api.entity.passive.DeprecatedVillager, org.cloudburstmc.api.entity.EntityAgeable
  • Constructor Details

    • EntityDeprecatedVillager

      public EntityDeprecatedVillager(org.cloudburstmc.api.entity.EntityType<org.cloudburstmc.api.entity.passive.DeprecatedVillager> 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
    • getName

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

      public void initEntity()
      Overrides:
      initEntity in class BaseEntity
    • isBaby

      public boolean isBaby()
      Specified by:
      isBaby in interface org.cloudburstmc.api.entity.EntityAgeable
    • setBaby

      public void setBaby(boolean baby)