类 SmithingScreen
java.lang.Object
net.minecraft.client.gui.components.events.AbstractContainerEventHandler
net.minecraft.client.gui.screens.Screen
net.minecraft.client.gui.screens.inventory.AbstractContainerScreen<SmithingMenu>
net.minecraft.client.gui.screens.inventory.ItemCombinerScreen<SmithingMenu>
net.minecraft.client.gui.screens.inventory.SmithingScreen
- 所有已实现的接口:
ContainerEventHandler
,GuiEventListener
,Renderable
,TabOrderedElement
,MenuAccess<SmithingMenu>
,ContainerListener
-
嵌套类概要
从类继承的嵌套类/接口 net.minecraft.client.gui.screens.Screen
Screen.NarratableSearchResult
-
字段概要
字段修饰符和类型字段说明private final CyclingSlotBackground
private static final org.joml.Quaternionf
private static final int
private static final int
private static final int
private static final org.joml.Vector3f
private static final int
private static final int
private ArmorStand
private final CyclingSlotBackground
private static final ResourceLocation
private static final ResourceLocation
private static final List
<ResourceLocation> private static final int
private static final int
private static final int
private static final int
private static final ResourceLocation
private static final Component
private static final Component
private final CyclingSlotBackground
private static final int
private static final int
private static final int
从类继承的字段 net.minecraft.client.gui.screens.inventory.AbstractContainerScreen
BACKGROUND_TEXTURE_HEIGHT, BACKGROUND_TEXTURE_WIDTH, hoveredSlot, imageHeight, imageWidth, INVENTORY_LOCATION, inventoryLabelX, inventoryLabelY, isQuickCrafting, leftPos, menu, playerInventoryTitle, quickCraftSlots, SLOT_ITEM_BLIT_OFFSET, titleLabelX, titleLabelY, topPos
从类继承的字段 net.minecraft.client.gui.screens.Screen
CUBE_MAP, font, FOOTER_SEPARATOR, HEADER_SEPARATOR, height, INWORLD_FOOTER_SEPARATOR, INWORLD_HEADER_SEPARATOR, MENU_BACKGROUND, minecraft, narratorButton, PANORAMA, renderables, screenExecutor, title, width
从接口继承的字段 net.minecraft.client.gui.components.events.GuiEventListener
DOUBLE_CLICK_THRESHOLD_MS
-
构造器概要
构造器 -
方法概要
修饰符和类型方法说明void
private Optional
<SmithingTemplateItem> private boolean
void
render
(GuiGraphics p_281961_, int p_282410_, int p_283013_, float p_282408_) protected void
renderBg
(GuiGraphics p_283264_, float p_267158_, int p_267266_, int p_266722_) protected void
renderErrorIcon
(GuiGraphics p_281835_, int p_283389_, int p_282634_) private void
renderOnboardingTooltips
(GuiGraphics p_281668_, int p_267192_, int p_266859_) void
slotChanged
(AbstractContainerMenu p_267217_, int p_266842_, ItemStack p_267208_) protected void
subInit()
private void
updateArmorStandPreview
(ItemStack p_268225_) 从类继承的方法 net.minecraft.client.gui.screens.inventory.ItemCombinerScreen
dataChanged, init, removed, renderFg
从类继承的方法 net.minecraft.client.gui.screens.inventory.AbstractContainerScreen
addItemSlotMouseAction, checkHotbarKeyPressed, clearDraggingState, getGuiLeft, getGuiTop, getMenu, getSlotUnderMouse, getTooltipFromContainerItem, getXSize, getYSize, handleSlotStateChanged, hasClickedOutside, isHovering, isPauseScreen, keyPressed, mouseClicked, mouseDragged, mouseReleased, mouseScrolled, onClose, onMouseClickAction, renderBackground, renderLabels, renderSlot, renderSlotHighlightBack, renderSlotHighlightFront, renderSlots, renderTooltip, slotClicked, tick
从类继承的方法 net.minecraft.client.gui.screens.Screen
added, addRenderableOnly, addRenderableWidget, addWidget, afterKeyboardAction, afterMouseAction, afterMouseMove, changeFocus, children, clearFocus, clearTooltipForNextRenderPass, clearWidgets, fillCrashDetails, findNarratableWidget, getBackgroundMusic, getFont, getMinecraft, getNarrationMessage, getRectangle, getTitle, getTooltipFromItem, getUsageNarration, handleComponentClicked, handleDelayedNarration, hasAltDown, hasControlDown, hasShiftDown, init, insertText, isCopy, isCut, isMouseOver, isPaste, isSelectAll, isValidCharacterForName, onFilesDrop, rebuildWidgets, removeWidget, renderBlurredBackground, renderMenuBackground, renderMenuBackground, renderMenuBackgroundTexture, renderPanorama, renderTransparentBackground, renderWithTooltip, repositionElements, resize, setInitialFocus, setInitialFocus, setTooltipForNextRenderPass, setTooltipForNextRenderPass, setTooltipForNextRenderPass, setTooltipForNextRenderPass, shouldCloseOnEsc, shouldNarrateNavigation, showsActiveEffects, triggerImmediateNarration, updateNarratedWidget, updateNarrationState, updateNarratorStatus
从类继承的方法 net.minecraft.client.gui.components.events.AbstractContainerEventHandler
getFocused, isDragging, setDragging, setFocused
从类继承的方法 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
从接口继承的方法 net.minecraft.client.gui.components.events.ContainerEventHandler
charTyped, getChildAt, getCurrentFocusPath, isFocused, keyReleased, nextFocusPath, setFocused
从接口继承的方法 net.minecraft.client.gui.components.events.GuiEventListener
getBorderForArrowNavigation, mouseMoved
从接口继承的方法 net.minecraft.client.gui.components.TabOrderedElement
getTabOrderGroup
-
字段详细资料
-
ERROR_SPRITE
-
EMPTY_SLOT_SMITHING_TEMPLATE_ARMOR_TRIM
-
EMPTY_SLOT_SMITHING_TEMPLATE_NETHERITE_UPGRADE
-
MISSING_TEMPLATE_TOOLTIP
-
ERROR_TOOLTIP
-
EMPTY_SLOT_SMITHING_TEMPLATES
-
TITLE_LABEL_X
private static final int TITLE_LABEL_X- 另请参阅:
-
TITLE_LABEL_Y
private static final int TITLE_LABEL_Y- 另请参阅:
-
ERROR_ICON_WIDTH
private static final int ERROR_ICON_WIDTH- 另请参阅:
-
ERROR_ICON_HEIGHT
private static final int ERROR_ICON_HEIGHT- 另请参阅:
-
ERROR_ICON_X
private static final int ERROR_ICON_X- 另请参阅:
-
ERROR_ICON_Y
private static final int ERROR_ICON_Y- 另请参阅:
-
TOOLTIP_WIDTH
private static final int TOOLTIP_WIDTH- 另请参阅:
-
ARMOR_STAND_Y_ROT
private static final int ARMOR_STAND_Y_ROT- 另请参阅:
-
ARMOR_STAND_X_ROT
private static final int ARMOR_STAND_X_ROT- 另请参阅:
-
ARMOR_STAND_TRANSLATION
private static final org.joml.Vector3f ARMOR_STAND_TRANSLATION -
ARMOR_STAND_ANGLE
private static final org.joml.Quaternionf ARMOR_STAND_ANGLE -
ARMOR_STAND_SCALE
private static final int ARMOR_STAND_SCALE- 另请参阅:
-
ARMOR_STAND_OFFSET_Y
private static final int ARMOR_STAND_OFFSET_Y- 另请参阅:
-
ARMOR_STAND_OFFSET_X
private static final int ARMOR_STAND_OFFSET_X- 另请参阅:
-
templateIcon
-
baseIcon
-
additionalIcon
-
armorStandPreview
-
-
构造器详细资料
-
SmithingScreen
-
-
方法详细资料
-
subInit
protected void subInit()- 覆盖:
subInit
在类中ItemCombinerScreen<SmithingMenu>
-
containerTick
public void containerTick() -
getTemplateItem
-
render
- 指定者:
render
在接口中Renderable
- 覆盖:
render
在类中ItemCombinerScreen<SmithingMenu>
-
renderBg
- 覆盖:
renderBg
在类中ItemCombinerScreen<SmithingMenu>
-
slotChanged
- 指定者:
slotChanged
在接口中ContainerListener
- 覆盖:
slotChanged
在类中ItemCombinerScreen<SmithingMenu>
-
updateArmorStandPreview
-
renderErrorIcon
- 指定者:
renderErrorIcon
在类中ItemCombinerScreen<SmithingMenu>
-
renderOnboardingTooltips
-
hasRecipeError
private boolean hasRecipeError()
-