public interface Levelled extends BlockData
this.level - 8
Note that counterintuitively, an adjusted level of 1 is the highest level,
whilst 7 is the lowest.
getMaximumLevel()
.Modifier and Type | Method and Description |
---|---|
int |
getLevel()
Gets the value of the 'level' property.
|
int |
getMaximumLevel()
Gets the maximum allowed value of the 'level' property.
|
void |
setLevel(int level)
Sets the value of the 'level' property.
|
clone, getAsString, getAsString, getMaterial, matches, merge
int getLevel()
void setLevel(int level)
level
- the new 'level' valueint getMaximumLevel()
Copyright © 2022. All rights reserved.