接口 TrialSpawner
'trial_spawner_state' 表示试炼刷怪笼当前的运行阶段.
'ominous' 表示方块是否具有不祥效果.
'ominous' 表示方块是否具有不祥效果.
-
嵌套类概要
嵌套类 -
方法概要
修饰符和类型方法说明获取 'trial_spawner_state' 属性的值.boolean获取 'ominous' 属性的值.voidsetOminous(boolean ominous) 设置 'ominous' 属性的值.void设置 'trial_spawner_state' 属性的值.从接口继承的方法 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
获取 'trial_spawner_state' 属性的值.原文: Gets the value of the 'trial_spawner_state' property.
- 返回:
- 'trial_spawner_state' 的值
-
setTrialSpawnerState
设置 'trial_spawner_state' 属性的值.原文: Sets the value of the 'trial_spawner_state' property.
- 参数:
state- 新的 'trial_spawner_state' 值
-
isOminous
boolean isOminous()获取 'ominous' 属性的值.原文: Gets the value of the 'ominous' property.
- 返回:
- 'ominous' 的值
-
setOminous
void setOminous(boolean ominous) 设置 'ominous' 属性的值.原文: Sets the value of the 'ominous' property.
- 参数:
ominous- 新的 'ominous' 值
-