类 ModListScreen
java.lang.Object
net.minecraft.client.gui.components.events.AbstractContainerEventHandler
net.minecraft.client.gui.screens.Screen
net.minecraftforge.client.gui.ModListScreen
- 所有已实现的接口:
ContainerEventHandler
,GuiEventListener
,Renderable
,TabOrderedElement
-
嵌套类概要
嵌套类修饰符和类型类说明(专用程序包) class
(专用程序包) static final record
private static enum
从类继承的嵌套类/接口 net.minecraft.client.gui.screens.Screen
Screen.NarratableSearchResult
-
字段概要
字段修饰符和类型字段说明private static final int
private Button
private Button
private String
private int
private static final org.slf4j.Logger
private static final ResourceLocation
private ModListScreen.InfoPanel
private ModListWidget
private List
<net.minecraftforge.forgespi.language.IModInfo> private static final ModListScreen.Logo
private static final int
private Button
private static final int
private final Screen
private EditBox
private ModListWidget.ModEntry
private boolean
private ModListScreen.SortType
private final List
<net.minecraftforge.forgespi.language.IModInfo> 从类继承的字段 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
-
构造器概要
构造器 -
方法概要
修饰符和类型方法说明<T extends ObjectSelectionList.Entry<T>>
voidbuildModList
(Consumer<T> modListViewConsumer, Function<net.minecraftforge.forgespi.language.IModInfo, T> newEntry) private void
void
init()
void
onClose()
private void
void
render
(GuiGraphics guiGraphics, int mouseX, int mouseY, float partialTick) void
private void
resortMods
(ModListScreen.SortType newSort) void
private static String
stripControlCodes
(String value) void
tick()
private void
从类继承的方法 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, onFilesDrop, rebuildWidgets, removed, removeWidget, renderBackground, renderBlurredBackground, renderMenuBackground, renderMenuBackground, renderMenuBackgroundTexture, renderPanorama, renderTransparentBackground, renderWithTooltip, repositionElements, 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
-
字段详细资料
-
LOGO
-
LOGGER
private static final org.slf4j.Logger LOGGER -
PADDING
private static final int PADDING- 另请参阅:
-
BUTTON_MARGIN
private static final int BUTTON_MARGIN- 另请参阅:
-
NUM_BUTTONS
private static final int NUM_BUTTONS -
parentScreen
-
modList
-
modInfo
-
selected
-
listWidth
private int listWidth -
mods
-
unsortedMods
-
configButton
-
openModsFolderButton
-
doneButton
-
lastFilterText
-
search
-
sorted
private boolean sorted -
sortType
-
NONE
-
-
构造器详细资料
-
ModListScreen
-
-
方法详细资料
-
stripControlCodes
-
init
public void init() -
displayModConfig
private void displayModConfig() -
tick
public void tick() -
buildModList
public <T extends ObjectSelectionList.Entry<T>> void buildModList(Consumer<T> modListViewConsumer, Function<net.minecraftforge.forgespi.language.IModInfo, T> newEntry) -
reloadMods
private void reloadMods() -
resortMods
-
render
- 指定者:
render
在接口中Renderable
- 覆盖:
render
在类中Screen
-
getMinecraftInstance
-
getFontRenderer
-
setSelected
-
updateCache
private void updateCache() -
resize
-
onClose
public void onClose()
-