Uses of Class
net.minecraft.util.datafix.codec.DatapackCodec
-
Packages that use DatapackCodec Package Description net.minecraft.client net.minecraft.client.gui.screen net.minecraft.server net.minecraft.util.datafix.codec net.minecraft.world net.minecraft.world.storage -
-
Uses of DatapackCodec in net.minecraft.client
Methods in net.minecraft.client that return DatapackCodec Modifier and Type Method Description static DatapackCodec
Minecraft. loadDataPacks(SaveFormat.LevelSave p_238180_0_)
Methods in net.minecraft.client with parameters of type DatapackCodec Modifier and Type Method Description static IServerConfiguration
Minecraft. loadWorldData(SaveFormat.LevelSave p_238181_0_, DynamicRegistries.Impl p_238181_1_, IResourceManager p_238181_2_, DatapackCodec p_238181_3_)
Method parameters in net.minecraft.client with type arguments of type DatapackCodec Modifier and Type Method Description private void
Minecraft. loadWorld(java.lang.String p_238195_1_, DynamicRegistries.Impl p_238195_2_, java.util.function.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(java.lang.String p_238195_1_, DynamicRegistries.Impl p_238195_2_, java.util.function.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.PackManager
Minecraft. makeServerStem(DynamicRegistries.Impl p_238189_1_, java.util.function.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.PackManager
Minecraft. makeServerStem(DynamicRegistries.Impl p_238189_1_, java.util.function.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
Fields in net.minecraft.client.gui.screen declared as DatapackCodec Modifier and Type Field Description protected DatapackCodec
CreateWorldScreen. dataPacks
Constructors in net.minecraft.client.gui.screen with parameters of type DatapackCodec Constructor Description 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_, java.nio.file.Path p_i242064_4_, DatapackCodec p_i242064_5_, DynamicRegistries.Impl p_i242064_6_)
-
Uses of DatapackCodec in net.minecraft.server
Methods in net.minecraft.server that return DatapackCodec Modifier and Type Method Description static DatapackCodec
MinecraftServer. configurePackRepository(ResourcePackList p_240772_0_, DatapackCodec p_240772_1_, boolean p_240772_2_)
private static DatapackCodec
MinecraftServer. getSelectedPacks(ResourcePackList p_240771_0_)
Methods in net.minecraft.server with parameters of type DatapackCodec Modifier and Type Method Description static DatapackCodec
MinecraftServer. configurePackRepository(ResourcePackList p_240772_0_, DatapackCodec p_240772_1_, boolean p_240772_2_)
-
Uses of DatapackCodec in net.minecraft.util.datafix.codec
Fields in net.minecraft.util.datafix.codec declared as DatapackCodec Modifier and Type Field Description static DatapackCodec
DatapackCodec. DEFAULT
Fields in net.minecraft.util.datafix.codec with type parameters of type DatapackCodec Modifier and Type Field Description static com.mojang.serialization.Codec<DatapackCodec>
DatapackCodec. CODEC
-
Uses of DatapackCodec in net.minecraft.world
Fields in net.minecraft.world declared as DatapackCodec Modifier and Type Field Description private DatapackCodec
WorldSettings. dataPackConfig
Methods in net.minecraft.world that return DatapackCodec Modifier and Type Method Description DatapackCodec
WorldSettings. getDataPackConfig()
Methods in net.minecraft.world with parameters of type DatapackCodec Modifier and Type Method Description static WorldSettings
WorldSettings. parse(com.mojang.serialization.Dynamic<?> p_234951_0_, DatapackCodec p_234951_1_)
WorldSettings
WorldSettings. withDataPackConfig(DatapackCodec p_234949_1_)
Constructors in net.minecraft.world with parameters of type DatapackCodec Constructor Description WorldSettings(java.lang.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
Methods in net.minecraft.world.storage that return DatapackCodec Modifier and Type Method Description DatapackCodec
IServerConfiguration. getDataPackConfig()
DatapackCodec
ServerWorldInfo. getDataPackConfig()
private static DatapackCodec
SaveFormat. getDataPacks(java.io.File p_237272_0_, com.mojang.datafixers.DataFixer p_237272_1_)
DatapackCodec
SaveFormat.LevelSave. getDataPacks()
private static DatapackCodec
SaveFormat. readDataPackConfig(com.mojang.serialization.Dynamic<?> p_237258_0_)
Methods in net.minecraft.world.storage with parameters of type DatapackCodec Modifier and Type Method Description IServerConfiguration
SaveFormat.LevelSave. getDataTag(com.mojang.serialization.DynamicOps<INBT> p_237284_1_, DatapackCodec p_237284_2_)
private static java.util.function.BiFunction<java.io.File,com.mojang.datafixers.DataFixer,ServerWorldInfo>
SaveFormat. getLevelData(com.mojang.serialization.DynamicOps<INBT> p_237270_0_, DatapackCodec p_237270_1_)
private static java.util.function.BiFunction<java.io.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_)
-