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
Copy
import crafttweaker.api.fluid.Fluid;

Name: getBucket

Return Type: ItemDefinition

ZenScript
Copy
// Fluid.getBucket() as ItemDefinition

myFluid.getBucket();

Name: isIn

Return Type: boolean

ZenScript
Copy
Fluid.isIn(tag as MCTag<Fluid>) as boolean
ParametroTipoDescrizione
Parametro
tag
Tipo
MCTag<Fluid>
Descrizione
No Description Provided

Name: isSame

Return Type: boolean

ZenScript
Copy
Fluid.isSame(other as Fluid) as boolean
ParametroTipoDescrizione
Parametro
other
Tipo
Fluid
Descrizione
No Description Provided
NomeTipoHa GetterHa SetterDescrizione
Nome
bucket
Tipo
ItemDefinition
Ha Getter
Ha Setter
no
Descrizione
No Description Provided
Nome
commandString
Tipo
string
Ha Getter
Ha Setter
no
Descrizione
No Description Provided