Package org.bukkit.block.data.type
Interface Vault
- All Superinterfaces:
BlockData,Cloneable,Directional
'vault_state' indicates the current operational phase of the vault block.
'ominous' indicates if the block has ominous effects.
'ominous' indicates if the block has ominous effects.
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionGets the value of the 'vault_state' property.booleanGets the value of the 'ominous' property.voidsetOminous(boolean ominous) Sets the value of the 'ominous' property.voidSets the value of the 'vault_state' property.Methods inherited from interface org.bukkit.block.data.BlockData
clone, copyTo, createBlockState, getAsString, getAsString, getCollisionShape, getDestroySpeed, getDestroySpeed, getLightEmission, getMapColor, getMaterial, getPistonMoveReaction, getPlacementMaterial, getSoundGroup, isFaceSturdy, isOccluding, isPreferredTool, isRandomlyTicked, isSupported, isSupported, matches, merge, mirror, requiresCorrectToolForDrops, rotateMethods inherited from interface org.bukkit.block.data.Directional
getFaces, getFacing, setFacing
-
Method Details
-
getTrialSpawnerState
Gets the value of the 'vault_state' property.- Returns:
- the 'vault_state' value
-
setTrialSpawnerState
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
-