Minecraft:Data component format/brewing fuel: Difference between revisions
From SAS Gaming Wiki
More actions
Sync: new page from Minecraft |
Sync: updated from Minecraft |
||
| Line 1: | Line 1: | ||
<div class="treeview"><onlyinclude> | <div class="treeview"><onlyinclude> | ||
** {{nbt|compound|minecraft:brewing_fuel}}: If present, this item can be consumed for fuel by [[Minecraft:brewing stand]]s. | ** {{nbt|compound|minecraft:brewing_fuel}}: If present, this item can be consumed for fuel by [[Minecraft:brewing stand]]s. | ||
*** {{nbt|string|uses}}: | *** {{nbt|float}}{{nbt|string|uses}}: How many infusions will be fueled by destroying this item. Either a fixed number or the [[Minecraft:namespaced ID]] of a [[Minecraft:number provider]], which is evaluated using the {{cd|container_process}} [[Minecraft:loot context]] when a brewing stand uses this item as fuel. The resolved value is rounded to the nearest whole number. The fuel item is consumed regardless of whether the result is a positive number. | ||
*** {{nbt|string|speed_multiplier}}: | *** {{nbt|float}}{{nbt|string|speed_multiplier}}: How quickly infusions should brew during the time provided by this fuel item. Either a fixed number or the [[Minecraft:namespaced ID]] of a [[Minecraft:number provider]], which is evaluated using the {{cd|container_process}} [[Minecraft:loot context]] when a brewing stand uses this item as fuel. If the resolved value is {{cd|0.0}} or less, it is treated as {{cd|1.0}}. Each infusion that starts while this fuel is active will take {{math|ceil(400 / mult)}} ticks, meaning higher values brew quicker and lower values brew slower. The provider is only evaluated once when the fuel is consumed, and the scaled brewing time is only calculated once when the infusion begins. | ||
</onlyinclude> | </onlyinclude> | ||
</div> | </div> | ||
[[Category:Data component format subpages]] | [[Category:Data component format subpages]] | ||
Latest revision as of 11:09, 29 July 2026
- Template:Nbt: If present, this item can be consumed for fuel by Minecraft:brewing stands.
- Template:NbtTemplate:Nbt: How many infusions will be fueled by destroying this item. Either a fixed number or the Minecraft:namespaced ID of a Minecraft:number provider, which is evaluated using the Template:Cd Minecraft:loot context when a brewing stand uses this item as fuel. The resolved value is rounded to the nearest whole number. The fuel item is consumed regardless of whether the result is a positive number.
- Template:NbtTemplate:Nbt: How quickly infusions should brew during the time provided by this fuel item. Either a fixed number or the Minecraft:namespaced ID of a Minecraft:number provider, which is evaluated using the Template:Cd Minecraft:loot context when a brewing stand uses this item as fuel. If the resolved value is Template:Cd or less, it is treated as Template:Cd. Each infusion that starts while this fuel is active will take Template:Math ticks, meaning higher values brew quicker and lower values brew slower. The provider is only evaluated once when the fuel is consumed, and the scaled brewing time is only calculated once when the infusion begins.
- Template:Nbt: If present, this item can be consumed for fuel by Minecraft:brewing stands.