Data component format/potion contents
Minecraft Wiki article. Categories: Nbt_inherit_template_subpages, Top-level_data_pages
📌 Mirrored from Minecraft Wiki
This article is reproduced from Data component format/potion contents on the Minecraft Wiki. Mirrored from revision 3676971. It is licensed CC BY-NC-SA 3.0 by the Minecraft Wiki contributors — not under the Codex’s CC BY-SA 4.0, and it may not be used commercially. Edits belong upstream, not here.
- [String][NBT Compound / JSON Object] minecraft:potion_contents: The base potion, custom list of mob effects, and custom color contained in this potion, splash potion, lingering potion, tipped arrow, or area effect cloud. When present on an item, the mob effects are listed in the item's tooltip. If this and a
minecraft:consumablecomponent are present on an item, consuming the item will apply all of the effects from this component to the player or mob that consumed it. If defined as a string, corresponds to [String] potion.- A custom potion contents object see Template:Nbt inherit/potion_contents/template
- [String][NBT Compound / JSON Object] minecraft:potion_contents: The base potion, custom list of mob effects, and custom color contained in this potion, splash potion, lingering potion, tipped arrow, or area effect cloud. When present on an item, the mob effects are listed in the item's tooltip. If this and a
Sources
- Data component format/potion contents — Minecraft Wiki, CC BY-NC-SA 3.0, revision 3676971.