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:
class_8083,Drawable,Element,ParentElement,ScreenHandlerProvider<SmithingScreenHandler>,ScreenHandlerListener
- Mappings:
Namespace Name official etnintermediary 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 Optional<SmithingTemplateItem>voidprivate booleanprivate voidmethod_48641(ItemStack itemStack) voidonSlotUpdate(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, insertText, isCopy, isCut, isMouseOver, isPaste, isSelectAll, isValidCharacterForName, method_48640, 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, drawCenteredText, drawCenteredText, drawCenteredTextWithShadow, drawHorizontalLine, drawSprite, drawSprite, drawStringWithShadow, drawTexture, drawTexture, drawTexture, drawTexture, drawTextWithShadow, drawVerticalLine, drawWithOutline, drawWithShadow, enableScissor, fill, fill, fillGradient, fillGradient, fillGradient, getZOffset, method_48585, method_48586, method_48587, setZOffsetMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.minecraft.class_8083
method_48590Methods inherited from interface net.minecraft.client.gui.Element
mouseMovedMethods 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 FLetn;F:Lacs;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 GLetn;G:Lacs;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 HLetn;H:Lacs;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 ILetn;I:Lta;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 JLetn;J:Lta;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 KLetn;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 LLetn;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 MLetn;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 NLetn;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 OLetn;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 PLetn;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 QLetn;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 RLetn;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 zLetn;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 ALetn;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 BLetn;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 CLetn;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 DLetn;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 ELetn;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 SLetn;S:Lesr;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 TLetn;T:Lesr;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 ULetn;U:Lesr;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 VLetn;V:Lbtw;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>Letn;<init>(Lcby;Lbxm;Lta;)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 DLetc;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 BLesc;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 ELetn;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 aLenf;a(Lefn;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 aLesc;a(Lefn;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 aLcaq;a(Lcae;ILcet;)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
-
method_48641
- Mappings:
Namespace Name Mixin selector official bLetn;b(Lcet;)Vintermediary method_48641Lnet/minecraft/class_4895;method_48641(Lnet/minecraft/class_1799;)Vnamed method_48641Lnet/minecraft/client/gui/screen/ingame/SmithingScreen;method_48641(Lnet/minecraft/item/ItemStack;)V
-
drawInvalidRecipeArrow
- Specified by:
drawInvalidRecipeArrowin classForgingScreen<SmithingScreenHandler>- Mappings:
Namespace Name Mixin selector official cLetc;c(Lefn;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 dLetn;d(Lefn;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 FLetn;F()Zintermediary method_48474Lnet/minecraft/class_4895;method_48474()Znamed hasInvalidRecipeLnet/minecraft/client/gui/screen/ingame/SmithingScreen;hasInvalidRecipe()Z
-