Class PackSelectionModel
java.lang.Object
net.minecraft.client.gui.screens.packs.PackSelectionModel
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interface
(package private) class
(package private) class
(package private) class
-
Field Summary
FieldsModifier and TypeFieldDescription(package private) final Function
<Pack, ResourceLocation> (package private) final Runnable
private final Consumer
<PackRepository> private final PackRepository
-
Constructor Summary
ConstructorsConstructorDescriptionPackSelectionModel
(Runnable pOnListChanged, Function<Pack, ResourceLocation> pIconGetter, PackRepository pRepository, Consumer<PackRepository> pOutput) -
Method Summary
-
Field Details
-
repository
-
selected
-
unselected
-
iconGetter
-
onListChanged
-
output
-
-
Constructor Details
-
PackSelectionModel
public PackSelectionModel(Runnable pOnListChanged, Function<Pack, ResourceLocation> pIconGetter, PackRepository pRepository, Consumer<PackRepository> pOutput)
-
-
Method Details
-
getUnselected
-
getSelected
-
updateRepoSelectedList
void updateRepoSelectedList() -
commit
public void commit() -
findNewPacks
public void findNewPacks()
-