public class JEISpawnerExtractionCategory
extends java.lang.Object
implements mezz.jei.api.recipe.category.IRecipeCategory<me.desht.pneumaticcraft.common.thirdparty.jei.JEISpawnerExtractionCategory.Recipe>
| Constructor and Description |
|---|
JEISpawnerExtractionCategory() |
| Modifier and Type | Method and Description |
|---|---|
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.JEISpawnerExtractionCategory.Recipe> |
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.JEISpawnerExtractionCategory.Recipe recipe,
mezz.jei.api.ingredients.IIngredients iIngredients)
Sets all the recipe's ingredients by filling out an instance of
IIngredients. |
void |
setRecipe(mezz.jei.api.gui.IRecipeLayout iRecipeLayout,
me.desht.pneumaticcraft.common.thirdparty.jei.JEISpawnerExtractionCategory.Recipe recipe,
mezz.jei.api.ingredients.IIngredients iIngredients)
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.JEISpawnerExtractionCategory.Recipe>for vanilla examplespublic java.lang.Class<? extends me.desht.pneumaticcraft.common.thirdparty.jei.JEISpawnerExtractionCategory.Recipe> getRecipeClass()
getRecipeClass in interface mezz.jei.api.recipe.category.IRecipeCategory<me.desht.pneumaticcraft.common.thirdparty.jei.JEISpawnerExtractionCategory.Recipe>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.JEISpawnerExtractionCategory.Recipe>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.JEISpawnerExtractionCategory.Recipe>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.JEISpawnerExtractionCategory.Recipe>public void setIngredients(me.desht.pneumaticcraft.common.thirdparty.jei.JEISpawnerExtractionCategory.Recipe recipe,
mezz.jei.api.ingredients.IIngredients iIngredients)
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.JEISpawnerExtractionCategory.Recipe>public void setRecipe(mezz.jei.api.gui.IRecipeLayout iRecipeLayout,
me.desht.pneumaticcraft.common.thirdparty.jei.JEISpawnerExtractionCategory.Recipe recipe,
mezz.jei.api.ingredients.IIngredients iIngredients)
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.JEISpawnerExtractionCategory.Recipe>iRecipeLayout - the layout that needs its properties set.recipe - the recipe, for extra information.iIngredients - the ingredients, already set earlier by IRecipeCategory.setIngredients(T, mezz.jei.api.ingredients.IIngredients)public static java.util.Collection<?> getAllRecipes()