Class GlowEvoker

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.Creature, org.bukkit.entity.Damageable, org.bukkit.entity.Entity, org.bukkit.entity.Evoker, org.bukkit.entity.Illager, org.bukkit.entity.LivingEntity, org.bukkit.entity.Mob, org.bukkit.entity.Monster, org.bukkit.entity.Raider, org.bukkit.entity.Spellcaster, 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 GlowEvoker extends GlowSpellcaster implements org.bukkit.entity.Evoker
  • Constructor Details

    • GlowEvoker

      public GlowEvoker(org.bukkit.Location loc)
      Creates an evoker.
      Parameters:
      loc - the evoker's location
  • Method Details

    • getCurrentSpell

      @Deprecated public org.bukkit.entity.Evoker.Spell getCurrentSpell()
      Deprecated.
      Specified by:
      getCurrentSpell in interface org.bukkit.entity.Evoker
    • setCurrentSpell

      @Deprecated public void setCurrentSpell(org.bukkit.entity.Evoker.Spell spell)
      Deprecated.
      Specified by:
      setCurrentSpell in interface org.bukkit.entity.Evoker
    • 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
    • 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
    • damage

      public void damage(double amount, org.bukkit.entity.Entity source, @NotNull org.bukkit.event.entity.EntityDamageEvent.DamageCause cause)
      Specified by:
      damage in interface org.bukkit.entity.Damageable
      Overrides:
      damage in class GlowLivingEntity
    • 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
    • castSpell

      public void castSpell(org.bukkit.entity.Spellcaster.Spell spell)
      Casts the given spell.
      Specified by:
      castSpell in class GlowSpellcaster
      Parameters:
      spell - the spell to cast
    • getWololoTarget

      public org.bukkit.entity.Sheep getWololoTarget()
      Specified by:
      getWololoTarget in interface org.bukkit.entity.Evoker
    • setWololoTarget

      public void setWololoTarget(org.bukkit.entity.Sheep wololoTarget)
      Specified by:
      setWololoTarget in interface org.bukkit.entity.Evoker