net.minecraft.server.packs.repository

public class PackRepository<T extends UnopenedPack>

implements AutoCloseable

wx
net.minecraft.server.packs.repository.PackRepository
net.minecraft.class_3283
net.minecraft.resource.ResourcePackManager
net.minecraft.resources.ResourcePackList
net.minecraft.server.v1_14_R1.ResourcePackRepository

Field summary

Modifier and TypeField
private final Set<RepositorySource>
a
sources
field_14227
providers
field_198987_a
private final Map<String, T>
b
available
field_14226
profiles
field_198988_b
private final List<T>
c
selected
field_14225
enabled
field_198989_c
private final UnopenedPack$UnopenedPackConstructor<T>
d
constructor
field_14228
profileFactory
field_198990_d

Constructor summary

ModifierConstructor
public (UnopenedPack$UnopenedPackConstructor<T> factory)

Method summary

Modifier and TypeMethod
public void
a()
reload()
method_14445()
scanPacks()
func_198983_a()
private void
e()
sortAvailable()
method_14448()
sort()
func_198986_e()
public void
a(Collection<T> arg0)
setSelected(Collection<T> arg0)
method_14447(Collection<T> arg0)
setEnabledProfiles(Collection<T> enabled)
func_198985_a(Collection<T> arg0)
public Collection<T>
b()
getAvailable()
method_14441()
getProfiles()
func_198978_b()
public Collection<T>
c()
getUnselected()
method_14442()
getDisabledProfiles()
func_198979_c()
public Collection<T>
d()
getSelected()
method_14444()
getEnabledProfiles()
func_198980_d()
public T
a(String arg0)
getPack(String arg0)
method_14449(String arg0)
getProfile(String name)
func_198981_a(String arg0)
public void
a(wy arg0)
addSource(RepositorySource arg0)
method_14443(class_3285 arg0)
registerProvider(ResourcePackProvider provider)
func_198982_a(IPackFinder arg0)
public void
close()
close()
close()
close()