Interface Evoker

All Superinterfaces:
Attributable, Audience, CommandSender, Creature, Damageable, Enemy, Entity, Frictional, HoverEventSource<HoverEvent.ShowEntity>, Illager, LivingEntity, Lootable, Metadatable, Mob, Monster, Nameable, Permissible, PersistentDataHolder, Pointered, ProjectileSource, Raider, ServerOperator, Sound.Emitter, Spellcaster

public interface Evoker extends Spellcaster
Represents an Evoker "Illager".
  • Method Details

    • getCurrentSpell

      @Deprecated @NotNull Evoker.Spell getCurrentSpell()
      Deprecated.
      future versions of Minecraft have additional spell casting entities.
      Gets the Evoker.Spell the Evoker is currently using.
      Returns:
      the current spell
    • setCurrentSpell

      @Deprecated void setCurrentSpell(@Nullable Evoker.Spell spell)
      Deprecated.
      future versions of Minecraft have additional spell casting entities.
      Sets the Evoker.Spell the Evoker is currently using.
      Parameters:
      spell - the spell the evoker should be using
    • getWololoTarget

      @Nullable Sheep getWololoTarget()
      Returns:
      the sheep being targeted by the wololo spell, or null if none
    • setWololoTarget

      void setWololoTarget(@Nullable Sheep sheep)
      Set the sheep to be the target of the wololo spell, or null to clear.
      Parameters:
      sheep - new wololo target