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 DataPackSettings
MinecraftClient. loadDataPackSettings(LevelStorage.Session storageSession)
Methods in net.minecraft.client with parameters of type DataPackSettings Modifier and Type Method Description static SaveProperties
MinecraftClient. 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 DataPackSettings
CreateWorldScreen. dataPackSettings
Constructors 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 DataPackSettings
DataPackSettings. SAFE_MODE
Fields 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 DataPackSettings
MinecraftServer. createDataPackSettings(ResourcePackManager dataPackManager)
static DataPackSettings
MinecraftServer. loadDataPacks(ResourcePackManager resourcePackManager, DataPackSettings dataPackSettings, boolean safeMode)
Methods in net.minecraft.server with parameters of type DataPackSettings Modifier and Type Method Description static DataPackSettings
MinecraftServer. 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 DataPackSettings
SaveProperties. getDataPackSettings()
Methods in net.minecraft.world with parameters of type DataPackSettings Modifier and Type Method Description void
SaveProperties. 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 DataPackSettings
LevelInfo. dataPackSettings
Methods in net.minecraft.world.level that return DataPackSettings Modifier and Type Method Description DataPackSettings
LevelInfo. getDataPackSettings()
DataPackSettings
LevelProperties. getDataPackSettings()
Methods in net.minecraft.world.level with parameters of type DataPackSettings Modifier and Type Method Description static LevelInfo
LevelInfo. fromDynamic(com.mojang.serialization.Dynamic<?> dynamic, DataPackSettings dataPackSettings)
void
LevelProperties. updateLevelInfo(DataPackSettings dataPackSettings)
LevelInfo
LevelInfo. 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 DataPackSettings
LevelStorage.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)
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 SaveProperties
LevelStorage.Session. readLevelProperties(com.mojang.serialization.DynamicOps<NbtElement> dynamicOps, DataPackSettings dataPackSettings)