Package net.minecraft.server.packs
Class VanillaPackResourcesBuilder
java.lang.Object
net.minecraft.server.packs.VanillaPackResourcesBuilder
-
Field Summary
Modifier and TypeFieldDescriptionstatic Consumer
<VanillaPackResourcesBuilder> private static final org.slf4j.Logger
private BuiltInMetadata
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild
(PackLocationInfo p_326441_) copyAndReverse
(Collection<Path> p_252072_) exposeNamespace
(String... p_250838_) pushAssetPath
(PackType p_248623_, Path p_250065_) pushClasspathResources
(PackType p_251987_, Class<?> p_249062_) private void
pushPathForType
(PackType p_250073_, Path p_252259_) private void
pushRootPath
(Path p_251084_) pushUniversalPath
(Path p_249464_) private static Path
safeGetPath
(URI p_248652_) setMetadata
(BuiltInMetadata p_249597_) private boolean
validateDirPath
(Path p_249112_)
-
Field Details
-
LOGGER
private static final org.slf4j.Logger LOGGER -
developmentConfig
-
ROOT_DIR_BY_TYPE
-
rootPaths
-
pathsForType
-
metadata
-
namespaces
-
-
Constructor Details
-
VanillaPackResourcesBuilder
public VanillaPackResourcesBuilder()
-
-
Method Details
-
safeGetPath
- Throws:
IOException
-
validateDirPath
-
pushRootPath
-
pushPathForType
-
pushJarResources
-
pushClasspathResources
-
applyDevelopmentConfig
-
pushUniversalPath
-
pushAssetPath
-
setMetadata
-
exposeNamespace
-
build
-
copyAndReverse
-