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 named net/minecraft/client/gui/screen/ingame/SmithingScreen
intermediary net/minecraft/class_4895
official fvy
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.client.gui.screen.Screen
Screen.SelectedElementNarrationData
-
Field Summary
Modifier and TypeFieldDescriptionprivate final CyclingSlotIcon
private static final Quaternionf
private @Nullable ArmorStandEntity
private final CyclingSlotIcon
private static final Identifier
private static final Identifier
private static final List
<Identifier> private static final Identifier
private static final Text
private static final int
private static final int
private static final int
private static final int
private static final int
private static final int
private static final int
private static final int
private static final int
private static final int
private static final int
private static final int
private static final Vector3f
private static final Text
private final CyclingSlotIcon
Fields inherited from class net.minecraft.client.gui.screen.ingame.HandledScreen
BACKGROUND_TEXTURE, backgroundHeight, backgroundWidth, cursorDragging, cursorDragSlots, field_32322, field_52802, field_52803, focusedSlot, handler, playerInventoryTitle, playerInventoryTitleX, playerInventoryTitleY, titleX, titleY, x, y
Fields inherited from class net.minecraft.client.gui.screen.Screen
client, executor, FOOTER_SEPARATOR_TEXTURE, HEADER_SEPARATOR_TEXTURE, height, INWORLD_FOOTER_SEPARATOR_TEXTURE, INWORLD_HEADER_SEPARATOR_TEXTURE, MENU_BACKGROUND_TEXTURE, narratorToggleButton, PANORAMA_RENDERER, ROTATING_PANORAMA_RENDERER, textRenderer, title, width
Fields inherited from interface net.minecraft.client.gui.Element
MAX_DOUBLE_CLICK_INTERVAL
-
Constructor Summary
ConstructorDescriptionSmithingScreen
(SmithingScreenHandler handler, PlayerInventory playerInventory, Text title) -
Method Summary
Modifier and TypeMethodDescriptionprotected void
drawBackground
(DrawContext context, float delta, int mouseX, int mouseY) protected void
drawInvalidRecipeArrow
(DrawContext context, int x, int y) private void
equipArmorStand
(ItemStack stack) private Optional
<SmithingTemplateItem> void
private boolean
void
onSlotUpdate
(ScreenHandler handler, int slotId, ItemStack stack) void
render
(DrawContext context, int mouseX, int mouseY, float delta) private void
renderSlotTooltip
(DrawContext context, int mouseX, int mouseY) protected void
setup()
Methods inherited from class net.minecraft.client.gui.screen.ingame.ForgingScreen
init, onPropertyUpdate, removed, renderForeground
Methods inherited from class net.minecraft.client.gui.screen.ingame.HandledScreen
addTooltipSubmenuHandler, close, drawForeground, drawMouseoverTooltip, drawSlot, drawSlots, endTouchDrag, getScreenHandler, getTooltipFromItem, handleHotbarKeyPressed, isClickOutsideBounds, isPointWithinBounds, keyPressed, mouseClicked, mouseDragged, mouseReleased, mouseScrolled, onMouseClick, onMouseClick, onSlotChangedState, renderBackground, shouldPause, tick
Methods inherited from class net.minecraft.client.gui.screen.Screen
addCrashReportSection, addDrawable, addDrawableChild, addElementNarrations, addScreenNarrations, addSelectableChild, applyBlur, applyKeyPressNarratorDelay, applyMouseMoveNarratorDelay, applyMousePressScrollNarratorDelay, blur, children, clearAndInit, clearChildren, clearTooltip, filesDragged, findSelectedElementData, getMusic, getNarratedTitle, getNavigationFocus, getTextRenderer, getTitle, getTooltipFromItem, getUsageNarrationText, handleTextClick, hasAltDown, hasControlDown, hasShiftDown, hasUsageText, init, insertText, isCopy, isCut, isMouseOver, isPaste, isSelectAll, isValidCharacterForName, narrateScreenIfNarrationEnabled, onDisplayed, refreshNarrator, refreshWidgetPositions, remove, renderBackgroundTexture, renderDarkening, renderDarkening, renderInGameBackground, renderPanoramaBackground, renderWithTooltip, resize, setInitialFocus, setInitialFocus, setTooltip, setTooltip, setTooltip, setTooltip, shouldCloseOnEsc, shouldHideStatusEffectHud, switchFocus, updateNarrator
Methods inherited from class net.minecraft.client.gui.AbstractParentElement
getFocused, isDragging, setDragging, setFocused
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface net.minecraft.client.gui.Element
mouseMoved
Methods inherited from interface net.minecraft.client.gui.navigation.Navigable
getNavigationOrder
Methods inherited from interface net.minecraft.client.gui.ParentElement
charTyped, getFocusedPath, getNavigationPath, hoveredElement, isFocused, keyReleased, setFocused
-
Field Details
-
ERROR_TEXTURE
- Mappings:
Namespace Name Mixin selector named ERROR_TEXTURE
Lnet/minecraft/client/gui/screen/ingame/SmithingScreen;ERROR_TEXTURE:Lnet/minecraft/util/Identifier;
intermediary field_45498
Lnet/minecraft/class_4895;field_45498:Lnet/minecraft/class_2960;
official G
Lfvy;G:Lalz;
-
EMPTY_SLOT_SMITHING_TEMPLATE_ARMOR_TRIM_TEXTURE
- Mappings:
Namespace Name Mixin selector 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;
intermediary field_42052
Lnet/minecraft/class_4895;field_42052:Lnet/minecraft/class_2960;
official H
Lfvy;H:Lalz;
-
EMPTY_SLOT_SMITHING_TEMPLATE_NETHERITE_UPGRADE_TEXTURE
- Mappings:
Namespace Name Mixin selector 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;
intermediary field_42053
Lnet/minecraft/class_4895;field_42053:Lnet/minecraft/class_2960;
official I
Lfvy;I:Lalz;
-
MISSING_TEMPLATE_TOOLTIP
- Mappings:
Namespace Name Mixin selector named MISSING_TEMPLATE_TOOLTIP
Lnet/minecraft/client/gui/screen/ingame/SmithingScreen;MISSING_TEMPLATE_TOOLTIP:Lnet/minecraft/text/Text;
intermediary field_42054
Lnet/minecraft/class_4895;field_42054:Lnet/minecraft/class_2561;
official J
Lfvy;J:Lxv;
-
ERROR_TOOLTIP
- Mappings:
Namespace Name Mixin selector named ERROR_TOOLTIP
Lnet/minecraft/client/gui/screen/ingame/SmithingScreen;ERROR_TOOLTIP:Lnet/minecraft/text/Text;
intermediary field_42055
Lnet/minecraft/class_4895;field_42055:Lnet/minecraft/class_2561;
official K
Lfvy;K:Lxv;
-
EMPTY_SLOT_TEXTURES
- Mappings:
Namespace Name Mixin selector named EMPTY_SLOT_TEXTURES
Lnet/minecraft/client/gui/screen/ingame/SmithingScreen;EMPTY_SLOT_TEXTURES:Ljava/util/List;
intermediary field_42056
Lnet/minecraft/class_4895;field_42056:Ljava/util/List;
official L
Lfvy;L:Ljava/util/List;
-
field_42057
private static final int field_42057- See Also:
- Mappings:
Namespace Name Mixin selector named field_42057
Lnet/minecraft/client/gui/screen/ingame/SmithingScreen;field_42057:I
intermediary field_42057
Lnet/minecraft/class_4895;field_42057:I
official M
Lfvy;M:I
-
field_42058
private static final int field_42058- See Also:
- Mappings:
Namespace Name Mixin selector named field_42058
Lnet/minecraft/client/gui/screen/ingame/SmithingScreen;field_42058:I
intermediary field_42058
Lnet/minecraft/class_4895;field_42058:I
official N
Lfvy;N:I
-
field_42059
private static final int field_42059- See Also:
- Mappings:
Namespace Name Mixin selector named field_42059
Lnet/minecraft/client/gui/screen/ingame/SmithingScreen;field_42059:I
intermediary field_42059
Lnet/minecraft/class_4895;field_42059:I
official O
Lfvy;O:I
-
field_42060
private static final int field_42060- See Also:
- Mappings:
Namespace Name Mixin selector named field_42060
Lnet/minecraft/client/gui/screen/ingame/SmithingScreen;field_42060:I
intermediary field_42060
Lnet/minecraft/class_4895;field_42060:I
official P
Lfvy;P:I
-
field_42061
private static final int field_42061- See Also:
- Mappings:
Namespace Name Mixin selector named field_42061
Lnet/minecraft/client/gui/screen/ingame/SmithingScreen;field_42061:I
intermediary field_42061
Lnet/minecraft/class_4895;field_42061:I
official Q
Lfvy;Q:I
-
field_42062
private static final int field_42062- See Also:
- Mappings:
Namespace Name Mixin selector named field_42062
Lnet/minecraft/client/gui/screen/ingame/SmithingScreen;field_42062:I
intermediary field_42062
Lnet/minecraft/class_4895;field_42062:I
official R
Lfvy;R:I
-
field_42063
private static final int field_42063- See Also:
- Mappings:
Namespace Name Mixin selector named field_42063
Lnet/minecraft/client/gui/screen/ingame/SmithingScreen;field_42063:I
intermediary field_42063
Lnet/minecraft/class_4895;field_42063:I
official S
Lfvy;S:I
-
field_42068
private static final int field_42068- See Also:
- Mappings:
Namespace Name Mixin selector named field_42068
Lnet/minecraft/client/gui/screen/ingame/SmithingScreen;field_42068:I
intermediary field_42068
Lnet/minecraft/class_4895;field_42068:I
official T
Lfvy;T:I
-
field_42047
private static final int field_42047- See Also:
- Mappings:
Namespace Name Mixin selector named field_42047
Lnet/minecraft/client/gui/screen/ingame/SmithingScreen;field_42047:I
intermediary field_42047
Lnet/minecraft/class_4895;field_42047:I
official U
Lfvy;U:I
-
field_45497
- Mappings:
Namespace Name Mixin selector named field_45497
Lnet/minecraft/client/gui/screen/ingame/SmithingScreen;field_45497:Lorg/joml/Vector3f;
intermediary field_45497
Lnet/minecraft/class_4895;field_45497:Lorg/joml/Vector3f;
official V
Lfvy;V:Lorg/joml/Vector3f;
-
ARMOR_STAND_ROTATION
- Mappings:
Namespace Name Mixin selector named ARMOR_STAND_ROTATION
Lnet/minecraft/client/gui/screen/ingame/SmithingScreen;ARMOR_STAND_ROTATION:Lorg/joml/Quaternionf;
intermediary field_42048
Lnet/minecraft/class_4895;field_42048:Lorg/joml/Quaternionf;
official W
Lfvy;W:Lorg/joml/Quaternionf;
-
field_42049
private static final int field_42049- See Also:
- Mappings:
Namespace Name Mixin selector named field_42049
Lnet/minecraft/client/gui/screen/ingame/SmithingScreen;field_42049:I
intermediary field_42049
Lnet/minecraft/class_4895;field_42049:I
official X
Lfvy;X:I
-
field_42050
private static final int field_42050- See Also:
- Mappings:
Namespace Name Mixin selector named field_42050
Lnet/minecraft/client/gui/screen/ingame/SmithingScreen;field_42050:I
intermediary field_42050
Lnet/minecraft/class_4895;field_42050:I
official Y
Lfvy;Y:I
-
field_42051
private static final int field_42051- See Also:
- Mappings:
Namespace Name Mixin selector named field_42051
Lnet/minecraft/client/gui/screen/ingame/SmithingScreen;field_42051:I
intermediary field_42051
Lnet/minecraft/class_4895;field_42051:I
official Z
Lfvy;Z:I
-
templateSlotIcon
- Mappings:
Namespace Name Mixin selector named templateSlotIcon
Lnet/minecraft/client/gui/screen/ingame/SmithingScreen;templateSlotIcon:Lnet/minecraft/client/gui/screen/ingame/CyclingSlotIcon;
intermediary field_42064
Lnet/minecraft/class_4895;field_42064:Lnet/minecraft/class_8064;
official aa
Lfvy;aa:Lfvd;
-
baseSlotIcon
- Mappings:
Namespace Name Mixin selector named baseSlotIcon
Lnet/minecraft/client/gui/screen/ingame/SmithingScreen;baseSlotIcon:Lnet/minecraft/client/gui/screen/ingame/CyclingSlotIcon;
intermediary field_42065
Lnet/minecraft/class_4895;field_42065:Lnet/minecraft/class_8064;
official ab
Lfvy;ab:Lfvd;
-
additionsSlotIcon
- Mappings:
Namespace Name Mixin selector named additionsSlotIcon
Lnet/minecraft/client/gui/screen/ingame/SmithingScreen;additionsSlotIcon:Lnet/minecraft/client/gui/screen/ingame/CyclingSlotIcon;
intermediary field_42066
Lnet/minecraft/class_4895;field_42066:Lnet/minecraft/class_8064;
official ac
Lfvy;ac:Lfvd;
-
armorStand
- Mappings:
Namespace Name Mixin selector named armorStand
Lnet/minecraft/client/gui/screen/ingame/SmithingScreen;armorStand:Lnet/minecraft/entity/decoration/ArmorStandEntity;
intermediary field_42067
Lnet/minecraft/class_4895;field_42067:Lnet/minecraft/class_1531;
official ad
Lfvy;ad:Lclp;
-
-
Constructor Details
-
SmithingScreen
- Mappings:
Namespace Name Mixin selector named <init>
Lnet/minecraft/client/gui/screen/ingame/SmithingScreen;<init>(Lnet/minecraft/screen/SmithingScreenHandler;Lnet/minecraft/entity/player/PlayerInventory;Lnet/minecraft/text/Text;)V
intermediary <init>
Lnet/minecraft/class_4895;<init>(Lnet/minecraft/class_4862;Lnet/minecraft/class_1661;Lnet/minecraft/class_2561;)V
official <init>
Lfvy;<init>(Lcvb;Lcpv;Lxv;)V
-
-
Method Details
-
setup
protected void setup()- Overrides:
setup
in classForgingScreen<SmithingScreenHandler>
- Mappings:
Namespace Name Mixin selector named setup
Lnet/minecraft/client/gui/screen/ingame/ForgingScreen;setup()V
intermediary method_25445
Lnet/minecraft/class_4894;method_25445()V
official G
Lfvo;G()V
-
handledScreenTick
public void handledScreenTick()- Overrides:
handledScreenTick
in classHandledScreen<SmithingScreenHandler>
- Mappings:
Namespace Name Mixin selector named handledScreenTick
Lnet/minecraft/client/gui/screen/ingame/HandledScreen;handledScreenTick()V
intermediary method_37432
Lnet/minecraft/class_465;method_37432()V
official E
Lfum;E()V
-
getSmithingTemplate
- Mappings:
Namespace Name Mixin selector named getSmithingTemplate
Lnet/minecraft/client/gui/screen/ingame/SmithingScreen;getSmithingTemplate()Ljava/util/Optional;
intermediary method_48473
Lnet/minecraft/class_4895;method_48473()Ljava/util/Optional;
official J
Lfvy;J()Ljava/util/Optional;
-
render
- Specified by:
render
in interfaceDrawable
- Overrides:
render
in classForgingScreen<SmithingScreenHandler>
- Mappings:
Namespace Name Mixin selector named render
Lnet/minecraft/client/gui/Drawable;render(Lnet/minecraft/client/gui/DrawContext;IIF)V
intermediary method_25394
Lnet/minecraft/class_4068;method_25394(Lnet/minecraft/class_332;IIF)V
official a
Lfpi;a(Lfnr;IIF)V
-
drawBackground
- Overrides:
drawBackground
in classForgingScreen<SmithingScreenHandler>
- Mappings:
Namespace Name Mixin selector named drawBackground
Lnet/minecraft/client/gui/screen/ingame/HandledScreen;drawBackground(Lnet/minecraft/client/gui/DrawContext;FII)V
intermediary method_2389
Lnet/minecraft/class_465;method_2389(Lnet/minecraft/class_332;FII)V
official a
Lfum;a(Lfnr;FII)V
-
onSlotUpdate
- Specified by:
onSlotUpdate
in interfaceScreenHandlerListener
- Overrides:
onSlotUpdate
in classForgingScreen<SmithingScreenHandler>
- Mappings:
Namespace Name Mixin selector named onSlotUpdate
Lnet/minecraft/screen/ScreenHandlerListener;onSlotUpdate(Lnet/minecraft/screen/ScreenHandler;ILnet/minecraft/item/ItemStack;)V
intermediary method_7635
Lnet/minecraft/class_1712;method_7635(Lnet/minecraft/class_1703;ILnet/minecraft/class_1799;)V
official a
Lctp;a(Lctb;ILcxo;)V
-
equipArmorStand
- Mappings:
Namespace Name Mixin selector named equipArmorStand
Lnet/minecraft/client/gui/screen/ingame/SmithingScreen;equipArmorStand(Lnet/minecraft/item/ItemStack;)V
intermediary method_48641
Lnet/minecraft/class_4895;method_48641(Lnet/minecraft/class_1799;)V
official b
Lfvy;b(Lcxo;)V
-
drawInvalidRecipeArrow
- Specified by:
drawInvalidRecipeArrow
in classForgingScreen<SmithingScreenHandler>
- Mappings:
Namespace Name Mixin selector named drawInvalidRecipeArrow
Lnet/minecraft/client/gui/screen/ingame/ForgingScreen;drawInvalidRecipeArrow(Lnet/minecraft/client/gui/DrawContext;II)V
intermediary method_48467
Lnet/minecraft/class_4894;method_48467(Lnet/minecraft/class_332;II)V
official c
Lfvo;c(Lfnr;II)V
-
renderSlotTooltip
- Mappings:
Namespace Name Mixin selector named renderSlotTooltip
Lnet/minecraft/client/gui/screen/ingame/SmithingScreen;renderSlotTooltip(Lnet/minecraft/client/gui/DrawContext;II)V
intermediary method_48476
Lnet/minecraft/class_4895;method_48476(Lnet/minecraft/class_332;II)V
official d
Lfvy;d(Lfnr;II)V
-
hasInvalidRecipe
private boolean hasInvalidRecipe()- Mappings:
Namespace Name Mixin selector named hasInvalidRecipe
Lnet/minecraft/client/gui/screen/ingame/SmithingScreen;hasInvalidRecipe()Z
intermediary method_48474
Lnet/minecraft/class_4895;method_48474()Z
official K
Lfvy;K()Z
-