Package net.minecraft.server.packs
Class VanillaPackResourcesBuilder
java.lang.Object
net.minecraft.server.packs.VanillaPackResourcesBuilder
- 
Field Summary
FieldsModifier and TypeFieldDescriptionstatic Consumer<VanillaPackResourcesBuilder>private static final org.slf4j.Loggerprivate BuiltInMetadata - 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptionbuild()copyAndReverse(Collection<Path> p_252072_) exposeNamespace(String... p_250838_) pushAssetPath(PackType p_248623_, Path p_250065_) pushClasspathResources(PackType p_251987_, Class<?> p_249062_) private voidpushPathForType(PackType p_250073_, Path p_252259_) private voidpushRootPath(Path p_251084_) pushUniversalPath(Path p_249464_) private static PathsafeGetPath(URI p_248652_) setMetadata(BuiltInMetadata p_249597_) private booleanvalidateDirPath(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
 
 -