Class BasicCropDisplayInfo

java.lang.Object
net.darkhax.botanypots.addons.jei.ui.CropDisplayInfo
net.darkhax.botanypots.addons.jei.ui.BasicCropDisplayInfo

public class BasicCropDisplayInfo extends CropDisplayInfo
  • Constructor Summary

    Constructors
    Constructor
    Description
    BasicCropDisplayInfo(net.minecraft.resources.ResourceLocation id, List<net.minecraft.world.item.crafting.Ingredient> seeds, List<net.minecraft.world.item.crafting.Ingredient> soils, List<HarvestEntry> drops, int growthTime, float modifier)
     
    BasicCropDisplayInfo(net.minecraft.resources.ResourceLocation id, net.minecraft.world.item.crafting.Ingredient seeds, net.minecraft.world.item.crafting.Ingredient soils, List<HarvestEntry> drops, int growthTime, float modifier)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    draw(mezz.jei.api.gui.ingredient.IRecipeSlotsView view, net.minecraft.client.gui.GuiGraphics graphics, double mouseX, double mouseY, mezz.jei.api.helpers.IGuiHelper guiHelper)
     
    net.minecraft.resources.ResourceLocation
     
     
    void
    setRecipe(mezz.jei.api.gui.builder.IRecipeLayoutBuilder builder, mezz.jei.api.recipe.IFocusGroup focuses)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • BasicCropDisplayInfo

      public BasicCropDisplayInfo(net.minecraft.resources.ResourceLocation id, net.minecraft.world.item.crafting.Ingredient seeds, net.minecraft.world.item.crafting.Ingredient soils, List<HarvestEntry> drops, int growthTime, float modifier)
    • BasicCropDisplayInfo

      public BasicCropDisplayInfo(net.minecraft.resources.ResourceLocation id, List<net.minecraft.world.item.crafting.Ingredient> seeds, List<net.minecraft.world.item.crafting.Ingredient> soils, List<HarvestEntry> drops, int growthTime, float modifier)
  • Method Details

    • getCropRecipes

      public static List<CropDisplayInfo> getCropRecipes(BasicCrop crop, List<Soil> soils)
    • setRecipe

      public void setRecipe(mezz.jei.api.gui.builder.IRecipeLayoutBuilder builder, mezz.jei.api.recipe.IFocusGroup focuses)
      Specified by:
      setRecipe in class CropDisplayInfo
    • draw

      public void draw(mezz.jei.api.gui.ingredient.IRecipeSlotsView view, net.minecraft.client.gui.GuiGraphics graphics, double mouseX, double mouseY, mezz.jei.api.helpers.IGuiHelper guiHelper)
      Specified by:
      draw in class CropDisplayInfo
    • getCropId

      public net.minecraft.resources.ResourceLocation getCropId()
      Specified by:
      getCropId in class CropDisplayInfo