Name | level |
Object | MaterialTag |
Input | ElementTag(Number) |
Related Tags | <MaterialTag.level> (Property) Returns the current level for a Levelled material, cake, beehives, snow, farmland, or brushable blocks. (...)
|
Description | (Property) Sets the current level for a Levelled material, cake, beehives, snow, farmland, or brushable blocks.
"Levelled" materials include: water, lava, cauldrons, composters, light blocks, brushable blocks, and any other future Levelled implementing types. For light blocks, this is the brightness of the light. For water/lava this is the height of the liquid block. For cauldrons, this is the amount of liquid contained. For cake, this is the number of bites left. For beehives/bee nests, this is the amount of honey contained. For snow, this is the number of partial layers, or the height, of a snow block. For farmland, this is the moisture level. For composters, this is the amount of compost. For brushable blocks (also referred to as "suspicious blocks"), this is the level of dusting. 1.20+ only. See also MaterialTag.maximum_level and MaterialTag.minimum_level. |
Generated Example |
|
Group | Properties |
Source | https://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/properties/material/MaterialLevel.java#L19 |