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 TypeMethodDescriptionvoid
draw
(SpawnerLootInfo recipe, mezz.jei.api.gui.ingredient.IRecipeSlotsView recipeSlotsView, net.minecraft.client.gui.GuiGraphics guiGraphics, double mouseX, double mouseY) mezz.jei.api.gui.drawable.IDrawable
mezz.jei.api.gui.drawable.IDrawable
getIcon()
mezz.jei.api.recipe.RecipeType
<SpawnerLootInfo> net.minecraft.resources.ResourceLocation
getRegistryName
(SpawnerLootInfo recipe) net.minecraft.network.chat.Component
getTitle()
boolean
isHandled
(SpawnerLootInfo recipe) void
setRecipe
(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, wait
Methods 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:
getRecipeType
in interfacemezz.jei.api.recipe.category.IRecipeCategory<SpawnerLootInfo>
-
getTitle
public net.minecraft.network.chat.Component getTitle()- Specified by:
getTitle
in interfacemezz.jei.api.recipe.category.IRecipeCategory<SpawnerLootInfo>
-
getBackground
public mezz.jei.api.gui.drawable.IDrawable getBackground()- Specified by:
getBackground
in interfacemezz.jei.api.recipe.category.IRecipeCategory<SpawnerLootInfo>
-
getIcon
public mezz.jei.api.gui.drawable.IDrawable getIcon()- Specified by:
getIcon
in 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:
setRecipe
in 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:
draw
in interfacemezz.jei.api.recipe.category.IRecipeCategory<SpawnerLootInfo>
-
getRegistryName
- Specified by:
getRegistryName
in interfacemezz.jei.api.recipe.category.IRecipeCategory<SpawnerLootInfo>
-
isHandled
- Specified by:
isHandled
in interfacemezz.jei.api.recipe.category.IRecipeCategory<SpawnerLootInfo>
-