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

    Constructors
    Constructor
    Description
    SpawnerLootCategory(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 gridShift, int textShift)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    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
     
    mezz.jei.api.recipe.RecipeType<SpawnerLootInfo>
     
    net.minecraft.resources.ResourceLocation
     
    net.minecraft.network.chat.Component
     
    void
    getTooltip(mezz.jei.api.gui.builder.ITooltipBuilder tooltip, SpawnerLootInfo recipe, mezz.jei.api.gui.ingredient.IRecipeSlotsView recipeSlotsView, double mouseX, double mouseY)
     
    boolean
     
    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, 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 gridShift, int textShift)
  • 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>
    • getTooltip

      public void getTooltip(mezz.jei.api.gui.builder.ITooltipBuilder tooltip, SpawnerLootInfo recipe, mezz.jei.api.gui.ingredient.IRecipeSlotsView recipeSlotsView, double mouseX, double mouseY)
      Specified by:
      getTooltip 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>