public class PackingCategory extends BasinCategory
name, recipeCatalysts, recipes, uid| Modifier | Constructor and Description |
|---|---|
protected |
PackingCategory(com.simibubi.create.compat.jei.category.PackingCategory.PackingType type,
net.minecraft.util.IItemProvider icon,
int height) |
| Modifier and Type | Method and Description |
|---|---|
static PackingCategory |
autoSquare() |
void |
draw(BasinRecipe recipe,
com.mojang.blaze3d.matrix.MatrixStack matrixStack,
double mouseX,
double mouseY)
Draw extras or additional info about the recipe.
|
void |
setRecipe(mezz.jei.api.gui.IRecipeLayout recipeLayout,
BasinRecipe recipe,
mezz.jei.api.ingredients.IIngredients ingredients)
Set the
IRecipeLayout properties from the recipe. |
static PackingCategory |
standard() |
getRecipeClass, setIngredientsaddFluidTooltip, addFluidTooltip, addStochasticTooltip, addStochasticTooltip, doubleItemIcon, emptyBackground, getBackground, getIcon, getRenderedSlot, getTitle, getUid, itemIcon, setCategoryId, withImprovedVisibility, withImprovedVisibilityprotected PackingCategory(com.simibubi.create.compat.jei.category.PackingCategory.PackingType type,
net.minecraft.util.IItemProvider icon,
int height)
public static PackingCategory standard()
public static PackingCategory autoSquare()
public void setRecipe(mezz.jei.api.gui.IRecipeLayout recipeLayout,
BasinRecipe recipe,
mezz.jei.api.ingredients.IIngredients ingredients)
mezz.jei.api.recipe.category.IRecipeCategoryIRecipeLayout properties from the recipe.setRecipe in interface mezz.jei.api.recipe.category.IRecipeCategory<BasinRecipe>setRecipe in class BasinCategoryrecipeLayout - the layout that needs its properties set.recipe - the recipe, for extra information.ingredients - the ingredients, already set earlier by IRecipeCategory.setIngredients(T, mezz.jei.api.ingredients.IIngredients)public void draw(BasinRecipe recipe, com.mojang.blaze3d.matrix.MatrixStack matrixStack, double mouseX, double mouseY)
mezz.jei.api.recipe.category.IRecipeCategoryIRecipeCategory.getTooltipStrings(Object, double, double)draw in interface mezz.jei.api.recipe.category.IRecipeCategory<BasinRecipe>draw in class BasinCategorymouseX - 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.