Package net.minecraft.server.packs
Class FilePackResources
java.lang.Object
net.minecraft.server.packs.AbstractPackResources
net.minecraft.server.packs.FilePackResources
- All Implemented Interfaces:
- AutoCloseable,- PackResources,- IPackResourcesExtension
- 
Nested Class SummaryNested ClassesModifier and TypeClassDescriptionstatic classstatic classNested classes/interfaces inherited from interface net.minecraft.server.packs.PackResourcesPackResources.ResourceOutput
- 
Field SummaryFieldsModifier and TypeFieldDescription(package private) static final org.slf4j.Loggerprivate final Stringprivate final FilePackResources.SharedZipFileAccessFields inherited from interface net.minecraft.server.packs.PackResourcesMETADATA_EXTENSION, PACK_META
- 
Constructor SummaryConstructorsConstructorDescriptionFilePackResources(String p_256076_, FilePackResources.SharedZipFileAccess p_296014_, boolean p_256556_, String p_295077_) 
- 
Method SummaryModifier and TypeMethodDescriptionprivate Stringvoidclose()static StringextractNamespace(String p_294953_, String p_294476_) getNamespaces(PackType p_10238_) private static StringgetPathFromLocation(PackType p_250585_, ResourceLocation p_251470_) private IoSupplier<InputStream>getResource(String p_251795_) getResource(PackType p_249605_, ResourceLocation p_252147_) getRootResource(String... p_248514_) voidlistResources(PackType p_250500_, String p_249598_, String p_251613_, PackResources.ResourceOutput p_250655_) Methods inherited from class net.minecraft.server.packs.AbstractPackResourcesgetMetadataFromStream, getMetadataSection, isBuiltin, packId, toStringMethods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface net.neoforged.neoforge.common.extensions.IPackResourcesExtensionisHidden
- 
Field Details- 
LOGGERstatic final org.slf4j.Logger LOGGER
- 
zipFileAccess
- 
prefix
 
- 
- 
Constructor Details
- 
Method Details- 
getPathFromLocation
- 
getRootResource
- 
getResource
- 
addPrefix
- 
getResource
- 
getNamespaces
- 
extractNamespace
- 
closepublic void close()
- 
listResourcespublic void listResources(PackType p_250500_, String p_249598_, String p_251613_, PackResources.ResourceOutput p_250655_) 
 
-