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.client.gui.screen.world
ModifierConstructorDescriptionprivate
CreateWorldScreen
(@Nullable Screen parent, DataPackSettings dataPackSettings, MoreOptionsDialog moreOptionsDialog) -
Uses of DataPackSettings in net.minecraft.resource
Modifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec<DataPackSettings>
DataPackSettings.CODEC
-
Uses of DataPackSettings in net.minecraft.server
Modifier and TypeMethodDescriptionprivate static DataPackSettings
MinecraftServer.createDataPackSettings
(ResourcePackManager dataPackManager) static DataPackSettings
MinecraftServer.loadDataPacks
(ResourcePackManager resourcePackManager, DataPackSettings dataPackSettings, boolean safeMode) Modifier and TypeMethodDescriptioncom.mojang.datafixers.util.Pair<SaveProperties,
DynamicRegistryManager.Immutable> SaveLoader.SavePropertiesSupplier.get
(ResourceManager resourceManager, DataPackSettings dataPackSettings) static DataPackSettings
MinecraftServer.loadDataPacks
(ResourcePackManager resourcePackManager, DataPackSettings dataPackSettings, boolean safeMode) -
Uses of DataPackSettings in net.minecraft.world
Modifier and TypeMethodDescriptionvoid
SaveProperties.updateLevelInfo
(DataPackSettings dataPackSettings) -
Uses of DataPackSettings in net.minecraft.world.level
Modifier and TypeMethodDescriptionLevelInfo.getDataPackSettings()
LevelProperties.getDataPackSettings()
Modifier and TypeMethodDescriptionstatic LevelInfo
LevelInfo.fromDynamic
(com.mojang.serialization.Dynamic<?> dynamic, DataPackSettings dataPackSettings) void
LevelProperties.updateLevelInfo
(DataPackSettings dataPackSettings) LevelInfo.withDataPackSettings
(DataPackSettings dataPackSettings) ModifierConstructorDescriptionLevelInfo
(String name, GameMode gameMode, boolean hardcore, Difficulty difficulty, boolean allowCommands, GameRules gameRules, DataPackSettings dataPackSettings) -
Uses of DataPackSettings in net.minecraft.world.level.storage
Modifier 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) Modifier 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)