Class HTHandledRecipe
-
-
Method Summary
Modifier and Type Method Description final INPUTgetInput()final RECIPEgetRecipe()final ItemStackassemble(HolderLookup.Provider registries)レシピの完成品を取得します。 final <T extends Any> Tmap(Function2<RECIPE, INPUT, T> transform)保持しているinputとrecipeを変換します。 final <T extends Any, C extends Any> Tmap(C context, Function3<RECIPE, INPUT, C, T> transform)final static <INPUT extends RecipeInput, RECIPE extends HTRecipe<INPUT>> HTHandledRecipe<INPUT, RECIPE>create(INPUT input, RECIPE recipe)-
-
Method Detail
-
assemble
final ItemStack assemble(HolderLookup.Provider registries)
レシピの完成品を取得します。
-
map
final <T extends Any> T map(Function2<RECIPE, INPUT, T> transform)
保持しているinputとrecipeを変換します。
- Parameters:
transform- 変換するブロック
-
map
final <T extends Any, C extends Any> T map(C context, Function3<RECIPE, INPUT, C, T> transform)
- Since:
0.14.0
-
-
-
-