net.minecraft.server.packs

public class VanillaPackResourcesBuilder

aul
net.minecraft.server.packs.VanillaPackResourcesBuilder
net.minecraft.class_7665
net.minecraft.resource.DefaultResourcePackBuilder
net.minecraft.server.packs.VanillaPackResourcesBuilder

Field summary

Modifier and TypeField
private static final org.slf4j.Logger
b
LOGGER
field_40005
LOGGER
public static Consumer<VanillaPackResourcesBuilder>
a
developmentConfig
field_40004
callback
private static final Map<PackType, Path>
c
ROOT_DIR_BY_TYPE
field_40006
RESOURCE_TYPE_TO_PATH
private final Set<Path>
d
rootPaths
field_40007
rootPaths
private final Map<PackType, Set<Path>>
e
pathsForType
field_40008
paths
private BuiltInMetadata
f
metadata
field_40009
metadataMap
private final Set<String>
g
namespaces
field_40010
namespaces

Constructor summary

ModifierConstructor
public ()

Method summary

Modifier and TypeMethod
private static Path
a(URI arg0)
safeGetPath(URI arg0)
method_45203(URI arg0)
toPath(URI uri)
private boolean
b(Path arg0)
validateDirPath(Path arg0)
method_45209(Path arg0)
exists(Path path)
private void
c(Path arg0)
pushRootPath(Path arg0)
method_45212(Path arg0)
addRootPath(Path path)
private void
b(aui arg0, Path arg1)
pushPathForType(PackType arg0, Path arg1)
method_45208(class_3264 arg0, Path arg1)
addPath(ResourceType type, Path path)
public VanillaPackResourcesBuilder
a()
pushJarResources()
method_45197()
withDefaultPaths()
public VanillaPackResourcesBuilder
a(aui arg0, Class<?> arg1)
pushClasspathResources(PackType arg0, Class<?> arg1)
method_45200(class_3264 arg0, Class<?> arg1)
withPaths(ResourceType type, Class<?> clazz)
public VanillaPackResourcesBuilder
b()
applyDevelopmentConfig()
method_45207()
runCallback()
public VanillaPackResourcesBuilder
a(Path arg0)
pushUniversalPath(Path arg0)
method_45204(Path arg0)
withRoot(Path root)
public VanillaPackResourcesBuilder
a(aui arg0, Path arg1)
pushAssetPath(PackType arg0, Path arg1)
method_45201(class_3264 arg0, Path arg1)
withPath(ResourceType type, Path path)
public VanillaPackResourcesBuilder
a(aty arg0)
setMetadata(BuiltInMetadata arg0)
method_45198(class_7662 arg0)
withMetadataMap(ResourceMetadataMap metadataMap)
public VanillaPackResourcesBuilder
a(String... arg0)
exposeNamespace(String... arg0)
method_45206(String... arg0)
withNamespaces(String... namespaces)
public VanillaPackResources
a(auf arg0)
build(PackLocationInfo arg0)
method_45210(class_9224 arg0)
build(ResourcePackInfo info)
private static List<Path>
a(Collection<Path> arg0)
copyAndReverse(Collection<Path> arg0)
method_45205(Collection<Path> arg0)
reverse(Collection<Path> paths)