Class EntityOcelot

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

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

    • EntityOcelot

      public EntityOcelot(org.cloudburstmc.api.entity.EntityType<org.cloudburstmc.api.entity.passive.Ocelot> 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