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
Modifier and TypeMethodDescriptionprivate static SaveLoading.ServerConfig
CreateWorldScreen.createServerConfig
(ResourcePackManager resourcePackManager, DataPackSettings dataPackSettings) 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 TypeFieldDescriptionprivate final DataPackSettings
SaveLoading.DataPacks.settings
The field for thesettings
record component.Modifier and TypeMethodDescriptionprivate static DataPackSettings
MinecraftServer.createDataPackSettings
(ResourcePackManager dataPackManager) static DataPackSettings
MinecraftServer.loadDataPacks
(ResourcePackManager resourcePackManager, DataPackSettings dataPackSettings, boolean safeMode) SaveLoading.DataPacks.settings()
Returns the value of thesettings
record component.Modifier and TypeMethodDescriptioncom.mojang.datafixers.util.Pair<DataPackSettings,
LifecycledResourceManager> SaveLoading.DataPacks.load()
Modifier and TypeMethodDescriptioncom.mojang.datafixers.util.Pair<D,
DynamicRegistryManager.Immutable> SaveLoading.LoadContextSupplier.get
(ResourceManager resourceManager, DataPackSettings dataPackSettings) static DataPackSettings
MinecraftServer.loadDataPacks
(ResourcePackManager resourcePackManager, DataPackSettings dataPackSettings, boolean safeMode) ModifierConstructorDescriptionDataPacks
(ResourcePackManager resourcePackManager, DataPackSettings dataPackSettings, boolean bool) -
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
(Path path, com.mojang.datafixers.DataFixer dataFixer) Modifier and TypeMethodDescription(package private) static BiFunction<Path,
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)