MCFluid
Link to mcfluid
Importare la Classe
Link to importare-la-classe
It might be required for you to import the package if you encounter any issues (like casting an Array), so better be safe than sorry and add the import at the very top of the file.
ZenScript Copyimport crafttweaker.api.fluid.MCFluid;
Metodi
Link to metodi
Name: makeStack
Creates a new IFluidStack with the given amount of fluid.
Returns: a new (immutable) IFluidStack
Return Type: IFluidStack
ZenScript Copy// MCFluid.makeStack(amount as int) as IFluidStack
myMCFluid.makeStack(1000);
Parametro | Tipo | Descrizione |
---|---|---|
Parametro amount | Tipo int | Descrizione No Description Provided |
Proprietà
Link to proprietà
Nome | Tipo | Ha Getter | Ha Setter | Descrizione |
---|---|---|---|---|
Nome commandString | Tipo string | Ha Getter sì | Ha Setter no | Descrizione No Description Provided |