Class EmptyPackResources
java.lang.Object
net.minecraft.server.packs.AbstractPackMetadataResources
net.neoforged.neoforge.resource.EmptyPackResources
- All Implemented Interfaces:
AutoCloseable, PackMetadataResources, PackResources, PackMetadataResourcesExtension
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from interface PackResources
PackResources.Filter, PackResources.ResourceOutput -
Field Summary
FieldsFields inherited from interface PackResources
METADATA_EXTENSION, PACK_META -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidclose()<T> @Nullable TgetMetadataSection(MetadataSectionType<T> type) getNamespaces(PackType type) getResource(PackType type, Identifier location) getRootResource(String... paths) voidlistResources(PackType type, String resourceNamespace, String paths, PackResources.ResourceOutput resourceOutput) Methods inherited from class AbstractPackMetadataResources
loadMetadata, location, toStringMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface PackMetadataResources
locationMethods inherited from interface PackMetadataResourcesExtension
isHiddenMethods inherited from interface PackResources
knownPackInfo, packId
-
Field Details
-
packMeta
-
-
Constructor Details
-
EmptyPackResources
-
-
Method Details
-
getMetadataSection
- Specified by:
getMetadataSectionin interfacePackMetadataResources- Overrides:
getMetadataSectionin classAbstractPackMetadataResources
-
close
public void close()- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfacePackMetadataResources
-
listResources
public void listResources(PackType type, String resourceNamespace, String paths, PackResources.ResourceOutput resourceOutput) - Specified by:
listResourcesin interfacePackResources
-
getNamespaces
- Specified by:
getNamespacesin interfacePackResources
-
getRootResource
- Specified by:
getRootResourcein interfacePackMetadataResources
-
getResource
- Specified by:
getResourcein interfacePackResources
-