接口 CopperGolem

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

public interface CopperGolem extends Golem
Represents a copper golem entity. Note that the golem's antenna is controlled by EquipmentSlot.SADDLE.
  • 方法详细资料

    • getNextWeatheringTick

      long getNextWeatheringTick()
      Gets the next tick at which the golem will progress to the next weather state.
      返回:
      next weathering tick
    • setNextWeatheringTick

      void setNextWeatheringTick(long tick)
      Sets the tick at which the golem will progress to the next weather state.
      参数:
      tick - new weathering tick
    • getWeatherState

      Gets the golem's current weather state.
      返回:
      current weather state
    • setWeatherState

      void setWeatherState(@NotNull @NotNull CopperGolem.CopperWeatherState state)
      Sets the golem's current wheather state
      参数:
      state - new state