Class AbstractRecipeBookGui
- java.lang.Object
-
- net.minecraft.client.gui.AbstractGui
-
- net.minecraft.client.gui.recipebook.RecipeBookGui
-
- net.minecraft.client.gui.recipebook.AbstractRecipeBookGui
-
- All Implemented Interfaces:
IGuiEventListener,IRenderable,IRecipeUpdateListener,IRecipePlacer<Ingredient>
- Direct Known Subclasses:
BlastFurnaceRecipeGui,FurnaceRecipeGui,SmokerRecipeGui
public abstract class AbstractRecipeBookGui extends RecipeBookGui
-
-
Field Summary
Fields Modifier and Type Field Description private Itemfuelprivate java.util.Set<Item>fuelsprivate SlotfuelSlotprivate java.util.Iterator<Item>iteratorprivate floattime-
Fields inherited from class net.minecraft.client.gui.recipebook.RecipeBookGui
filterButton, ghostRecipe, menu, minecraft, RECIPE_BOOK_LOCATION
-
Fields inherited from class net.minecraft.client.gui.AbstractGui
BACKGROUND_LOCATION, GUI_ICONS_LOCATION, STATS_ICON_LOCATION
-
-
Constructor Summary
Constructors Constructor Description AbstractRecipeBookGui()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description private ItemgetFuel()protected abstract java.util.Set<Item>getFuelItems()protected voidinitFilterButtonTextures()voidrenderGhostRecipe(MatrixStack p_230477_1_, int p_230477_2_, int p_230477_3_, boolean p_230477_4_, float p_230477_5_)voidsetupGhostRecipe(IRecipe<?> p_193951_1_, java.util.List<Slot> p_193951_2_)voidslotClicked(Slot p_191874_1_)-
Methods inherited from class net.minecraft.client.gui.recipebook.RecipeBookGui
addItemToSlot, changeFocus, charTyped, getRecipeFilterName, hasClickedOutside, init, initVisuals, isMouseOver, isVisible, keyPressed, keyReleased, mouseClicked, recipesShown, recipesUpdated, removed, render, renderTooltip, sendUpdateSettings, setVisible, tick, toggleVisibility, updateScreenPosition
-
Methods inherited from class net.minecraft.client.gui.AbstractGui
blit, blit, blit, blit, blit, blitOutlineBlack, drawCenteredString, drawCenteredString, drawString, drawString, fill, fillGradient, fillGradient, getBlitOffset, hLine, setBlitOffset, vLine
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface net.minecraft.client.gui.IGuiEventListener
mouseDragged, mouseMoved, mouseReleased, mouseScrolled
-
Methods inherited from interface net.minecraft.item.crafting.IRecipePlacer
placeRecipe
-
-
-
-
Method Detail
-
initFilterButtonTextures
protected void initFilterButtonTextures()
- Overrides:
initFilterButtonTexturesin classRecipeBookGui
-
slotClicked
public void slotClicked(@Nullable Slot p_191874_1_)- Overrides:
slotClickedin classRecipeBookGui
-
setupGhostRecipe
public void setupGhostRecipe(IRecipe<?> p_193951_1_, java.util.List<Slot> p_193951_2_)
- Overrides:
setupGhostRecipein classRecipeBookGui
-
getFuelItems
protected abstract java.util.Set<Item> getFuelItems()
-
renderGhostRecipe
public void renderGhostRecipe(MatrixStack p_230477_1_, int p_230477_2_, int p_230477_3_, boolean p_230477_4_, float p_230477_5_)
- Overrides:
renderGhostRecipein classRecipeBookGui
-
getFuel
private Item getFuel()
-
-