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 Item
fuel
private java.util.Set<Item>
fuels
private Slot
fuelSlot
private java.util.Iterator<Item>
iterator
private float
time
-
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 Item
getFuel()
protected abstract java.util.Set<Item>
getFuelItems()
protected void
initFilterButtonTextures()
void
renderGhostRecipe(MatrixStack p_230477_1_, int p_230477_2_, int p_230477_3_, boolean p_230477_4_, float p_230477_5_)
void
setupGhostRecipe(IRecipe<?> p_193951_1_, java.util.List<Slot> p_193951_2_)
void
slotClicked(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:
initFilterButtonTextures
in classRecipeBookGui
-
slotClicked
public void slotClicked(@Nullable Slot p_191874_1_)
- Overrides:
slotClicked
in classRecipeBookGui
-
setupGhostRecipe
public void setupGhostRecipe(IRecipe<?> p_193951_1_, java.util.List<Slot> p_193951_2_)
- Overrides:
setupGhostRecipe
in 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:
renderGhostRecipe
in classRecipeBookGui
-
getFuel
private Item getFuel()
-
-