Class SmithingScreen
java.lang.Object
net.minecraft.client.gui.AbstractParentElement
net.minecraft.client.gui.screen.Screen
net.minecraft.client.gui.screen.ingame.HandledScreen<SmithingScreenHandler>
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 fmgintermediary 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 CyclingSlotIconprivate static final Quaternionfprivate @Nullable ArmorStandEntityprivate final CyclingSlotIconprivate static final Identifierprivate static final Identifierprivate static final List<Identifier> private static final Identifierprivate static final Textprivate static final intprivate static final intprivate static final intprivate static final intprivate static final intprivate static final intprivate static final intprivate static final intprivate static final intprivate static final intprivate static final intprivate static final intprivate static final Vector3fprivate static final Textprivate final CyclingSlotIconFields 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, executor, height, MENU_BACKGROUND_TEXTURE, PANORAMA_OVERLAY_TEXTURE, PANORAMA_RENDERER, ROTATING_PANORAMA_RENDERER, 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(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.ForgingScreen
init, onPropertyUpdate, removed, renderForegroundMethods inherited from class net.minecraft.client.gui.screen.ingame.HandledScreen
close, drawForeground, drawMouseoverTooltip, drawSlot, drawSlotHighlight, endTouchDrag, getScreenHandler, getTooltipFromItem, handleHotbarKeyPressed, isClickOutsideBounds, isPointWithinBounds, keyPressed, mouseClicked, mouseDragged, mouseReleased, onMouseClick, onSlotChangedState, renderBackground, shouldPause, tickMethods inherited from class net.minecraft.client.gui.screen.Screen
addDrawable, addDrawableChild, addElementNarrations, addScreenNarrations, addSelectableChild, applyBlur, applyKeyPressNarratorDelay, applyMouseMoveNarratorDelay, applyMousePressScrollNarratorDelay, applyNarratorModeChangeDelay, blur, children, clearAndInit, clearChildren, filesDragged, findSelectedElementData, getMusic, getNarratedTitle, getNavigationFocus, getTitle, getTooltipFromItem, getUsageNarrationText, handleTextClick, hasAltDown, hasControlDown, hasShiftDown, hasUsageText, hide, init, initTabNavigation, insertText, isCopy, isCut, isMouseOver, isPaste, isSelectAll, isValidCharacterForName, narrateScreenIfNarrationEnabled, onDisplayed, remove, renderBackgroundTexture, renderDarkening, renderDarkening, renderInGameBackground, renderPanoramaBackground, renderWithTooltip, resize, setInitialFocus, 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, getFocusedPath, getNavigationPath, hoveredElement, isFocused, keyReleased, mouseScrolled, setFocused
-
Field Details
-
ERROR_TEXTURE
- Mappings:
Namespace Name Mixin selector official ALfmg;A:Lajv;intermediary field_45498Lnet/minecraft/class_4895;field_45498:Lnet/minecraft/class_2960;named ERROR_TEXTURELnet/minecraft/client/gui/screen/ingame/SmithingScreen;ERROR_TEXTURE:Lnet/minecraft/util/Identifier;
-
EMPTY_SLOT_SMITHING_TEMPLATE_ARMOR_TRIM_TEXTURE
- Mappings:
Namespace Name Mixin selector official BLfmg;B:Lajv;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 CLfmg;C:Lajv;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 DLfmg;D:Lwi;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 ELfmg;E:Lwi;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 FLfmg;F: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 GLfmg;G: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 HLfmg;H: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 ILfmg;I: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 JLfmg;J: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 KLfmg;K: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 LLfmg;L: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 MLfmg;M:Iintermediary field_42063Lnet/minecraft/class_4895;field_42063:Inamed field_42063Lnet/minecraft/client/gui/screen/ingame/SmithingScreen;field_42063:I
-
field_42068
private static final int field_42068- See Also:
- Mappings:
Namespace Name Mixin selector official NLfmg;N:Iintermediary field_42068Lnet/minecraft/class_4895;field_42068:Inamed field_42068Lnet/minecraft/client/gui/screen/ingame/SmithingScreen;field_42068:I
-
field_42047
private static final int field_42047- See Also:
- Mappings:
Namespace Name Mixin selector official OLfmg;O:Iintermediary field_42047Lnet/minecraft/class_4895;field_42047:Inamed field_42047Lnet/minecraft/client/gui/screen/ingame/SmithingScreen;field_42047:I
-
field_45497
- Mappings:
Namespace Name Mixin selector official PLfmg;P:Lorg/joml/Vector3f;intermediary field_45497Lnet/minecraft/class_4895;field_45497:Lorg/joml/Vector3f;named field_45497Lnet/minecraft/client/gui/screen/ingame/SmithingScreen;field_45497:Lorg/joml/Vector3f;
-
ARMOR_STAND_ROTATION
- Mappings:
Namespace Name Mixin selector official QLfmg;Q: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
private static final int field_42049- See Also:
- Mappings:
Namespace Name Mixin selector official RLfmg;R:Iintermediary field_42049Lnet/minecraft/class_4895;field_42049:Inamed field_42049Lnet/minecraft/client/gui/screen/ingame/SmithingScreen;field_42049:I
-
field_42050
private static final int field_42050- See Also:
- Mappings:
Namespace Name Mixin selector official SLfmg;S:Iintermediary field_42050Lnet/minecraft/class_4895;field_42050:Inamed field_42050Lnet/minecraft/client/gui/screen/ingame/SmithingScreen;field_42050:I
-
field_42051
private static final int field_42051- See Also:
- Mappings:
Namespace Name Mixin selector official TLfmg;T: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 ULfmg;U:Lfll;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 VLfmg;V:Lfll;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 WLfmg;W:Lfll;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 XLfmg;X:Lcga;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>Lfmg;<init>(Lcov;Lcjz;Lwi;)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 ELflw;E()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 CLfkv;C()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 FLfmg;F()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 aLffb;a(Lfdl;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/DrawContext;IIF)V
-
drawBackground
- Overrides:
drawBackgroundin classForgingScreen<SmithingScreenHandler>- Mappings:
Namespace Name Mixin selector official aLfkv;a(Lfdl;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/DrawContext;FII)V
-
onSlotUpdate
- Specified by:
onSlotUpdatein interfaceScreenHandlerListener- Overrides:
onSlotUpdatein classForgingScreen<SmithingScreenHandler>- Mappings:
Namespace Name Mixin selector official aLcni;a(Lcmw;ILcrs;)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 bLfmg;b(Lcrs;)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 cLflw;c(Lfdl;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/DrawContext;II)V
-
renderSlotTooltip
- Mappings:
Namespace Name Mixin selector official dLfmg;d(Lfdl;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/DrawContext;II)V
-
hasInvalidRecipe
private boolean hasInvalidRecipe()- Mappings:
Namespace Name Mixin selector official ILfmg;I()Zintermediary method_48474Lnet/minecraft/class_4895;method_48474()Znamed hasInvalidRecipeLnet/minecraft/client/gui/screen/ingame/SmithingScreen;hasInvalidRecipe()Z
-