接口 Dispenser
- 所有超级接口:
BlockData
,Cloneable
,Directional
与
Powerable
相似, 'triggered' 数据值表示此发射器是否被激活.-
方法概要
从接口继承的方法 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
-
方法详细资料
-
isTriggered
boolean isTriggered()获取 'triggered' 数据值.原文: Gets the value of the 'triggered' property.
- 返回:
- 此发射器是否被激活
-
setTriggered
void setTriggered(boolean triggered) 设置 'triggered' 数据值.原文: Sets the value of the 'triggered' property.
- 参数:
triggered
- 此发射器是否被激活
-