Fluid
Importing the class
If you need to reference this type directly, like when casting an Array, or as a parameter, you will need to import it. Simply add the import at the top of the file.
Implements
Undocumented Interfaces
IFluidExtension
Operators
*(amount as int) as IFluidStack
Creates a new
IFluidStack
with the given amount of fluid. Parameters:
amount: int
Type: int
Return Type:
IFluidStack
Members
Getter
Return Type:
ItemDefinition
bucket() as Item
Return Type:
ItemDefinition
Getter
Return Type:
string
makeStack(amount as int) as IFluidStack
Creates a new
IFluidStack
with the given amount of fluid.Returns: a new (immutable) IFluidStack
Parameters:
amount: int
Type: int
Return Type:
IFluidStack
Getter
Return Type:
ResourceLocation
registryName() as ResourceLocation
Return Type:
ResourceLocation