net.minecraft.resource

public interface ResourcePack

extends ResourceResolver

net.minecraft.server.packs.PackResources
net.minecraft.class_3262
net.minecraft.resource.ResourcePack

Field summary

Modifier and TypeField
String
METADATA_EXTENSION
field_29780
METADATA_PATH_SUFFIX
String
PACK_META
field_29781
PACK_METADATA_NAME

Method summary

Modifier and TypeMethod
InputSupplier<InputStream>
getResource(PackType type, Identifier location)
method_14405(class_3264 arg0, class_2960 arg1)
open(ResourceType type, Identifier id)
void
listResources(PackType type, String namespace, String directory, PackResources$ResourceOutput output)
method_14408(class_3264 arg0, String arg1, String arg2, class_3262$class_7664 arg3)
findResources(ResourceType type, String namespace, String prefix, ResourcePack$ResultConsumer consumer)
Set<String>
getNamespaces(PackType type)
method_14406(class_3264 arg0)
getNamespaces(ResourceType type)
default String
packId()
method_14409()
getId()
default Optional<VersionedIdentifier>
knownPackInfo()
method_56929()
getKnownPackInfo()