Package org.bukkit.block.data.type
Interface Repeater
- All Superinterfaces:
- BlockData,- Cloneable,- Directional,- Powerable
'delay' is the propagation delay of a repeater, i.e. how many ticks before it
 will be activated from a current change and propagate it to the next block.
 
Delay may not be lower than
'locked' denotes whether the repeater is in the locked state or not.
A locked repeater will not change its output until it is unlocked. In game, a locked repeater is created by having a constant current perpendicularly entering the block.
Delay may not be lower than
getMinimumDelay() or higher than
 getMaximumDelay().
 'locked' denotes whether the repeater is in the locked state or not.
A locked repeater will not change its output until it is unlocked. In game, a locked repeater is created by having a constant current perpendicularly entering the block.
- 
Method SummaryModifier and TypeMethodDescriptionintgetDelay()Gets the value of the 'delay' property.intGets the maximum allowed value of the 'delay' property.intGets the minimum allowed value of the 'delay' property.booleanisLocked()Gets the value of the 'locked' property.voidsetDelay(int delay) Sets the value of the 'delay' property.voidsetLocked(boolean locked) Sets the value of the 'locked' property.Methods inherited from interface org.bukkit.block.data.BlockDataclone, getAsString, getAsString, getLightEmission, getMaterial, getPistonMoveReaction, getSoundGroup, isFaceSturdy, isOccluding, isPreferredTool, isRandomlyTicked, isSupported, isSupported, matches, merge, requiresCorrectToolForDropsMethods inherited from interface org.bukkit.block.data.DirectionalgetFaces, getFacing, setFacingMethods inherited from interface org.bukkit.block.data.PowerableisPowered, setPowered
- 
Method Details- 
getDelayint getDelay()Gets the value of the 'delay' property.- Returns:
- the 'delay' value
 
- 
setDelayvoid setDelay(int delay) Sets the value of the 'delay' property.- Parameters:
- delay- the new 'delay' value
 
- 
getMinimumDelayint getMinimumDelay()Gets the minimum allowed value of the 'delay' property.- Returns:
- the minimum 'delay' value
 
- 
getMaximumDelayint getMaximumDelay()Gets the maximum allowed value of the 'delay' property.- Returns:
- the maximum 'delay' value
 
- 
isLockedboolean isLocked()Gets the value of the 'locked' property.- Returns:
- the 'locked' value
 
- 
setLockedvoid setLocked(boolean locked) Sets the value of the 'locked' property.- Parameters:
- locked- the new 'locked' value
 
 
-