接口 TrialSpawner
'trial_spawner_state' indicates the current operational phase of the spawner.
'ominous' indicates if the block has ominous effects.
'ominous' indicates if the block has ominous effects.
-
嵌套类概要
-
方法概要
修饰符和类型方法说明Gets the value of the 'trial_spawner_state' property.boolean
Gets the value of the 'ominous' property.void
setOminous
(boolean ominous) Sets the value of the 'ominous' property.void
Sets the value of the 'trial_spawner_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
-
方法详细资料
-
getTrialSpawnerState
Gets the value of the 'trial_spawner_state' property.- 返回:
- the 'trial_spawner_state' value
-
setTrialSpawnerState
Sets the value of the 'trial_spawner_state' property.- 参数:
state
- the new 'trial_spawner_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
-