Interface Vindicator

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

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

    • isJohnny

      boolean isJohnny()
      Check if this Vindicator is set to Johnny mode.

      When in Johnny mode the Vindicator will be hostile to any kind of mob, except for evokers, ghasts, illusioners and other vindicators. It will even be hostile to vexes. All mobs, except for endermites, phantoms, guardians, slimes and magma cubes, will try to attack the vindicator in return.

      Returns:
      True if in Johnny mode
    • setJohnny

      void setJohnny(boolean johnny)
      Set this Vindicator's Johnny mode.

      When in Johnny mode the Vindicator will be hostile to any kind of mob, except for evokers, ghasts, illusioners and other vindicators. It will even be hostile to vexes. All mobs, except for endermites, phantoms, guardians, slimes and magma cubes, will try to attack the vindicator in return.

      Parameters:
      johnny - True to enable Johnny mode