Every recipe type registered from shared scripts
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -109,6 +109,9 @@ ctx.fluids.same(birch, { id: "copper_tools:syrup" }); // false, the data is diff
|
||||
there as plain `copper_tools:syrup`. Client scripts also have `ctx.fluids.mod(id)`, the name of the mod that added it,
|
||||
like `ctx.items.mod`.
|
||||
|
||||
Shared scripts have `ctx.fluids.exists` and `ctx.fluids.same` too, which don't depend on rules, like a
|
||||
[recipe type](recipes.md#custom-recipe-types) that's found by a fluid.
|
||||
|
||||
## Containers
|
||||
|
||||
An item with `fluid_container` holds one fluid, full or empty, like a bucket or a bottle:
|
||||
|
||||
Reference in New Issue
Block a user