Package com.hbm_m.compat.jei
Class ChemicalPlantJeiCategory
java.lang.Object
com.hbm_m.compat.jei.JeiGenericRecipeCategory<ChemicalPlantRecipe>
com.hbm_m.compat.jei.ChemicalPlantJeiCategory
- All Implemented Interfaces:
mezz.jei.api.recipe.category.IRecipeCategory<ChemicalPlantRecipe>
JEI port of
ChemicalPlantRecipeHandler (extends NEIGenericRecipeHandler).-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final mezz.jei.api.recipe.RecipeType<ChemicalPlantRecipe>Fields inherited from class com.hbm_m.compat.jei.JeiGenericRecipeCategory
background, guiHelper, icon, itemSlotBackground, machines -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidaddBlueprintSlot(mezz.jei.api.gui.builder.IRecipeLayoutBuilder builder, ChemicalPlantRecipe recipe, int machineXOffset) protected voidaddInputSlots(mezz.jei.api.gui.builder.IRecipeLayoutBuilder builder, ChemicalPlantRecipe recipe, int inputXOffset) protected voidaddOutputSlots(mezz.jei.api.gui.builder.IRecipeLayoutBuilder builder, ChemicalPlantRecipe recipe, int outputXOffset) protected voiddrawRecipeExtras(ChemicalPlantRecipe recipe, net.minecraft.client.gui.GuiGraphics graphics) protected intgetInputCount(ChemicalPlantRecipe recipe) protected intgetInputXOffset(ChemicalPlantRecipe recipe, int inputCount) protected intgetMachineXOffset(ChemicalPlantRecipe recipe) protected intgetOutputCount(ChemicalPlantRecipe recipe) protected intgetOutputXOffset(ChemicalPlantRecipe recipe, int outputCount) mezz.jei.api.recipe.RecipeType<ChemicalPlantRecipe>net.minecraft.network.chat.ComponentgetTitle()protected booleanMethods inherited from class com.hbm_m.compat.jei.JeiGenericRecipeCategory
addItemSlot, addUnframedSlot, draw, getBackground, getHeight, getIcon, getMachines, getWidth, setRecipeMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface mezz.jei.api.recipe.category.IRecipeCategory
createRecipeExtras, getRegistryName, getTooltip, getTooltipStrings, handleInput, isHandled, onDisplayedIngredientsUpdate
-
Field Details
-
RECIPE_TYPE
-
-
Constructor Details
-
ChemicalPlantJeiCategory
public ChemicalPlantJeiCategory(mezz.jei.api.helpers.IGuiHelper guiHelper)
-
-
Method Details
-
getRecipeType
-
getTitle
public net.minecraft.network.chat.Component getTitle() -
getInputCount
- Specified by:
getInputCountin classJeiGenericRecipeCategory<ChemicalPlantRecipe>
-
getOutputCount
- Specified by:
getOutputCountin classJeiGenericRecipeCategory<ChemicalPlantRecipe>
-
hasBlueprintTemplate
- Specified by:
hasBlueprintTemplatein classJeiGenericRecipeCategory<ChemicalPlantRecipe>
-
getInputXOffset
- Overrides:
getInputXOffsetin classJeiGenericRecipeCategory<ChemicalPlantRecipe>
-
getOutputXOffset
- Overrides:
getOutputXOffsetin classJeiGenericRecipeCategory<ChemicalPlantRecipe>
-
getMachineXOffset
- Overrides:
getMachineXOffsetin classJeiGenericRecipeCategory<ChemicalPlantRecipe>
-
addInputSlots
protected void addInputSlots(mezz.jei.api.gui.builder.IRecipeLayoutBuilder builder, ChemicalPlantRecipe recipe, int inputXOffset) - Specified by:
addInputSlotsin classJeiGenericRecipeCategory<ChemicalPlantRecipe>
-
addOutputSlots
protected void addOutputSlots(mezz.jei.api.gui.builder.IRecipeLayoutBuilder builder, ChemicalPlantRecipe recipe, int outputXOffset) - Specified by:
addOutputSlotsin classJeiGenericRecipeCategory<ChemicalPlantRecipe>
-
addBlueprintSlot
protected void addBlueprintSlot(mezz.jei.api.gui.builder.IRecipeLayoutBuilder builder, ChemicalPlantRecipe recipe, int machineXOffset) - Specified by:
addBlueprintSlotin classJeiGenericRecipeCategory<ChemicalPlantRecipe>
-
drawRecipeExtras
protected void drawRecipeExtras(ChemicalPlantRecipe recipe, net.minecraft.client.gui.GuiGraphics graphics) - Overrides:
drawRecipeExtrasin classJeiGenericRecipeCategory<ChemicalPlantRecipe>
-