Class EntityWolf

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

public class EntityWolf extends Animal implements org.cloudburstmc.api.entity.passive.Wolf
Author: BeYkeRYkt Nukkit Project
  • Constructor Details

    • EntityWolf

      public EntityWolf(org.cloudburstmc.api.entity.EntityType<org.cloudburstmc.api.entity.passive.Wolf> 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
    • isBreedingItem

      public boolean isBreedingItem(org.cloudburstmc.api.item.ItemStack item)
      Overrides:
      isBreedingItem in class Animal