net.minecraft.server.packs.repository

public class PackRepository

implements AutoCloseable

abw
net.minecraft.server.packs.repository.PackRepository
net.minecraft.class_3283
net.minecraft.resource.ResourcePackManager
net.minecraft.resources.ResourcePackList
net.minecraft.server.v1_16_R3.ResourcePackRepository

Field summary

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

Constructor summary

ModifierConstructor
public (Pack$PackConstructor profileFactory, RepositorySource... providers)
public (RepositorySource... arg0)

Method summary

Modifier and TypeMethod
public void
a()
reload()
method_14445()
scanPacks()
func_198983_a()
private Map<String, Pack>
g()
discoverAvailable()
method_29212()
providePackProfiles()
func_232624_g_()
public void
a(Collection<String> arg0)
setSelected(Collection<String> arg0)
method_14447(Collection<String> arg0)
setEnabledProfiles(Collection<String> enabled)
func_198985_a(Collection<String> arg0)
private List<Pack>
b(Collection<String> arg0)
rebuildSelected(Collection<String> arg0)
method_29208(Collection<String> arg0)
buildEnabledProfiles(Collection<String> enabledNames)
func_232618_b_(Collection<String> arg0)
private Stream<Pack>
c(Collection<String> arg0)
getAvailablePacks(Collection<String> arg0)
method_29209(Collection<String> arg0)
streamProfilesByName(Collection<String> names)
func_232620_c_(Collection<String> arg0)
public Collection<String>
b()
getAvailableIds()
method_29206()
getNames()
func_232616_b_()
public Collection<Pack>
c()
getAvailablePacks()
method_14441()
getProfiles()
func_198978_b()
public Collection<String>
d()
getSelectedIds()
method_29210()
getEnabledNames()
func_232621_d_()
public Collection<Pack>
e()
getSelectedPacks()
method_14444()
getEnabledProfiles()
func_198980_d()
public Pack
a(String arg0)
getPack(String arg0)
method_14449(String arg0)
getProfile(String name)
func_198981_a(String arg0)
public void
close()
close()
close()
close()
close()
public boolean
b(String arg0)
isAvailable(String arg0)
method_29207(String arg0)
hasProfile(String name)
func_232617_b_(String arg0)
public List<PackResources>
f()
openAllSelected()
method_29211()
createResourcePacks()
func_232623_f_()