net.minecraft.server.packs.repository

public class PackRepository

aua
net.minecraft.server.packs.repository.PackRepository
net.minecraft.class_3283
net.minecraft.resource.ResourcePackManager
net.minecraft.server.packs.repository.ResourcePackRepository

Field summary

Modifier and TypeField
private final Set<RepositorySource>
a
sources
field_14227
providers
private Map<String, Pack>
b
available
field_14226
profiles
private List<Pack>
c
selected
field_14225
enabled

Constructor summary

ModifierConstructor
public (RepositorySource... providers)

Method summary

Modifier and TypeMethod
public static String
a(Collection<atx> arg0)
displayPackList(Collection<Pack> arg0)
method_59809(Collection<class_3288> arg0)
listPacks(Collection<ResourcePackProfile> profiles)
public void
a()
reload()
method_14445()
scanPacks()
private Map<String, Pack>
i()
discoverAvailable()
method_29212()
providePackProfiles()
public boolean
b()
isAbleToClearAnyPack()
method_63566()
hasOptionalProfilesEnabled()
public void
b(Collection<String> arg0)
setSelected(Collection<String> arg0)
method_14447(Collection<String> arg0)
setEnabledProfiles(Collection<String> enabled)
public boolean
a(String arg0)
addPack(String arg0)
method_49427(String arg0)
enable(String profile)
public boolean
b(String arg0)
removePack(String arg0)
method_49428(String arg0)
disable(String profile)
private List<Pack>
c(Collection<String> arg0)
rebuildSelected(Collection<String> arg0)
method_29208(Collection<String> arg0)
buildEnabledProfiles(Collection<String> enabledNames)
private Stream<Pack>
d(Collection<String> arg0)
getAvailablePacks(Collection<String> arg0)
method_29209(Collection<String> arg0)
streamProfilesById(Collection<String> ids)
public Collection<String>
c()
getAvailableIds()
method_29206()
getIds()
public Collection<Pack>
d()
getAvailablePacks()
method_14441()
getProfiles()
public Collection<String>
e()
getSelectedIds()
method_29210()
getEnabledIds()
public FeatureFlagSet
f()
getRequestedFeatureFlags()
method_45278()
getRequestedFeatures()
public Collection<Pack>
g()
getSelectedPacks()
method_14444()
getEnabledProfiles()
public Pack
c(String arg0)
getPack(String arg0)
method_14449(String arg0)
getProfile(String id)
public boolean
d(String arg0)
isAvailable(String arg0)
method_29207(String arg0)
hasProfile(String id)
public List<PackResources>
h()
openAllSelected()
method_29211()
createResourcePacks()