Interface TrialSpawner

All Superinterfaces:
BlockData, Cloneable

@MinecraftExperimental(UPDATE_1_21) @Experimental public interface TrialSpawner extends BlockData
'trial_spawner_state' indicates the current operational phase of the spawner.
'ominous' indicates if the block has ominous effects.
  • Method Details

    • getTrialSpawnerState

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

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

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

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