Class FanHauntingCategory
java.lang.Object
com.simibubi.create.compat.jei.category.CreateRecipeCategory<T>
com.simibubi.create.compat.jei.category.ProcessingViaFanCategory<HauntingRecipe>
com.simibubi.create.compat.jei.category.FanHauntingCategory
- All Implemented Interfaces:
mezz.jei.api.recipe.category.IRecipeCategory<HauntingRecipe>
-
Field Summary
Fields inherited from class com.simibubi.create.compat.jei.category.CreateRecipeCategory
name, recipeCatalysts, recipes, uid -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionClass<? extends HauntingRecipe>voidrenderAttachedBlock(com.mojang.blaze3d.vertex.PoseStack matrixStack) protected voidrenderWidgets(com.mojang.blaze3d.vertex.PoseStack matrixStack, HauntingRecipe recipe, double mouseX, double mouseY) voidsetIngredients(HauntingRecipe recipe, mezz.jei.api.ingredients.IIngredients ingredients) Sets all the recipe's ingredients by filling out an instance ofIIngredients.voidsetRecipe(mezz.jei.api.gui.IRecipeLayout recipeLayout, HauntingRecipe recipe, mezz.jei.api.ingredients.IIngredients ingredients) Set theIRecipeLayoutproperties from the recipe.protected voidtranslateFan(com.mojang.blaze3d.vertex.PoseStack ms) Methods inherited from class com.simibubi.create.compat.jei.category.ProcessingViaFanCategory
draw, getFanMethods inherited from class com.simibubi.create.compat.jei.category.CreateRecipeCategory
addFluidTooltip, addFluidTooltip, addStochasticTooltip, addStochasticTooltip, doubleItemIcon, emptyBackground, getBackground, getIcon, getRenderedSlot, getTitle, getUid, itemIcon, setCategoryId, withImprovedVisibility, withImprovedVisibilityMethods 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
getTooltipStrings, handleClick, handleInput, isHandled
-
Constructor Details
-
FanHauntingCategory
public FanHauntingCategory()
-
-
Method Details
-
getRecipeClass
-
setIngredients
public void setIngredients(HauntingRecipe recipe, mezz.jei.api.ingredients.IIngredients ingredients) Description copied from interface:mezz.jei.api.recipe.category.IRecipeCategorySets all the recipe's ingredients by filling out an instance ofIIngredients. This is used by JEI for lookups, to figure out what ingredients are inputs and outputs for a recipe.- Specified by:
setIngredientsin interfacemezz.jei.api.recipe.category.IRecipeCategory<HauntingRecipe>- Overrides:
setIngredientsin classProcessingViaFanCategory<HauntingRecipe>
-
setRecipe
public void setRecipe(mezz.jei.api.gui.IRecipeLayout recipeLayout, HauntingRecipe recipe, mezz.jei.api.ingredients.IIngredients ingredients) Description copied from interface:mezz.jei.api.recipe.category.IRecipeCategorySet theIRecipeLayoutproperties from the recipe.- Specified by:
setRecipein interfacemezz.jei.api.recipe.category.IRecipeCategory<HauntingRecipe>- Overrides:
setRecipein classProcessingViaFanCategory<HauntingRecipe>- Parameters:
recipeLayout- the layout that needs its properties set.recipe- the recipe, for extra information.ingredients- the ingredients, already set earlier byIRecipeCategory.setIngredients(T, mezz.jei.api.ingredients.IIngredients)
-
renderWidgets
protected void renderWidgets(com.mojang.blaze3d.vertex.PoseStack matrixStack, HauntingRecipe recipe, double mouseX, double mouseY) - Overrides:
renderWidgetsin classProcessingViaFanCategory<HauntingRecipe>
-
translateFan
protected void translateFan(com.mojang.blaze3d.vertex.PoseStack ms) - Overrides:
translateFanin classProcessingViaFanCategory<HauntingRecipe>
-
renderAttachedBlock
public void renderAttachedBlock(com.mojang.blaze3d.vertex.PoseStack matrixStack) - Specified by:
renderAttachedBlockin classProcessingViaFanCategory<HauntingRecipe>
-