net.minecraft.server.packs.resources

public class MultiPackResourceManager

implements CloseableResourceManager

ala
net.minecraft.server.packs.resources.MultiPackResourceManager
net.minecraft.class_6861
net.minecraft.resource.LifecycledResourceManagerImpl
net.minecraft.src.C_203207_
net.minecraft.server.packs.resources.ResourceManager

Field summary

Modifier and TypeField
private static final org.slf4j.Logger
a
LOGGER
field_37288
LOGGER
f_215463_
private final Map<String, FallbackResourceManager>
b
namespacedManagers
field_36389
subManagers
f_203794_
private final List<PackResources>
c
packs
field_36390
packs
f_203795_

Constructor summary

ModifierConstructor
public (PackType type, List<PackResources> packs)

Method summary

Modifier and TypeMethod
private ResourceFilterSection
a(ajv arg0)
getPackFilterSection(PackResources arg0)
method_41274(class_3262 arg0)
parseResourceFilter(ResourcePack pack)
m_215467_(C_50_ arg0)
public Set<String>
a()
getNamespaces()
method_14487()
getAllNamespaces()
m_7187_()
public Optional<Resource>
getResource(add arg0)
getResource(ResourceLocation arg0)
method_14486(class_2960 arg0)
getResource(Identifier arg0)
m_213713_(C_5265_ arg0)
public List<Resource>
a(add arg0)
getResourceStack(ResourceLocation arg0)
method_14489(class_2960 arg0)
getAllResources(Identifier arg0)
m_213829_(C_5265_ arg0)
public Map<ResourceLocation, Resource>
b(String arg0, Predicate<add> arg1)
listResources(String arg0, Predicate<ResourceLocation> arg1)
method_14488(String arg0, Predicate<class_2960> arg1)
findResources(String arg0, Predicate<Identifier> arg1)
m_214159_(String p_215477_, Predicate<C_5265_> arg1)
public Map<ResourceLocation, List<Resource>>
c(String arg0, Predicate<add> arg1)
listResourceStacks(String arg0, Predicate<ResourceLocation> arg1)
method_41265(String arg0, Predicate<class_2960> arg1)
findAllResources(String arg0, Predicate<Identifier> arg1)
m_214160_(String p_215480_, Predicate<C_5265_> arg1)
private static void
a(String arg0)
checkTrailingDirectoryPath(String arg0)
method_45303(String arg0)
validateStartingPath(String startingPath)
m_247202_(String p_249608_)
public Stream<PackResources>
b()
listPacks()
method_29213()
streamResourcePacks()
m_7536_()
public void
close()
close()
close()