Class PackSelectionModel
java.lang.Object
net.minecraft.client.gui.screens.packs.PackSelectionModel
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic interface
(package private) class
(package private) class
(package private) class
-
Field Summary
Modifier and TypeFieldDescription(package private) final Function
<Pack, ResourceLocation> (package private) final Runnable
private final Consumer
<PackRepository> private final PackRepository
-
Constructor Summary
ConstructorDescriptionPackSelectionModel
(Runnable p_99909_, Function<Pack, ResourceLocation> p_99910_, PackRepository p_99911_, Consumer<PackRepository> p_99912_) -
Method Summary
-
Field Details
-
repository
-
selected
-
unselected
-
iconGetter
-
onListChanged
-
output
-
-
Constructor Details
-
PackSelectionModel
public PackSelectionModel(Runnable p_99909_, Function<Pack, ResourceLocation> p_99910_, PackRepository p_99911_, Consumer<PackRepository> p_99912_)
-
-
Method Details
-
getUnselected
-
getSelected
-
updateRepoSelectedList
void updateRepoSelectedList() -
commit
public void commit() -
findNewPacks
public void findNewPacks()
-