net.minecraft.client.gui.screens.packs

public class PackSelectionModel

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

Field summary

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

Constructor summary

ModifierConstructor
public (Runnable updateCallback, Function<Pack, ResourceLocation> arg1, PackRepository resourcePackManager, Consumer<PackRepository> arg3)

Method summary

Modifier and TypeMethod
public Stream<PackSelectionModel$Entry>
a()
getUnselected()
method_29639()
getDisabledPacks()
func_238865_a_()
public Stream<PackSelectionModel$Entry>
b()
getSelected()
method_29643()
getEnabledPacks()
func_238869_b_()
public void
c()
commit()
method_29642()
apply()
func_241618_c_()
public void
d()
findNewPacks()
method_29981()
refresh()
func_241619_d_()