ProcessingRecipe

Link to processingrecipe

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.ProcessingRecipe;

已实现的接口

Link to 已实现的接口

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

Link to getFluidIngredients

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();

Link to getProcessingDuration

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();

Link to getRollableResults

Name: getRollableResults

Return Type: stdlib.List<ProcessingOutput>

ZenScript
Copy
// ProcessingRecipe.getRollableResults() as stdlib.List<ProcessingOutput>

myProcessingRecipe.getRollableResults();

Link to getRollableResultsAsItemStacks

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