BlockData
, Cloneable
, Directional
, Powerable
public interface Repeater extends Directional, Powerable
getMinimumDelay()
or higher than
getMaximumDelay()
.
Modifier and Type | Method | Description |
---|---|---|
int |
getDelay() |
Gets the value of the 'delay' property.
|
int |
getMaximumDelay() |
Gets the maximum allowed value of the 'delay' property.
|
int |
getMinimumDelay() |
Gets the minimum allowed value of the 'delay' property.
|
boolean |
isLocked() |
Gets the value of the 'locked' property.
|
void |
setDelay(int delay) |
Sets the value of the 'delay' property.
|
void |
setLocked(boolean locked) |
Sets the value of the 'locked' property.
|
clone, getAsString, getAsString, getMaterial, matches, merge
getFaces, getFacing, setFacing
isPowered, setPowered
int getDelay()
void setDelay(int delay)
delay
- the new 'delay' valueint getMinimumDelay()
int getMaximumDelay()
boolean isLocked()
void setLocked(boolean locked)
locked
- the new 'locked' valueCopyright © 2020. All rights reserved.