Uses of Class
net.minecraft.resource.DataPackSettings
Package
Description
Provides resources to Minecraft, including resource access, provision, and reloading.
-
Uses of DataPackSettings in net.minecraft.resource
Modifier and TypeFieldDescriptionprivate final DataPackSettings
DataConfiguration.dataPacks
The field for thedataPacks
record component.static final DataPackSettings
DataPackSettings.SAFE_MODE
Modifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec<DataPackSettings>
DataPackSettings.CODEC
Modifier and TypeMethodDescriptionDataConfiguration.dataPacks()
Returns the value of thedataPacks
record component.ModifierConstructorDescriptionDataConfiguration
(DataPackSettings dataPackSettings, FeatureSet featureSet) -
Uses of DataPackSettings in net.minecraft.server
Modifier and TypeMethodDescriptionprivate static DataPackSettings
MinecraftServer.createDataPackSettings
(ResourcePackManager dataPackManager) Modifier and TypeMethodDescriptionstatic DataConfiguration
MinecraftServer.loadDataPacks
(ResourcePackManager resourcePackManager, DataPackSettings dataPackSettings, boolean safeMode, FeatureSet enabledFeatures) -
Uses of DataPackSettings in net.minecraft.server.dedicated
Modifier and TypeMethodDescriptionprivate static DataPackSettings
ServerPropertiesHandler.parseDataPackSettings
(String enabled, String disabled)