net.minecraft.client.gui.screens.packs

public class PackSelectionScreen

extends Screen

All mapped superinterfaces:

ContainerEventHandler, GuiEventListener, TabOrderedElement, Renderable

fxo
net.minecraft.client.gui.screens.packs.PackSelectionScreen
net.minecraft.class_5375
net.minecraft.client.gui.screen.pack.PackScreen

Field summary

Modifier and TypeField
static final org.slf4j.Logger
a
LOGGER
field_25464
LOGGER
private static final Component
b
AVAILABLE_TITLE
field_49541
AVAILABLE_TITLE
private static final Component
c
SELECTED_TITLE
field_49542
SELECTED_TITLE
private static final Component
d
OPEN_PACK_FOLDER_TITLE
field_49543
OPEN_FOLDER
private static final int
s
LIST_WIDTH
field_32395
field_32395
private static final Component
u
DRAG_AND_DROP
field_25465
DROP_INFO
private static final Component
v
DIRECTORY_BUTTON_TOOLTIP
field_25466
FOLDER_INFO
private static final int
w
RELOAD_COOLDOWN
field_32396
field_32396
private static final ResourceLocation
x
DEFAULT_ICON
field_25786
UNKNOWN_PACK
private final HeaderAndFooterLayout
y
layout
field_49544
layout
private final PackSelectionModel
z
model
field_25468
organizer
private PackSelectionScreen$Watcher
A
watcher
field_25787
directoryWatcher
private long
B
ticksToReload
field_25788
refreshTimeout
private TransferableSelectionList
C
availablePackList
field_25472
availablePackList
private TransferableSelectionList
D
selectedPackList
field_25473
selectedPackList
private final Path
E
packDir
field_25474
file
private Button
F
doneButton
field_25475
doneButton
private final Map<String, ResourceLocation>
G
packIcons
field_25789
iconTextures

Constructor summary

ModifierConstructor
public (PackRepository resourcePackManager, Consumer<PackRepository> applier, Path file, Component title)

Method summary

Modifier and TypeMethod
public void
aP_()
onClose()
method_25419()
close()
private void
E()
closeWatcher()
method_30291()
closeDirectoryWatcher()
protected void
aT_()
init()
method_25426()
init()
protected void
c()
repositionElements()
method_48640()
refreshWidgetPositions()
public void
e()
tick()
method_25393()
tick()
private void
F()
populateLists()
method_29678()
updatePackLists()
private void
a(fxp arg0, Stream<fxn$a> arg1)
updateList(TransferableSelectionList arg0, Stream<PackSelectionModel$Entry> arg1)
method_29673(class_521 arg0, Stream<class_5369$class_5371> arg1)
updatePackList(PackListWidget widget, Stream<ResourcePackOrganizer$Pack> packs)
public void
a(fxp arg0)
updateFocus(TransferableSelectionList arg0)
method_48277(class_521 arg0)
switchFocusedList(PackListWidget listWidget)
public void
l()
clearSelected()
method_48278()
clearSelection()
private void
G()
reload()
method_29680()
refresh()
protected static void
a(fmg arg0, List<Path> arg1, Path arg2)
copyPacks(Minecraft arg0, List<Path> arg1, Path arg2)
method_29669(class_310 arg0, List<Path> arg1, Path arg2)
copyPacks(MinecraftClient client, List<Path> srcPaths, Path destPath)
public void
a(List<Path> arg0)
onFilesDrop(List<Path> arg0)
method_29638(List<Path> arg0)
filesDragged(List<Path> arg0)
private static Stream<String>
a(Collection<Path> arg0)
extractPackNames(Collection<Path> arg0)
method_52760(Collection<Path> arg0)
streamFileNames(Collection<Path> paths)
private ResourceLocation
a(hbm arg0, avd arg1)
loadPackIcon(TextureManager arg0, Pack arg1)
method_30289(class_1060 arg0, class_3288 arg1)
loadPackIcon(TextureManager textureManager, ResourcePackProfile resourcePackProfile)
private ResourceLocation
a(avd arg0)
getPackIcon(Pack arg0)
method_30287(class_3288 arg0)
getPackIconTexture(ResourcePackProfile resourcePackProfile)