Class AbstractFurnaceRecipeBookScreen
java.lang.Object
net.minecraft.client.gui.DrawableHelper
net.minecraft.client.gui.screen.recipebook.RecipeBookWidget
net.minecraft.client.gui.screen.recipebook.AbstractFurnaceRecipeBookScreen
- All Implemented Interfaces:
Drawable
,Element
,RecipeDisplayListener
,RecipeGridAligner<Ingredient>
- Direct Known Subclasses:
BlastFurnaceRecipeBookScreen
,FurnaceRecipeBookScreen
,SmokerRecipeBookScreen
@Environment(CLIENT) public abstract class AbstractFurnaceRecipeBookScreen extends RecipeBookWidget
-
Field Summary
Fields Modifier and Type Field Description private Ingredient
fuels
Fields inherited from class net.minecraft.client.gui.screen.recipebook.RecipeBookWidget
client, craftingScreenHandler, ghostSlots, TEXTURE, toggleCraftableButton
Fields inherited from class net.minecraft.client.gui.DrawableHelper
GUI_ICONS_TEXTURE, OPTIONS_BACKGROUND_TEXTURE, STATS_ICON_TEXTURE
-
Constructor Summary
Constructors Constructor Description AbstractFurnaceRecipeBookScreen()
-
Method Summary
Modifier and Type Method Description protected abstract Set<Item>
getAllowedFuels()
protected void
setBookButtonTexture()
void
showGhostRecipe(Recipe<?> recipe, List<Slot> slots)
void
slotClicked(Slot slot)
Methods inherited from class net.minecraft.client.gui.screen.recipebook.RecipeBookWidget
acceptAlignedInput, changeFocus, charTyped, close, drawGhostSlots, drawTooltip, findLeftEdge, getToggleCraftableButtonText, initialize, isClickOutsideBounds, isMouseOver, isOpen, keyPressed, keyReleased, mouseClicked, onRecipesDisplayed, refresh, render, reset, sendBookDataPacket, setOpen, toggleOpen, update
Methods inherited from class net.minecraft.client.gui.DrawableHelper
drawCenteredString, drawCenteredText, drawHorizontalLine, drawSprite, drawStringWithShadow, drawTexture, drawTexture, drawTexture, drawTexture, drawTextWithShadow, drawVerticalLine, fill, fillGradient, fillGradient, getZOffset, method_29343, method_33284, setZOffset
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.Element
mouseDragged, mouseMoved, mouseReleased, mouseScrolled
Methods inherited from interface net.minecraft.recipe.RecipeGridAligner
alignRecipeToGrid
-
Field Details
-
fuels
-
-
Constructor Details
-
AbstractFurnaceRecipeBookScreen
public AbstractFurnaceRecipeBookScreen()
-
-
Method Details
-
setBookButtonTexture
protected void setBookButtonTexture()- Overrides:
setBookButtonTexture
in classRecipeBookWidget
-
slotClicked
- Overrides:
slotClicked
in classRecipeBookWidget
-
showGhostRecipe
- Overrides:
showGhostRecipe
in classRecipeBookWidget
-
getAllowedFuels
-