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;

方法

canFit

Return Type: boolean

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

参数

名称类型可获得可设置
dynamicbooleantruefalse
groupstringtruefalse
iconIItemStacktruefalse
idMCResourceLocationtruefalse
ingredientsstdlib.List<IIngredient>truefalse
output(输出)IItemStacktruefalse