Fluid Ingredients and Fluid Stack Templates
Several Resourceful Bees recipes use NeoForge fluid ingredient codecs or fluid stack templates. They are similar concepts but have different JSON shapes.
Fluid Ingredient
A fluid ingredient selects acceptable input fluids. It accepts either a direct fluid ID, a fluid tag, or a custom NeoForge ingredient object.
Direct fluid
"minecraft:water"Fluid tag
"#c:water"Custom NeoForge fluid ingredient
{
"neoforge:ingredient_type": "namespace:custom_type"
}Custom objects require neoforge:ingredient_type; remaining fields depend on the registered ingredient type.
Sized Fluid Ingredient
Used by solidification recipes.
ingredient
Fluid Ingredient
Yes
—
—
amount
integer
No
1000
>= 1
Example:
Fluid Stack Template
Used by flow hive recipes to describe produced fluid rather than matched input fluid.
Two forms are accepted.
Compact form
This represents the named fluid with a bucket-volume amount (1000) and no component patch.
Expanded form
id
non-empty fluid identifier
Yes
—
—
amount
integer
Yes
—
>= 1
components
DataComponentPatch object
No
{}
—
minecraft:empty (and the shorthand empty) are rejected for fluid stack templates.
Last updated
Was this helpful?