Fluid
Link to fluid
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.Fluid;
Metodi
Link to metodi
Name: getBucket
Return Type: ItemDefinition
ZenScript Copy// Fluid.getBucket() as ItemDefinition
myFluid.getBucket();
Name: isSame
Return Type: boolean
ZenScript CopyFluid.isSame(other as Fluid) as boolean
Parametro | Tipo |
---|---|
Parametro other | Tipo Fluid |
Proprietà
Link to proprietà
Nome | Tipo | Ha Getter | Ha Setter |
---|---|---|---|
Nome bucket | Tipo ItemDefinition | Ha Getter sì | Ha Setter no |
Nome commandString | Tipo string | Ha Getter sì | Ha Setter no |