Minecraft Wiki
Advertisement
    •  CustomPotionEffects: The custom potion effects (status effects) this potion or tipped arrow has. A potion getting its effects from this tag will be named "Water Bottle". A tipped arrow will be named "Arrow of Splashing".
      • One of these for each effect.
        •  Id: The numeric ID of the effect.
        •  Amplifier: The amplifier of the effect, with level I having value 0. Negative levels are discussed here. Optional, and defaults to level I.
        •  Duration: The duration of the effect in ticks. Values 0 or lower are treated as 1. Optional, and defaults to 1 tick.
        •  Ambient: 1 or 0 (true/false) - whether or not this is an effect provided by a beacon and therefore should be less intrusive on the screen. Optional, and defaults to false. Due to a bug, it has no effect on splash potions.
        •  ShowParticles: 1 or 0 (true/false) - whether or not this effect produces particles. Optional, and defaults to true. Due to a bug, it has no effect on splash potions.
    •  Potion (since 15w31a): The name of the default potion effect. This name differs from the status effect name. For example, the value for an "Instant Health II" potion is "minecraft:strong_healing". A potion or tipped arrow getting its effects from this tag will be named with the proper effect.
    •  CustomPotionColor: The item uses this custom color, and splash and lingering potions use it for their splash particle effect. This custom color is not carried over into the potion effect particles present in an area of effect cloud, a player or a mob. It is also lost when a tipped arrow is fired; the retrieved arrow will have no custom color. The numeric color code are calculated from the Red, Green and Blue components using this formula: Red<<16 + Green<<8 + Blue. For positive values larger than 0x00FFFFFF, the top byte is ignored. All negative values produce white.
Advertisement