Class MultiPackResourceManager
java.lang.Object
net.minecraft.server.packs.resources.MultiPackResourceManager
- All Implemented Interfaces:
- AutoCloseable,- CloseableResourceManager,- ResourceManager,- ResourceProvider
- 
Nested Class SummaryNested classes/interfaces inherited from interface net.minecraft.server.packs.resources.ResourceManagerResourceManager.Empty
- 
Field SummaryFieldsModifier and TypeFieldDescriptionprivate static final org.slf4j.Loggerprivate final Map<String,FallbackResourceManager> private final List<PackResources>
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionprivate static voidcheckTrailingDirectoryPath(String p_249608_) voidclose()private ResourceFilterSectiongetPackFilterSection(PackResources p_215468_) getResource(ResourceLocation p_215482_) getResourceStack(ResourceLocation p_215466_) listResources(String p_215476_, Predicate<ResourceLocation> p_215477_) listResourceStacks(String p_215479_, Predicate<ResourceLocation> p_215480_) Methods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.minecraft.server.packs.resources.ResourceProvidergetResourceOrThrow, open, openAsReader
- 
Field Details- 
LOGGERprivate static final org.slf4j.Logger LOGGER
- 
namespacedManagers
- 
packs
 
- 
- 
Constructor Details- 
MultiPackResourceManager
 
- 
- 
Method Details- 
getPackFilterSection
- 
getNamespaces- Specified by:
- getNamespacesin interface- ResourceManager
 
- 
getResource- Specified by:
- getResourcein interface- ResourceProvider
 
- 
getResourceStack- Specified by:
- getResourceStackin interface- ResourceManager
 
- 
listResourcespublic Map<ResourceLocation,Resource> listResources(String p_215476_, Predicate<ResourceLocation> p_215477_) - Specified by:
- listResourcesin interface- ResourceManager
 
- 
listResourceStackspublic Map<ResourceLocation,List<Resource>> listResourceStacks(String p_215479_, Predicate<ResourceLocation> p_215480_) - Specified by:
- listResourceStacksin interface- ResourceManager
 
- 
checkTrailingDirectoryPath
- 
listPacks- Specified by:
- listPacksin interface- ResourceManager
 
- 
closepublic void close()- Specified by:
- closein interface- AutoCloseable
- Specified by:
- closein interface- CloseableResourceManager
 
 
-