Class PackRepository
java.lang.Object
net.minecraft.server.packs.repository.PackRepository
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
void
addPackFinder
(RepositorySource packFinder) static String
displayPackList
(Collection<Pack> p_341622_) getAvailablePacks
(Collection<String> p_10521_) boolean
isAvailable
(String p_10516_) rebuildSelected
(Collection<String> p_10518_) void
reload()
boolean
removePack
(String p_276065_) void
setSelected
(Collection<String> p_10510_)
-
Field Details
-
sources
-
available
-
selected
-
-
Constructor Details
-
PackRepository
-
-
Method Details
-
displayPackList
-
reload
public void reload() -
discoverAvailable
-
setSelected
-
addPack
-
removePack
-
rebuildSelected
-
getAvailablePacks
-
getAvailableIds
-
getAvailablePacks
-
getSelectedIds
-
getRequestedFeatureFlags
-
getSelectedPacks
-
getPack
-
addPackFinder
-
isAvailable
-
openAllSelected
-