public class FuelRecipeHandler extends FurnaceRecipeHandler
| Modifier and Type | Class and Description |
|---|---|
class |
FuelRecipeHandler.CachedFuelRecipe |
FurnaceRecipeHandler.FuelPair, FurnaceRecipeHandler.SmeltingPairTemplateRecipeHandler.CachedRecipe, TemplateRecipeHandler.RecipeTransferRect, TemplateRecipeHandler.RecipeTransferRectHandlerafuels, efuelsarecipes, cycleticks, transferRects| Constructor and Description |
|---|
FuelRecipeHandler() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getOverlayIdentifier()
Simply works with the
DefaultOverlayRenderer
If the current container has been registered with this identifier, the question mark appears and an overlay guide can be drawn. |
java.lang.String |
getRecipeName() |
java.util.List<java.lang.String> |
handleItemTooltip(GuiRecipe gui,
ItemStack stack,
java.util.List<java.lang.String> currenttip,
int recipe) |
void |
loadCraftingRecipes(java.lang.String outputId,
java.lang.Object... results)
In this function you need to fill up the empty recipe array with recipes.
|
void |
loadUsageRecipes(ItemStack ingredient)
Simplified wrapper, implement this and fill the empty recipe array with recipes
|
drawExtras, getGuiClass, getGuiTexture, loadCraftingRecipes, loadTransferRects, loadUsageRecipes, newInstancedrawBackground, drawForeground, drawProgressBar, drawProgressBar, getIngredientStacks, getOtherStacks, getOverlayHandler, getOverlayRenderer, getRecipeHandler, getRecipeTransferRectGuis, getResultStack, getUsageHandler, handleTooltip, hasOverlay, keyTyped, mouseClicked, numRecipes, onUpdate, recipiesPerPagepublic java.lang.String getRecipeName()
getRecipeName in interface IRecipeHandlergetRecipeName in class FurnaceRecipeHandlerpublic void loadCraftingRecipes(java.lang.String outputId,
java.lang.Object... results)
TemplateRecipeHandlerloadCraftingRecipes in class FurnaceRecipeHandleroutputId - A String identifier representing the type of output produced. Eg. {"item", "fuel"}results - Objects representing the results that matching recipes must produce.public void loadUsageRecipes(ItemStack ingredient)
TemplateRecipeHandlerloadUsageRecipes in class FurnaceRecipeHandleringredient - The ingredient the recipes must contain.public java.lang.String getOverlayIdentifier()
TemplateRecipeHandlerDefaultOverlayRenderer
If the current container has been registered with this identifier, the question mark appears and an overlay guide can be drawn.getOverlayIdentifier in class FurnaceRecipeHandlerpublic java.util.List<java.lang.String> handleItemTooltip(GuiRecipe gui, ItemStack stack, java.util.List<java.lang.String> currenttip, int recipe)
handleItemTooltip in interface IRecipeHandlerhandleItemTooltip in class TemplateRecipeHandlergui - An instance of the currentscreenrecipe - The recipe index being handled