类 LoomScreen
java.lang.Object
net.minecraft.client.gui.components.events.AbstractContainerEventHandler
net.minecraft.client.gui.screens.Screen
net.minecraft.client.gui.screens.inventory.AbstractContainerScreen<LoomMenu>
net.minecraft.client.gui.screens.inventory.LoomScreen
- 所有已实现的接口:
ContainerEventHandler
,GuiEventListener
,Renderable
,TabOrderedElement
,MenuAccess<LoomMenu>
-
嵌套类概要
从类继承的嵌套类/接口 net.minecraft.client.gui.screens.Screen
Screen.NarratableSearchResult
-
字段概要
字段修饰符和类型字段说明private static final ResourceLocation
private ItemStack
private static final ResourceLocation
private boolean
private static final ResourceLocation
private ItemStack
private static final ResourceLocation
private ModelPart
private boolean
private static final int
private static final ResourceLocation
private static final int
private static final int
private static final ResourceLocation
private static final ResourceLocation
private static final ResourceLocation
private static final int
private static final int
private ItemStack
private BannerPatternLayers
private static final ResourceLocation
private static final int
private static final int
private static final ResourceLocation
private static final int
private boolean
private float
private 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
-
构造器概要
构造器 -
方法概要
修饰符和类型方法说明private void
protected boolean
hasClickedOutside
(double p_99093_, double p_99094_, int p_99095_, int p_99096_, int p_99097_) protected void
init()
boolean
mouseClicked
(double p_99083_, double p_99084_, int p_99085_) boolean
mouseDragged
(double p_99087_, double p_99088_, int p_99089_, double p_99090_, double p_99091_) boolean
mouseScrolled
(double p_99079_, double p_99080_, double p_99081_, double p_298992_) void
render
(GuiGraphics p_283513_, int p_282700_, int p_282637_, float p_281433_) protected void
renderBg
(GuiGraphics p_282870_, float p_281777_, int p_283331_, int p_283087_) private void
renderPattern
(GuiGraphics p_282452_, Holder<BannerPattern> p_281940_, int p_281872_, int p_282995_) private int
从类继承的方法 net.minecraft.client.gui.screens.inventory.AbstractContainerScreen
addItemSlotMouseAction, checkHotbarKeyPressed, clearDraggingState, containerTick, getGuiLeft, getGuiTop, getMenu, getSlotUnderMouse, getTooltipFromContainerItem, getXSize, getYSize, handleSlotStateChanged, isHovering, isPauseScreen, keyPressed, mouseReleased, onClose, onMouseClickAction, removed, 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
-
字段详细资料
-
BANNER_SLOT_SPRITE
-
DYE_SLOT_SPRITE
-
PATTERN_SLOT_SPRITE
-
SCROLLER_SPRITE
-
SCROLLER_DISABLED_SPRITE
-
PATTERN_SELECTED_SPRITE
-
PATTERN_HIGHLIGHTED_SPRITE
-
PATTERN_SPRITE
-
ERROR_SPRITE
-
BG_LOCATION
-
PATTERN_COLUMNS
private static final int PATTERN_COLUMNS- 另请参阅:
-
PATTERN_ROWS
private static final int PATTERN_ROWS- 另请参阅:
-
SCROLLER_WIDTH
private static final int SCROLLER_WIDTH- 另请参阅:
-
SCROLLER_HEIGHT
private static final int SCROLLER_HEIGHT- 另请参阅:
-
PATTERN_IMAGE_SIZE
private static final int PATTERN_IMAGE_SIZE- 另请参阅:
-
SCROLLER_FULL_HEIGHT
private static final int SCROLLER_FULL_HEIGHT- 另请参阅:
-
PATTERNS_X
private static final int PATTERNS_X- 另请参阅:
-
PATTERNS_Y
private static final int PATTERNS_Y- 另请参阅:
-
flag
-
resultBannerPatterns
-
bannerStack
-
dyeStack
-
patternStack
-
displayPatterns
private boolean displayPatterns -
hasMaxPatterns
private boolean hasMaxPatterns -
scrollOffs
private float scrollOffs -
scrolling
private boolean scrolling -
startRow
private int startRow
-
-
构造器详细资料
-
LoomScreen
-
-
方法详细资料
-
init
protected void init()- 覆盖:
init
在类中AbstractContainerScreen<LoomMenu>
-
render
- 指定者:
render
在接口中Renderable
- 覆盖:
render
在类中AbstractContainerScreen<LoomMenu>
-
totalRowCount
private int totalRowCount() -
renderBg
- 指定者:
renderBg
在类中AbstractContainerScreen<LoomMenu>
-
renderPattern
private void renderPattern(GuiGraphics p_282452_, Holder<BannerPattern> p_281940_, int p_281872_, int p_282995_) -
mouseClicked
public boolean mouseClicked(double p_99083_, double p_99084_, int p_99085_) - 指定者:
mouseClicked
在接口中ContainerEventHandler
- 指定者:
mouseClicked
在接口中GuiEventListener
- 覆盖:
mouseClicked
在类中AbstractContainerScreen<LoomMenu>
-
mouseDragged
public boolean mouseDragged(double p_99087_, double p_99088_, int p_99089_, double p_99090_, double p_99091_) - 指定者:
mouseDragged
在接口中ContainerEventHandler
- 指定者:
mouseDragged
在接口中GuiEventListener
- 覆盖:
mouseDragged
在类中AbstractContainerScreen<LoomMenu>
-
mouseScrolled
public boolean mouseScrolled(double p_99079_, double p_99080_, double p_99081_, double p_298992_) - 指定者:
mouseScrolled
在接口中ContainerEventHandler
- 指定者:
mouseScrolled
在接口中GuiEventListener
- 覆盖:
mouseScrolled
在类中AbstractContainerScreen<LoomMenu>
-
hasClickedOutside
protected boolean hasClickedOutside(double p_99093_, double p_99094_, int p_99095_, int p_99096_, int p_99097_) -
containerChanged
private void containerChanged()
-