net.minecraft.client.gui.screens.packs

public class PackSelectionScreen

extends Screen

All mapped superinterfaces:

ContainerEventHandler, GuiEventListener, TabOrderedElement, Renderable

frt
net.minecraft.client.gui.screens.packs.PackSelectionScreen
net.minecraft.class_5375
net.minecraft.client.gui.screen.pack.PackScreen
net.minecraft.src.C_3706_

Field summary

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

Constructor summary

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

Method summary

Modifier and TypeMethod
public void
d()
onClose()
method_25419()
close()
m_7379_()
private void
C()
closeWatcher()
method_30291()
closeDirectoryWatcher()
m_100039_()
protected void
aT_()
init()
method_25426()
init()
m_7856_()
protected void
c()
repositionElements()
method_48640()
initTabNavigation()
m_267719_()
public void
e()
tick()
method_25393()
tick()
m_86600_()
private void
D()
populateLists()
method_29678()
updatePackLists()
m_100040_()
private void
a(fru arg0, Stream<frs$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)
m_100013_(C_3708_ p_100015_, Stream<C_3701_$C_3702_> arg1)
public void
a(fru arg0)
updateFocus(TransferableSelectionList arg0)
method_48277(class_521 arg0)
switchFocusedList(PackListWidget listWidget)
m_264285_(C_3708_ arg0)
public void
m()
clearSelected()
method_48278()
clearSelection()
m_264462_()
private void
E()
reload()
method_29680()
refresh()
m_100041_()
protected static void
a(fgo 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)
m_99999_(C_3391_ p_100000_, List<Path> p_100001_, Path p_100002_)
public void
a(List<Path> arg0)
onFilesDrop(List<Path> arg0)
method_29638(List<Path> arg0)
filesDragged(List<Path> arg0)
m_7400_(List<Path> arg0)
private static Stream<String>
a(Collection<Path> arg0)
extractPackNames(Collection<Path> arg0)
method_52760(Collection<Path> arg0)
streamFileNames(Collection<Path> paths)
m_293618_(Collection<Path> p_300507_)
private ResourceLocation
a(gqm arg0, atm arg1)
loadPackIcon(TextureManager arg0, Pack arg1)
method_30289(class_1060 arg0, class_3288 arg1)
loadPackIcon(TextureManager textureManager, ResourcePackProfile resourcePackProfile)
m_100016_(C_4490_ p_100018_, C_58_ arg1)
private ResourceLocation
a(atm arg0)
getPackIcon(Pack arg0)
method_30287(class_3288 arg0)
getPackIconTexture(ResourcePackProfile resourcePackProfile)
m_99989_(C_58_ arg0)