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 SummaryModifier 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.BlockDataclone, getAsString, getAsString, getMaterial, getSoundGroup, matches, mergeMethods inherited from interface org.bukkit.block.data.DirectionalgetFaces, getFacing, setFacing
- 
Method Details- 
isTriggeredboolean isTriggered()Gets the value of the 'triggered' property.- Returns:
- the 'triggered' value
 
- 
setTriggeredvoid setTriggered(boolean triggered) Sets the value of the 'triggered' property.- Parameters:
- triggered- the new 'triggered' value
 
 
-