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 mods.createtweaker.FillingRecipe;

Extending ProcessingRecipe

Link to extending-processingrecipe

FillingRecipe extends ProcessingRecipe. That means all methods available in ProcessingRecipe are also available in FillingRecipe

已实现的接口

Link to 已实现的接口

FillingRecipe implements the following interfaces. That means all methods defined in these interfaces are also available in FillingRecipe

Link to getRequiredFluid

Name: getRequiredFluid

Return Type: FluidIngredient

ZenScript
Copy
// FillingRecipe.getRequiredFluid() as FluidIngredient

myFillingRecipe.getRequiredFluid();
名称类型可获得可设置描述
名称
requiredFluid
类型
FluidIngredient
可获得
true
可设置
false
描述
No Description Provided