Class VanillaPackResourcesBuilder
java.lang.Object
net.minecraft.server.packs.VanillaPackResourcesBuilder
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic Consumer<VanillaPackResourcesBuilder> private final FixedPathPackResources.Builderprivate final List<FixedPathPackResources.Builder> private static final org.slf4j.Loggerprivate @Nullable ResourceMetadata -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild(PackLocationInfo location) exposeNamespace(String... namespaces) private voidprivate voidpushAssetPath(PackType packType, Path path) pushClasspathResources(PackType packType, Class<?> source) private voidpushPathForType(PackType packType, Path path) private voidpushRootPath(Path path) pushUniversalPath(Path path) setMetadata(ResourceMetadata metadata)
-
Field Details
-
LOGGER
private static final org.slf4j.Logger LOGGER -
developmentConfig
-
fullBuilder
-
layeredBuilders
-
namespaces
-
metadata
-
ROOT_DIR_BY_TYPE
-
-
Constructor Details
-
VanillaPackResourcesBuilder
public VanillaPackResourcesBuilder()
-
-
Method Details
-
forLastLayer
-
forAllLayers
-
pushRootPath
-
pushPathForType
-
pushJarResources
-
pushClasspathResources
-
applyDevelopmentConfig
-
pushUniversalPath
-
pushAssetPath
-
setMetadata
-
exposeNamespace
-
pushLayer
-
build
-