Class HTModularEmiRecipe
-
- All Implemented Interfaces:
-
dev.emi.emi.api.recipe.EmiRecipe
public abstract class HTModularEmiRecipe<RECIPE extends Object> extends ModularUIEMIRecipeHiiragi Coreとそれを前提とするmodで使用されるEmiRecipeの抽象クラスです。
- Since:
0.7.0
Hiiragi Tsubasa
-
-
Field Summary
Fields Modifier and Type Field Description private final List<EmiStack>outputsprivate final IntegerdisplayHeightprivate final List<EmiIngredient>catalystsprivate final List<EmiIngredient>inputsprivate final ResourceLocationidprivate final IntegerdisplayWidthprivate final RecipeHolder<?>backingRecipeprivate final ModularUImodularUIprivate final EmiRecipeCategorycategorypublic final IModularUIProvider<ModularUIEMIRecipe>uiProvider
-
Constructor Summary
Constructors Constructor Description HTModularEmiRecipe(Function2<RECIPE, UIElement, Unit> factory, EmiRecipeCategory category, ResourceLocation id, RECIPE recipe, Bounds bounds)HTModularEmiRecipe(Function2<RECIPE, UIElement, Unit> factory, HTEmiRecipeCategory category, ResourceLocation id, RECIPE recipe)
-
Method Summary
Modifier and Type Method Description final EmiRecipeCategorygetCategory()final ResourceLocationgetId()final IntegergetDisplayWidth()final IntegergetDisplayHeight()RecipeHolder<?>getBackingRecipe()final static ItemSlotinputSlot(HTItemIngredient ingredient)final static FluidSlotinputSlot(HTFluidIngredient ingredient)final static ItemSlotcatalystSlot(HTItemIngredient ingredient)final static FluidSlotcatalystSlot(HTFluidIngredient ingredient)final static ItemSlotoutputSlot(HTItemResult result, Float chance)final static ItemSlotoutputSlot(HTChancedItemResult result)final static FluidSlotoutputSlot(HTFluidResult result)-
Methods inherited from class com.lowdragmc.lowdraglib2.integration.xei.emi.ModularUIEMIRecipe
getCatalysts, getInputs, getModularUI, getOutputs -
Methods inherited from class hiiragi283.core.api.integration.emi.HTModularEmiRecipe
getBackingRecipe, getCategory, getDisplayHeight, getDisplayWidth, getId -
Methods inherited from class dev.emi.emi.api.recipe.EmiRecipe
addWidgets, hideCraftable, supportsRecipeTree -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Constructor Detail
-
HTModularEmiRecipe
HTModularEmiRecipe(Function2<RECIPE, UIElement, Unit> factory, EmiRecipeCategory category, ResourceLocation id, RECIPE recipe, Bounds bounds)
- Parameters:
factory- recipeからUIを作成するブロックcategory- レシピのカテゴリid- このレシピのIDrecipe- RECIPEのインスタンスbounds- このレシピが表示される範囲
-
HTModularEmiRecipe
HTModularEmiRecipe(Function2<RECIPE, UIElement, Unit> factory, HTEmiRecipeCategory category, ResourceLocation id, RECIPE recipe)
-
-
Method Detail
-
getCategory
final EmiRecipeCategory getCategory()
-
getId
final ResourceLocation getId()
-
getDisplayWidth
final Integer getDisplayWidth()
-
getDisplayHeight
final Integer getDisplayHeight()
-
getBackingRecipe
RecipeHolder<?> getBackingRecipe()
-
inputSlot
final static ItemSlot inputSlot(HTItemIngredient ingredient)
-
inputSlot
final static FluidSlot inputSlot(HTFluidIngredient ingredient)
-
catalystSlot
final static ItemSlot catalystSlot(HTItemIngredient ingredient)
-
catalystSlot
final static FluidSlot catalystSlot(HTFluidIngredient ingredient)
-
outputSlot
final static ItemSlot outputSlot(HTItemResult result, Float chance)
-
outputSlot
final static ItemSlot outputSlot(HTChancedItemResult result)
-
outputSlot
final static FluidSlot outputSlot(HTFluidResult result)
-
-
-
-