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 ewaintermediary 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, field_44669, height, textRenderer, title, widthFields 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(DrawableHelper drawableHelper, float delta, int mouseX, int mouseY) protected voiddrawInvalidRecipeArrow(DrawableHelper drawableHelper, int x, int y) private voidequipArmorStand(ItemStack stack) private Optional<SmithingTemplateItem>voidprivate booleanvoidonSlotUpdate(ScreenHandler handler, int slotId, ItemStack stack) voidrender(DrawableHelper drawableHelper, int mouseX, int mouseY, float delta) private voidrenderSlotTooltip(DrawableHelper drawableHelper, 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, method_51454, 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, 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.AbstractParentElement
getFocused, isDragging, setDragging, setFocusedMethods 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 CLewa;C:Lacq;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 DLewa;D:Lacq;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 ELewa;E:Lacq;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 FLewa;F:Lsw;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 GLewa;G:Lsw;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 HLewa;H: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 ILewa;I: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 JLewa;J: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 KLewa;K: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 LLewa;L: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 MLewa;M: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 NLewa;N: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 OLewa;O: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 vLewa;v: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 wLewa;w: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 xLewa;x: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 yLewa;y: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 zLewa;z: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 ALewa;A: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 PLewa;P:Levf;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 QLewa;Q:Levf;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 RLewa;R:Levf;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 SLewa;S:Lbup;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>Lewa;<init>(Lccq;Lbyf;Lsw;)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 DLevq;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 BLeuq;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 ELewa;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 aLepn;a(Leoe;IIF)Vintermediary method_25394Lnet/minecraft/class_4068;method_25394(Lnet/minecraft/class_332;IIF)Vnamed renderLnet/minecraft/client/gui/Drawable;render(Lnet/minecraft/client/gui/DrawableHelper;IIF)V
-
drawBackground
- Overrides:
drawBackgroundin classForgingScreen<SmithingScreenHandler>- Mappings:
Namespace Name Mixin selector official aLeuq;a(Leoe;FII)Vintermediary method_2389Lnet/minecraft/class_465;method_2389(Lnet/minecraft/class_332;FII)Vnamed drawBackgroundLnet/minecraft/client/gui/screen/ingame/HandledScreen;drawBackground(Lnet/minecraft/client/gui/DrawableHelper;FII)V
-
onSlotUpdate
- Specified by:
onSlotUpdatein interfaceScreenHandlerListener- Overrides:
onSlotUpdatein classForgingScreen<SmithingScreenHandler>- Mappings:
Namespace Name Mixin selector official aLcbj;a(Lcax;ILcfq;)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 bLewa;b(Lcfq;)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 cLevq;c(Leoe;II)Vintermediary method_48467Lnet/minecraft/class_4894;method_48467(Lnet/minecraft/class_332;II)Vnamed drawInvalidRecipeArrowLnet/minecraft/client/gui/screen/ingame/ForgingScreen;drawInvalidRecipeArrow(Lnet/minecraft/client/gui/DrawableHelper;II)V
-
renderSlotTooltip
- Mappings:
Namespace Name Mixin selector official dLewa;d(Leoe;II)Vintermediary method_48476Lnet/minecraft/class_4895;method_48476(Lnet/minecraft/class_332;II)Vnamed renderSlotTooltipLnet/minecraft/client/gui/screen/ingame/SmithingScreen;renderSlotTooltip(Lnet/minecraft/client/gui/DrawableHelper;II)V
-
hasInvalidRecipe
private boolean hasInvalidRecipe()- Mappings:
Namespace Name Mixin selector official FLewa;F()Zintermediary method_48474Lnet/minecraft/class_4895;method_48474()Znamed hasInvalidRecipeLnet/minecraft/client/gui/screen/ingame/SmithingScreen;hasInvalidRecipe()Z
-