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.AbstractRecipeBookScreen<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 AbstractRecipeBookScreen<T>
-
Nested Class Summary
Nested classes/interfaces inherited from class Screen
Screen.NarratableSearchResult -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final Identifierprivate final Identifierprivate final IdentifierFields inherited from class AbstractContainerScreen
BACKGROUND_TEXTURE_HEIGHT, BACKGROUND_TEXTURE_WIDTH, DEFAULT_IMAGE_HEIGHT, DEFAULT_IMAGE_WIDTH, hoveredSlot, imageHeight, imageWidth, INVENTORY_LOCATION, inventoryLabelX, inventoryLabelY, isQuickCrafting, leftPos, menu, playerInventoryTitle, quickCraftSlots, slotColor, titleLabelX, titleLabelY, topPosFields inherited from class Screen
FADE_IN_TIME, font, FOOTER_SEPARATOR, HEADER_SEPARATOR, height, INWORLD_FOOTER_SEPARATOR, INWORLD_HEADER_SEPARATOR, MENU_BACKGROUND, minecraft, narratorButton, renderables, screenExecutor, title, width -
Constructor Summary
ConstructorsConstructorDescriptionAbstractFurnaceScreen(T menu, Inventory inventory, Component title, Component recipeFilterName, Identifier texture, Identifier litProgressSprite, Identifier burnProgressSprite, List<RecipeBookComponent.TabInfo> tabInfos) -
Method Summary
Modifier and TypeMethodDescriptionprotected ScreenPositionvoidinit()protected voidrenderBg(GuiGraphics graphics, float a, int xm, int ym) Methods inherited from class AbstractRecipeBookScreen
charTyped, containerTick, fillGhostRecipe, hasClickedOutside, isBiggerResultSlot, isHovering, keyPressed, mouseClicked, mouseDragged, onRecipeBookButtonClick, recipesUpdated, render, renderSlots, slotClickedMethods inherited from class AbstractContainerScreen
addItemSlotMouseAction, checkHotbarKeyPressed, clearDraggingState, getGuiLeft, getGuiTop, getMenu, getSlotColor, getSlotUnderMouse, getTooltipFromContainerItem, getXSize, getYSize, handleSlotStateChanged, isInGameUi, isPauseScreen, mouseReleased, mouseScrolled, onClose, onMouseClickAction, removed, renderBackground, renderCarriedItem, renderContents, renderLabels, renderSlot, renderSlotContents, renderSnapbackItem, renderTooltip, tickMethods inherited from class Screen
added, addRenderableOnly, addRenderableWidget, addWidget, afterKeyboardAction, afterMouseAction, afterMouseMove, canInterruptWithAnotherScreen, changeFocus, children, clearFocus, clearWidgets, clickCommandAction, clickUrlAction, defaultHandleClickEvent, defaultHandleGameClickEvent, fadeWidgets, fillCrashDetails, findNarratableWidget, getBackgroundMusic, getFont, getMinecraft, getNarrationMessage, getRectangle, getTitle, getTooltipFromItem, getUsageNarration, handleDelayedNarration, init, insertText, isAllowedInPortal, isMouseOver, isValidCharacterForName, onFilesDrop, panoramaShouldSpin, rebuildWidgets, removeWidget, renderBlurredBackground, renderMenuBackground, renderMenuBackground, renderMenuBackgroundTexture, renderPanorama, renderTransparentBackground, renderWithTooltipAndSubtitles, repositionElements, resize, setInitialFocus, setInitialFocus, shouldCloseOnEsc, shouldNarrateNavigation, showsActiveEffects, triggerImmediateNarration, updateNarratedWidget, updateNarrationState, updateNarratorStatusMethods inherited from class AbstractContainerEventHandler
getFocused, isDragging, setDragging, setFocusedMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface ContainerEventHandler
getBorderForArrowNavigation, getChildAt, getCurrentFocusPath, isFocused, keyReleased, nextFocusPath, setFocusedMethods inherited from interface GuiEventListener
mouseMoved, shouldTakeFocusAfterInteractionMethods inherited from interface TabOrderedElement
getTabOrderGroup
-
Field Details
-
texture
-
litProgressSprite
-
burnProgressSprite
-
-
Constructor Details
-
AbstractFurnaceScreen
public AbstractFurnaceScreen(T menu, Inventory inventory, Component title, Component recipeFilterName, Identifier texture, Identifier litProgressSprite, Identifier burnProgressSprite, List<RecipeBookComponent.TabInfo> tabInfos)
-
-
Method Details
-
init
public void init()- Overrides:
initin classAbstractRecipeBookScreen<T extends AbstractFurnaceMenu>
-
getRecipeBookButtonPosition
- Specified by:
getRecipeBookButtonPositionin classAbstractRecipeBookScreen<T extends AbstractFurnaceMenu>
-
renderBg
- Specified by:
renderBgin classAbstractContainerScreen<T extends AbstractFurnaceMenu>
-