ProcessingRecipe
Link to processingrecipe
导入类
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 mods.createtweaker.ProcessingRecipe;
已实现的接口
Link to 已实现的接口
ProcessingRecipe implements the following interfaces. That means all methods defined in these interfaces are also available in ProcessingRecipe
- Recipe<T>
使用方式
Link to 使用方式
Name: getFluidIngredients
Return Type: stdlib.List<FluidIngredient>
ZenScript Copy// ProcessingRecipe.getFluidIngredients() as stdlib.List<FluidIngredient>
myProcessingRecipe.getFluidIngredients();
Name: getFluidResults
Return Type: stdlib.List<IFluidStack>
ZenScript Copy// ProcessingRecipe.getFluidResults() as stdlib.List<IFluidStack>
myProcessingRecipe.getFluidResults();
Name: getProcessingDuration
Return Type: int
ZenScript Copy// ProcessingRecipe.getProcessingDuration() as int
myProcessingRecipe.getProcessingDuration();
Name: getRequiredHeat
Return Type: HeatCondition
ZenScript Copy// ProcessingRecipe.getRequiredHeat() as HeatCondition
myProcessingRecipe.getRequiredHeat();
Name: getRollableResults
Return Type: stdlib.List<ProcessingOutput>
ZenScript Copy// ProcessingRecipe.getRollableResults() as stdlib.List<ProcessingOutput>
myProcessingRecipe.getRollableResults();
Name: getRollableResultsAsItemStacks
Return Type: stdlib.List<IItemStack>
ZenScript Copy// ProcessingRecipe.getRollableResultsAsItemStacks() as stdlib.List<IItemStack>
myProcessingRecipe.getRollableResultsAsItemStacks();
Name: rollResults
Return Type: stdlib.List<IItemStack>
ZenScript Copy// ProcessingRecipe.rollResults() as stdlib.List<IItemStack>
myProcessingRecipe.rollResults();
名称 | 类型 | 可获得 | 可设置 | 描述 |
---|---|---|---|---|
名称 fluidIngredients | 类型 stdlib.List<FluidIngredient> | 可获得 true | 可设置 false | 描述 No Description Provided |
名称 fluidResults | 类型 stdlib.List<IFluidStack> | 可获得 true | 可设置 false | 描述 No Description Provided |
名称 processingDuration | 类型 int | 可获得 true | 可设置 false | 描述 No Description Provided |
名称 requiredHeat | 类型 HeatCondition | 可获得 true | 可设置 false | 描述 No Description Provided |
名称 rollableResults | 类型 stdlib.List<ProcessingOutput> | 可获得 true | 可设置 false | 描述 No Description Provided |
名称 rollableResultsAsItemStacks | 类型 stdlib.List<IItemStack> | 可获得 true | 可设置 false | 描述 No Description Provided |