接口 IronGolem

所有超级接口:
Attributable, CommandSender, Creature, Damageable, Entity, Golem, LivingEntity, Lootable, Metadatable, Mob, Nameable, Permissible, PersistentDataHolder, ProjectileSource, ServerOperator

public interface IronGolem extends Golem
村民守卫者——铁傀儡.
  • 方法详细资料

    • isPlayerCreated

      boolean isPlayerCreated()
      获取这个铁傀儡是否由玩家建造.

      原文:Gets whether this iron golem was built by a player.

      返回:
      这个铁傀儡是否由玩家建造
    • setPlayerCreated

      void setPlayerCreated(boolean playerCreated)
      设置这个铁傀儡是否由玩家建造.

      原文:Sets whether this iron golem was built by a player or not.

      参数:
      playerCreated - 这个铁傀儡是否由玩家建造,如果想让这个铁傀儡是自然的那就false