To allow for arbitrary fluids as the result of brewing, Toil introduces the Cauldron Contents data type, which extends the vanilla Potion Contents data component.
Format
: The root object. Alternatively, the ID of a potion type as a string.
├── potion: Optional: The ID of a potion type. See Potion#Item data..
├── id: Optional: The ID of the contents. Can be an block ID if you want to have a vanilla block, or one of the mod's supported fluids. Defaults to
potion.
├── amount: Optional: How much fluid should be produced by a successful craft. Defaults to
3.
├── custom_color: Optional: overrides the color of this potion texture, and/or the particles of the area effect cloud created..
|── custom_name: Optional: overrides the name of this potion.
|── tag: Optional: A resource location for an item tag.
├── custom_effects: Optional: A list of the additional effects that this item should apply.
| └── : A single custom effect.
| └──── id: A single custom effect.
| └──── amplifier: Optional: The amplifier of the effect, with level I having value 0. Defaults to 0.
| └──── duration: Optional: The duration of the effect in ticks. Value -1 is treated as infinity. Values 0 or less than -2 are treated as 1. Defaults to 1 tick.
| └──── ambient: Optional: Whether or not this is an effect provided by a beacon and therefore should be less intrusive on the screen. Defaults to
false.
| └──── show_particles: Optional: Whether or not this effect produces particles. Defaults to
true.
| └──── show_icon: Optional: Whether or not an icon should be shown for this effect. Defaults to true.