Class PackScreen
java.lang.Object
net.minecraft.client.gui.AbstractParentElement
net.minecraft.client.gui.screen.Screen
net.minecraft.client.gui.screen.pack.PackScreen
- All Implemented Interfaces:
Drawable,Element,Navigable,ParentElement
- Mappings:
Namespace Name named net/minecraft/client/gui/screen/pack/PackScreenintermediary net/minecraft/class_5375official gqp
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class net.minecraft.client.gui.screen.Screen
Screen.SelectedElementNarrationData -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final Textprivate @Nullable PackListWidgetprivate @Nullable PackScreen.DirectoryWatcherprivate @Nullable ButtonWidgetprivate static final Textprivate static final intprivate static final intprivate @Nullable TextFieldWidgetprivate static final Textprivate static final intprivate static final intprivate final Pathprivate static final Textprivate final Map<String, Identifier> private final ThreePartsLayoutWidget(package private) static final Loggerprivate static final Textprivate final ResourcePackOrganizerprivate longprivate static final Textprivate @Nullable PackListWidgetprivate static final IdentifierFields inherited from class net.minecraft.client.gui.screen.Screen
client, executor, field_60460, FOOTER_SEPARATOR_TEXTURE, HEADER_SEPARATOR_TEXTURE, height, INWORLD_FOOTER_SEPARATOR_TEXTURE, INWORLD_HEADER_SEPARATOR_TEXTURE, MENU_BACKGROUND_TEXTURE, narratorToggleButton, textRenderer, title, width -
Constructor Summary
ConstructorsConstructorDescriptionPackScreen(ResourcePackManager resourcePackManager, Consumer<ResourcePackManager> applier, Path file, Text title) -
Method Summary
Modifier and TypeMethodDescriptionvoidvoidclose()private voidprotected static voidcopyPacks(MinecraftClient client, List<Path> srcPaths, Path destPath) private IdentifiergetPackIconTexture(ResourcePackProfile resourcePackProfile) protected voidinit()Called when a screen should be initialized.private IdentifierloadPackIcon(TextureManager textureManager, ResourcePackProfile resourcePackProfile) private voidmethod_74709(String string) private voidmethod_74711(String string, Stream<ResourcePackOrganizer.Pack> stream, @Nullable PackListWidget packListWidget) voidonFilesDropped(List<Path> paths) private voidrefresh()protected voidstreamFileNames(Collection<Path> paths) voidtick()private voidupdatePackLists(ResourcePackOrganizer.AbstractPack abstractPack) Methods inherited from class net.minecraft.client.gui.screen.Screen
addCrashReportSection, addDrawable, addDrawableChild, addElementNarrations, addScreenNarrations, addSelectableChild, allowRotatingPanorama, applyBlur, applyKeyPressNarratorDelay, applyMouseMoveNarratorDelay, applyMousePressScrollNarratorDelay, blur, canInterruptOtherScreen, children, clearAndInit, clearChildren, deferSubtitles, findSelectedElementData, getMusic, getNarratedTitle, getNavigationFocus, getTextRenderer, getTitle, getTooltipFromItem, getUsageNarrationText, handleBasicClickEvent, handleClickEvent, handleClickEvent, handleOpenUri, handleRunCommand, handleTextClick, hasUsageText, init, insertText, isMouseOver, isValidCharacterForName, keepOpenThroughPortal, keyPressed, narrateScreenIfNarrationEnabled, onDisplayed, refreshNarrator, remove, removed, render, renderBackground, renderBackgroundTexture, renderDarkening, renderDarkening, renderInGameBackground, renderPanoramaBackground, renderWithTooltip, resize, setInitialFocus, setInitialFocus, setWidgetAlpha, shouldCloseOnEsc, shouldPause, showsStatusEffects, switchFocus, updateNarratorMethods inherited from class net.minecraft.client.gui.AbstractParentElement
getFocused, isDragging, setDragging, setFocusedMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.minecraft.client.gui.Element
getBorder, isClickable, mouseMovedMethods inherited from interface net.minecraft.client.gui.navigation.Navigable
getNavigationOrderMethods inherited from interface net.minecraft.client.gui.ParentElement
charTyped, getFocusedPath, getNavigationPath, hoveredElement, isFocused, keyReleased, mouseClicked, mouseDragged, mouseReleased, mouseScrolled, setFocused
-
Field Details
-
LOGGER
- Mappings:
Namespace Name Mixin selector named LOGGERLnet/minecraft/client/gui/screen/pack/PackScreen;LOGGER:Lorg/slf4j/Logger;intermediary field_25464Lnet/minecraft/class_5375;field_25464:Lorg/slf4j/Logger;official aLgqp;a:Lorg/slf4j/Logger;
-
AVAILABLE_TITLE
- Mappings:
Namespace Name Mixin selector named AVAILABLE_TITLELnet/minecraft/client/gui/screen/pack/PackScreen;AVAILABLE_TITLE:Lnet/minecraft/text/Text;intermediary field_49541Lnet/minecraft/class_5375;field_49541:Lnet/minecraft/class_2561;official bLgqp;b:Lxx;
-
SELECTED_TITLE
- Mappings:
Namespace Name Mixin selector named SELECTED_TITLELnet/minecraft/client/gui/screen/pack/PackScreen;SELECTED_TITLE:Lnet/minecraft/text/Text;intermediary field_49542Lnet/minecraft/class_5375;field_49542:Lnet/minecraft/class_2561;official cLgqp;c:Lxx;
-
OPEN_FOLDER
- Mappings:
Namespace Name Mixin selector named OPEN_FOLDERLnet/minecraft/client/gui/screen/pack/PackScreen;OPEN_FOLDER:Lnet/minecraft/text/Text;intermediary field_49543Lnet/minecraft/class_5375;field_49543:Lnet/minecraft/class_2561;official dLgqp;d:Lxx;
-
field_62929
- Mappings:
Namespace Name Mixin selector named field_62929Lnet/minecraft/client/gui/screen/pack/PackScreen;field_62929:Lnet/minecraft/text/Text;intermediary field_62929Lnet/minecraft/class_5375;field_62929:Lnet/minecraft/class_2561;official eLgqp;e:Lxx;
-
field_32395
private static final int field_32395- See Also:
- Mappings:
Namespace Name Mixin selector named field_32395Lnet/minecraft/client/gui/screen/pack/PackScreen;field_32395:Iintermediary field_32395Lnet/minecraft/class_5375;field_32395:Iofficial fLgqp;f:I
-
field_62930
private static final int field_62930- See Also:
- Mappings:
Namespace Name Mixin selector named field_62930Lnet/minecraft/client/gui/screen/pack/PackScreen;field_62930:Iintermediary field_62930Lnet/minecraft/class_5375;field_62930:Iofficial tLgqp;t:I
-
field_62931
private static final int field_62931- See Also:
- Mappings:
Namespace Name Mixin selector named field_62931Lnet/minecraft/client/gui/screen/pack/PackScreen;field_62931:Iintermediary field_62931Lnet/minecraft/class_5375;field_62931:Iofficial uLgqp;u:I
-
DROP_INFO
- Mappings:
Namespace Name Mixin selector named DROP_INFOLnet/minecraft/client/gui/screen/pack/PackScreen;DROP_INFO:Lnet/minecraft/text/Text;intermediary field_25465Lnet/minecraft/class_5375;field_25465:Lnet/minecraft/class_2561;official vLgqp;v:Lxx;
-
FOLDER_INFO
- Mappings:
Namespace Name Mixin selector named FOLDER_INFOLnet/minecraft/client/gui/screen/pack/PackScreen;FOLDER_INFO:Lnet/minecraft/text/Text;intermediary field_25466Lnet/minecraft/class_5375;field_25466:Lnet/minecraft/class_2561;official wLgqp;w:Lxx;
-
field_32396
private static final int field_32396- See Also:
- Mappings:
Namespace Name Mixin selector named field_32396Lnet/minecraft/client/gui/screen/pack/PackScreen;field_32396:Iintermediary field_32396Lnet/minecraft/class_5375;field_32396:Iofficial xLgqp;x:I
-
UNKNOWN_PACK
- Mappings:
Namespace Name Mixin selector named UNKNOWN_PACKLnet/minecraft/client/gui/screen/pack/PackScreen;UNKNOWN_PACK:Lnet/minecraft/util/Identifier;intermediary field_25786Lnet/minecraft/class_5375;field_25786:Lnet/minecraft/class_2960;official yLgqp;y:Lamj;
-
layout
- Mappings:
Namespace Name Mixin selector named layoutLnet/minecraft/client/gui/screen/pack/PackScreen;layout:Lnet/minecraft/client/gui/widget/ThreePartsLayoutWidget;intermediary field_49544Lnet/minecraft/class_5375;field_49544:Lnet/minecraft/class_8132;official zLgqp;z:Lgix;
-
organizer
- Mappings:
Namespace Name Mixin selector named organizerLnet/minecraft/client/gui/screen/pack/PackScreen;organizer:Lnet/minecraft/client/gui/screen/pack/ResourcePackOrganizer;intermediary field_25468Lnet/minecraft/class_5375;field_25468:Lnet/minecraft/class_5369;official ALgqp;A:Lgqo;
-
directoryWatcher
- Mappings:
Namespace Name Mixin selector named directoryWatcherLnet/minecraft/client/gui/screen/pack/PackScreen;directoryWatcher:Lnet/minecraft/client/gui/screen/pack/PackScreen$DirectoryWatcher;intermediary field_25787Lnet/minecraft/class_5375;field_25787:Lnet/minecraft/class_5375$class_5426;official BLgqp;B:Lgqp$a;
-
refreshTimeout
private long refreshTimeout- Mappings:
Namespace Name Mixin selector named refreshTimeoutLnet/minecraft/client/gui/screen/pack/PackScreen;refreshTimeout:Jintermediary field_25788Lnet/minecraft/class_5375;field_25788:Jofficial CLgqp;C:J
-
availablePackList
- Mappings:
Namespace Name Mixin selector named availablePackListLnet/minecraft/client/gui/screen/pack/PackScreen;availablePackList:Lnet/minecraft/client/gui/screen/pack/PackListWidget;intermediary field_25472Lnet/minecraft/class_5375;field_25472:Lnet/minecraft/class_521;official DLgqp;D:Lgqq;
-
selectedPackList
- Mappings:
Namespace Name Mixin selector named selectedPackListLnet/minecraft/client/gui/screen/pack/PackScreen;selectedPackList:Lnet/minecraft/client/gui/screen/pack/PackListWidget;intermediary field_25473Lnet/minecraft/class_5375;field_25473:Lnet/minecraft/class_521;official ELgqp;E:Lgqq;
-
field_62928
- Mappings:
Namespace Name Mixin selector named field_62928Lnet/minecraft/client/gui/screen/pack/PackScreen;field_62928:Lnet/minecraft/client/gui/widget/TextFieldWidget;intermediary field_62928Lnet/minecraft/class_5375;field_62928:Lnet/minecraft/class_342;official FLgqp;F:Lgdt;
-
file
- Mappings:
Namespace Name Mixin selector named fileLnet/minecraft/client/gui/screen/pack/PackScreen;file:Ljava/nio/file/Path;intermediary field_25474Lnet/minecraft/class_5375;field_25474:Ljava/nio/file/Path;official GLgqp;G:Ljava/nio/file/Path;
-
doneButton
- Mappings:
Namespace Name Mixin selector named doneButtonLnet/minecraft/client/gui/screen/pack/PackScreen;doneButton:Lnet/minecraft/client/gui/widget/ButtonWidget;intermediary field_25475Lnet/minecraft/class_5375;field_25475:Lnet/minecraft/class_4185;official HLgqp;H:Lgdk;
-
iconTextures
- Mappings:
Namespace Name Mixin selector named iconTexturesLnet/minecraft/client/gui/screen/pack/PackScreen;iconTextures:Ljava/util/Map;intermediary field_25789Lnet/minecraft/class_5375;field_25789:Ljava/util/Map;official ILgqp;I:Ljava/util/Map;
-
-
Constructor Details
-
PackScreen
public PackScreen(ResourcePackManager resourcePackManager, Consumer<ResourcePackManager> applier, Path file, Text title) - Mappings:
Namespace Name Mixin selector named <init>Lnet/minecraft/client/gui/screen/pack/PackScreen;<init>(Lnet/minecraft/resource/ResourcePackManager;Ljava/util/function/Consumer;Ljava/nio/file/Path;Lnet/minecraft/text/Text;)Vintermediary <init>Lnet/minecraft/class_5375;<init>(Lnet/minecraft/class_3283;Ljava/util/function/Consumer;Ljava/nio/file/Path;Lnet/minecraft/class_2561;)Vofficial <init>Lgqp;<init>(Lazx;Ljava/util/function/Consumer;Ljava/nio/file/Path;Lxx;)V
-
-
Method Details
-
close
public void close() -
closeDirectoryWatcher
private void closeDirectoryWatcher()- Mappings:
Namespace Name Mixin selector named closeDirectoryWatcherLnet/minecraft/client/gui/screen/pack/PackScreen;closeDirectoryWatcher()Vintermediary method_30291Lnet/minecraft/class_5375;method_30291()Vofficial pLgqp;p()V
-
init
protected void init()Called when a screen should be initialized.This method is called when this screen is opened or resized.
-
method_74709
- Mappings:
Namespace Name Mixin selector named method_74709Lnet/minecraft/client/gui/screen/pack/PackScreen;method_74709(Ljava/lang/String;)Vintermediary method_74709Lnet/minecraft/class_5375;method_74709(Ljava/lang/String;)Vofficial aLgqp;a(Ljava/lang/String;)V
-
method_74711
private void method_74711(String string, Stream<ResourcePackOrganizer.Pack> stream, @Nullable @Nullable PackListWidget packListWidget) - Mappings:
Namespace Name Mixin selector named method_74711Lnet/minecraft/client/gui/screen/pack/PackScreen;method_74711(Ljava/lang/String;Ljava/util/stream/Stream;Lnet/minecraft/client/gui/screen/pack/PackListWidget;)Vintermediary method_74711Lnet/minecraft/class_5375;method_74711(Ljava/lang/String;Ljava/util/stream/Stream;Lnet/minecraft/class_521;)Vofficial aLgqp;a(Ljava/lang/String;Ljava/util/stream/Stream;Lgqq;)V
-
refreshWidgetPositions
protected void refreshWidgetPositions()- Overrides:
refreshWidgetPositionsin classScreen- Mappings:
Namespace Name Mixin selector named refreshWidgetPositionsLnet/minecraft/client/gui/screen/Screen;refreshWidgetPositions()Vintermediary method_48640Lnet/minecraft/class_437;method_48640()Vofficial cLgme;c()V
-
tick
public void tick() -
updatePackLists
- Mappings:
Namespace Name Mixin selector named updatePackListsLnet/minecraft/client/gui/screen/pack/PackScreen;updatePackLists(Lnet/minecraft/client/gui/screen/pack/ResourcePackOrganizer$AbstractPack;)Vintermediary method_29678Lnet/minecraft/class_5375;method_29678(Lnet/minecraft/class_5369$class_5372;)Vofficial aLgqp;a(Lgqo$b;)V
-
clearSelection
public void clearSelection()- Mappings:
Namespace Name Mixin selector named clearSelectionLnet/minecraft/client/gui/screen/pack/PackScreen;clearSelection()Vintermediary method_48278Lnet/minecraft/class_5375;method_48278()Vofficial oLgqp;o()V
-
refresh
private void refresh()- Mappings:
Namespace Name Mixin selector named refreshLnet/minecraft/client/gui/screen/pack/PackScreen;refresh()Vintermediary method_29680Lnet/minecraft/class_5375;method_29680()Vofficial HLgqp;H()V
-
copyPacks
- Mappings:
Namespace Name Mixin selector named copyPacksLnet/minecraft/client/gui/screen/pack/PackScreen;copyPacks(Lnet/minecraft/client/MinecraftClient;Ljava/util/List;Ljava/nio/file/Path;)Vintermediary method_29669Lnet/minecraft/class_5375;method_29669(Lnet/minecraft/class_310;Ljava/util/List;Ljava/nio/file/Path;)Vofficial aLgqp;a(Lfzu;Ljava/util/List;Ljava/nio/file/Path;)V
-
onFilesDropped
- Overrides:
onFilesDroppedin classScreen- Mappings:
Namespace Name Mixin selector named onFilesDroppedLnet/minecraft/client/gui/screen/Screen;onFilesDropped(Ljava/util/List;)Vintermediary method_29638Lnet/minecraft/class_437;method_29638(Ljava/util/List;)Vofficial aLgme;a(Ljava/util/List;)V
-
streamFileNames
- Mappings:
Namespace Name Mixin selector named streamFileNamesLnet/minecraft/client/gui/screen/pack/PackScreen;streamFileNames(Ljava/util/Collection;)Ljava/util/stream/Stream;intermediary method_52760Lnet/minecraft/class_5375;method_52760(Ljava/util/Collection;)Ljava/util/stream/Stream;official aLgqp;a(Ljava/util/Collection;)Ljava/util/stream/Stream;
-
loadPackIcon
private Identifier loadPackIcon(TextureManager textureManager, ResourcePackProfile resourcePackProfile) - Mappings:
Namespace Name Mixin selector named loadPackIconLnet/minecraft/client/gui/screen/pack/PackScreen;loadPackIcon(Lnet/minecraft/client/texture/TextureManager;Lnet/minecraft/resource/ResourcePackProfile;)Lnet/minecraft/util/Identifier;intermediary method_30289Lnet/minecraft/class_5375;method_30289(Lnet/minecraft/class_1060;Lnet/minecraft/class_3288;)Lnet/minecraft/class_2960;official aLgqp;a(Licf;Lazu;)Lamj;
-
getPackIconTexture
- Mappings:
Namespace Name Mixin selector named getPackIconTextureLnet/minecraft/client/gui/screen/pack/PackScreen;getPackIconTexture(Lnet/minecraft/resource/ResourcePackProfile;)Lnet/minecraft/util/Identifier;intermediary method_30287Lnet/minecraft/class_5375;method_30287(Lnet/minecraft/class_3288;)Lnet/minecraft/class_2960;official aLgqp;a(Lazu;)Lamj;
-