WrapperRecipe

导入相关包

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;

已实现的接口

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

方法

canFit

Return Type: boolean

ZenScript
Copy
WrapperRecipe.canFit(width as int, height as int) as boolean
参数类型描述
widthintNo Description Provided
heightintNo Description Provided
replace

Return Type: void

ZenScript
Copy
WrapperRecipe.replace(from as IIngredient, to as IIngredient) as void
参数类型描述
from材料(IIngredient)No Description Provided
to材料(IIngredient)No Description Provided

参数

名称类型可获得可设置描述
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
output(输出)IItemStacktruefalseNo Description Provided
recipeManagerIRecipeManagertruefalseNo Description Provided