类 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 ItemStack
private static final ResourceLocation
private boolean
private ItemStack
private ModelPart
private boolean
private static final int
private static final int
private static final int
private static final int
private static final int
private ItemStack
private List<com.mojang.datafixers.util.Pair<Holder<BannerPattern>,
DyeColor>> private static final int
private static final int
private static final int
private boolean
private float
private 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
-
构造器概要
构造器 -
方法概要
修饰符和类型方法说明private void
protected boolean
hasClickedOutside
(double pMouseX, double pMouseY, int pGuiLeft, int pGuiTop, int pMouseButton) protected void
init()
boolean
mouseClicked
(double pMouseX, double pMouseY, int pButton) boolean
mouseDragged
(double pMouseX, double pMouseY, int pButton, double pDragX, double pDragY) boolean
mouseScrolled
(double pMouseX, double pMouseY, double pDelta) void
render
(GuiGraphics pGuiGraphics, int pMouseX, int pMouseY, float pPartialTick) protected void
renderBg
(GuiGraphics pGuiGraphics, float pPartialTick, int pMouseX, int pMouseY) private void
renderPattern
(GuiGraphics pGuiGraphics, Holder<BannerPattern> pPatern, int pX, int pY) private int
从类继承的方法 net.minecraft.client.gui.screens.inventory.AbstractContainerScreen
checkHotbarKeyPressed, clearDraggingState, containerTick, getGuiLeft, getGuiTop, getMenu, getSlotColor, getSlotUnderMouse, getTooltipFromContainerItem, getXSize, getYSize, isHovering, isPauseScreen, keyPressed, mouseReleased, onClose, removed, 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, nextFocusPath, setFocused
从接口继承的方法 net.minecraft.client.gui.components.events.GuiEventListener
mouseMoved
从接口继承的方法 net.minecraft.client.gui.components.TabOrderedElement
getTabOrderGroup
-
字段详细资料
-
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
@Nullable private List<com.mojang.datafixers.util.Pair<Holder<BannerPattern>,DyeColor>> 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
-
mouseClicked
public boolean mouseClicked(double pMouseX, double pMouseY, int pButton) - 指定者:
mouseClicked
在接口中ContainerEventHandler
- 指定者:
mouseClicked
在接口中GuiEventListener
- 覆盖:
mouseClicked
在类中AbstractContainerScreen<LoomMenu>
-
mouseDragged
public boolean mouseDragged(double pMouseX, double pMouseY, int pButton, double pDragX, double pDragY) - 指定者:
mouseDragged
在接口中ContainerEventHandler
- 指定者:
mouseDragged
在接口中GuiEventListener
- 覆盖:
mouseDragged
在类中AbstractContainerScreen<LoomMenu>
-
mouseScrolled
public boolean mouseScrolled(double pMouseX, double pMouseY, double pDelta) -
hasClickedOutside
protected boolean hasClickedOutside(double pMouseX, double pMouseY, int pGuiLeft, int pGuiTop, int pMouseButton) -
containerChanged
private void containerChanged()
-