Rotary
This class was added by a mod with mod-id mekanism. So you need to have this mod installed if you
want to use this feature.
Importing the class
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.
import mods.mekanism.recipe.Rotary;Extending MekanismRecipeManager
Rotary extends MekanismRecipeManager. That means all methods available in MekanismRecipeManager are also available in Rotary
Methods
Return Type: void
Rotary.addJSONRecipe(name as string, data as IData) as void| Parameter | Type | Description | 
|---|---|---|
| Parametername | Typestring | DescriptionNo Description Provided | 
| Parameterdata | TypeIData | DescriptionNo Description Provided | 
Adds a rotary recipe that converts a fluid into a gas. Rotary Condensers set to Decondensentrating can process this recipe type.
Return Type: void
Rotary.addRecipe(name as string, fluidInput as FluidStackIngredient, gasOutput as GasStack) as void| Parameter | Type | Description | 
|---|---|---|
| Parametername | Typestring | DescriptionName of the new recipe. | 
| ParameterfluidInput | TypeFluidStackIngredient | DescriptionFluidStackIngredient representing the input of the recipe. | 
| ParametergasOutput | TypeGasStack | DescriptionGasStack representing the output of the recipe. | 
Adds a rotary recipe that converts a gas into a fluid. Rotary Condensers set to Condensentrating can process this recipe type.
Return Type: void
Rotary.addRecipe(name as string, gasInput as GasStackIngredient, fluidOutput as IFluidStack) as void| Parameter | Type | Description | 
|---|---|---|
| Parametername | Typestring | DescriptionName of the new recipe. | 
| ParametergasInput | TypeGasStackIngredient | DescriptionGasStackIngredient representing the input of the recipe. | 
| ParameterfluidOutput | TypeIFluidStack | DescriptionIFluidStack representing the output of the recipe. | 
Adds a rotary recipe that is capable of converting a fluid into a gas and a gas into a fluid. Rotary Condensers can process this recipe type, converting from fluid to gas when set to Decondensentrating and converting from gas to fluid when set to Condensentrating.
Return Type: void
Rotary.addRecipe(name as string, fluidInput as FluidStackIngredient, gasInput as GasStackIngredient, gasOutput as GasStack, fluidOutput as IFluidStack) as void| Parameter | Type | Description | 
|---|---|---|
| Parametername | Typestring | DescriptionName of the new recipe. | 
| ParameterfluidInput | TypeFluidStackIngredient | DescriptionFluidStackIngredient representing the input of the recipe when converting from a fluid to a gas. | 
| ParametergasInput | TypeGasStackIngredient | DescriptionGasStackIngredient representing the input of the recipe when converting from a gas to a fluid. | 
| ParametergasOutput | TypeGasStack | DescriptionGasStack representing the output of the recipe when converting from a fluid to a gas. | 
| ParameterfluidOutput | TypeIFluidStack | DescriptionIFluidStack representing the output of the recipe when converting from a gas to a fluid. | 
Return Type: stdlib.List<WrapperRecipe>
// Rotary.getAllRecipes() as stdlib.List<WrapperRecipe>
myRotary.getAllRecipes();Return Type: WrapperRecipe
Rotary.getRecipeByName(name as string) as WrapperRecipe| Parameter | Type | Description | 
|---|---|---|
| Parametername | Typestring | DescriptionNo Description Provided | 
Return Type: WrapperRecipe[MCResourceLocation]
// Rotary.getRecipeMap() as WrapperRecipe[MCResourceLocation]
myRotary.getRecipeMap();Return Type: void
// Rotary.removeAll() as void
myRotary.removeAll();Return Type: void
Rotary.removeByModid(modid as string) as void| Parameter | Type | Description | 
|---|---|---|
| Parametermodid | Typestring | DescriptionNo Description Provided | 
Return Type: void
Rotary.removeByModid(modid as string, exclude as RecipeFilter) as void| Parameter | Type | Description | 
|---|---|---|
| Parametermodid | Typestring | DescriptionNo Description Provided | 
| Parameterexclude | TypeRecipeFilter | DescriptionNo Description Provided | 
Return Type: void
Rotary.removeByName(name as string) as void| Parameter | Type | Description | 
|---|---|---|
| Parametername | Typestring | DescriptionNo Description Provided | 
Return Type: void
Rotary.removeByRegex(regex as string) as void| Parameter | Type | Description | 
|---|---|---|
| Parameterregex | Typestring | DescriptionNo Description Provided | 
Return Type: void
Rotary.removeByRegex(regex as string, exclude as RecipeFilter) as void| Parameter | Type | Description | 
|---|---|---|
| Parameterregex | Typestring | DescriptionNo Description Provided | 
| Parameterexclude | TypeRecipeFilter | DescriptionNo Description Provided | 
Return Type: void
Rotary.removeRecipe(output as IItemStack) as void| Parameter | Type | Description | 
|---|---|---|
| Parameteroutput | TypeIItemStack | DescriptionNo Description Provided | 
Return Type: void
Rotary.removeRecipeByInput(input as IItemStack) as void| Parameter | Type | Description | 
|---|---|---|
| Parameterinput | TypeIItemStack | DescriptionNo Description Provided | 
Properties
| Name | Type | Has Getter | Has Setter | Description | 
|---|---|---|---|---|
| NameallRecipes | Typestdlib.List<WrapperRecipe> | Has Gettertrue | Has Setterfalse | DescriptionNo Description Provided | 
| NamerecipeMap | TypeWrapperRecipe[MCResourceLocation] | Has Gettertrue | Has Setterfalse | DescriptionNo Description Provided |