Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Minecraft:Data component format/compostable: Difference between revisions

From SAS Gaming Wiki
SyncBot (talk | contribs)
Sync: new page from Minecraft
 
SyncBot (talk | contribs)
Sync: updated from Minecraft
 
Line 1: Line 1:
<div class="treeview"><onlyinclude>
<div class="treeview"><onlyinclude>
** {{nbt|compound|minecraft:compostable}}:  
** {{nbt|compound|minecraft:compostable}}:  
*** {{nbt|string|layers}}: Required. A [[Minecraft:number provider]] registry. Number of layers increased when using the item in an not-full composter ({{cd|level}}<7). To increase the compost level, the number needs to be greater than 0. The final level is a clamp between 0 and 7. Typically, a number provider results in {{cd|0}} or {{cd|1}}.</onlyinclude>
*** {{nbt|float}}{{nbt|string|layers}}: Required. The number of compost layers added when using this item on a non-full [[Minecraft:composter]] ({{cd|level}} less than 7). Either a fixed number or the [[Minecraft:namespaced ID]] of a [[Minecraft:number provider]], which is evaluated using the {{cd|block_interact}} [[Minecraft:loot context]] when the item is used. The optional '''block entity''' and '''tool''' loot context parameters are not supplied. The resolved value is rounded to the nearest whole number, and negative values are treated as {{cd|0}}. The final compost level after the new layers are added is clamped to the range 0&ndash;7.</onlyinclude>
</div><noinclude>
</div><noinclude>
[[Category:Top-level data pages]]
[[Category:Top-level data pages]]


</noinclude>
</noinclude>

Latest revision as of 11:09, 29 July 2026