接口 TrialSpawner

所有超级接口:
BlockData, Cloneable

public interface TrialSpawner extends BlockData
'trial_spawner_state' 表示试炼刷怪笼当前的运行阶段.
'ominous' 表示方块是否具有不祥效果.
  • 方法详细资料

    • getTrialSpawnerState

      @NotNull @NotNull TrialSpawner.State getTrialSpawnerState()
      获取 'trial_spawner_state' 属性的值.

      原文: Gets the value of the 'trial_spawner_state' property.

      返回:
      'trial_spawner_state' 的值
    • setTrialSpawnerState

      void setTrialSpawnerState(@NotNull @NotNull TrialSpawner.State state)
      设置 'trial_spawner_state' 属性的值.

      原文: Sets the value of the 'trial_spawner_state' property.

      参数:
      state - 新的 'trial_spawner_state' 值
    • isOminous

      boolean isOminous()
      获取 'ominous' 属性的值.

      原文: Gets the value of the 'ominous' property.

      返回:
      'ominous' 的值
    • setOminous

      void setOminous(boolean ominous)
      设置 'ominous' 属性的值.

      原文: Sets the value of the 'ominous' property.

      参数:
      ominous - 新的 'ominous' 值