Uses of Class
net.minecraft.resource.DataPackSettings
| Package | Description |
|---|---|
| net.minecraft.client | |
| net.minecraft.client.gui.screen.world | |
| net.minecraft.resource |
Provides resources to Minecraft, including resource access and provision.
|
| net.minecraft.server | |
| net.minecraft.world | |
| net.minecraft.world.level | |
| net.minecraft.world.level.storage |
-
Uses of DataPackSettings in net.minecraft.client
Methods in net.minecraft.client that return DataPackSettings Modifier and Type Method Description static DataPackSettingsMinecraftClient. loadDataPackSettings(LevelStorage.Session storageSession)Methods in net.minecraft.client with parameters of type DataPackSettings Modifier and Type Method Description static SavePropertiesMinecraftClient. createSaveProperties(LevelStorage.Session session, DynamicRegistryManager.Impl registryTracker, ResourceManager resourceManager, DataPackSettings dataPackSettings) -
Uses of DataPackSettings in net.minecraft.client.gui.screen.world
Fields in net.minecraft.client.gui.screen.world declared as DataPackSettings Modifier and Type Field Description protected DataPackSettingsCreateWorldScreen. dataPackSettingsConstructors in net.minecraft.client.gui.screen.world with parameters of type DataPackSettings Constructor Description 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
Fields in net.minecraft.resource declared as DataPackSettings Modifier and Type Field Description static DataPackSettingsDataPackSettings. SAFE_MODEFields in net.minecraft.resource with type parameters of type DataPackSettings Modifier and Type Field Description static com.mojang.serialization.Codec<DataPackSettings>DataPackSettings. CODEC -
Uses of DataPackSettings in net.minecraft.server
Methods in net.minecraft.server that return DataPackSettings Modifier and Type Method Description private static DataPackSettingsMinecraftServer. createDataPackSettings(ResourcePackManager dataPackManager)static DataPackSettingsMinecraftServer. loadDataPacks(ResourcePackManager resourcePackManager, DataPackSettings dataPackSettings, boolean safeMode)Methods in net.minecraft.server with parameters of type DataPackSettings Modifier and Type Method Description static DataPackSettingsMinecraftServer. loadDataPacks(ResourcePackManager resourcePackManager, DataPackSettings dataPackSettings, boolean safeMode) -
Uses of DataPackSettings in net.minecraft.world
Methods in net.minecraft.world that return DataPackSettings Modifier and Type Method Description DataPackSettingsSaveProperties. getDataPackSettings()Methods in net.minecraft.world with parameters of type DataPackSettings Modifier and Type Method Description voidSaveProperties. updateLevelInfo(DataPackSettings dataPackSettings) -
Uses of DataPackSettings in net.minecraft.world.level
Fields in net.minecraft.world.level declared as DataPackSettings Modifier and Type Field Description private DataPackSettingsLevelInfo. dataPackSettingsMethods in net.minecraft.world.level that return DataPackSettings Modifier and Type Method Description DataPackSettingsLevelInfo. getDataPackSettings()DataPackSettingsLevelProperties. getDataPackSettings()Methods in net.minecraft.world.level with parameters of type DataPackSettings Modifier and Type Method Description static LevelInfoLevelInfo. fromDynamic(com.mojang.serialization.Dynamic<?> dynamic, DataPackSettings dataPackSettings)voidLevelProperties. updateLevelInfo(DataPackSettings dataPackSettings)LevelInfoLevelInfo. withDataPackSettings(DataPackSettings dataPackSettings)Constructors in net.minecraft.world.level with parameters of type DataPackSettings Constructor Description LevelInfo(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 DataPackSettings Modifier and Type Method Description @Nullable DataPackSettingsLevelStorage.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 DataPackSettings Modifier and Type Method Description private static BiFunction<File,com.mojang.datafixers.DataFixer,LevelProperties>LevelStorage. createLevelDataParser(com.mojang.serialization.DynamicOps<NbtElement> dynamicOps, DataPackSettings dataPackSettings)@Nullable SavePropertiesLevelStorage.Session. readLevelProperties(com.mojang.serialization.DynamicOps<NbtElement> dynamicOps, DataPackSettings dataPackSettings)