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.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) -
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 final 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 TypeMethodDescriptioncom.mojang.datafixers.util.Pair<SaveProperties,DynamicRegistryManager.Immutable> SaveLoader.SavePropertiesSupplier.get(ResourceManager resourceManager, DataPackSettings dataPackSettings) static 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> ops, DataPackSettings dataPackSettings, com.mojang.serialization.Lifecycle lifecycle) LevelStorage.Session.readLevelProperties(com.mojang.serialization.DynamicOps<NbtElement> ops, DataPackSettings dataPackSettings, com.mojang.serialization.Lifecycle lifecycle)