net.minecraft.server.packs

public class VanillaPackResourcesBuilder

ajz
net.minecraft.server.packs.VanillaPackResourcesBuilder
net.minecraft.class_7665
net.minecraft.resource.DefaultResourcePackBuilder
net.minecraft.src.C_243597_
net.minecraft.server.packs.VanillaPackResourcesBuilder

Field summary

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

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)
m_246045_(URI p_248652_)
private boolean
b(Path arg0)
validateDirPath(Path arg0)
method_45209(Path arg0)
exists(Path path)
m_247040_(Path arg0)
private void
c(Path arg0)
pushRootPath(Path arg0)
method_45212(Path arg0)
addRootPath(Path path)
m_245487_(Path arg0)
private void
b(ajw arg0, Path arg1)
pushPathForType(PackType arg0, Path arg1)
method_45208(class_3264 arg0, Path arg1)
addPath(ResourceType type, Path path)
m_246356_(C_51_ p_252259_, Path arg1)
public VanillaPackResourcesBuilder
a()
pushJarResources()
method_45197()
withDefaultPaths()
m_246373_()
public VanillaPackResourcesBuilder
a(ajw arg0, Class<?> arg1)
pushClasspathResources(PackType arg0, Class<?> arg1)
method_45200(class_3264 arg0, Class<?> arg1)
withPaths(ResourceType type, Class<?> clazz)
m_246513_(C_51_ p_249062_, Class<?> arg1)
public VanillaPackResourcesBuilder
b()
applyDevelopmentConfig()
method_45207()
runCallback()
m_246678_()
public VanillaPackResourcesBuilder
a(Path arg0)
pushUniversalPath(Path arg0)
method_45204(Path arg0)
withRoot(Path root)
m_245630_(Path arg0)
public VanillaPackResourcesBuilder
a(ajw arg0, Path arg1)
pushAssetPath(PackType arg0, Path arg1)
method_45201(class_3264 arg0, Path arg1)
withPath(ResourceType type, Path path)
m_246275_(C_51_ p_250065_, Path arg1)
public VanillaPackResourcesBuilder
a(ajs arg0)
setMetadata(BuiltInMetadata arg0)
method_45198(class_7662 arg0)
withMetadataMap(ResourceMetadataMap metadataMap)
m_245913_(C_243532_ arg0)
public VanillaPackResourcesBuilder
a(String... arg0)
exposeNamespace(String... arg0)
method_45206(String... arg0)
withNamespaces(String... namespaces)
m_245371_(String... arg0)
public VanillaPackResources
c()
build()
method_45210()
build()
m_245772_()
private static List<Path>
a(Collection<Path> arg0)
copyAndReverse(Collection<Path> arg0)
method_45205(Collection<Path> arg0)
reverse(Collection<Path> paths)
m_247634_(Collection<Path> p_252072_)