net.minecraft.client.gui.screen.ingame

public class SmithingScreen

extends ForgingScreen<SmithingScreenHandler>

All mapped superinterfaces:

ParentElement, Element, Navigable, Drawable, ScreenHandlerProvider, ScreenHandlerListener

net.minecraft.client.gui.screens.inventory.SmithingScreen
net.minecraft.class_4895
net.minecraft.client.gui.screen.ingame.SmithingScreen

Field summary

Modifier and TypeField
private static final Identifier
ERROR_SPRITE
field_45498
ERROR_TEXTURE
private static final Identifier
EMPTY_SLOT_SMITHING_TEMPLATE_ARMOR_TRIM
field_42052
EMPTY_SLOT_SMITHING_TEMPLATE_ARMOR_TRIM_TEXTURE
private static final Identifier
EMPTY_SLOT_SMITHING_TEMPLATE_NETHERITE_UPGRADE
field_42053
EMPTY_SLOT_SMITHING_TEMPLATE_NETHERITE_UPGRADE_TEXTURE
private static final Text
MISSING_TEMPLATE_TOOLTIP
field_42054
MISSING_TEMPLATE_TOOLTIP
private static final Text
ERROR_TOOLTIP
field_42055
ERROR_TOOLTIP
private static final List<Identifier>
EMPTY_SLOT_SMITHING_TEMPLATES
field_42056
EMPTY_SLOT_TEXTURES
private static final int
TITLE_LABEL_X
field_42057
field_42057
private static final int
TITLE_LABEL_Y
field_42058
field_42058
private static final int
ERROR_ICON_WIDTH
field_42059
field_42059
private static final int
ERROR_ICON_HEIGHT
field_42060
field_42060
private static final int
ERROR_ICON_X
field_42061
field_42061
private static final int
ERROR_ICON_Y
field_42062
field_42062
private static final int
TOOLTIP_WIDTH
field_42063
field_42063
private static final int
ARMOR_STAND_Y_ROT
field_42068
field_42068
private static final int
ARMOR_STAND_X_ROT
field_42047
field_42047
private static final org.joml.Vector3f
ARMOR_STAND_TRANSLATION
field_45497
ARMOR_STAND_TRANSLATION
private static final org.joml.Quaternionf
ARMOR_STAND_ANGLE
field_42048
ARMOR_STAND_ROTATION
private static final int
ARMOR_STAND_SCALE
field_42049
field_42049
private static final int
ARMOR_STAND_LEFT
field_59946
field_59946
private static final int
ARMOR_STAND_TOP
field_59947
field_59947
private static final int
ARMOR_STAND_RIGHT
field_59948
field_59948
private static final int
ARMOR_STAND_BOTTOM
field_59949
field_59949
private final CyclingSlotIcon
templateIcon
field_42064
templateSlotIcon
private final CyclingSlotIcon
baseIcon
field_42065
baseSlotIcon
private final CyclingSlotIcon
additionalIcon
field_42066
additionsSlotIcon
private final ArmorStandEntityRenderState
armorStandPreview
field_42067
armorStand

Constructor summary

ModifierConstructor
public (SmithingScreenHandler handler, PlayerInventory playerInventory, Text title)

Method summary

Modifier and TypeMethod
protected void
subInit()
method_25445()
setup()
public void
containerTick()
method_37432()
handledScreenTick()
private Optional<SmithingTemplateItem>
getTemplateItem()
method_48473()
getSmithingTemplate()
public void
extractRenderState(GuiGraphicsExtractor graphics, int mouseX, int mouseY, float a)
method_25394(class_332 arg0, int arg1, int arg2, float arg3)
render(DrawContext arg0, int arg1, int arg2, float arg3)
public void
extractBackground(GuiGraphicsExtractor graphics, int mouseX, int mouseY, float a)
method_25420(class_332 arg0, int arg1, int arg2, float arg3)
renderBackground(DrawContext arg0, int arg1, int arg2, float arg3)
public void
slotChanged(AbstractContainerMenu container, int slotIndex, ItemStack itemStack)
method_7635(class_1703 arg0, int arg1, class_1799 arg2)
onSlotUpdate(ScreenHandler arg0, int arg1, ItemStack arg2)
private void
updateArmorStandPreview(ItemStack itemStack)
method_48641(class_1799 arg0)
equipArmorStand(ItemStack stack)
protected void
extractErrorIcon(GuiGraphicsExtractor graphics, int xo, int yo)
method_48467(class_332 arg0, int arg1, int arg2)
drawInvalidRecipeArrow(DrawContext arg0, int arg1, int arg2)
private void
extractOnboardingTooltips(GuiGraphicsExtractor graphics, int mouseX, int mouseY)
method_48476(class_332 arg0, int arg1, int arg2)
renderSlotTooltip(DrawContext context, int mouseX, int mouseY)
private boolean
hasRecipeError()
method_48474()
hasInvalidRecipe()
private void
lambda$extractOnboardingTooltips$0(GuiGraphicsExtractor arg0, int arg1, int arg2, Component arg3)
method_48475(class_332 arg0, int arg1, int arg2, class_2561 arg3)
method_48475(DrawContext arg0, int arg1, int arg2, Text text)