类 SmithingScreen
java.lang.Object
net.minecraft.client.gui.components.events.AbstractContainerEventHandler
net.minecraft.client.gui.screens.Screen
net.minecraft.client.gui.screens.inventory.AbstractContainerScreen<T>
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
static final org.joml.Quaternionf
static final int
static final int
static final int
static final int
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 Component
private static final Component
private static final ResourceLocation
private final CyclingSlotBackground
private static final int
private static final int
private static final int
从类继承的字段 net.minecraft.client.gui.screens.inventory.AbstractContainerScreen
hoveredSlot, imageHeight, imageWidth, INVENTORY_LOCATION, inventoryLabelX, inventoryLabelY, isQuickCrafting, leftPos, menu, playerInventoryTitle, quickCraftSlots, SLOT_ITEM_BLIT_OFFSET, slotColor, titleLabelX, titleLabelY, topPos
从类继承的字段 net.minecraft.client.gui.screens.Screen
BACKGROUND_LOCATION, font, height, minecraft, renderables, screenExecutor, title, width
从接口继承的字段 net.minecraft.client.gui.components.events.GuiEventListener
DOUBLE_CLICK_THRESHOLD_MS
-
构造器概要
构造器 -
方法概要
修饰符和类型方法说明void
private Optional<SmithingTemplateItem>
private boolean
void
render
(GuiGraphics pGuiGraphics, int pMouseX, int pMouseY, float pPartialTick) protected void
renderBg
(GuiGraphics pGuiGraphics, float pPartialTick, int pMouseX, int pMouseY) protected void
renderErrorIcon
(GuiGraphics pGuiGraphics, int pX, int pY) private void
renderOnboardingTooltips
(GuiGraphics pGuiGraphics, int pMouseX, int pMouseY) void
slotChanged
(AbstractContainerMenu pContainerToSend, int pSlotInd, ItemStack pStack) protected void
subInit()
private void
updateArmorStandPreview
(ItemStack pStack) 从类继承的方法 net.minecraft.client.gui.screens.inventory.ItemCombinerScreen
dataChanged, init, removed, renderFg
从类继承的方法 net.minecraft.client.gui.screens.inventory.AbstractContainerScreen
checkHotbarKeyPressed, clearDraggingState, getGuiLeft, getGuiTop, getMenu, getSlotColor, getSlotUnderMouse, getTooltipFromContainerItem, getXSize, getYSize, hasClickedOutside, isHovering, isPauseScreen, keyPressed, mouseClicked, mouseDragged, mouseReleased, onClose, renderLabels, renderSlotHighlight, renderSlotHighlight, renderTooltip, slotClicked, tick
从类继承的方法 net.minecraft.client.gui.screens.Screen
added, addRenderableOnly, addRenderableWidget, addWidget, afterKeyboardAction, afterMouseAction, afterMouseMove, changeFocus, children, clearWidgets, findNarratableWidget, getBackgroundMusic, getMinecraft, getNarrationMessage, getRectangle, getTitle, getTooltipFromItem, handleComponentClicked, handleDelayedNarration, hasAltDown, hasControlDown, hasShiftDown, hideWidgets, init, insertText, isCopy, isCut, isMouseOver, isPaste, isSelectAll, isValidCharacterForName, narrationEnabled, onFilesDrop, rebuildWidgets, removeWidget, renderBackground, renderDirtBackground, renderWithTooltip, repositionElements, resize, setInitialFocus, setTooltipForNextRenderPass, setTooltipForNextRenderPass, setTooltipForNextRenderPass, setTooltipForNextRenderPass, shouldCloseOnEsc, shouldNarrateNavigation, triggerImmediateNarration, updateNarratedWidget, updateNarrationState, wrapScreenError
从类继承的方法 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, magicalSpecialHackyFocus, mouseScrolled, nextFocusPath, setFocused
从接口继承的方法 net.minecraft.client.gui.components.events.GuiEventListener
mouseMoved
从接口继承的方法 net.minecraft.client.gui.components.TabOrderedElement
getTabOrderGroup
-
字段详细资料
-
SMITHING_LOCATION
-
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
public static final int ARMOR_STAND_Y_ROT- 另请参阅:
-
ARMOR_STAND_X_ROT
public static final int ARMOR_STAND_X_ROT- 另请参阅:
-
ARMOR_STAND_ANGLE
public static final org.joml.Quaternionf ARMOR_STAND_ANGLE -
ARMOR_STAND_SCALE
public static final int ARMOR_STAND_SCALE- 另请参阅:
-
ARMOR_STAND_OFFSET_Y
public static final int ARMOR_STAND_OFFSET_Y- 另请参阅:
-
ARMOR_STAND_OFFSET_X
public 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()
-