Player.dat format/Potion


 * : The custom potion effects (status effects) this potion or tipped arrow has.
 * One of these for each effect.
 * : The numeric ID of the effect.
 * : The amplifier of the effect, with level I having value 0. Negative levels are discussed here. Optional, and defaults to level I.
 * : The duration of the effect in ticks. Values 0 or lower are treated as 1.  Optional, and defaults to 1 tick.
 * : 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.
 * : 1 or 0 (true/false) - whether or not this effect produces particles. Optional, and defaults to true.
 * : 1 or 0 (true/false) - true if effect icon is shown. false if no icon is shown.
 * : 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 is named with the proper effect. The default value is "minecraft:empty", which gives it the "Uncraftable" name.
 * : The item uses this custom color, and area-of-effect clouds, arrows, and splash and lingering potions use it for their particle effects. This color does not extend, however, to the particles given off by entities who ultimately receive the effect. 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.

Player.dat格式/药水