More fluid apis

This commit is contained in:
2026-10-28 13:04:24 -03:00
parent 1539cf6933
commit 3cc33ea10c
7 changed files with 36 additions and 4 deletions
+2
View File
@@ -168,6 +168,8 @@ ctx.items.mod(id); // the name of the mod that added it
ctx.items.components(id); // its components and their params, like the server's, to show what they mean
ctx.blocks.exists(id);
ctx.blocks.components(id); // the same for a block, like what a crab pot catches with each bait
ctx.fluids.ids(); // every fluid, in load order
ctx.fluids.mod(id); // the name of the mod that added it
ctx.fluids.name(fluid); // and color, exists and same, see ../resources/fluids.md#using-fluids
ctx.loot.table(id); // a loot table file's JSON, or undefined. tables server scripts make aren't here
ctx.recipes.list(type?); // every recipe as its JSON, including mods' own types