Package org.bukkit.block.data.type
Interface Dispenser
- All Superinterfaces:
BlockData,Cloneable,Directional
Similar to
Powerable, 'triggered' indicates whether or not the
dispenser is currently activated.-
Method Summary
Modifier and TypeMethodDescriptionbooleanGets the value of the 'triggered' property.voidsetTriggered(boolean triggered) Sets the value of the 'triggered' property.Methods inherited from interface org.bukkit.block.data.BlockData
clone, createBlockState, getAsString, getAsString, getDestroySpeed, getDestroySpeed, getLightEmission, 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
-
isTriggered
boolean isTriggered()Gets the value of the 'triggered' property.- Returns:
- the 'triggered' value
-
setTriggered
void setTriggered(boolean triggered) Sets the value of the 'triggered' property.- Parameters:
triggered- the new 'triggered' value
-