net.minecraft.resource

public class ResourcePackManager<T extends ResourcePackProfile>

implements AutoCloseable

wx
net.minecraft.server.packs.repository.PackRepository
net.minecraft.class_3283
net.minecraft.resource.ResourcePackManager
net.minecraft.unmapped.C_dqfyacfy
net.minecraft.resource.pack.repository.PackRepository
net.minecraft.resources.ResourcePackList
net.minecraft.resources.ResourcePackList

Field summary

Modifier and TypeField
private final Set<ResourcePackProvider>
a
sources
field_14227
providers
f_aminivre
sources
field_198987_a
packFinders
private final Map<String, T>
b
available
field_14226
profiles
f_xdvstrtq
availablePacks
field_198988_b
packNameToInfo
private final List<T>
c
selected
field_14225
enabled
f_owexwtxz
selectedPacks
field_198989_c
enabled
private final ResourcePackProfile$Factory<T>
d
constructor
field_14228
profileFactory
f_wbomstwn
factory
field_198990_d
packInfoFactory

Constructor summary

ModifierConstructor
public (ResourcePackProfile$Factory<T> factory)

Method summary

Modifier and TypeMethod
public void
a()
reload()
method_14445()
scanPacks()
m_nffzgvzs()
reload()
func_198983_a()
reloadPacksFromFinders()
private void
e()
sortAvailable()
method_14448()
sort()
m_pvbwqdcv()
sortAvailable()
func_198986_e()
sortPackNameToInfo()
public void
a(Collection<T> arg0)
setSelected(Collection<T> arg0)
method_14447(Collection<T> arg0)
setEnabledProfiles(Collection<T> enabled)
m_bletxgrm(Collection<T> arg0)
select(Collection<T> packs)
func_198985_a(Collection<T> arg0)
setEnabledPacks(Collection<T> arg0)
public Collection<T>
b()
getAvailable()
method_14441()
getProfiles()
m_siylytod()
getAvailablePacks()
func_198978_b()
getAllPacks()
public Collection<T>
c()
getUnselected()
method_14442()
getDisabledProfiles()
m_xxsvqjfp()
getUnselected()
func_198979_c()
getAvailablePacks()
public Collection<T>
d()
getSelected()
method_14444()
getEnabledProfiles()
m_bhoxrolv()
getSelectedPacks()
func_198980_d()
getEnabledPacks()
public T
a(String arg0)
getPack(String arg0)
method_14449(String arg0)
getProfile(String name)
m_wznveqqm(String arg0)
getPack(String id)
func_198981_a(String arg0)
getPackInfo(String name)
public void
a(wy arg0)
addSource(RepositorySource arg0)
method_14443(class_3285 arg0)
registerProvider(ResourcePackProvider provider)
m_zgsfusvs(C_johcixxq arg0)
addSource(RepositorySource source)
func_198982_a(IPackFinder arg0)
addPackFinder(IPackFinder packFinder)
public void
close()
close()
close()
close()
close()