net.minecraft.resource

public class OverlayResourcePack

implements ResourcePack

net.minecraft.server.packs.CompositePackResources
net.minecraft.class_8614
net.minecraft.resource.OverlayResourcePack

Field summary

Modifier and TypeField
private final ResourcePack
primaryPackResources
field_45036
base
private final List<ResourcePack>
packResourcesStack
field_45037
overlaysAndBase

Constructor summary

ModifierConstructor
public (ResourcePack base, List<ResourcePack> overlays)

Method summary

Modifier and TypeMethod
public InputSupplier<InputStream>
getRootResource(String... path)
method_14410(String... arg0)
openRoot(String... arg0)
public InputSupplier<InputStream>
getResource(PackType type, Identifier location)
method_14405(class_3264 arg0, class_2960 arg1)
open(ResourceType arg0, Identifier arg1)
public 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 arg0, String arg1, String arg2, ResourcePack$ResultConsumer arg3)
public Set<String>
getNamespaces(PackType type)
method_14406(class_3264 arg0)
getNamespaces(ResourceType arg0)
public <T> T
getMetadataSection(MetadataSectionType<T> metadataSerializer)
method_14407(class_7677<T> arg0)
getMetadata(ResourceMetadataSerializer<T> arg0)
public ResourcePackInfo
location()
method_56926()
getInfo()
public void
close()