Interface Vindicator

All Superinterfaces:
Attributable, Audience, CommandSender, Creature, Damageable, Enemy, Entity, Frictional, HoverEventSource<HoverEvent.ShowEntity>, Illager, Leashable, LivingEntity, Lootable, Metadatable, Mob, Monster, Nameable, Permissible, PersistentDataHolder, PersistentDataViewHolder, Pointered, ProjectileSource, Raider, ServerOperator, 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