接口 CopperGolem

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

public interface CopperGolem extends Golem
代表一个铜傀儡实体。 注意,傀儡的天线由 EquipmentSlot.SADDLE 控制。
  • 方法详细资料

    • getNextWeatheringTick

      long getNextWeatheringTick()
      获取傀儡进入下一个氧化阶段的下一个刻。
      返回:
      下一个氧化刻

      原文:Gets the next tick at which the golem will progress to the next weather state.

    • setNextWeatheringTick

      void setNextWeatheringTick(long tick)
      设置傀儡进入下一个氧化阶段的刻。
      参数:
      tick - 新的氧化刻

      原文:Sets the tick at which the golem will progress to the next weather state.

    • getWeatherState

      获取傀儡当前的氧化状态。
      返回:
      当前的氧化状态

      原文:Gets the golem's current weather state.

    • setWeatherState

      void setWeatherState(@NotNull @NotNull CopperGolem.CopperWeatherState state)
      设置傀儡当前的氧化状态。
      参数:
      state - 新的状态

      原文:Sets the golem's current wheather state