net.minecraft.server.packs.repository

public class PackRepository

implements AutoCloseable

aez
net.minecraft.server.packs.repository.PackRepository
net.minecraft.class_3283
net.minecraft.resource.ResourcePackManager
net.minecraft.src.C_62_
net.minecraft.server.packs.repository.ResourcePackRepository

Field summary

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

Constructor summary

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

Method summary

Modifier and TypeMethod
public void
a()
reload()
method_14445()
scanPacks()
m_10506_()
private Map<String, Pack>
g()
discoverAvailable()
method_29212()
providePackProfiles()
m_10526_()
public void
a(Collection<String> arg0)
setSelected(Collection<String> arg0)
method_14447(Collection<String> arg0)
setEnabledProfiles(Collection<String> enabled)
m_10509_(Collection<String> arg0)
private List<Pack>
b(Collection<String> arg0)
rebuildSelected(Collection<String> arg0)
method_29208(Collection<String> arg0)
buildEnabledProfiles(Collection<String> enabledNames)
m_10517_(Collection<String> arg0)
private Stream<Pack>
c(Collection<String> arg0)
getAvailablePacks(Collection<String> arg0)
method_29209(Collection<String> arg0)
streamProfilesByName(Collection<String> names)
m_10520_(Collection<String> arg0)
public Collection<String>
b()
getAvailableIds()
method_29206()
getNames()
m_10514_()
public Collection<Pack>
c()
getAvailablePacks()
method_14441()
getProfiles()
m_10519_()
public Collection<String>
d()
getSelectedIds()
method_29210()
getEnabledNames()
m_10523_()
public Collection<Pack>
e()
getSelectedPacks()
method_14444()
getEnabledProfiles()
m_10524_()
public Pack
a(String arg0)
getPack(String arg0)
method_14449(String arg0)
getProfile(String name)
m_10507_(String arg0)
public void
close()
close()
close()
public boolean
b(String arg0)
isAvailable(String arg0)
method_29207(String arg0)
hasProfile(String name)
m_10515_(String arg0)
public List<PackResources>
f()
openAllSelected()
method_29211()
createResourcePacks()
m_10525_()