Class AbstractFurnaceScreen<T extends AbstractFurnaceMenu>
java.lang.Object
net.minecraft.client.gui.components.events.AbstractContainerEventHandler
net.minecraft.client.gui.screens.Screen
net.minecraft.client.gui.screens.inventory.AbstractContainerScreen<T>
net.minecraft.client.gui.screens.inventory.AbstractFurnaceScreen<T>
- All Implemented Interfaces:
- ContainerEventHandler,- GuiEventListener,- Renderable,- TabOrderedElement,- MenuAccess<T>,- RecipeUpdateListener
- Direct Known Subclasses:
- BlastFurnaceScreen,- FurnaceScreen,- SmokerScreen
public abstract class AbstractFurnaceScreen<T extends AbstractFurnaceMenu>
extends AbstractContainerScreen<T>
implements RecipeUpdateListener
- 
Nested Class SummaryNested classes/interfaces inherited from class net.minecraft.client.gui.screens.ScreenScreen.NarratableSearchResult
- 
Field SummaryFieldsModifier and TypeFieldDescriptionprivate final ResourceLocationprivate final ResourceLocationprivate final ResourceLocationprivate booleanFields inherited from class net.minecraft.client.gui.screens.inventory.AbstractContainerScreenhoveredSlot, imageHeight, imageWidth, INVENTORY_LOCATION, inventoryLabelX, inventoryLabelY, isQuickCrafting, leftPos, menu, playerInventoryTitle, quickCraftSlots, SLOT_ITEM_BLIT_OFFSET, slotColor, titleLabelX, titleLabelY, topPosFields inherited from class net.minecraft.client.gui.screens.ScreenBACKGROUND_LOCATION, font, height, minecraft, renderables, screenExecutor, title, widthFields inherited from interface net.minecraft.client.gui.components.events.GuiEventListenerDOUBLE_CLICK_THRESHOLD_MS
- 
Constructor SummaryConstructorsConstructorDescriptionAbstractFurnaceScreen(T p_97825_, AbstractFurnaceRecipeBookComponent p_97826_, Inventory p_97827_, Component p_97828_, ResourceLocation p_97829_, ResourceLocation p_296257_, ResourceLocation p_295751_) 
- 
Method SummaryModifier and TypeMethodDescriptionbooleancharTyped(char p_97831_, int p_97832_) voidprotected booleanhasClickedOutside(double p_97838_, double p_97839_, int p_97840_, int p_97841_, int p_97842_) voidinit()booleankeyPressed(int p_97844_, int p_97845_, int p_97846_) booleanmouseClicked(double p_97834_, double p_97835_, int p_97836_) voidvoidrender(GuiGraphics p_282573_, int p_97859_, int p_97860_, float p_97861_) protected voidrenderBg(GuiGraphics p_282928_, float p_281631_, int p_281252_, int p_281891_) protected voidslotClicked(Slot p_97848_, int p_97849_, int p_97850_, ClickType p_97851_) Methods inherited from class net.minecraft.client.gui.screens.inventory.AbstractContainerScreencheckHotbarKeyPressed, clearDraggingState, getGuiLeft, getGuiTop, getMenu, getSlotColor, getSlotUnderMouse, getTooltipFromContainerItem, getXSize, getYSize, handleSlotStateChanged, isHovering, isPauseScreen, mouseDragged, mouseReleased, onClose, removed, renderBackground, renderLabels, renderSlot, renderSlotHighlight, renderSlotHighlight, renderTooltip, tickMethods inherited from class net.minecraft.client.gui.screens.Screenadded, addRenderableOnly, addRenderableWidget, addWidget, afterKeyboardAction, afterMouseAction, afterMouseMove, changeFocus, children, clearFocus, clearWidgets, findNarratableWidget, getBackgroundMusic, getMinecraft, getNarrationMessage, getRectangle, getTitle, getTooltipFromItem, getUsageNarration, handleComponentClicked, handleDelayedNarration, hasAltDown, hasControlDown, hasShiftDown, hideWidgets, init, insertText, isCopy, isCut, isMouseOver, isPaste, isSelectAll, isValidCharacterForName, narrationEnabled, onFilesDrop, rebuildWidgets, removeWidget, renderDirtBackground, renderTransparentBackground, renderWithTooltip, repositionElements, resize, setInitialFocus, setTooltipForNextRenderPass, setTooltipForNextRenderPass, setTooltipForNextRenderPass, setTooltipForNextRenderPass, shouldCloseOnEsc, shouldNarrateNavigation, triggerImmediateNarration, updateNarratedWidget, updateNarrationState, wrapScreenErrorMethods inherited from class net.minecraft.client.gui.components.events.AbstractContainerEventHandlergetFocused, isDragging, setDragging, setFocusedMethods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.minecraft.client.gui.components.events.ContainerEventHandlergetChildAt, getCurrentFocusPath, isFocused, keyReleased, magicalSpecialHackyFocus, mouseScrolled, nextFocusPath, setFocusedMethods inherited from interface net.minecraft.client.gui.components.events.GuiEventListenermouseMovedMethods inherited from interface net.minecraft.client.gui.components.TabOrderedElementgetTabOrderGroup
- 
Field Details- 
recipeBookComponent
- 
widthTooNarrowprivate boolean widthTooNarrow
- 
texture
- 
litProgressSprite
- 
burnProgressSprite
 
- 
- 
Constructor Details- 
AbstractFurnaceScreenpublic AbstractFurnaceScreen(T p_97825_, AbstractFurnaceRecipeBookComponent p_97826_, Inventory p_97827_, Component p_97828_, ResourceLocation p_97829_, ResourceLocation p_296257_, ResourceLocation p_295751_) 
 
- 
- 
Method Details- 
initpublic void init()- Overrides:
- initin class- AbstractContainerScreen<T extends AbstractFurnaceMenu>
 
- 
containerTickpublic void containerTick()- Overrides:
- containerTickin class- AbstractContainerScreen<T extends AbstractFurnaceMenu>
 
- 
render- Specified by:
- renderin interface- Renderable
- Overrides:
- renderin class- AbstractContainerScreen<T extends AbstractFurnaceMenu>
 
- 
renderBg- Specified by:
- renderBgin class- AbstractContainerScreen<T extends AbstractFurnaceMenu>
 
- 
mouseClickedpublic boolean mouseClicked(double p_97834_, double p_97835_, int p_97836_) - Specified by:
- mouseClickedin interface- ContainerEventHandler
- Specified by:
- mouseClickedin interface- GuiEventListener
- Overrides:
- mouseClickedin class- AbstractContainerScreen<T extends AbstractFurnaceMenu>
 
- 
slotClicked- Overrides:
- slotClickedin class- AbstractContainerScreen<T extends AbstractFurnaceMenu>
 
- 
keyPressedpublic boolean keyPressed(int p_97844_, int p_97845_, int p_97846_) - Specified by:
- keyPressedin interface- ContainerEventHandler
- Specified by:
- keyPressedin interface- GuiEventListener
- Overrides:
- keyPressedin class- AbstractContainerScreen<T extends AbstractFurnaceMenu>
 
- 
hasClickedOutsideprotected boolean hasClickedOutside(double p_97838_, double p_97839_, int p_97840_, int p_97841_, int p_97842_) - Overrides:
- hasClickedOutsidein class- AbstractContainerScreen<T extends AbstractFurnaceMenu>
 
- 
charTypedpublic boolean charTyped(char p_97831_, int p_97832_) - Specified by:
- charTypedin interface- ContainerEventHandler
- Specified by:
- charTypedin interface- GuiEventListener
 
- 
recipesUpdatedpublic void recipesUpdated()- Specified by:
- recipesUpdatedin interface- RecipeUpdateListener
 
- 
getRecipeBookComponent- Specified by:
- getRecipeBookComponentin interface- RecipeUpdateListener
 
 
-