Interface Vindicator

All Superinterfaces:
Attributable, CommandSender, Creature, Damageable, Enemy, Entity, 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()
      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