net.minecraft.resource

public class DefaultResourcePack$Builder

net.minecraft.server.packs.FixedPathPackResources$Builder
net.minecraft.class_3268$class_1_1070
net.minecraft.resource.DefaultResourcePack$Builder

Field summary

Modifier and TypeField
private final Set<Path>
rootPaths
field_1_7506
rootPaths
private final Map<ResourceType, Set<Path>>
pathsForType
field_1_7505
namespacePaths
private ResourceMetadata
metadata
field_1_7503
metadataMap
private final Set<String>
namespaces
field_1_7504
namespaces

Constructor summary

ModifierConstructor
public ()

Method summary

Modifier and TypeMethod
private static boolean
validateDirPath(Path path)
method_1_6858(Path arg0)
directoryExists(Path dir)
public void
pushRootPath(Path path)
method_1_6856(Path arg0)
rootPath(Path dir)
public void
pushPathForType(PackType packType, Path path)
method_1_6855(class_3264 arg0, Path arg1)
namespacePath(ResourceType resourceType, Path dir)
public void
setMetadata(ResourceMetadata metadata)
method_1_6857(class_7368 arg0)
metadataMap(ResourceMetadata metadata)
public void
exposeNamespace(Collection<String> namespaces)
method_1_6852(Collection<String> arg0)
withNamespaces(Collection<String> namespaces)
public DefaultResourcePack
build(PackLocationInfo location)
method_1_6850(class_9224 arg0)
build(ResourcePackInfo info)
private static List<Path>
copyAndReverse(Collection<Path> input)
method_1_6851(Collection<Path> arg0)
reversed(Collection<Path> paths)
private List
lambda$build$0(PackType arg0)
method_1_6853(class_3264 arg0)
method_1_6853(ResourceType resourceType)
private static Set
lambda$pushPathForType$0(PackType arg0)
method_1_6854(class_3264 arg0)
method_1_6854(ResourceType type)