接口 Vindicator

所有超级接口:
Attributable, CommandSender, Creature, Damageable, Enemy, Entity, Illager, Leashable, LivingEntity, Lootable, Metadatable, Mob, Monster, Nameable, Permissible, PersistentDataHolder, ProjectileSource, Raider, ServerOperator

public interface Vindicator extends Illager
代表卫道士.
  • 方法详细资料

    • isJohnny

      boolean isJohnny()
      返回卫道士是否处于"强尼"模式.

      当此模式激活时,卫道士将对所有生物敌对.

      原文:Returns whether a vindicator is in "Johnny" mode.

      When this mode is active, vindicators will be hostile to all mobs.

      返回:
      如果处于强尼模式则返回 true
    • setJohnny

      void setJohnny(boolean johnny)
      设置卫道士的强尼状态.

      原文:Sets the Johnny state of a vindicator.

      参数:
      johnny - 新的强尼状态