Uses of Class
net.minecraft.world.level.DataPackConfig
Packages that use DataPackConfig
Package
Description
-
Uses of DataPackConfig in net.minecraft.client.gui.screens.worldselection
Fields in net.minecraft.client.gui.screens.worldselection declared as DataPackConfigMethods in net.minecraft.client.gui.screens.worldselection with parameters of type DataPackConfigModifier and TypeMethodDescriptionprivate static WorldLoader.InitConfig
CreateWorldScreen.createDefaultLoadConfig
(PackRepository p_232873_, DataPackConfig p_232874_) Constructors in net.minecraft.client.gui.screens.worldselection with parameters of type DataPackConfigModifierConstructorDescriptionprivate
CreateWorldScreen
(Screen p_100861_, DataPackConfig p_100862_, WorldGenSettingsComponent p_100863_) -
Uses of DataPackConfig in net.minecraft.server
Fields in net.minecraft.server declared as DataPackConfigModifier and TypeFieldDescriptionprivate final DataPackConfig
WorldLoader.PackConfig.initialDataPacks
The field for theinitialDataPacks
record component.Methods in net.minecraft.server that return DataPackConfigModifier 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.Methods in net.minecraft.server that return types with arguments of type DataPackConfigModifier and TypeMethodDescriptioncom.mojang.datafixers.util.Pair<DataPackConfig,
CloseableResourceManager> WorldLoader.PackConfig.createResourceManager()
Methods in net.minecraft.server with parameters of type DataPackConfigModifier 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_) Constructors in net.minecraft.server with parameters of type DataPackConfigModifierConstructorDescriptionPackConfig
(PackRepository packRepository, DataPackConfig initialDataPacks, boolean safeMode) Creates an instance of aPackConfig
record class. -
Uses of DataPackConfig in net.minecraft.world.level
Fields in net.minecraft.world.level declared as DataPackConfigModifier and TypeFieldDescriptionprivate final DataPackConfig
LevelSettings.dataPackConfig
static final DataPackConfig
DataPackConfig.DEFAULT
Fields in net.minecraft.world.level with type parameters of type DataPackConfigModifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec<DataPackConfig>
DataPackConfig.CODEC
Methods in net.minecraft.world.level that return DataPackConfigMethods in net.minecraft.world.level with parameters of type DataPackConfigModifier and TypeMethodDescriptionstatic LevelSettings
LevelSettings.parse
(com.mojang.serialization.Dynamic<?> p_46925_, DataPackConfig p_46926_) LevelSettings.withDataPackConfig
(DataPackConfig p_46921_) Constructors in net.minecraft.world.level with parameters of type DataPackConfigModifierConstructorDescriptionLevelSettings
(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
Methods in net.minecraft.world.level.storage that return DataPackConfigModifier 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_) Methods in net.minecraft.world.level.storage with parameters of type DataPackConfigModifier 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_)