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 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

      public mezz.jei.api.recipe.RecipeType<SpawnerLootInfo> getRecipeType()
      Specified by:
      getRecipeType in interface mezz.jei.api.recipe.category.IRecipeCategory<SpawnerLootInfo>
    • getTitle

      public net.minecraft.network.chat.Component getTitle()
      Specified by:
      getTitle in interface mezz.jei.api.recipe.category.IRecipeCategory<SpawnerLootInfo>
    • getBackground

      public mezz.jei.api.gui.drawable.IDrawable getBackground()
      Specified by:
      getBackground in interface mezz.jei.api.recipe.category.IRecipeCategory<SpawnerLootInfo>
    • getIcon

      public mezz.jei.api.gui.drawable.IDrawable getIcon()
      Specified by:
      getIcon in interface mezz.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 interface mezz.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 interface mezz.jei.api.recipe.category.IRecipeCategory<SpawnerLootInfo>
    • getRegistryName

      public net.minecraft.resources.ResourceLocation getRegistryName(SpawnerLootInfo recipe)
      Specified by:
      getRegistryName in interface mezz.jei.api.recipe.category.IRecipeCategory<SpawnerLootInfo>
    • isHandled

      public boolean isHandled(SpawnerLootInfo recipe)
      Specified by:
      isHandled in interface mezz.jei.api.recipe.category.IRecipeCategory<SpawnerLootInfo>