类 TransferableSelectionList
java.lang.Object
net.minecraft.client.gui.components.AbstractWidget
net.minecraft.client.gui.components.AbstractScrollArea
net.minecraft.client.gui.components.AbstractContainerWidget
net.minecraft.client.gui.components.AbstractSelectionList<TransferableSelectionList.PackEntry>
net.minecraft.client.gui.components.ObjectSelectionList<TransferableSelectionList.PackEntry>
net.minecraft.client.gui.screens.packs.TransferableSelectionList
- 所有已实现的接口:
ContainerEventHandler
,GuiEventListener
,Renderable
,TabOrderedElement
,LayoutElement
,NarratableEntry
,NarrationSupplier
public class TransferableSelectionList
extends ObjectSelectionList<TransferableSelectionList.PackEntry>
-
嵌套类概要
嵌套类从类继承的嵌套类/接口 net.minecraft.client.gui.components.ObjectSelectionList
ObjectSelectionList.Entry<E extends ObjectSelectionList.Entry<E>>
从接口继承的嵌套类/接口 net.minecraft.client.gui.narration.NarratableEntry
NarratableEntry.NarrationPriority
-
字段概要
字段修饰符和类型字段说明(专用程序包) static final Component
(专用程序包) static final Component
(专用程序包) static final ResourceLocation
(专用程序包) static final ResourceLocation
(专用程序包) static final ResourceLocation
(专用程序包) static final ResourceLocation
(专用程序包) final PackSelectionScreen
(专用程序包) static final ResourceLocation
(专用程序包) static final ResourceLocation
private final Component
(专用程序包) static final ResourceLocation
(专用程序包) static final ResourceLocation
从类继承的字段 net.minecraft.client.gui.components.AbstractSelectionList
centerListVertically, headerHeight, itemHeight, minecraft
从类继承的字段 net.minecraft.client.gui.components.AbstractScrollArea
SCROLLBAR_WIDTH
从类继承的字段 net.minecraft.client.gui.components.AbstractWidget
active, alpha, height, isHovered, packedFGColor, UNSET_FG_COLOR, visible, width
从接口继承的字段 net.minecraft.client.gui.components.events.GuiEventListener
DOUBLE_CLICK_THRESHOLD_MS
-
构造器概要
构造器构造器说明TransferableSelectionList
(Minecraft p_265029_, PackSelectionScreen p_265777_, int p_265774_, int p_265153_, Component p_265124_) -
方法概要
修饰符和类型方法说明int
boolean
keyPressed
(int p_265499_, int p_265510_, int p_265548_) protected void
renderHeader
(GuiGraphics p_282135_, int p_282032_, int p_283198_) protected void
renderSelection
(GuiGraphics p_331157_, int p_334621_, int p_330518_, int p_327737_, int p_334843_, int p_336171_) protected int
从类继承的方法 net.minecraft.client.gui.components.ObjectSelectionList
nextFocusPath, updateWidgetNarration
从类继承的方法 net.minecraft.client.gui.components.AbstractSelectionList
addEntry, addEntryToTop, centerScrollOn, children, clearEntries, contentHeight, enableScissor, ensureVisible, getChildAt, getEntry, getEntryAtPosition, getFirstElement, getFocused, getHovered, getItemCount, getRowBottom, getRowLeft, getRowRight, getRowTop, getSelected, isSelectedItem, narrateListElementPosition, narrationPriority, nextEntry, nextEntry, nextEntry, remove, removeEntry, removeEntryFromTop, renderDecorations, renderItem, renderListBackground, renderListItems, renderListSeparators, renderWidget, replaceEntries, scrollRate, setFocused, setSelected, setSelectedIndex, updateSize, updateSizeAndPosition
从类继承的方法 net.minecraft.client.gui.components.AbstractContainerWidget
isDragging, isFocused, mouseClicked, mouseDragged, mouseReleased, setDragging, setFocused
从类继承的方法 net.minecraft.client.gui.components.AbstractScrollArea
maxScrollAmount, mouseScrolled, onRelease, refreshScrollAmount, renderScrollbar, scrollAmount, scrollbarVisible, scrollBarY, scrollerHeight, setScrollAmount, updateScrolling
从类继承的方法 net.minecraft.client.gui.components.AbstractWidget
clearFGColor, createNarrationMessage, defaultButtonNarrationText, getBottom, getFGColor, getHeight, getMessage, getRectangle, getRight, getTabOrderGroup, getTooltip, getWidth, getX, getY, isActive, isHovered, isHoveredOrFocused, isMouseOver, isValidClickButton, onClick, onDrag, playButtonClickSound, playDownSound, render, renderScrollingString, renderScrollingString, renderScrollingString, setAlpha, setFGColor, setHeight, setMessage, setRectangle, setSize, setTabOrderGroup, setTooltip, setTooltipDelay, setWidth, setX, setY, updateNarration, visitWidgets, wrapDefaultNarrationMessage
从类继承的方法 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
从接口继承的方法 net.minecraft.client.gui.components.events.ContainerEventHandler
charTyped, getCurrentFocusPath, keyReleased, mouseScrolled
从接口继承的方法 net.minecraft.client.gui.components.events.GuiEventListener
getBorderForArrowNavigation, getRectangle, isMouseOver, mouseMoved
从接口继承的方法 net.minecraft.client.gui.layouts.LayoutElement
setPosition
从接口继承的方法 net.minecraft.client.gui.narration.NarratableEntry
getNarratables
从接口继承的方法 net.minecraft.client.gui.components.TabOrderedElement
getTabOrderGroup
-
字段详细资料
-
SELECT_HIGHLIGHTED_SPRITE
-
SELECT_SPRITE
-
UNSELECT_HIGHLIGHTED_SPRITE
-
UNSELECT_SPRITE
-
MOVE_UP_HIGHLIGHTED_SPRITE
-
MOVE_UP_SPRITE
-
MOVE_DOWN_HIGHLIGHTED_SPRITE
-
MOVE_DOWN_SPRITE
-
INCOMPATIBLE_TITLE
-
INCOMPATIBLE_CONFIRM_TITLE
-
title
-
screen
-
-
构造器详细资料
-
TransferableSelectionList
public TransferableSelectionList(Minecraft p_265029_, PackSelectionScreen p_265777_, int p_265774_, int p_265153_, Component p_265124_)
-
-
方法详细资料
-
renderHeader
-
getRowWidth
public int getRowWidth() -
scrollBarX
protected int scrollBarX() -
renderSelection
protected void renderSelection(GuiGraphics p_331157_, int p_334621_, int p_330518_, int p_327737_, int p_334843_, int p_336171_) -
keyPressed
public boolean keyPressed(int p_265499_, int p_265510_, int p_265548_)
-