WrapperRecipe

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.

ZenScript
Copy
import crafttweaker.api.recipes.WrapperRecipe;

Implemented Interfaces

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

Methods

canFit

Return Type: boolean

ZenScript
Copy
WrapperRecipe.canFit(width as int, height as int) as boolean
ParameterTypeDescription
widthintNo Description Provided
heightintNo Description Provided
replace

Return Type: void

ZenScript
Copy
WrapperRecipe.replace(from as IIngredient, to as IIngredient) as void
ParameterTypeDescription
fromIIngredientNo Description Provided
toIIngredientNo Description Provided

Properties

NameTypeHas GetterHas SetterDescription
commandStringstringtruefalseNo Description Provided
dynamicbooleantruefalseNo Description Provided
groupstringtruefalseNo Description Provided
iconIItemStacktruefalseNo Description Provided
idMCResourceLocationtruefalseNo Description Provided
ingredientsstdlib.List<IIngredient>truefalseNo Description Provided
isShapedCraftingRecipebooleantruefalseNo Description Provided
isShapelessCraftingRecipebooleantruefalseNo Description Provided
outputIItemStacktruefalseNo Description Provided
recipeManagerIRecipeManagertruefalseNo Description Provided