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/brewing fuel: 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: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}}: The [[Minecraft:namespaced ID]] of a [[Minecraft:number provider]], which is evaluated using the {{cd|container_process}} [[Minecraft:loot context]] to determine how many infusions will be fueled by destroying this item, with fractions rounded to the nearest whole number. The fuel item is consumed regardless of whether this evaluates to a positive number.
*** {{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}}: The [[Minecraft:namespaced ID]] of a [[Minecraft:number provider]]. The number provider is evaluated using the {{cd|container_process}} [[Minecraft:loot context]] to determine how quickly infusions should complete during the time provided by this fuel item. Each infusion will take {{math|ceil(400 / mult)}} ticks. If the evaluated value is {{cd|0.0}} or less, it is treated as {{cd|1.0}}. The provider is only evaluated once when the fuel is consumed, and the scaled brewing time is only calculated once when the infusion begins.
*** {{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