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