More fluid apis
This commit is contained in:
@@ -71,7 +71,10 @@ export interface ClientContext {
|
||||
solid(id: Id): boolean;
|
||||
};
|
||||
// every fluid, named and colored by its rules, see docs/modding/resources/fluids.md
|
||||
fluids: FluidApi;
|
||||
fluids: FluidApi & {
|
||||
// the mod that registered it, like ctx.items.mod
|
||||
mod(id: Id): string;
|
||||
};
|
||||
// the mods' loot table files (see docs/modding/resources/loot_tables.md), to show what they give. tables server
|
||||
// scripts make with ctx.loot.register_table aren't here
|
||||
loot: {
|
||||
|
||||
Reference in New Issue
Block a user