Class PetalApothecaryRecipeCategory
java.lang.Object
vazkii.botania.client.integration.jei.PetalApothecaryRecipeCategory
- All Implemented Interfaces:
mezz.jei.api.recipe.category.IRecipeCategory<PetalApothecaryRecipe>
public class PetalApothecaryRecipeCategory
extends Object
implements mezz.jei.api.recipe.category.IRecipeCategory<PetalApothecaryRecipe>
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final mezz.jei.api.recipe.RecipeType<PetalApothecaryRecipe> -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoiddraw(@NotNull PetalApothecaryRecipe recipe, @NotNull mezz.jei.api.gui.ingredient.IRecipeSlotsView slotsView, @NotNull net.minecraft.client.gui.GuiGraphics gui, double mouseX, double mouseY) @NotNull mezz.jei.api.gui.drawable.IDrawable@NotNull mezz.jei.api.gui.drawable.IDrawablegetIcon()@NotNull mezz.jei.api.recipe.RecipeType<PetalApothecaryRecipe> @NotNull net.minecraft.network.chat.ComponentgetTitle()static net.minecraft.world.phys.Vec2rotatePointAbout(net.minecraft.world.phys.Vec2 in, net.minecraft.world.phys.Vec2 about, double degrees) voidsetRecipe(@NotNull mezz.jei.api.gui.builder.IRecipeLayoutBuilder builder, @NotNull PetalApothecaryRecipe recipe, @NotNull mezz.jei.api.recipe.IFocusGroup focusGroup) static voidsetRecipeLayout(@NotNull mezz.jei.api.gui.builder.IRecipeLayoutBuilder builder, List<net.minecraft.world.item.crafting.Ingredient> ingredients, net.minecraft.world.level.block.Block catalyst, net.minecraft.world.item.ItemStack output, net.minecraft.world.item.crafting.Ingredient... reagents) Methods 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, createRecipeExtras, getCodec, getHeight, getRegistryName, getTooltip, getTooltipStrings, getWidth, handleInput, isHandled, needsRecipeBorder, onDisplayedIngredientsUpdate
-
Field Details
-
TYPE
-
CENTER_X
public static final int CENTER_X- See Also:
-
CENTER_Y
public static final int CENTER_Y- See Also:
-
-
Constructor Details
-
PetalApothecaryRecipeCategory
public PetalApothecaryRecipeCategory(mezz.jei.api.helpers.IGuiHelper guiHelper)
-
-
Method Details
-
getRecipeType
- Specified by:
getRecipeTypein interfacemezz.jei.api.recipe.category.IRecipeCategory<PetalApothecaryRecipe>
-
getTitle
@NotNull public @NotNull net.minecraft.network.chat.Component getTitle()- Specified by:
getTitlein interfacemezz.jei.api.recipe.category.IRecipeCategory<PetalApothecaryRecipe>
-
getBackground
@NotNull public @NotNull mezz.jei.api.gui.drawable.IDrawable getBackground()- Specified by:
getBackgroundin interfacemezz.jei.api.recipe.category.IRecipeCategory<PetalApothecaryRecipe>
-
getIcon
@NotNull public @NotNull mezz.jei.api.gui.drawable.IDrawable getIcon()- Specified by:
getIconin interfacemezz.jei.api.recipe.category.IRecipeCategory<PetalApothecaryRecipe>
-
draw
public void draw(@NotNull @NotNull PetalApothecaryRecipe recipe, @NotNull @NotNull mezz.jei.api.gui.ingredient.IRecipeSlotsView slotsView, @NotNull @NotNull net.minecraft.client.gui.GuiGraphics gui, double mouseX, double mouseY) - Specified by:
drawin interfacemezz.jei.api.recipe.category.IRecipeCategory<PetalApothecaryRecipe>
-
setRecipe
public void setRecipe(@NotNull @NotNull mezz.jei.api.gui.builder.IRecipeLayoutBuilder builder, @NotNull @NotNull PetalApothecaryRecipe recipe, @NotNull @NotNull mezz.jei.api.recipe.IFocusGroup focusGroup) - Specified by:
setRecipein interfacemezz.jei.api.recipe.category.IRecipeCategory<PetalApothecaryRecipe>
-
setRecipeLayout
public static void setRecipeLayout(@NotNull @NotNull mezz.jei.api.gui.builder.IRecipeLayoutBuilder builder, List<net.minecraft.world.item.crafting.Ingredient> ingredients, net.minecraft.world.level.block.Block catalyst, net.minecraft.world.item.ItemStack output, net.minecraft.world.item.crafting.Ingredient... reagents) -
rotatePointAbout
public static net.minecraft.world.phys.Vec2 rotatePointAbout(net.minecraft.world.phys.Vec2 in, net.minecraft.world.phys.Vec2 about, double degrees)
-