接口 TrialSpawner

所有超级接口:
BlockData, Cloneable

public interface TrialSpawner extends BlockData
'trial_spawner_state' indicates the current operational phase of the spawner.
'ominous' indicates if the block has ominous effects.
  • 方法详细资料

    • getTrialSpawnerState

      @NotNull @NotNull TrialSpawner.State getTrialSpawnerState()
      Gets the value of the 'trial_spawner_state' property.
      返回:
      the 'trial_spawner_state' value
    • setTrialSpawnerState

      void setTrialSpawnerState(@NotNull @NotNull TrialSpawner.State state)
      Sets the value of the 'trial_spawner_state' property.
      参数:
      state - the new 'trial_spawner_state' value
    • isOminous

      boolean isOminous()
      Gets the value of the 'ominous' property.
      返回:
      the 'ominous' value
    • setOminous

      void setOminous(boolean ominous)
      Sets the value of the 'ominous' property.
      参数:
      ominous - the new 'ominous' value