Fluid data
This commit is contained in:
@@ -2,13 +2,25 @@
|
||||
// SPDX-License-Identifier: AGPL-3.0-or-later
|
||||
|
||||
// what server scripts get, see docs/modding/
|
||||
import type { EventSignal, Face, Id, ItemStack, ModInfo, Position, Season, TagApi } from "./shared.ts";
|
||||
import type { EventSignal, Face, FluidApi, Id, ItemStack, ModInfo, Position, Season, TagApi } from "./shared.ts";
|
||||
import type { ArgumentType, CommandNode } from "../commands.ts";
|
||||
import type { LootTableJson } from "../loot.ts";
|
||||
|
||||
export type { ArgumentType, CommandContext, CommandNode, Suggestion } from "../commands.ts";
|
||||
|
||||
export type { EventSignal, Face, Id, ItemStack, ModInfo, Position, Season, TagApi, TagRegistry } from "./shared.ts";
|
||||
export type {
|
||||
EventSignal,
|
||||
Face,
|
||||
FluidApi,
|
||||
FluidVariant,
|
||||
Id,
|
||||
ItemStack,
|
||||
ModInfo,
|
||||
Position,
|
||||
Season,
|
||||
TagApi,
|
||||
TagRegistry,
|
||||
} from "./shared.ts";
|
||||
|
||||
export interface ServerContext {
|
||||
mod: ModInfo;
|
||||
@@ -25,6 +37,8 @@ export interface ServerContext {
|
||||
containers: ContainerApi;
|
||||
items: ItemApi;
|
||||
blocks: BlockApi;
|
||||
// every fluid, named and colored by its rules, see docs/modding/resources/fluids.md
|
||||
fluids: FluidApi;
|
||||
recipes: RecipeApi;
|
||||
tags: TagApi;
|
||||
loot: LootApi;
|
||||
|
||||
Reference in New Issue
Block a user