Interface TrialSpawner

All Superinterfaces:
BlockData, Cloneable

@MinecraftExperimental @Experimental public interface TrialSpawner extends BlockData
'trial_spawner_state' indicates the current operational phase of the spawner.
  • Method Details

    • getTrialSpawnerState

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

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