DaylightDetector, RedstoneWirepublic interface AnaloguePowerable extends BlockData
getMaximumPower() (usually 15).| Modifier and Type | Method | Description |
|---|---|---|
int |
getMaximumPower() |
Gets the maximum allowed value of the 'power' property.
|
int |
getPower() |
Gets the value of the 'power' property.
|
void |
setPower(int power) |
Sets the value of the 'power' property.
|
clone, getAsString, getAsString, getMaterial, matches, mergeint getPower()
void setPower(int power)
power - the new 'power' valueint getMaximumPower()
Copyright © 2019. All rights reserved.