Interface Vault

All Superinterfaces:
BlockData, Cloneable, Directional

public interface Vault extends Directional
'vault_state' indicates the current operational phase of the vault block.
'ominous' indicates if the block has ominous effects.
  • Method Details

    • getVaultState

      @NotNull @NotNull Vault.State getVaultState()
      Gets the value of the 'vault_state' property.
      Returns:
      the 'vault_state' value
    • getTrialSpawnerState

      @Deprecated(since="1.21.3", forRemoval=true) @NotNull @NotNull Vault.State getTrialSpawnerState()
      Deprecated, for removal: This API element is subject to removal in a future version.
      Gets the value of the 'vault_state' property.
      Returns:
      the 'vault_state' value
    • setVaultState

      void setVaultState(@NotNull @NotNull Vault.State state)
      Sets the value of the 'vault_state' property.
      Parameters:
      state - the new 'vault_state' value
    • setTrialSpawnerState

      @Deprecated(since="1.21.3", forRemoval=true) void setTrialSpawnerState(@NotNull @NotNull Vault.State state)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Sets the value of the 'vault_state' property.
      Parameters:
      state - the new 'vault_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