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.InitConfigCreateWorldScreen.createDefaultLoadConfig(PackRepository p_232873_, DataPackConfig p_232874_) Constructors in net.minecraft.client.gui.screens.worldselection with parameters of type DataPackConfigModifierConstructorDescriptionprivateCreateWorldScreen(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 DataPackConfigWorldLoader.PackConfig.initialDataPacksThe field for theinitialDataPacksrecord component.Methods in net.minecraft.server that return DataPackConfigModifier and TypeMethodDescriptionstatic DataPackConfigMinecraftServer.configurePackRepository(PackRepository p_129820_, DataPackConfig p_129821_, boolean p_129822_) private static DataPackConfigMinecraftServer.getSelectedPacks(PackRepository p_129818_) WorldLoader.PackConfig.initialDataPacks()Returns the value of theinitialDataPacksrecord 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 DataPackConfigMinecraftServer.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 aPackConfigrecord class. -
Uses of DataPackConfig in net.minecraft.world.level
Fields in net.minecraft.world.level declared as DataPackConfigModifier and TypeFieldDescriptionprivate final DataPackConfigLevelSettings.dataPackConfigstatic final DataPackConfigDataPackConfig.DEFAULTFields in net.minecraft.world.level with type parameters of type DataPackConfigModifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec<DataPackConfig>DataPackConfig.CODECMethods in net.minecraft.world.level that return DataPackConfigMethods in net.minecraft.world.level with parameters of type DataPackConfigModifier and TypeMethodDescriptionstatic LevelSettingsLevelSettings.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 DataPackConfigLevelStorageSource.getDataPacks(Path p_230829_, com.mojang.datafixers.DataFixer p_230830_) LevelStorageSource.LevelStorageAccess.getDataPacks()private static DataPackConfigLevelStorageSource.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_) voidPrimaryLevelData.setDataPackConfig(DataPackConfig p_78523_) voidWorldData.setDataPackConfig(DataPackConfig p_78634_)