public class VillagerWrapper
extends java.lang.Object
implements mezz.jei.api.recipe.category.extensions.IRecipeCategoryExtension
| Constructor and Description |
|---|
VillagerWrapper(VillagerEntry entry) |
| Modifier and Type | Method and Description |
|---|---|
void |
drawInfo(int recipeWidth,
int recipeHeight,
com.mojang.blaze3d.matrix.MatrixStack matrixStack,
double mouseX,
double mouseY)
Draw additional info about the recipe.
|
int |
getMaxLevel() |
java.util.List<java.lang.Integer> |
getPossibleLevels(mezz.jei.api.recipe.IFocus<net.minecraft.item.ItemStack> focus) |
TradeList |
getTrades(int level) |
void |
setFocus(mezz.jei.api.recipe.IFocus<net.minecraft.item.ItemStack> focus) |
void |
setIngredients(mezz.jei.api.ingredients.IIngredients ingredients)
Gets all the recipe's ingredients by filling out an instance of
IIngredients. |
public VillagerWrapper(VillagerEntry entry)
public void setIngredients(@Nonnull
mezz.jei.api.ingredients.IIngredients ingredients)
mezz.jei.api.recipe.category.extensions.IRecipeCategoryExtensionIIngredients.setIngredients in interface mezz.jei.api.recipe.category.extensions.IRecipeCategoryExtensionpublic TradeList getTrades(int level)
public int getMaxLevel()
public java.util.List<java.lang.Integer> getPossibleLevels(mezz.jei.api.recipe.IFocus<net.minecraft.item.ItemStack> focus)
public void setFocus(mezz.jei.api.recipe.IFocus<net.minecraft.item.ItemStack> focus)
public void drawInfo(int recipeWidth,
int recipeHeight,
com.mojang.blaze3d.matrix.MatrixStack matrixStack,
double mouseX,
double mouseY)
mezz.jei.api.recipe.category.extensions.IRecipeCategoryExtensionIRecipeCategoryExtension.getTooltipStrings(double, double)drawInfo in interface mezz.jei.api.recipe.category.extensions.IRecipeCategoryExtensionmouseX - the X position of the mouse, relative to the recipe.mouseY - the Y position of the mouse, relative to the recipe.for a simple class for drawing things.,
for useful functions.