Class SmithingScreen
java.lang.Object
net.minecraft.client.gui.AbstractParentElement
net.minecraft.client.gui.screen.Screen
net.minecraft.client.gui.screen.ingame.HandledScreen<T>
net.minecraft.client.gui.screen.ingame.ForgingScreen<SmithingScreenHandler>
net.minecraft.client.gui.screen.ingame.SmithingScreen
- All Implemented Interfaces:
- Drawable,- Element,- Navigable,- ParentElement,- ScreenHandlerProvider<SmithingScreenHandler>,- ScreenHandlerListener
- Mappings:
- Namespace - Name - official - ewz- intermediary - net/minecraft/class_4895- named - net/minecraft/client/gui/screen/ingame/SmithingScreen
- 
Nested Class SummaryNested classes/interfaces inherited from class net.minecraft.client.gui.screen.ScreenScreen.SelectedElementNarrationData
- 
Field SummaryFieldsModifier and TypeFieldDescriptionprivate final CyclingSlotIconstatic final Quaternionfprivate @Nullable ArmorStandEntityprivate final CyclingSlotIconprivate static final Identifierprivate static final Identifierprivate static final List<Identifier>private static final Textstatic final intstatic final intstatic final intstatic final intprivate static final intprivate static final intprivate static final intprivate static final intprivate static final intprivate static final intprivate static final intstatic final intprivate static final Textprivate final CyclingSlotIconprivate static final IdentifierFields inherited from class net.minecraft.client.gui.screen.ingame.HandledScreenBACKGROUND_TEXTURE, backgroundHeight, backgroundWidth, cursorDragging, cursorDragSlots, field_32322, focusedSlot, handler, playerInventoryTitle, playerInventoryTitleX, playerInventoryTitleY, titleX, titleY, x, yFields inherited from class net.minecraft.client.gui.screen.Screenclient, executor, height, OPTIONS_BACKGROUND_TEXTURE, textRenderer, title, widthFields inherited from interface net.minecraft.client.gui.ElementMAX_DOUBLE_CLICK_INTERVAL
- 
Constructor SummaryConstructorsConstructorDescriptionSmithingScreen(SmithingScreenHandler handler, PlayerInventory playerInventory, Text title) 
- 
Method SummaryModifier and TypeMethodDescriptionprotected voiddrawBackground(DrawContext context, float delta, int mouseX, int mouseY) protected voiddrawInvalidRecipeArrow(DrawContext context, int x, int y) private voidequipArmorStand(ItemStack stack) private Optional<SmithingTemplateItem>voidprivate booleanvoidonSlotUpdate(ScreenHandler handler, int slotId, ItemStack stack) voidrender(DrawContext context, int mouseX, int mouseY, float delta) private voidrenderSlotTooltip(DrawContext context, int mouseX, int mouseY) protected voidsetup()Methods inherited from class net.minecraft.client.gui.screen.ingame.ForgingScreeninit, onPropertyUpdate, removed, renderForegroundMethods inherited from class net.minecraft.client.gui.screen.ingame.HandledScreenclose, drawForeground, drawMouseoverTooltip, drawSlotHighlight, endTouchDrag, getScreenHandler, getTooltipFromItem, handleHotbarKeyPressed, isClickOutsideBounds, isPointWithinBounds, keyPressed, mouseClicked, mouseDragged, mouseReleased, onMouseClick, shouldPause, tickMethods inherited from class net.minecraft.client.gui.screen.ScreenaddDrawable, addDrawableChild, addElementNarrations, addScreenNarrations, addSelectableChild, applyKeyPressNarratorDelay, applyMouseMoveNarratorDelay, applyMousePressScrollNarratorDelay, applyNarratorModeChangeDelay, children, clearAndInit, clearChildren, filesDragged, findSelectedElementData, getMusic, getNarratedTitle, getNavigationFocus, getTitle, getTooltipFromItem, handleTextClick, hasAltDown, hasControlDown, hasShiftDown, hasUsageText, hide, init, initTabNavigation, insertText, isCopy, isCut, isMouseOver, isPaste, isSelectAll, isValidCharacterForName, narrateScreenIfNarrationEnabled, onDisplayed, remove, renderBackground, renderBackgroundTexture, renderWithTooltip, resize, setInitialFocus, setTooltip, setTooltip, setTooltip, setTooltip, shouldCloseOnEsc, switchFocus, updateNarrator, wrapScreenErrorMethods inherited from class net.minecraft.client.gui.AbstractParentElementgetFocused, 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.ElementmouseMovedMethods inherited from interface net.minecraft.client.gui.navigation.NavigablegetNavigationOrderMethods inherited from interface net.minecraft.client.gui.ParentElementcharTyped, focusOn, getFocusedPath, getNavigationPath, hoveredElement, isFocused, keyReleased, mouseScrolled, setFocused
- 
Field Details- 
TEXTURE- Mappings:
- Namespace - Name - Mixin selector - official - D- Lewz;D:Lacq;- intermediary - field_22795- Lnet/minecraft/class_4895;field_22795:Lnet/minecraft/class_2960;- named - TEXTURE- Lnet/minecraft/client/gui/screen/ingame/SmithingScreen;TEXTURE:Lnet/minecraft/util/Identifier;
 
- 
EMPTY_SLOT_SMITHING_TEMPLATE_ARMOR_TRIM_TEXTURE- Mappings:
- Namespace - Name - Mixin selector - official - E- Lewz;E:Lacq;- intermediary - field_42052- Lnet/minecraft/class_4895;field_42052:Lnet/minecraft/class_2960;- named - EMPTY_SLOT_SMITHING_TEMPLATE_ARMOR_TRIM_TEXTURE- Lnet/minecraft/client/gui/screen/ingame/SmithingScreen;EMPTY_SLOT_SMITHING_TEMPLATE_ARMOR_TRIM_TEXTURE:Lnet/minecraft/util/Identifier;
 
- 
EMPTY_SLOT_SMITHING_TEMPLATE_NETHERITE_UPGRADE_TEXTURE- Mappings:
- Namespace - Name - Mixin selector - official - F- Lewz;F:Lacq;- intermediary - field_42053- Lnet/minecraft/class_4895;field_42053:Lnet/minecraft/class_2960;- named - EMPTY_SLOT_SMITHING_TEMPLATE_NETHERITE_UPGRADE_TEXTURE- Lnet/minecraft/client/gui/screen/ingame/SmithingScreen;EMPTY_SLOT_SMITHING_TEMPLATE_NETHERITE_UPGRADE_TEXTURE:Lnet/minecraft/util/Identifier;
 
- 
MISSING_TEMPLATE_TOOLTIP- Mappings:
- Namespace - Name - Mixin selector - official - G- Lewz;G:Lsw;- intermediary - field_42054- Lnet/minecraft/class_4895;field_42054:Lnet/minecraft/class_2561;- named - MISSING_TEMPLATE_TOOLTIP- Lnet/minecraft/client/gui/screen/ingame/SmithingScreen;MISSING_TEMPLATE_TOOLTIP:Lnet/minecraft/text/Text;
 
- 
ERROR_TOOLTIP- Mappings:
- Namespace - Name - Mixin selector - official - H- Lewz;H:Lsw;- intermediary - field_42055- Lnet/minecraft/class_4895;field_42055:Lnet/minecraft/class_2561;- named - ERROR_TOOLTIP- Lnet/minecraft/client/gui/screen/ingame/SmithingScreen;ERROR_TOOLTIP:Lnet/minecraft/text/Text;
 
- 
EMPTY_SLOT_TEXTURES- Mappings:
- Namespace - Name - Mixin selector - official - I- Lewz;I:Ljava/util/List;- intermediary - field_42056- Lnet/minecraft/class_4895;field_42056:Ljava/util/List;- named - EMPTY_SLOT_TEXTURES- Lnet/minecraft/client/gui/screen/ingame/SmithingScreen;EMPTY_SLOT_TEXTURES:Ljava/util/List;
 
- 
field_42057private static final int field_42057- See Also:
- Mappings:
- Namespace - Name - Mixin selector - official - J- Lewz;J:I- intermediary - field_42057- Lnet/minecraft/class_4895;field_42057:I- named - field_42057- Lnet/minecraft/client/gui/screen/ingame/SmithingScreen;field_42057:I
 
- 
field_42058private static final int field_42058- See Also:
- Mappings:
- Namespace - Name - Mixin selector - official - K- Lewz;K:I- intermediary - field_42058- Lnet/minecraft/class_4895;field_42058:I- named - field_42058- Lnet/minecraft/client/gui/screen/ingame/SmithingScreen;field_42058:I
 
- 
field_42059private static final int field_42059- See Also:
- Mappings:
- Namespace - Name - Mixin selector - official - L- Lewz;L:I- intermediary - field_42059- Lnet/minecraft/class_4895;field_42059:I- named - field_42059- Lnet/minecraft/client/gui/screen/ingame/SmithingScreen;field_42059:I
 
- 
field_42060private static final int field_42060- See Also:
- Mappings:
- Namespace - Name - Mixin selector - official - M- Lewz;M:I- intermediary - field_42060- Lnet/minecraft/class_4895;field_42060:I- named - field_42060- Lnet/minecraft/client/gui/screen/ingame/SmithingScreen;field_42060:I
 
- 
field_42061private static final int field_42061- See Also:
- Mappings:
- Namespace - Name - Mixin selector - official - N- Lewz;N:I- intermediary - field_42061- Lnet/minecraft/class_4895;field_42061:I- named - field_42061- Lnet/minecraft/client/gui/screen/ingame/SmithingScreen;field_42061:I
 
- 
field_42062private static final int field_42062- See Also:
- Mappings:
- Namespace - Name - Mixin selector - official - O- Lewz;O:I- intermediary - field_42062- Lnet/minecraft/class_4895;field_42062:I- named - field_42062- Lnet/minecraft/client/gui/screen/ingame/SmithingScreen;field_42062:I
 
- 
field_42063private static final int field_42063- See Also:
- Mappings:
- Namespace - Name - Mixin selector - official - P- Lewz;P:I- intermediary - field_42063- Lnet/minecraft/class_4895;field_42063:I- named - field_42063- Lnet/minecraft/client/gui/screen/ingame/SmithingScreen;field_42063:I
 
- 
field_42068public static final int field_42068- See Also:
- Mappings:
- Namespace - Name - Mixin selector - official - w- Lewz;w:I- intermediary - field_42068- Lnet/minecraft/class_4895;field_42068:I- named - field_42068- Lnet/minecraft/client/gui/screen/ingame/SmithingScreen;field_42068:I
 
- 
field_42047public static final int field_42047- See Also:
- Mappings:
- Namespace - Name - Mixin selector - official - x- Lewz;x:I- intermediary - field_42047- Lnet/minecraft/class_4895;field_42047:I- named - field_42047- Lnet/minecraft/client/gui/screen/ingame/SmithingScreen;field_42047:I
 
- 
ARMOR_STAND_ROTATION- Mappings:
- Namespace - Name - Mixin selector - official - y- Lewz;y:Lorg/joml/Quaternionf;- intermediary - field_42048- Lnet/minecraft/class_4895;field_42048:Lorg/joml/Quaternionf;- named - ARMOR_STAND_ROTATION- Lnet/minecraft/client/gui/screen/ingame/SmithingScreen;ARMOR_STAND_ROTATION:Lorg/joml/Quaternionf;
 
- 
field_42049public static final int field_42049- See Also:
- Mappings:
- Namespace - Name - Mixin selector - official - z- Lewz;z:I- intermediary - field_42049- Lnet/minecraft/class_4895;field_42049:I- named - field_42049- Lnet/minecraft/client/gui/screen/ingame/SmithingScreen;field_42049:I
 
- 
field_42050public static final int field_42050- See Also:
- Mappings:
- Namespace - Name - Mixin selector - official - A- Lewz;A:I- intermediary - field_42050- Lnet/minecraft/class_4895;field_42050:I- named - field_42050- Lnet/minecraft/client/gui/screen/ingame/SmithingScreen;field_42050:I
 
- 
field_42051public static final int field_42051- See Also:
- Mappings:
- Namespace - Name - Mixin selector - official - C- Lewz;C:I- intermediary - field_42051- Lnet/minecraft/class_4895;field_42051:I- named - field_42051- Lnet/minecraft/client/gui/screen/ingame/SmithingScreen;field_42051:I
 
- 
templateSlotIcon- Mappings:
- Namespace - Name - Mixin selector - official - Q- Lewz;Q:Lewe;- intermediary - field_42064- Lnet/minecraft/class_4895;field_42064:Lnet/minecraft/class_8064;- named - templateSlotIcon- Lnet/minecraft/client/gui/screen/ingame/SmithingScreen;templateSlotIcon:Lnet/minecraft/client/gui/screen/ingame/CyclingSlotIcon;
 
- 
baseSlotIcon- Mappings:
- Namespace - Name - Mixin selector - official - R- Lewz;R:Lewe;- intermediary - field_42065- Lnet/minecraft/class_4895;field_42065:Lnet/minecraft/class_8064;- named - baseSlotIcon- Lnet/minecraft/client/gui/screen/ingame/SmithingScreen;baseSlotIcon:Lnet/minecraft/client/gui/screen/ingame/CyclingSlotIcon;
 
- 
additionsSlotIcon- Mappings:
- Namespace - Name - Mixin selector - official - S- Lewz;S:Lewe;- intermediary - field_42066- Lnet/minecraft/class_4895;field_42066:Lnet/minecraft/class_8064;- named - additionsSlotIcon- Lnet/minecraft/client/gui/screen/ingame/SmithingScreen;additionsSlotIcon:Lnet/minecraft/client/gui/screen/ingame/CyclingSlotIcon;
 
- 
armorStand- Mappings:
- Namespace - Name - Mixin selector - official - T- Lewz;T:Lbux;- intermediary - field_42067- Lnet/minecraft/class_4895;field_42067:Lnet/minecraft/class_1531;- named - armorStand- Lnet/minecraft/client/gui/screen/ingame/SmithingScreen;armorStand:Lnet/minecraft/entity/decoration/ArmorStandEntity;
 
 
- 
- 
Constructor Details- 
SmithingScreen- Mappings:
- Namespace - Name - Mixin selector - official - <init>- Lewz;<init>(Lccy;Lbyn;Lsw;)V- intermediary - <init>- Lnet/minecraft/class_4895;<init>(Lnet/minecraft/class_4862;Lnet/minecraft/class_1661;Lnet/minecraft/class_2561;)V- named - <init>- Lnet/minecraft/client/gui/screen/ingame/SmithingScreen;<init>(Lnet/minecraft/screen/SmithingScreenHandler;Lnet/minecraft/entity/player/PlayerInventory;Lnet/minecraft/text/Text;)V
 
 
- 
- 
Method Details- 
setupprotected void setup()- Overrides:
- setupin class- ForgingScreen<SmithingScreenHandler>
- Mappings:
- Namespace - Name - Mixin selector - official - D- Lewp;D()V- intermediary - method_25445- Lnet/minecraft/class_4894;method_25445()V- named - setup- Lnet/minecraft/client/gui/screen/ingame/ForgingScreen;setup()V
 
- 
handledScreenTickpublic void handledScreenTick()- Overrides:
- handledScreenTickin class- HandledScreen<SmithingScreenHandler>
- Mappings:
- Namespace - Name - Mixin selector - official - B- Levp;B()V- intermediary - method_37432- Lnet/minecraft/class_465;method_37432()V- named - handledScreenTick- Lnet/minecraft/client/gui/screen/ingame/HandledScreen;handledScreenTick()V
 
- 
getSmithingTemplate- Mappings:
- Namespace - Name - Mixin selector - official - E- Lewz;E()Ljava/util/Optional;- intermediary - method_48473- Lnet/minecraft/class_4895;method_48473()Ljava/util/Optional;- named - getSmithingTemplate- Lnet/minecraft/client/gui/screen/ingame/SmithingScreen;getSmithingTemplate()Ljava/util/Optional;
 
- 
render- Specified by:
- renderin interface- Drawable
- Overrides:
- renderin class- ForgingScreen<SmithingScreenHandler>
- Mappings:
- Namespace - Name - Mixin selector - official - a- Leqh;a(Leox;IIF)V- intermediary - method_25394- Lnet/minecraft/class_4068;method_25394(Lnet/minecraft/class_332;IIF)V- named - render- Lnet/minecraft/client/gui/Drawable;render(Lnet/minecraft/client/gui/DrawContext;IIF)V
 
- 
drawBackground- Overrides:
- drawBackgroundin class- ForgingScreen<SmithingScreenHandler>
- Mappings:
- Namespace - Name - Mixin selector - official - a- Levp;a(Leox;FII)V- intermediary - method_2389- Lnet/minecraft/class_465;method_2389(Lnet/minecraft/class_332;FII)V- named - drawBackground- Lnet/minecraft/client/gui/screen/ingame/HandledScreen;drawBackground(Lnet/minecraft/client/gui/DrawContext;FII)V
 
- 
onSlotUpdate- Specified by:
- onSlotUpdatein interface- ScreenHandlerListener
- Overrides:
- onSlotUpdatein class- ForgingScreen<SmithingScreenHandler>
- Mappings:
- Namespace - Name - Mixin selector - official - a- Lcbr;a(Lcbf;ILcfz;)V- intermediary - method_7635- Lnet/minecraft/class_1712;method_7635(Lnet/minecraft/class_1703;ILnet/minecraft/class_1799;)V- named - onSlotUpdate- Lnet/minecraft/screen/ScreenHandlerListener;onSlotUpdate(Lnet/minecraft/screen/ScreenHandler;ILnet/minecraft/item/ItemStack;)V
 
- 
equipArmorStand- Mappings:
- Namespace - Name - Mixin selector - official - b- Lewz;b(Lcfz;)V- intermediary - method_48641- Lnet/minecraft/class_4895;method_48641(Lnet/minecraft/class_1799;)V- named - equipArmorStand- Lnet/minecraft/client/gui/screen/ingame/SmithingScreen;equipArmorStand(Lnet/minecraft/item/ItemStack;)V
 
- 
drawInvalidRecipeArrow- Specified by:
- drawInvalidRecipeArrowin class- ForgingScreen<SmithingScreenHandler>
- Mappings:
- Namespace - Name - Mixin selector - official - c- Lewp;c(Leox;II)V- intermediary - method_48467- Lnet/minecraft/class_4894;method_48467(Lnet/minecraft/class_332;II)V- named - drawInvalidRecipeArrow- Lnet/minecraft/client/gui/screen/ingame/ForgingScreen;drawInvalidRecipeArrow(Lnet/minecraft/client/gui/DrawContext;II)V
 
- 
renderSlotTooltip- Mappings:
- Namespace - Name - Mixin selector - official - d- Lewz;d(Leox;II)V- intermediary - method_48476- Lnet/minecraft/class_4895;method_48476(Lnet/minecraft/class_332;II)V- named - renderSlotTooltip- Lnet/minecraft/client/gui/screen/ingame/SmithingScreen;renderSlotTooltip(Lnet/minecraft/client/gui/DrawContext;II)V
 
- 
hasInvalidRecipeprivate boolean hasInvalidRecipe()- Mappings:
- Namespace - Name - Mixin selector - official - F- Lewz;F()Z- intermediary - method_48474- Lnet/minecraft/class_4895;method_48474()Z- named - hasInvalidRecipe- Lnet/minecraft/client/gui/screen/ingame/SmithingScreen;hasInvalidRecipe()Z
 
 
-