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 DataPackSettingsMinecraftClient.loadDataPackSettings(LevelStorage.Session storageSession)Methods in net.minecraft.client with parameters of type DataPackSettingsModifier and TypeMethodDescriptionstatic SavePropertiesMinecraftClient.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 voidMinecraftClient.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 voidMinecraftClient.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 DataPackSettingsModifierConstructorDescriptionprivateCreateWorldScreen(@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 DataPackSettingsMinecraftServer.createDataPackSettings(ResourcePackManager dataPackManager)static DataPackSettingsMinecraftServer.loadDataPacks(ResourcePackManager resourcePackManager, DataPackSettings dataPackSettings, boolean safeMode)Methods in net.minecraft.server with parameters of type DataPackSettingsModifier and TypeMethodDescriptionstatic DataPackSettingsMinecraftServer.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 TypeMethodDescriptionvoidSaveProperties.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 LevelInfoLevelInfo.fromDynamic(com.mojang.serialization.Dynamic<?> dynamic, DataPackSettings dataPackSettings)voidLevelProperties.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 DataPackSettingsLevelStorage.parseDataPackSettings(com.mojang.serialization.Dynamic<?> dynamic)private static @Nullable DataPackSettingsLevelStorage.readDataPackSettings(File file, com.mojang.datafixers.DataFixer dataFixer)Methods in net.minecraft.world.level.storage with parameters of type DataPackSettingsModifier and TypeMethodDescription(package private) 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)