net.minecraft.client.gui.screens.packs

public class PackSelectionModel

fbo
net.minecraft.client.gui.screens.packs.PackSelectionModel
net.minecraft.class_5369
net.minecraft.client.gui.screen.pack.ResourcePackOrganizer
net.minecraft.src.C_3701_

Field summary

Modifier and TypeField
private final PackRepository
a
repository
field_25626
resourcePackManager
f_99902_
final List<Pack>
b
selected
field_25455
enabledPacks
f_99903_
final List<Pack>
c
unselected
field_25456
disabledPacks
f_99904_
final Function<Pack, ResourceLocation>
d
iconGetter
field_25785
iconIdSupplier
f_99905_
final Runnable
e
onListChanged
field_25458
updateCallback
f_99906_
private final Consumer<PackRepository>
f
output
field_25459
applier
f_99907_

Constructor summary

ModifierConstructor
public (Runnable updateCallback, Function<Pack, ResourceLocation> iconIdSupplier, PackRepository resourcePackManager, Consumer<PackRepository> applier)

Method summary

Modifier and TypeMethod
public Stream<PackSelectionModel$Entry>
a()
getUnselected()
method_29639()
getDisabledPacks()
m_99913_()
public Stream<PackSelectionModel$Entry>
b()
getSelected()
method_29643()
getEnabledPacks()
m_99918_()
void
e()
updateRepoSelectedList()
method_49627()
refreshEnabledProfiles()
m_274342_()
public void
c()
commit()
method_29642()
apply()
m_99923_()
public void
d()
findNewPacks()
method_29981()
refresh()
m_99926_()