Class SmithingScreen
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.ItemCombinerScreen<SmithingMenu>
net.minecraft.client.gui.screens.inventory.SmithingScreen
- All Implemented Interfaces:
- ContainerEventHandler,- GuiEventListener,- Renderable,- TabOrderedElement,- MenuAccess<SmithingMenu>,- ContainerListener
- 
Nested Class SummaryNested classes/interfaces inherited from class net.minecraft.client.gui.screens.ScreenScreen.NarratableSearchResult
- 
Field SummaryFieldsModifier and TypeFieldDescriptionprivate final CyclingSlotBackgroundprivate static final org.joml.Quaternionfprivate static final intprivate static final intprivate static final intprivate static final org.joml.Vector3fprivate static final intprivate static final intprivate ArmorStandprivate final CyclingSlotBackgroundprivate static final ResourceLocationprivate static final ResourceLocationprivate static final List<ResourceLocation>private static final intprivate static final intprivate static final intprivate static final intprivate static final ResourceLocationprivate static final Componentprivate static final Componentprivate final CyclingSlotBackgroundprivate static final intprivate static final intprivate static final intFields 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 SummaryConstructorsConstructorDescriptionSmithingScreen(SmithingMenu p_99290_, Inventory p_99291_, Component p_99292_) 
- 
Method SummaryModifier and TypeMethodDescriptionvoidprivate Optional<SmithingTemplateItem>private booleanvoidrender(GuiGraphics p_281961_, int p_282410_, int p_283013_, float p_282408_) protected voidrenderBg(GuiGraphics p_283264_, float p_267158_, int p_267266_, int p_266722_) protected voidrenderErrorIcon(GuiGraphics p_281835_, int p_283389_, int p_282634_) private voidrenderOnboardingTooltips(GuiGraphics p_281668_, int p_267192_, int p_266859_) voidslotChanged(AbstractContainerMenu p_267217_, int p_266842_, ItemStack p_267208_) protected voidsubInit()private voidupdateArmorStandPreview(ItemStack p_268225_) Methods inherited from class net.minecraft.client.gui.screens.inventory.ItemCombinerScreendataChanged, init, removed, renderFgMethods inherited from class net.minecraft.client.gui.screens.inventory.AbstractContainerScreencheckHotbarKeyPressed, clearDraggingState, getGuiLeft, getGuiTop, getMenu, getSlotColor, getSlotUnderMouse, getTooltipFromContainerItem, getXSize, getYSize, handleSlotStateChanged, hasClickedOutside, isHovering, isPauseScreen, keyPressed, mouseClicked, mouseDragged, mouseReleased, onClose, renderBackground, renderLabels, renderSlot, renderSlotHighlight, renderSlotHighlight, renderTooltip, slotClicked, 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.ContainerEventHandlercharTyped, getChildAt, 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- 
ERROR_SPRITE
- 
EMPTY_SLOT_SMITHING_TEMPLATE_ARMOR_TRIM
- 
EMPTY_SLOT_SMITHING_TEMPLATE_NETHERITE_UPGRADE
- 
MISSING_TEMPLATE_TOOLTIP
- 
ERROR_TOOLTIP
- 
EMPTY_SLOT_SMITHING_TEMPLATES
- 
TITLE_LABEL_Xprivate static final int TITLE_LABEL_X- See Also:
 
- 
TITLE_LABEL_Yprivate static final int TITLE_LABEL_Y- See Also:
 
- 
ERROR_ICON_WIDTHprivate static final int ERROR_ICON_WIDTH- See Also:
 
- 
ERROR_ICON_HEIGHTprivate static final int ERROR_ICON_HEIGHT- See Also:
 
- 
ERROR_ICON_Xprivate static final int ERROR_ICON_X- See Also:
 
- 
ERROR_ICON_Yprivate static final int ERROR_ICON_Y- See Also:
 
- 
TOOLTIP_WIDTHprivate static final int TOOLTIP_WIDTH- See Also:
 
- 
ARMOR_STAND_Y_ROTprivate static final int ARMOR_STAND_Y_ROT- See Also:
 
- 
ARMOR_STAND_X_ROTprivate static final int ARMOR_STAND_X_ROT- See Also:
 
- 
ARMOR_STAND_TRANSLATIONprivate static final org.joml.Vector3f ARMOR_STAND_TRANSLATION
- 
ARMOR_STAND_ANGLEprivate static final org.joml.Quaternionf ARMOR_STAND_ANGLE
- 
ARMOR_STAND_SCALEprivate static final int ARMOR_STAND_SCALE- See Also:
 
- 
ARMOR_STAND_OFFSET_Yprivate static final int ARMOR_STAND_OFFSET_Y- See Also:
 
- 
ARMOR_STAND_OFFSET_Xprivate static final int ARMOR_STAND_OFFSET_X- See Also:
 
- 
templateIcon
- 
baseIcon
- 
additionalIcon
- 
armorStandPreview
 
- 
- 
Constructor Details- 
SmithingScreen
 
- 
- 
Method Details- 
subInitprotected void subInit()- Overrides:
- subInitin class- ItemCombinerScreen<SmithingMenu>
 
- 
containerTickpublic void containerTick()- Overrides:
- containerTickin class- AbstractContainerScreen<SmithingMenu>
 
- 
getTemplateItem
- 
render- Specified by:
- renderin interface- Renderable
- Overrides:
- renderin class- ItemCombinerScreen<SmithingMenu>
 
- 
renderBg- Overrides:
- renderBgin class- ItemCombinerScreen<SmithingMenu>
 
- 
slotChanged- Specified by:
- slotChangedin interface- ContainerListener
- Overrides:
- slotChangedin class- ItemCombinerScreen<SmithingMenu>
 
- 
updateArmorStandPreview
- 
renderErrorIcon- Specified by:
- renderErrorIconin class- ItemCombinerScreen<SmithingMenu>
 
- 
renderOnboardingTooltips
- 
hasRecipeErrorprivate boolean hasRecipeError()
 
-