Uses of Class
net.minecraft.util.datafix.codec.DatapackCodec
Package
Description
-
Uses of DatapackCodec in net.minecraft.client
Modifier and TypeMethodDescriptionstatic DatapackCodec
Minecraft.loadDataPacks
(SaveFormat.LevelSave p_238180_0_) Modifier and TypeMethodDescriptionstatic IServerConfiguration
Minecraft.loadWorldData
(SaveFormat.LevelSave p_238181_0_, DynamicRegistries.Impl p_238181_1_, IResourceManager p_238181_2_, DatapackCodec p_238181_3_) Modifier and TypeMethodDescriptionprivate void
Minecraft.loadWorld
(String p_238195_1_, DynamicRegistries.Impl p_238195_2_, Function<SaveFormat.LevelSave, DatapackCodec> p_238195_3_, com.mojang.datafixers.util.Function4<SaveFormat.LevelSave, DynamicRegistries.Impl, IResourceManager, DatapackCodec, IServerConfiguration> p_238195_4_, boolean p_238195_5_, Minecraft.WorldSelectionType p_238195_6_, boolean creating) private void
Minecraft.loadWorld
(String p_238195_1_, DynamicRegistries.Impl p_238195_2_, Function<SaveFormat.LevelSave, DatapackCodec> p_238195_3_, com.mojang.datafixers.util.Function4<SaveFormat.LevelSave, DynamicRegistries.Impl, IResourceManager, DatapackCodec, IServerConfiguration> p_238195_4_, boolean p_238195_5_, Minecraft.WorldSelectionType p_238195_6_, boolean creating) Minecraft.makeServerStem
(DynamicRegistries.Impl p_238189_1_, Function<SaveFormat.LevelSave, DatapackCodec> p_238189_2_, com.mojang.datafixers.util.Function4<SaveFormat.LevelSave, DynamicRegistries.Impl, IResourceManager, DatapackCodec, IServerConfiguration> p_238189_3_, boolean p_238189_4_, SaveFormat.LevelSave p_238189_5_) Minecraft.makeServerStem
(DynamicRegistries.Impl p_238189_1_, Function<SaveFormat.LevelSave, DatapackCodec> p_238189_2_, com.mojang.datafixers.util.Function4<SaveFormat.LevelSave, DynamicRegistries.Impl, IResourceManager, DatapackCodec, IServerConfiguration> p_238189_3_, boolean p_238189_4_, SaveFormat.LevelSave p_238189_5_) -
Uses of DatapackCodec in net.minecraft.client.gui.screen
ModifierConstructorDescriptionprivate
CreateWorldScreen
(Screen p_i242063_1_, DatapackCodec p_i242063_2_, WorldOptionsScreen p_i242063_3_) CreateWorldScreen
(Screen p_i242064_1_, WorldSettings p_i242064_2_, DimensionGeneratorSettings p_i242064_3_, Path p_i242064_4_, DatapackCodec p_i242064_5_, DynamicRegistries.Impl p_i242064_6_) -
Uses of DatapackCodec in net.minecraft.server
Modifier and TypeMethodDescriptionstatic DatapackCodec
MinecraftServer.configurePackRepository
(ResourcePackList p_240772_0_, DatapackCodec p_240772_1_, boolean p_240772_2_) private static DatapackCodec
MinecraftServer.getSelectedPacks
(ResourcePackList p_240771_0_) Modifier and TypeMethodDescriptionstatic DatapackCodec
MinecraftServer.configurePackRepository
(ResourcePackList p_240772_0_, DatapackCodec p_240772_1_, boolean p_240772_2_) -
Uses of DatapackCodec in net.minecraft.util.datafix.codec
Modifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec<DatapackCodec>
DatapackCodec.CODEC
-
Uses of DatapackCodec in net.minecraft.world
Modifier and TypeMethodDescriptionstatic WorldSettings
WorldSettings.parse
(com.mojang.serialization.Dynamic<?> p_234951_0_, DatapackCodec p_234951_1_) WorldSettings.withDataPackConfig
(DatapackCodec p_234949_1_) ModifierConstructorDescriptionWorldSettings
(String p_i231620_1_, GameType p_i231620_2_, boolean p_i231620_3_, Difficulty p_i231620_4_, boolean p_i231620_5_, GameRules p_i231620_6_, DatapackCodec p_i231620_7_) -
Uses of DatapackCodec in net.minecraft.world.storage
Modifier and TypeMethodDescriptionIServerConfiguration.getDataPackConfig()
ServerWorldInfo.getDataPackConfig()
private static DatapackCodec
SaveFormat.getDataPacks
(File p_237272_0_, com.mojang.datafixers.DataFixer p_237272_1_) SaveFormat.LevelSave.getDataPacks()
private static DatapackCodec
SaveFormat.readDataPackConfig
(com.mojang.serialization.Dynamic<?> p_237258_0_) Modifier and TypeMethodDescriptionSaveFormat.LevelSave.getDataTag
(com.mojang.serialization.DynamicOps<INBT> p_237284_1_, DatapackCodec p_237284_2_) private static BiFunction<File,
com.mojang.datafixers.DataFixer, ServerWorldInfo> SaveFormat.getLevelData
(com.mojang.serialization.DynamicOps<INBT> p_237270_0_, DatapackCodec p_237270_1_) private static BiFunction<File,
com.mojang.datafixers.DataFixer, ServerWorldInfo> SaveFormat.getReader
(com.mojang.serialization.DynamicOps<INBT> p_237270_0_, DatapackCodec p_237270_1_, SaveFormat.LevelSave levelSave) void
IServerConfiguration.setDataPackConfig
(DatapackCodec p_230410_1_) void
ServerWorldInfo.setDataPackConfig
(DatapackCodec p_230410_1_)