Interface Vindicator

All Superinterfaces:
Attributable, net.kyori.adventure.audience.Audience, CommandSender, Creature, Damageable, Enemy, Entity, Frictional, net.kyori.adventure.text.event.HoverEventSource<net.kyori.adventure.text.event.HoverEvent.ShowEntity>, Illager, LivingEntity, Lootable, Metadatable, Mob, Monster, Nameable, Permissible, PersistentDataHolder, net.kyori.adventure.pointer.Pointered, ProjectileSource, Raider, ServerOperator, net.kyori.adventure.sound.Sound.Emitter

public interface Vindicator extends Illager
Represents a Vindicator.
  • Method Details

    • isJohnny

      boolean isJohnny()
      Returns whether a vindicator is in "Johnny" mode. When this mode is active, vindicators will be hostile to all mobs.
      Returns:
      true if johnny
    • setJohnny

      void setJohnny(boolean johnny)
      Sets the Johnny state of a vindicator.
      Parameters:
      johnny - new johnny state