Class SpawnerLootCategory
java.lang.Object
com.pixelmonmod.pixelmon.support.jei.category.SpawnerLootCategory
- All Implemented Interfaces:
mezz.jei.api.recipe.category.IRecipeCategory<SpawnerLootInfo>
- Direct Known Subclasses:
FishingLootCategory
public class SpawnerLootCategory
extends Object
implements mezz.jei.api.recipe.category.IRecipeCategory<SpawnerLootInfo>
-
Constructor Summary
ConstructorsConstructorDescriptionSpawnerLootCategory(mezz.jei.api.helpers.IGuiHelper guiHelper, mezz.jei.api.recipe.RecipeType<SpawnerLootInfo> recipeType, TriggerSpawner spawner, net.minecraft.world.item.ItemStack itemStack) SpawnerLootCategory(mezz.jei.api.helpers.IGuiHelper guiHelper, mezz.jei.api.recipe.RecipeType<SpawnerLootInfo> recipeType, TriggerSpawner spawner, net.minecraft.world.item.ItemStack itemStack, int boost) -
Method Summary
Modifier and TypeMethodDescriptionvoiddraw(SpawnerLootInfo recipe, mezz.jei.api.gui.ingredient.IRecipeSlotsView recipeSlotsView, net.minecraft.client.gui.GuiGraphics guiGraphics, double mouseX, double mouseY) mezz.jei.api.gui.drawable.IDrawablemezz.jei.api.gui.drawable.IDrawablegetIcon()mezz.jei.api.recipe.RecipeType<SpawnerLootInfo> net.minecraft.resources.ResourceLocationgetRegistryName(SpawnerLootInfo recipe) net.minecraft.network.chat.ComponentgetTitle()booleanisHandled(SpawnerLootInfo recipe) voidsetRecipe(mezz.jei.api.gui.builder.IRecipeLayoutBuilder builder, SpawnerLootInfo recipe, mezz.jei.api.recipe.IFocusGroup focuses) 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, getHeight, getTooltip, getTooltipStrings, getWidth, handleInput, needsRecipeBorder
-
Constructor Details
-
SpawnerLootCategory
public SpawnerLootCategory(mezz.jei.api.helpers.IGuiHelper guiHelper, mezz.jei.api.recipe.RecipeType<SpawnerLootInfo> recipeType, TriggerSpawner spawner, net.minecraft.world.item.ItemStack itemStack) -
SpawnerLootCategory
public SpawnerLootCategory(mezz.jei.api.helpers.IGuiHelper guiHelper, mezz.jei.api.recipe.RecipeType<SpawnerLootInfo> recipeType, TriggerSpawner spawner, net.minecraft.world.item.ItemStack itemStack, int boost)
-
-
Method Details
-
getRecipeType
- Specified by:
getRecipeTypein interfacemezz.jei.api.recipe.category.IRecipeCategory<SpawnerLootInfo>
-
getTitle
public net.minecraft.network.chat.Component getTitle()- Specified by:
getTitlein interfacemezz.jei.api.recipe.category.IRecipeCategory<SpawnerLootInfo>
-
getBackground
public mezz.jei.api.gui.drawable.IDrawable getBackground()- Specified by:
getBackgroundin interfacemezz.jei.api.recipe.category.IRecipeCategory<SpawnerLootInfo>
-
getIcon
public mezz.jei.api.gui.drawable.IDrawable getIcon()- Specified by:
getIconin interfacemezz.jei.api.recipe.category.IRecipeCategory<SpawnerLootInfo>
-
setRecipe
public void setRecipe(mezz.jei.api.gui.builder.IRecipeLayoutBuilder builder, SpawnerLootInfo recipe, mezz.jei.api.recipe.IFocusGroup focuses) - Specified by:
setRecipein interfacemezz.jei.api.recipe.category.IRecipeCategory<SpawnerLootInfo>
-
draw
public void draw(SpawnerLootInfo recipe, mezz.jei.api.gui.ingredient.IRecipeSlotsView recipeSlotsView, net.minecraft.client.gui.GuiGraphics guiGraphics, double mouseX, double mouseY) - Specified by:
drawin interfacemezz.jei.api.recipe.category.IRecipeCategory<SpawnerLootInfo>
-
getRegistryName
- Specified by:
getRegistryNamein interfacemezz.jei.api.recipe.category.IRecipeCategory<SpawnerLootInfo>
-
isHandled
- Specified by:
isHandledin interfacemezz.jei.api.recipe.category.IRecipeCategory<SpawnerLootInfo>
-