Fluid data

This commit is contained in:
2026-10-25 14:24:16 -03:00
parent 17d83acfc8
commit fc27771a92
12 changed files with 387 additions and 31 deletions
+1
View File
@@ -165,6 +165,7 @@ 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.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
ctx.options.key_inventory; // the key the player has bound, like Minecraft's Options key mappings