BlockData
, java.lang.Cloneable
DaylightDetector
, RedstoneWire
public 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, getMaterial, matches, merge
int getPower()
void setPower(int power)
power
- the new 'power' valueint getMaximumPower()
Copyright © 2018. All rights reserved.