public class JEIEtchingTankCategory
extends java.lang.Object
implements mezz.jei.api.recipe.category.IRecipeCategory<me.desht.pneumaticcraft.common.thirdparty.jei.JEIEtchingTankCategory.EtchingTankRecipe>
| Modifier and Type | Method and Description |
|---|---|
void |
draw(me.desht.pneumaticcraft.common.thirdparty.jei.JEIEtchingTankCategory.EtchingTankRecipe recipe,
com.mojang.blaze3d.matrix.MatrixStack matrixStack,
double mouseX,
double mouseY)
Draw extras or additional info about the recipe.
|
static java.util.Collection<?> |
getAllRecipes() |
mezz.jei.api.gui.drawable.IDrawable |
getBackground()
Returns the drawable background for a single recipe in this category.
|
mezz.jei.api.gui.drawable.IDrawable |
getIcon()
Icon for the category tab.
|
java.lang.Class<? extends me.desht.pneumaticcraft.common.thirdparty.jei.JEIEtchingTankCategory.EtchingTankRecipe> |
getRecipeClass() |
java.lang.String |
getTitle()
Returns the localized name for this recipe type.
|
net.minecraft.util.ResourceLocation |
getUid()
Returns a unique ID for this recipe category.
|
void |
setIngredients(me.desht.pneumaticcraft.common.thirdparty.jei.JEIEtchingTankCategory.EtchingTankRecipe recipe,
mezz.jei.api.ingredients.IIngredients ingredients)
Sets all the recipe's ingredients by filling out an instance of
IIngredients. |
void |
setRecipe(mezz.jei.api.gui.IRecipeLayout recipeLayout,
me.desht.pneumaticcraft.common.thirdparty.jei.JEIEtchingTankCategory.EtchingTankRecipe recipe,
mezz.jei.api.ingredients.IIngredients ingredients)
Set the
IRecipeLayout properties from the recipe. |
public static java.util.Collection<?> getAllRecipes()
public net.minecraft.util.ResourceLocation getUid()
mezz.jei.api.recipe.category.IRecipeCategorygetUid in interface mezz.jei.api.recipe.category.IRecipeCategory<me.desht.pneumaticcraft.common.thirdparty.jei.JEIEtchingTankCategory.EtchingTankRecipe>for vanilla examplespublic java.lang.Class<? extends me.desht.pneumaticcraft.common.thirdparty.jei.JEIEtchingTankCategory.EtchingTankRecipe> getRecipeClass()
getRecipeClass in interface mezz.jei.api.recipe.category.IRecipeCategory<me.desht.pneumaticcraft.common.thirdparty.jei.JEIEtchingTankCategory.EtchingTankRecipe>public java.lang.String getTitle()
mezz.jei.api.recipe.category.IRecipeCategorygetTitle in interface mezz.jei.api.recipe.category.IRecipeCategory<me.desht.pneumaticcraft.common.thirdparty.jei.JEIEtchingTankCategory.EtchingTankRecipe>public mezz.jei.api.gui.drawable.IDrawable getBackground()
mezz.jei.api.recipe.category.IRecipeCategorygetBackground in interface mezz.jei.api.recipe.category.IRecipeCategory<me.desht.pneumaticcraft.common.thirdparty.jei.JEIEtchingTankCategory.EtchingTankRecipe>public mezz.jei.api.gui.drawable.IDrawable getIcon()
mezz.jei.api.recipe.category.IRecipeCategoryIGuiHelper.createDrawableIngredient(Object) to create a drawable from an ingredient.getIcon in interface mezz.jei.api.recipe.category.IRecipeCategory<me.desht.pneumaticcraft.common.thirdparty.jei.JEIEtchingTankCategory.EtchingTankRecipe>public void setIngredients(me.desht.pneumaticcraft.common.thirdparty.jei.JEIEtchingTankCategory.EtchingTankRecipe recipe,
mezz.jei.api.ingredients.IIngredients ingredients)
mezz.jei.api.recipe.category.IRecipeCategoryIIngredients.
This is used by JEI for lookups, to figure out what ingredients are inputs and outputs for a recipe.setIngredients in interface mezz.jei.api.recipe.category.IRecipeCategory<me.desht.pneumaticcraft.common.thirdparty.jei.JEIEtchingTankCategory.EtchingTankRecipe>public void setRecipe(mezz.jei.api.gui.IRecipeLayout recipeLayout,
me.desht.pneumaticcraft.common.thirdparty.jei.JEIEtchingTankCategory.EtchingTankRecipe 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<me.desht.pneumaticcraft.common.thirdparty.jei.JEIEtchingTankCategory.EtchingTankRecipe>recipeLayout - 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(me.desht.pneumaticcraft.common.thirdparty.jei.JEIEtchingTankCategory.EtchingTankRecipe 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<me.desht.pneumaticcraft.common.thirdparty.jei.JEIEtchingTankCategory.EtchingTankRecipe>mouseX - 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.