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/consumable: Difference between revisions

From SAS Gaming Wiki
SyncBot (talk | contribs)
Sync: new page from Minecraft
 
SyncBot (talk | contribs)
Sync: updated from Minecraft
 
Line 3: Line 3:
*** {{nbt|float|consume_seconds}}: The amount of seconds it takes for a player to consume the item. Defaults to 1.6.
*** {{nbt|float|consume_seconds}}: The amount of seconds it takes for a player to consume the item. Defaults to 1.6.
*** {{nbt|string|animation}}: The animation used during consumption of the item. Must be one of {{cd|none|eat|drink|block|bow|spear|crossbow|spyglass|toot_horn|brush|bundle|d=or|trident}}. Defaults to <code>eat</code>.
*** {{nbt|string|animation}}: The animation used during consumption of the item. Must be one of {{cd|none|eat|drink|block|bow|spear|crossbow|spyglass|toot_horn|brush|bundle|d=or|trident}}. Defaults to <code>eat</code>.
*** {{nbt|string}}{{nbt|compound|sound}}: {{json_ref|server-side sound event|inline=1}} used during and on completion of the item's consumption. Defaults to <code>entity.generic.eat</code>.
*** {{nbt|string}}{{nbt|compound|sound}}: Optional{{upcoming|JE 26.4}}; {{json_ref|server-side sound event|inline=1}} used during and on completion of the item's consumption. Defaults to <code>entity.generic.eat</code>.
**** {{nbt inherit/sound event|sounds}}
**** {{nbt inherit/sound event|sounds}}
*** {{nbt|bool|has_consume_particles}}: Whether consumption particles are emitted while consuming this item. Defaults to <code>true</code>.
*** {{nbt|bool|has_consume_particles}}: Whether consumption particles are emitted while consuming this item. Defaults to <code>true</code>.

Latest revision as of 11:15, 22 October 2026

Minecraft:fr:Format de composant de données/consumable Minecraft:ja:データコンポーネント/consumable Minecraft:uk:Формат компонента даних/consumable