Uses of Class
net.minecraft.world.level.DataPackConfig
Package
Description
-
Uses of DataPackConfig in net.minecraft.client.gui.screens.worldselection
Modifier and TypeMethodDescriptionprivate static WorldLoader.InitConfig
CreateWorldScreen.createDefaultLoadConfig
(PackRepository p_232873_, DataPackConfig p_232874_) ModifierConstructorDescriptionprivate
CreateWorldScreen
(Screen p_100861_, DataPackConfig p_100862_, WorldGenSettingsComponent p_100863_) -
Uses of DataPackConfig in net.minecraft.server
Modifier and TypeFieldDescriptionprivate final DataPackConfig
WorldLoader.PackConfig.initialDataPacks
The field for theinitialDataPacks
record component.Modifier and TypeMethodDescriptionstatic DataPackConfig
MinecraftServer.configurePackRepository
(PackRepository p_129820_, DataPackConfig p_129821_, boolean p_129822_) private static DataPackConfig
MinecraftServer.getSelectedPacks
(PackRepository p_129818_) WorldLoader.PackConfig.initialDataPacks()
Returns the value of theinitialDataPacks
record component.Modifier and TypeMethodDescriptioncom.mojang.datafixers.util.Pair<DataPackConfig,
CloseableResourceManager> WorldLoader.PackConfig.createResourceManager()
Modifier and TypeMethodDescriptionstatic DataPackConfig
MinecraftServer.configurePackRepository
(PackRepository p_129820_, DataPackConfig p_129821_, boolean p_129822_) com.mojang.datafixers.util.Pair<D,
RegistryAccess.Frozen> WorldLoader.WorldDataSupplier.get
(ResourceManager p_214413_, DataPackConfig p_214414_) ModifierConstructorDescriptionPackConfig
(PackRepository packRepository, DataPackConfig initialDataPacks, boolean safeMode) Creates an instance of aPackConfig
record class. -
Uses of DataPackConfig in net.minecraft.world.level
Modifier and TypeFieldDescriptionprivate final DataPackConfig
LevelSettings.dataPackConfig
static final DataPackConfig
DataPackConfig.DEFAULT
Modifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec<DataPackConfig>
DataPackConfig.CODEC
Modifier and TypeMethodDescriptionstatic LevelSettings
LevelSettings.parse
(com.mojang.serialization.Dynamic<?> p_46925_, DataPackConfig p_46926_) LevelSettings.withDataPackConfig
(DataPackConfig p_46921_) ModifierConstructorDescriptionLevelSettings
(String p_46910_, GameType p_46911_, boolean p_46912_, Difficulty p_46913_, boolean p_46914_, GameRules p_46915_, DataPackConfig p_46916_) LevelSettings
(String p_46910_, GameType p_46911_, boolean p_46912_, Difficulty p_46913_, boolean p_46914_, GameRules p_46915_, DataPackConfig p_46916_, com.mojang.serialization.Lifecycle lifecycle) -
Uses of DataPackConfig in net.minecraft.world.level.storage
Modifier and TypeMethodDescriptionPrimaryLevelData.getDataPackConfig()
WorldData.getDataPackConfig()
private static DataPackConfig
LevelStorageSource.getDataPacks
(Path p_230829_, com.mojang.datafixers.DataFixer p_230830_) LevelStorageSource.LevelStorageAccess.getDataPacks()
private static DataPackConfig
LevelStorageSource.readDataPackConfig
(com.mojang.serialization.Dynamic<?> p_78203_) Modifier and TypeMethodDescriptionLevelStorageSource.LevelStorageAccess.getDataTag
(com.mojang.serialization.DynamicOps<Tag> p_211748_, DataPackConfig p_211749_, com.mojang.serialization.Lifecycle p_211750_) (package private) static BiFunction<Path,
com.mojang.datafixers.DataFixer, PrimaryLevelData> LevelStorageSource.getLevelData
(com.mojang.serialization.DynamicOps<Tag> p_211738_, DataPackConfig p_211739_, com.mojang.serialization.Lifecycle p_211740_) void
PrimaryLevelData.setDataPackConfig
(DataPackConfig p_78523_) void
WorldData.setDataPackConfig
(DataPackConfig p_78634_)