Uses of Class
net.minecraft.resource.DataPackSettings
Package
Description
Provides resources to Minecraft, including resource access and provision.
-
Uses of DataPackSettings in net.minecraft.client
Modifier and TypeMethodDescriptionstatic DataPackSettings
MinecraftClient.loadDataPackSettings
(LevelStorage.Session storageSession) Modifier and TypeMethodDescriptionstatic SaveProperties
MinecraftClient.createSaveProperties
(LevelStorage.Session session, DynamicRegistryManager.Impl registryTracker, ResourceManager resourceManager, DataPackSettings dataPackSettings) Modifier 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
ModifierConstructorDescriptionprivate
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
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 TypeMethodDescriptionstatic 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> dynamicOps, DataPackSettings dataPackSettings) LevelStorage.Session.readLevelProperties
(com.mojang.serialization.DynamicOps<NbtElement> dynamicOps, DataPackSettings dataPackSettings)