Class BasicCropDisplayInfo
java.lang.Object
net.darkhax.botanypots.addons.jei.ui.CropDisplayInfo
net.darkhax.botanypots.addons.jei.ui.BasicCropDisplayInfo
-
Constructor Summary
ConstructorsConstructorDescriptionBasicCropDisplayInfo(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 TypeMethodDescriptionvoiddraw(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.ResourceLocationstatic List<CropDisplayInfo>getCropRecipes(BasicCrop crop, List<Soil> soils) voidsetRecipe(mezz.jei.api.gui.builder.IRecipeLayoutBuilder builder, mezz.jei.api.recipe.IFocusGroup focuses)
-
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
-
setRecipe
public void setRecipe(mezz.jei.api.gui.builder.IRecipeLayoutBuilder builder, mezz.jei.api.recipe.IFocusGroup focuses) - Specified by:
setRecipein classCropDisplayInfo
-
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:
drawin classCropDisplayInfo
-
getCropId
public net.minecraft.resources.ResourceLocation getCropId()- Specified by:
getCropIdin classCropDisplayInfo
-