程序包 org.bukkit.block.data.type

# 接口 Vault

所有超级接口:
  `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.

- ## 嵌套类概要

  嵌套类
  修饰符和类型
  接口
  说明
  `static enum`
  `Vault.State`

- ## 方法概要

  修饰符和类型
  方法
  说明
  `@NotNull Vault.State`
  `getTrialSpawnerState()`
  Gets the value of the 'vault_state' property.
  `boolean`
  `isOminous()`
  Gets the value of the 'ominous' property.
  `void`
  `setOminous(boolean ominous)`
  Sets the value of the 'ominous' property.
  `void`
  `setTrialSpawnerState(@NotNull Vault.State state)`
  Sets the value of the 'vault_state' property.

  ### 从接口继承的方法 org.bukkit.block.data.BlockData

  `clone, copyTo, createBlockState, getAsString, getAsString, getLightEmission, getMapColor, getMaterial, getPistonMoveReaction, getPlacementMaterial, getSoundGroup, isFaceSturdy, isOccluding, isPreferredTool, isSupported, isSupported, matches, merge, mirror, requiresCorrectToolForDrops, rotate`

  ### 从接口继承的方法 org.bukkit.block.data.Directional

  `getFaces, getFacing, setFacing`

- ## 方法详细资料

  - ### getTrialSpawnerState

    @NotNull @NotNull Vault.State getTrialSpawnerState()
    Gets the value of the 'vault_state' property.
    返回:
      the 'vault_state' value

  - ### setTrialSpawnerState

    void setTrialSpawnerState(@NotNull @NotNull Vault.State state)
    Sets the value of the 'vault_state' property.
    参数:
      `state` - the new 'vault_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