Fluid
Link to fluid
Импорт класса
Link to импорт-класса
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;
Методы
Link to методы
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
Параметр | Тип | Описание |
---|---|---|
Параметр other | Тип Fluid | Описание No Description Provided |
Свойства
Link to свойства
Название | Тип | Имеет Getter | Имеет Setter | Описание |
---|---|---|---|---|
Название bucket | Тип ItemDefinition | Имеет Getter true | Имеет Setter false | Описание No Description Provided |
Название commandString | Тип string | Имеет Getter true | Имеет Setter false | Описание No Description Provided |