类 PackSelectionScreen
java.lang.Object
net.minecraft.client.gui.components.events.AbstractContainerEventHandler
net.minecraft.client.gui.screens.Screen
net.minecraft.client.gui.screens.packs.PackSelectionScreen
- 所有已实现的接口:
ContainerEventHandler
,GuiEventListener
,Renderable
,TabOrderedElement
-
嵌套类概要
嵌套类从类继承的嵌套类/接口 net.minecraft.client.gui.screens.Screen
Screen.NarratableSearchResult
-
字段概要
字段修饰符和类型字段说明private static final Component
private TransferableSelectionList
private static final ResourceLocation
private static final Component
private Button
private static final Component
private final HeaderAndFooterLayout
private static final int
(专用程序包) static final org.slf4j.Logger
private final PackSelectionModel
private static final Component
private final Path
private final Map
<String, ResourceLocation> private static final int
private static final Component
private TransferableSelectionList
private long
private PackSelectionScreen.Watcher
从类继承的字段 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
-
构造器概要
构造器构造器说明PackSelectionScreen
(PackRepository p_275398_, Consumer<PackRepository> p_275659_, Path p_275522_, Component p_275337_) -
方法概要
修饰符和类型方法说明void
private void
protected static void
extractPackNames
(Collection<Path> p_300507_) private ResourceLocation
getPackIcon
(Pack p_99990_) protected void
init()
private ResourceLocation
loadPackIcon
(TextureManager p_100017_, Pack p_100018_) void
onClose()
void
onFilesDrop
(List<Path> p_100029_) private void
private void
reload()
protected void
void
tick()
void
updateFocus
(TransferableSelectionList p_265419_) private void
updateList
(TransferableSelectionList p_100014_, Stream<PackSelectionModel.Entry> p_100015_) 从类继承的方法 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, isPauseScreen, isSelectAll, isValidCharacterForName, keyPressed, rebuildWidgets, removed, removeWidget, render, renderBackground, renderBlurredBackground, renderMenuBackground, renderMenuBackground, renderMenuBackgroundTexture, renderPanorama, renderTransparentBackground, renderWithTooltip, 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, mouseClicked, mouseDragged, mouseReleased, mouseScrolled, nextFocusPath, setFocused
从接口继承的方法 net.minecraft.client.gui.components.events.GuiEventListener
getBorderForArrowNavigation, mouseMoved
从接口继承的方法 net.minecraft.client.gui.components.TabOrderedElement
getTabOrderGroup
-
字段详细资料
-
LOGGER
static final org.slf4j.Logger LOGGER -
AVAILABLE_TITLE
-
SELECTED_TITLE
-
OPEN_PACK_FOLDER_TITLE
-
LIST_WIDTH
private static final int LIST_WIDTH- 另请参阅:
-
DRAG_AND_DROP
-
DIRECTORY_BUTTON_TOOLTIP
-
RELOAD_COOLDOWN
private static final int RELOAD_COOLDOWN- 另请参阅:
-
DEFAULT_ICON
-
layout
-
model
-
watcher
-
ticksToReload
private long ticksToReload -
availablePackList
-
selectedPackList
-
packDir
-
doneButton
-
packIcons
-
-
构造器详细资料
-
PackSelectionScreen
public PackSelectionScreen(PackRepository p_275398_, Consumer<PackRepository> p_275659_, Path p_275522_, Component p_275337_)
-
-
方法详细资料
-
onClose
public void onClose() -
closeWatcher
private void closeWatcher() -
init
protected void init() -
repositionElements
protected void repositionElements()- 覆盖:
repositionElements
在类中Screen
-
tick
public void tick() -
populateLists
private void populateLists() -
updateList
private void updateList(TransferableSelectionList p_100014_, Stream<PackSelectionModel.Entry> p_100015_) -
updateFocus
-
clearSelected
public void clearSelected() -
reload
private void reload() -
copyPacks
-
onFilesDrop
- 覆盖:
onFilesDrop
在类中Screen
-
extractPackNames
-
loadPackIcon
-
getPackIcon
-