Uses of Class
net.minecraft.resource.DataPackSettings
Packages that use DataPackSettings
Package
Description
Provides resources to Minecraft, including resource access and provision.
-
Uses of DataPackSettings in net.minecraft.client
Methods in net.minecraft.client that return DataPackSettingsModifier and TypeMethodDescriptionstatic DataPackSettings
MinecraftClient.loadDataPackSettings(LevelStorage.Session storageSession)
Methods in net.minecraft.client with parameters of type DataPackSettingsModifier and TypeMethodDescriptionstatic SaveProperties
MinecraftClient.createSaveProperties(LevelStorage.Session session, DynamicRegistryManager.Impl registryTracker, ResourceManager resourceManager, DataPackSettings dataPackSettings)
Method parameters in net.minecraft.client with type arguments of type DataPackSettingsModifier and TypeMethodDescriptionMinecraftClient.createIntegratedResourceManager(DynamicRegistryManager.Impl registryManager, Function<LevelStorage.Session,DataPackSettings> dataPackSettingsGetter, com.mojang.datafixers.util.Function4<LevelStorage.Session,DynamicRegistryManager.Impl,ResourceManager,DataPackSettings,SaveProperties> savePropertiesGetter, boolean safeMode, LevelStorage.Session storageSession)
MinecraftClient.createIntegratedResourceManager(DynamicRegistryManager.Impl registryManager, Function<LevelStorage.Session,DataPackSettings> dataPackSettingsGetter, com.mojang.datafixers.util.Function4<LevelStorage.Session,DynamicRegistryManager.Impl,ResourceManager,DataPackSettings,SaveProperties> savePropertiesGetter, boolean safeMode, LevelStorage.Session storageSession)
private void
MinecraftClient.startIntegratedServer(String worldName, DynamicRegistryManager.Impl registryTracker, Function<LevelStorage.Session,DataPackSettings> dataPackSettingsGetter, com.mojang.datafixers.util.Function4<LevelStorage.Session,DynamicRegistryManager.Impl,ResourceManager,DataPackSettings,SaveProperties> savePropertiesGetter, boolean safeMode, MinecraftClient.WorldLoadAction worldLoadAction)
private void
MinecraftClient.startIntegratedServer(String worldName, DynamicRegistryManager.Impl registryTracker, Function<LevelStorage.Session,DataPackSettings> dataPackSettingsGetter, com.mojang.datafixers.util.Function4<LevelStorage.Session,DynamicRegistryManager.Impl,ResourceManager,DataPackSettings,SaveProperties> savePropertiesGetter, boolean safeMode, MinecraftClient.WorldLoadAction worldLoadAction)
-
Uses of DataPackSettings in net.minecraft.client.gui.screen.world
Fields in net.minecraft.client.gui.screen.world declared as DataPackSettingsConstructors in net.minecraft.client.gui.screen.world with parameters of type DataPackSettingsModifierConstructorDescriptionprivate
CreateWorldScreen(@Nullable Screen parent, DataPackSettings dataPackSettings, MoreOptionsDialog moreOptionsDialog)
CreateWorldScreen(@Nullable Screen parent, LevelInfo levelInfo, GeneratorOptions generatorOptions, @Nullable Path dataPackTempDir, DataPackSettings dataPackSettings, DynamicRegistryManager.Impl registryManager)
-
Uses of DataPackSettings in net.minecraft.resource
Fields in net.minecraft.resource declared as DataPackSettingsFields in net.minecraft.resource with type parameters of type DataPackSettingsModifier and TypeFieldDescriptionstatic com.mojang.serialization.Codec<DataPackSettings>
DataPackSettings.CODEC
-
Uses of DataPackSettings in net.minecraft.server
Methods in net.minecraft.server that return DataPackSettingsModifier and TypeMethodDescriptionprivate static DataPackSettings
MinecraftServer.createDataPackSettings(ResourcePackManager dataPackManager)
static DataPackSettings
MinecraftServer.loadDataPacks(ResourcePackManager resourcePackManager, DataPackSettings dataPackSettings, boolean safeMode)
Methods in net.minecraft.server with parameters of type DataPackSettingsModifier and TypeMethodDescriptionstatic DataPackSettings
MinecraftServer.loadDataPacks(ResourcePackManager resourcePackManager, DataPackSettings dataPackSettings, boolean safeMode)
-
Uses of DataPackSettings in net.minecraft.world
Methods in net.minecraft.world that return DataPackSettingsMethods in net.minecraft.world with parameters of type DataPackSettingsModifier and TypeMethodDescriptionvoid
SaveProperties.updateLevelInfo(DataPackSettings dataPackSettings)
-
Uses of DataPackSettings in net.minecraft.world.level
Fields in net.minecraft.world.level declared as DataPackSettingsMethods in net.minecraft.world.level that return DataPackSettingsModifier and TypeMethodDescriptionLevelInfo.getDataPackSettings()
LevelProperties.getDataPackSettings()
Methods in net.minecraft.world.level with parameters of type DataPackSettingsModifier and TypeMethodDescriptionstatic LevelInfo
LevelInfo.fromDynamic(com.mojang.serialization.Dynamic<?> dynamic, DataPackSettings dataPackSettings)
void
LevelProperties.updateLevelInfo(DataPackSettings dataPackSettings)
LevelInfo.withDataPackSettings(DataPackSettings dataPackSettings)
Constructors in net.minecraft.world.level with parameters of type DataPackSettingsModifierConstructorDescriptionLevelInfo(String name, GameMode gameMode, boolean hardcore, Difficulty difficulty, boolean allowCommands, GameRules gameRules, DataPackSettings dataPackSettings)
-
Uses of DataPackSettings in net.minecraft.world.level.storage
Methods in net.minecraft.world.level.storage that return DataPackSettingsModifier and TypeMethodDescriptionLevelStorage.Session.getDataPackSettings()
private static DataPackSettings
LevelStorage.parseDataPackSettings(com.mojang.serialization.Dynamic<?> dynamic)
private static @Nullable DataPackSettings
LevelStorage.readDataPackSettings(File file, com.mojang.datafixers.DataFixer dataFixer)
Methods in net.minecraft.world.level.storage with parameters of type DataPackSettingsModifier and TypeMethodDescriptionprivate static BiFunction<File,com.mojang.datafixers.DataFixer,LevelProperties>
LevelStorage.createLevelDataParser(com.mojang.serialization.DynamicOps<NbtElement> dynamicOps, DataPackSettings dataPackSettings)
LevelStorage.Session.readLevelProperties(com.mojang.serialization.DynamicOps<NbtElement> dynamicOps, DataPackSettings dataPackSettings)