Class GlowOcelot

All Implemented Interfaces:
net.kyori.adventure.audience.Audience, net.kyori.adventure.text.event.HoverEventSource<net.kyori.adventure.text.event.HoverEvent.ShowEntity>, org.bukkit.attribute.Attributable, org.bukkit.command.CommandSender, org.bukkit.entity.Ageable, org.bukkit.entity.Animals, org.bukkit.entity.Breedable, org.bukkit.entity.Creature, org.bukkit.entity.Damageable, org.bukkit.entity.Entity, org.bukkit.entity.LivingEntity, org.bukkit.entity.Mob, org.bukkit.entity.Ocelot, org.bukkit.entity.Tameable, org.bukkit.loot.Lootable, org.bukkit.metadata.Metadatable, org.bukkit.Nameable, org.bukkit.permissions.Permissible, org.bukkit.permissions.ServerOperator, org.bukkit.persistence.PersistentDataHolder, org.bukkit.projectiles.ProjectileSource

public class GlowOcelot extends GlowTameable implements org.bukkit.entity.Ocelot
  • Constructor Details

    • GlowOcelot

      public GlowOcelot(org.bukkit.Location location)
      Creates a wild ocelot.
      Parameters:
      location - the location
  • Method Details

    • setCatType

      public void setCatType(org.bukkit.entity.Ocelot.Type type)
      Specified by:
      setCatType in interface org.bukkit.entity.Ocelot
    • setOwner

      public void setOwner(org.bukkit.entity.AnimalTamer animalTamer)
      Specified by:
      setOwner in interface org.bukkit.entity.Tameable
      Overrides:
      setOwner in class GlowTameable
    • getHurtSound

      protected org.bukkit.Sound getHurtSound()
      Description copied from class: GlowLivingEntity
      Get the hurt sound of this entity, or null for silence.
      Overrides:
      getHurtSound in class GlowLivingEntity
      Returns:
      the hurt sound if available
    • getDeathSound

      protected org.bukkit.Sound getDeathSound()
      Description copied from class: GlowLivingEntity
      Get the death sound of this entity, or null for silence.
      Overrides:
      getDeathSound in class GlowLivingEntity
      Returns:
      the death sound if available
    • getAmbientSound

      protected org.bukkit.Sound getAmbientSound()
      Description copied from class: GlowLivingEntity
      Get the ambient sound this entity makes randomly, or null for silence.
      Overrides:
      getAmbientSound in class GlowLivingEntity
      Returns:
      the ambient sound if available
    • getBreedingFoods

      public Set<org.bukkit.Material> getBreedingFoods()
      Description copied from class: GlowAnimal
      Returns an immutable set containing the breeding foods for the current animal.
      Overrides:
      getBreedingFoods in class GlowAnimal
      Returns:
      an immutable set containing Material
    • getCatType

      public org.bukkit.entity.Ocelot.Type getCatType()
      Specified by:
      getCatType in interface org.bukkit.entity.Ocelot