net.minecraft.server.packs.repository

public class PackRepository

aks
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_

Constructor summary

ModifierConstructor
public (RepositorySource... providers)

Method summary

Modifier and TypeMethod
public void
a()
reload()
method_14445()
scanPacks()
m_10506_()
private Map<String, Pack>
h()
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)
public boolean
a(String arg0)
addPack(String arg0)
method_49427(String arg0)
enable(String profile)
m_275855_(String arg0)
public boolean
b(String arg0)
removePack(String arg0)
method_49428(String arg0)
disable(String profile)
m_275853_(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 FeatureFlagSet
e()
getRequestedFeatureFlags()
method_45278()
getRequestedFeatures()
m_245805_()
public Collection<Pack>
f()
getSelectedPacks()
method_14444()
getEnabledProfiles()
m_10524_()
public Pack
c(String arg0)
getPack(String arg0)
method_14449(String arg0)
getProfile(String name)
m_10507_(String arg0)
public boolean
d(String arg0)
isAvailable(String arg0)
method_29207(String arg0)
hasProfile(String name)
m_10515_(String arg0)
public List<PackResources>
g()
openAllSelected()
method_29211()
createResourcePacks()
m_10525_()