net.minecraft.client.gui.screens.packs

public class PackSelectionModel

fxn
net.minecraft.client.gui.screens.packs.PackSelectionModel
net.minecraft.class_5369
net.minecraft.client.gui.screen.pack.ResourcePackOrganizer

Field summary

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

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()
public Stream<PackSelectionModel$Entry>
b()
getSelected()
method_29643()
getEnabledPacks()
void
e()
updateRepoSelectedList()
method_49627()
refreshEnabledProfiles()
public void
c()
commit()
method_29642()
apply()
public void
d()
findNewPacks()
method_29981()
refresh()