public class JEIPlasticSolidifyingCategory
extends java.lang.Object
implements mezz.jei.api.recipe.category.IRecipeCategory<me.desht.pneumaticcraft.common.thirdparty.jei.JEIPlasticSolidifyingCategory.PlasticSolidifyingRecipe>
| Modifier and Type | Method and Description |
|---|---|
static java.util.Collection<me.desht.pneumaticcraft.common.thirdparty.jei.JEIPlasticSolidifyingCategory.PlasticSolidifyingRecipe> |
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<me.desht.pneumaticcraft.common.thirdparty.jei.JEIPlasticSolidifyingCategory.PlasticSolidifyingRecipe> |
getRecipeClass() |
java.lang.String |
getTitle()
Returns the localized name for this recipe type.
|
java.util.List<net.minecraft.util.text.ITextComponent> |
getTooltipStrings(me.desht.pneumaticcraft.common.thirdparty.jei.JEIPlasticSolidifyingCategory.PlasticSolidifyingRecipe recipe,
double mouseX,
double mouseY)
Get the tooltip for whatever's under the mouse.
|
net.minecraft.util.ResourceLocation |
getUid()
Returns a unique ID for this recipe category.
|
void |
setIngredients(me.desht.pneumaticcraft.common.thirdparty.jei.JEIPlasticSolidifyingCategory.PlasticSolidifyingRecipe 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.JEIPlasticSolidifyingCategory.PlasticSolidifyingRecipe recipe,
mezz.jei.api.ingredients.IIngredients ingredients)
Set the
IRecipeLayout properties from the recipe. |
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.JEIPlasticSolidifyingCategory.PlasticSolidifyingRecipe>for vanilla examplespublic java.lang.Class<me.desht.pneumaticcraft.common.thirdparty.jei.JEIPlasticSolidifyingCategory.PlasticSolidifyingRecipe> getRecipeClass()
getRecipeClass in interface mezz.jei.api.recipe.category.IRecipeCategory<me.desht.pneumaticcraft.common.thirdparty.jei.JEIPlasticSolidifyingCategory.PlasticSolidifyingRecipe>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.JEIPlasticSolidifyingCategory.PlasticSolidifyingRecipe>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.JEIPlasticSolidifyingCategory.PlasticSolidifyingRecipe>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.JEIPlasticSolidifyingCategory.PlasticSolidifyingRecipe>public void setIngredients(me.desht.pneumaticcraft.common.thirdparty.jei.JEIPlasticSolidifyingCategory.PlasticSolidifyingRecipe 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.JEIPlasticSolidifyingCategory.PlasticSolidifyingRecipe>public void setRecipe(mezz.jei.api.gui.IRecipeLayout recipeLayout,
me.desht.pneumaticcraft.common.thirdparty.jei.JEIPlasticSolidifyingCategory.PlasticSolidifyingRecipe 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.JEIPlasticSolidifyingCategory.PlasticSolidifyingRecipe>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 java.util.List<net.minecraft.util.text.ITextComponent> getTooltipStrings(me.desht.pneumaticcraft.common.thirdparty.jei.JEIPlasticSolidifyingCategory.PlasticSolidifyingRecipe recipe,
double mouseX,
double mouseY)
mezz.jei.api.recipe.category.IRecipeCategoryIGuiIngredientGroup.addTooltipCallback(ITooltipCallback)getTooltipStrings in interface mezz.jei.api.recipe.category.IRecipeCategory<me.desht.pneumaticcraft.common.thirdparty.jei.JEIPlasticSolidifyingCategory.PlasticSolidifyingRecipe>mouseX - the X position of the mouse, relative to the recipe.mouseY - the Y position of the mouse, relative to the recipe.public static java.util.Collection<me.desht.pneumaticcraft.common.thirdparty.jei.JEIPlasticSolidifyingCategory.PlasticSolidifyingRecipe> getAllRecipes()