Class SmithingScreen
java.lang.Object
net.minecraft.client.gui.DrawableHelper
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 eucintermediary net/minecraft/class_4895named net/minecraft/client/gui/screen/ingame/SmithingScreen
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.client.gui.screen.Screen
Screen.SelectedElementNarrationData -
Field Summary
FieldsModifier 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.HandledScreen
BACKGROUND_TEXTURE, backgroundHeight, backgroundWidth, cursorDragging, cursorDragSlots, field_32322, focusedSlot, handler, playerInventoryTitle, playerInventoryTitleX, playerInventoryTitleY, titleX, titleY, x, yFields inherited from class net.minecraft.client.gui.screen.Screen
client, height, itemRenderer, passEvents, textRenderer, title, widthFields inherited from class net.minecraft.client.gui.DrawableHelper
GUI_ICONS_TEXTURE, OPTIONS_BACKGROUND_TEXTURE, STATS_ICON_TEXTUREFields inherited from interface net.minecraft.client.gui.Element
MAX_DOUBLE_CLICK_INTERVAL -
Constructor Summary
ConstructorsConstructorDescriptionSmithingScreen(SmithingScreenHandler handler, PlayerInventory playerInventory, Text title) -
Method Summary
Modifier and TypeMethodDescriptionprotected voiddrawBackground(MatrixStack matrices, float delta, int mouseX, int mouseY) protected voiddrawInvalidRecipeArrow(MatrixStack matrices, int x, int y) private voidequipArmorStand(ItemStack stack) private Optional<SmithingTemplateItem>voidprivate booleanvoidonSlotUpdate(ScreenHandler handler, int slotId, ItemStack stack) voidrender(MatrixStack matrices, int mouseX, int mouseY, float delta) private voidrenderSlotTooltip(MatrixStack matrices, int mouseX, int mouseY) protected voidsetup()Methods inherited from class net.minecraft.client.gui.screen.ingame.ForgingScreen
init, onPropertyUpdate, removed, renderForegroundMethods inherited from class net.minecraft.client.gui.screen.ingame.HandledScreen
close, drawForeground, drawMouseoverTooltip, drawSlotHighlight, endTouchDrag, getScreenHandler, handleHotbarKeyPressed, isClickOutsideBounds, isPointWithinBounds, keyPressed, mouseClicked, mouseDragged, mouseReleased, onMouseClick, shouldPause, tickMethods inherited from class net.minecraft.client.gui.screen.Screen
addDrawable, addDrawableChild, addElementNarrations, addScreenNarrations, addSelectableChild, applyKeyPressNarratorDelay, applyMouseMoveNarratorDelay, applyMousePressScrollNarratorDelay, applyNarratorModeChangeDelay, children, clearAndInit, clearChildren, filesDragged, findSelectedElementData, getNarratedTitle, getNavigationFocus, getTitle, getTooltipFromItem, handleTextClick, hasAltDown, hasControlDown, hasShiftDown, hasUsageText, hide, init, initTabNavigation, insertText, isCopy, isCut, isMouseOver, isPaste, isSelectAll, isValidCharacterForName, narrateScreenIfNarrationEnabled, remove, renderBackground, renderBackgroundTexture, renderOrderedTooltip, renderTextHoverEffect, renderTooltip, renderTooltip, renderTooltip, renderTooltip, renderWithTooltip, resize, setInitialFocus, setTooltip, setTooltip, setTooltip, setTooltip, shouldCloseOnEsc, switchFocus, updateNarrator, wrapScreenErrorMethods inherited from class net.minecraft.client.gui.AbstractParentElement
getFocused, isDragging, setDragging, setFocusedMethods inherited from class net.minecraft.client.gui.DrawableHelper
disableScissor, drawCenteredTextWithShadow, drawCenteredTextWithShadow, drawCenteredTextWithShadow, drawHorizontalLine, drawNineSlicedTexture, drawNineSlicedTexture, drawRepeatingTexture, drawSprite, drawSprite, drawTexture, drawTexture, drawTexture, drawTexture, drawTextWithShadow, drawTextWithShadow, drawTextWithShadow, drawVerticalLine, drawWithOutline, enableScissor, fill, fill, fillGradient, fillGradient, fillGradient, getZOffset, setZOffsetMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.minecraft.client.gui.Element
mouseMovedMethods inherited from interface net.minecraft.client.gui.navigation.Navigable
getNavigationOrderMethods inherited from interface net.minecraft.client.gui.ParentElement
charTyped, focusOn, getFocusedPath, getNavigationPath, hoveredElement, isFocused, keyReleased, mouseScrolled, setFocused
-
Field Details
-
TEXTURE
- Mappings:
Namespace Name Mixin selector official FLeuc;F:Lacw;intermediary field_22795Lnet/minecraft/class_4895;field_22795:Lnet/minecraft/class_2960;named TEXTURELnet/minecraft/client/gui/screen/ingame/SmithingScreen;TEXTURE:Lnet/minecraft/util/Identifier;
-
EMPTY_SLOT_SMITHING_TEMPLATE_ARMOR_TRIM_TEXTURE
- Mappings:
Namespace Name Mixin selector official GLeuc;G:Lacw;intermediary field_42052Lnet/minecraft/class_4895;field_42052:Lnet/minecraft/class_2960;named EMPTY_SLOT_SMITHING_TEMPLATE_ARMOR_TRIM_TEXTURELnet/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 HLeuc;H:Lacw;intermediary field_42053Lnet/minecraft/class_4895;field_42053:Lnet/minecraft/class_2960;named EMPTY_SLOT_SMITHING_TEMPLATE_NETHERITE_UPGRADE_TEXTURELnet/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 ILeuc;I:Ltd;intermediary field_42054Lnet/minecraft/class_4895;field_42054:Lnet/minecraft/class_2561;named MISSING_TEMPLATE_TOOLTIPLnet/minecraft/client/gui/screen/ingame/SmithingScreen;MISSING_TEMPLATE_TOOLTIP:Lnet/minecraft/text/Text;
-
ERROR_TOOLTIP
- Mappings:
Namespace Name Mixin selector official JLeuc;J:Ltd;intermediary field_42055Lnet/minecraft/class_4895;field_42055:Lnet/minecraft/class_2561;named ERROR_TOOLTIPLnet/minecraft/client/gui/screen/ingame/SmithingScreen;ERROR_TOOLTIP:Lnet/minecraft/text/Text;
-
EMPTY_SLOT_TEXTURES
- Mappings:
Namespace Name Mixin selector official KLeuc;K:Ljava/util/List;intermediary field_42056Lnet/minecraft/class_4895;field_42056:Ljava/util/List;named EMPTY_SLOT_TEXTURESLnet/minecraft/client/gui/screen/ingame/SmithingScreen;EMPTY_SLOT_TEXTURES:Ljava/util/List;
-
field_42057
private static final int field_42057- See Also:
- Mappings:
Namespace Name Mixin selector official LLeuc;L:Iintermediary field_42057Lnet/minecraft/class_4895;field_42057:Inamed field_42057Lnet/minecraft/client/gui/screen/ingame/SmithingScreen;field_42057:I
-
field_42058
private static final int field_42058- See Also:
- Mappings:
Namespace Name Mixin selector official MLeuc;M:Iintermediary field_42058Lnet/minecraft/class_4895;field_42058:Inamed field_42058Lnet/minecraft/client/gui/screen/ingame/SmithingScreen;field_42058:I
-
field_42059
private static final int field_42059- See Also:
- Mappings:
Namespace Name Mixin selector official NLeuc;N:Iintermediary field_42059Lnet/minecraft/class_4895;field_42059:Inamed field_42059Lnet/minecraft/client/gui/screen/ingame/SmithingScreen;field_42059:I
-
field_42060
private static final int field_42060- See Also:
- Mappings:
Namespace Name Mixin selector official OLeuc;O:Iintermediary field_42060Lnet/minecraft/class_4895;field_42060:Inamed field_42060Lnet/minecraft/client/gui/screen/ingame/SmithingScreen;field_42060:I
-
field_42061
private static final int field_42061- See Also:
- Mappings:
Namespace Name Mixin selector official PLeuc;P:Iintermediary field_42061Lnet/minecraft/class_4895;field_42061:Inamed field_42061Lnet/minecraft/client/gui/screen/ingame/SmithingScreen;field_42061:I
-
field_42062
private static final int field_42062- See Also:
- Mappings:
Namespace Name Mixin selector official QLeuc;Q:Iintermediary field_42062Lnet/minecraft/class_4895;field_42062:Inamed field_42062Lnet/minecraft/client/gui/screen/ingame/SmithingScreen;field_42062:I
-
field_42063
private static final int field_42063- See Also:
- Mappings:
Namespace Name Mixin selector official RLeuc;R:Iintermediary field_42063Lnet/minecraft/class_4895;field_42063:Inamed field_42063Lnet/minecraft/client/gui/screen/ingame/SmithingScreen;field_42063:I
-
field_42068
public static final int field_42068- See Also:
- Mappings:
Namespace Name Mixin selector official zLeuc;z:Iintermediary field_42068Lnet/minecraft/class_4895;field_42068:Inamed field_42068Lnet/minecraft/client/gui/screen/ingame/SmithingScreen;field_42068:I
-
field_42047
public static final int field_42047- See Also:
- Mappings:
Namespace Name Mixin selector official ALeuc;A:Iintermediary field_42047Lnet/minecraft/class_4895;field_42047:Inamed field_42047Lnet/minecraft/client/gui/screen/ingame/SmithingScreen;field_42047:I
-
ARMOR_STAND_ROTATION
- Mappings:
Namespace Name Mixin selector official BLeuc;B:Lorg/joml/Quaternionf;intermediary field_42048Lnet/minecraft/class_4895;field_42048:Lorg/joml/Quaternionf;named ARMOR_STAND_ROTATIONLnet/minecraft/client/gui/screen/ingame/SmithingScreen;ARMOR_STAND_ROTATION:Lorg/joml/Quaternionf;
-
field_42049
public static final int field_42049- See Also:
- Mappings:
Namespace Name Mixin selector official CLeuc;C:Iintermediary field_42049Lnet/minecraft/class_4895;field_42049:Inamed field_42049Lnet/minecraft/client/gui/screen/ingame/SmithingScreen;field_42049:I
-
field_42050
public static final int field_42050- See Also:
- Mappings:
Namespace Name Mixin selector official DLeuc;D:Iintermediary field_42050Lnet/minecraft/class_4895;field_42050:Inamed field_42050Lnet/minecraft/client/gui/screen/ingame/SmithingScreen;field_42050:I
-
field_42051
public static final int field_42051- See Also:
- Mappings:
Namespace Name Mixin selector official ELeuc;E:Iintermediary field_42051Lnet/minecraft/class_4895;field_42051:Inamed field_42051Lnet/minecraft/client/gui/screen/ingame/SmithingScreen;field_42051:I
-
templateSlotIcon
- Mappings:
Namespace Name Mixin selector official SLeuc;S:Letg;intermediary field_42064Lnet/minecraft/class_4895;field_42064:Lnet/minecraft/class_8064;named templateSlotIconLnet/minecraft/client/gui/screen/ingame/SmithingScreen;templateSlotIcon:Lnet/minecraft/client/gui/screen/ingame/CyclingSlotIcon;
-
baseSlotIcon
- Mappings:
Namespace Name Mixin selector official TLeuc;T:Letg;intermediary field_42065Lnet/minecraft/class_4895;field_42065:Lnet/minecraft/class_8064;named baseSlotIconLnet/minecraft/client/gui/screen/ingame/SmithingScreen;baseSlotIcon:Lnet/minecraft/client/gui/screen/ingame/CyclingSlotIcon;
-
additionsSlotIcon
- Mappings:
Namespace Name Mixin selector official ULeuc;U:Letg;intermediary field_42066Lnet/minecraft/class_4895;field_42066:Lnet/minecraft/class_8064;named additionsSlotIconLnet/minecraft/client/gui/screen/ingame/SmithingScreen;additionsSlotIcon:Lnet/minecraft/client/gui/screen/ingame/CyclingSlotIcon;
-
armorStand
- Mappings:
Namespace Name Mixin selector official VLeuc;V:Lbui;intermediary field_42067Lnet/minecraft/class_4895;field_42067:Lnet/minecraft/class_1531;named armorStandLnet/minecraft/client/gui/screen/ingame/SmithingScreen;armorStand:Lnet/minecraft/entity/decoration/ArmorStandEntity;
-
-
Constructor Details
-
SmithingScreen
- Mappings:
Namespace Name Mixin selector official <init>Leuc;<init>(Lcck;Lbxy;Ltd;)Vintermediary <init>Lnet/minecraft/class_4895;<init>(Lnet/minecraft/class_4862;Lnet/minecraft/class_1661;Lnet/minecraft/class_2561;)Vnamed <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
-
setup
protected void setup()- Overrides:
setupin classForgingScreen<SmithingScreenHandler>- Mappings:
Namespace Name Mixin selector official DLetr;D()Vintermediary method_25445Lnet/minecraft/class_4894;method_25445()Vnamed setupLnet/minecraft/client/gui/screen/ingame/ForgingScreen;setup()V
-
handledScreenTick
public void handledScreenTick()- Overrides:
handledScreenTickin classHandledScreen<SmithingScreenHandler>- Mappings:
Namespace Name Mixin selector official BLesr;B()Vintermediary method_37432Lnet/minecraft/class_465;method_37432()Vnamed handledScreenTickLnet/minecraft/client/gui/screen/ingame/HandledScreen;handledScreenTick()V
-
getSmithingTemplate
- Mappings:
Namespace Name Mixin selector official ELeuc;E()Ljava/util/Optional;intermediary method_48473Lnet/minecraft/class_4895;method_48473()Ljava/util/Optional;named getSmithingTemplateLnet/minecraft/client/gui/screen/ingame/SmithingScreen;getSmithingTemplate()Ljava/util/Optional;
-
render
- Specified by:
renderin interfaceDrawable- Overrides:
renderin classForgingScreen<SmithingScreenHandler>- Mappings:
Namespace Name Mixin selector official aLens;a(Lega;IIF)Vintermediary method_25394Lnet/minecraft/class_4068;method_25394(Lnet/minecraft/class_4587;IIF)Vnamed renderLnet/minecraft/client/gui/Drawable;render(Lnet/minecraft/client/util/math/MatrixStack;IIF)V
-
drawBackground
- Overrides:
drawBackgroundin classForgingScreen<SmithingScreenHandler>- Mappings:
Namespace Name Mixin selector official aLesr;a(Lega;FII)Vintermediary method_2389Lnet/minecraft/class_465;method_2389(Lnet/minecraft/class_4587;FII)Vnamed drawBackgroundLnet/minecraft/client/gui/screen/ingame/HandledScreen;drawBackground(Lnet/minecraft/client/util/math/MatrixStack;FII)V
-
onSlotUpdate
- Specified by:
onSlotUpdatein interfaceScreenHandlerListener- Overrides:
onSlotUpdatein classForgingScreen<SmithingScreenHandler>- Mappings:
Namespace Name Mixin selector official aLcbc;a(Lcaq;ILcfh;)Vintermediary method_7635Lnet/minecraft/class_1712;method_7635(Lnet/minecraft/class_1703;ILnet/minecraft/class_1799;)Vnamed onSlotUpdateLnet/minecraft/screen/ScreenHandlerListener;onSlotUpdate(Lnet/minecraft/screen/ScreenHandler;ILnet/minecraft/item/ItemStack;)V
-
equipArmorStand
- Mappings:
Namespace Name Mixin selector official bLeuc;b(Lcfh;)Vintermediary method_48641Lnet/minecraft/class_4895;method_48641(Lnet/minecraft/class_1799;)Vnamed equipArmorStandLnet/minecraft/client/gui/screen/ingame/SmithingScreen;equipArmorStand(Lnet/minecraft/item/ItemStack;)V
-
drawInvalidRecipeArrow
- Specified by:
drawInvalidRecipeArrowin classForgingScreen<SmithingScreenHandler>- Mappings:
Namespace Name Mixin selector official cLetr;c(Lega;II)Vintermediary method_48467Lnet/minecraft/class_4894;method_48467(Lnet/minecraft/class_4587;II)Vnamed drawInvalidRecipeArrowLnet/minecraft/client/gui/screen/ingame/ForgingScreen;drawInvalidRecipeArrow(Lnet/minecraft/client/util/math/MatrixStack;II)V
-
renderSlotTooltip
- Mappings:
Namespace Name Mixin selector official dLeuc;d(Lega;II)Vintermediary method_48476Lnet/minecraft/class_4895;method_48476(Lnet/minecraft/class_4587;II)Vnamed renderSlotTooltipLnet/minecraft/client/gui/screen/ingame/SmithingScreen;renderSlotTooltip(Lnet/minecraft/client/util/math/MatrixStack;II)V
-
hasInvalidRecipe
private boolean hasInvalidRecipe()- Mappings:
Namespace Name Mixin selector official FLeuc;F()Zintermediary method_48474Lnet/minecraft/class_4895;method_48474()Znamed hasInvalidRecipeLnet/minecraft/client/gui/screen/ingame/SmithingScreen;hasInvalidRecipe()Z
-