Fluid handler
This commit is contained in:
@@ -24,6 +24,12 @@ export interface FluidVariant {
|
||||
readonly data?: unknown;
|
||||
}
|
||||
|
||||
// an amount of a fluid in mB, like neoforge's FluidStack: what's in a tank, or what's poured from one into another
|
||||
export interface FluidStack {
|
||||
fluid: FluidVariant;
|
||||
amount: number;
|
||||
}
|
||||
|
||||
// ctx.fluids in server and client scripts: every fluid any mod defines, the same on the server and every client
|
||||
export interface FluidApi {
|
||||
// every fluid's id, in load order, like ctx.items.ids. each without data, which a fluid like juice has many of
|
||||
|
||||
Reference in New Issue
Block a user