net.minecraft.core

public class RegistryCodecs

ho
net.minecraft.core.RegistryCodecs
net.minecraft.class_6895
net.minecraft.util.registry.RegistryCodecs
net.minecraft.src.C_203245_
net.minecraft.core.RegistryCodecs

Constructor summary

ModifierConstructor
public ()

Method summary

Modifier and TypeMethod
private static <T> com.mojang.serialization.MapCodec<RegistryCodecs$RegistryEntry<T>>
a(aba<? extends hm<T>> arg0, com.mojang.serialization.MapCodec<T> arg1)
withNameAndId(ResourceKey<? extends Registry<T>> arg0, com.mojang.serialization.MapCodec<T> arg1)
method_40347(class_5321<? extends class_2378<T>> arg0, com.mojang.serialization.MapCodec<T> arg1)
managerEntry(RegistryKey<? extends Registry<T>> registryRef, com.mojang.serialization.MapCodec<T> elementCodec)
m_206303_(C_5264_<? extends C_4705_<T>> p_206304_, com.mojang.serialization.MapCodec<T> p_206305_)
public static <T> com.mojang.serialization.Codec<Registry<T>>
a(aba<? extends hm<T>> arg0, com.mojang.serialization.Lifecycle arg1, com.mojang.serialization.Codec<T> arg2)
networkCodec(ResourceKey<? extends Registry<T>> arg0, com.mojang.serialization.Lifecycle arg1, com.mojang.serialization.Codec<T> arg2)
method_40344(class_5321<? extends class_2378<T>> arg0, com.mojang.serialization.Lifecycle arg1, com.mojang.serialization.Codec<T> arg2)
createRegistryCodec(RegistryKey<? extends Registry<T>> registryRef, com.mojang.serialization.Lifecycle lifecycle, com.mojang.serialization.Codec<T> elementCodec)
m_206291_(C_5264_<? extends C_4705_<T>> p_206292_, com.mojang.serialization.Lifecycle p_206293_, com.mojang.serialization.Codec<T> p_206294_)
public static <E> com.mojang.serialization.Codec<Registry<E>>
b(aba<? extends hm<E>> arg0, com.mojang.serialization.Lifecycle arg1, com.mojang.serialization.Codec<E> arg2)
dataPackAwareCodec(ResourceKey<? extends Registry<E>> arg0, com.mojang.serialization.Lifecycle arg1, com.mojang.serialization.Codec<E> arg2)
method_40352(class_5321<? extends class_2378<E>> arg0, com.mojang.serialization.Lifecycle arg1, com.mojang.serialization.Codec<E> arg2)
dynamicRegistry(RegistryKey<? extends Registry<E>> registryRef, com.mojang.serialization.Lifecycle lifecycle, com.mojang.serialization.Codec<E> elementCodec)
m_206318_(C_5264_<? extends C_4705_<E>> p_206319_, com.mojang.serialization.Lifecycle p_206320_, com.mojang.serialization.Codec<E> p_206321_)
private static <E> com.mojang.serialization.Decoder<Registry<E>>
a(aba<? extends hm<E>> arg0, com.mojang.serialization.Codec<E> arg1, com.mojang.serialization.Decoder<Map<aba<E>, E>> arg2, com.mojang.serialization.Lifecycle arg3)
dataPackAwareDecoder(ResourceKey<? extends Registry<E>> arg0, com.mojang.serialization.Codec<E> arg1, com.mojang.serialization.Decoder<Map<ResourceKey<E>, E>> arg2, com.mojang.serialization.Lifecycle arg3)
method_40342(class_5321<? extends class_2378<E>> arg0, com.mojang.serialization.Codec<E> arg1, com.mojang.serialization.Decoder<Map<class_5321<E>, E>> arg2, com.mojang.serialization.Lifecycle arg3)
createRegistryDecoder(RegistryKey<? extends Registry<E>> registryRef, com.mojang.serialization.Codec<E> codec, com.mojang.serialization.Decoder<Map<RegistryKey<E>, E>> entryMapDecoder, com.mojang.serialization.Lifecycle lifecycle)
m_206282_(C_5264_<? extends C_4705_<E>> p_206283_, com.mojang.serialization.Codec<E> p_206284_, com.mojang.serialization.Decoder<Map<C_5264_<E>, E>> p_206285_, com.mojang.serialization.Lifecycle p_206286_)
private static <T> com.mojang.serialization.Codec<Map<ResourceKey<T>, T>>
b(aba<? extends hm<T>> arg0, com.mojang.serialization.Codec<T> arg1)
directCodec(ResourceKey<? extends Registry<T>> arg0, com.mojang.serialization.Codec<T> arg1)
method_40351(class_5321<? extends class_2378<T>> arg0, com.mojang.serialization.Codec<T> arg1)
registryMap(RegistryKey<? extends Registry<T>> registryRef, com.mojang.serialization.Codec<T> elementCodec)
m_206315_(C_5264_<? extends C_4705_<T>> p_206316_, com.mojang.serialization.Codec<T> p_206317_)
public static <E> com.mojang.serialization.Codec<HolderSet<E>>
a(aba<? extends hm<E>> arg0, com.mojang.serialization.Codec<E> arg1)
homogeneousList(ResourceKey<? extends Registry<E>> arg0, com.mojang.serialization.Codec<E> arg1)
method_40341(class_5321<? extends class_2378<E>> arg0, com.mojang.serialization.Codec<E> arg1)
entryList(RegistryKey<? extends Registry<E>> registryRef, com.mojang.serialization.Codec<E> elementCodec)
m_206279_(C_5264_<? extends C_4705_<E>> p_206280_, com.mojang.serialization.Codec<E> p_206281_)
public static <E> com.mojang.serialization.Codec<HolderSet<E>>
a(aba<? extends hm<E>> arg0, com.mojang.serialization.Codec<E> arg1, boolean arg2)
homogeneousList(ResourceKey<? extends Registry<E>> arg0, com.mojang.serialization.Codec<E> arg1, boolean arg2)
method_40343(class_5321<? extends class_2378<E>> arg0, com.mojang.serialization.Codec<E> arg1, boolean arg2)
entryList(RegistryKey<? extends Registry<E>> registryRef, com.mojang.serialization.Codec<E> elementCodec, boolean alwaysSerializeAsList)
m_206287_(C_5264_<? extends C_4705_<E>> p_206288_, com.mojang.serialization.Codec<E> p_206289_, boolean p_206290_)
public static <E> com.mojang.serialization.Codec<HolderSet<E>>
a(aba<? extends hm<E>> arg0)
homogeneousList(ResourceKey<? extends Registry<E>> arg0)
method_40340(class_5321<? extends class_2378<E>> arg0)
entryList(RegistryKey<? extends Registry<E>> registryRef)
m_206277_(C_5264_<? extends C_4705_<E>> p_206278_)
public static <E> com.mojang.serialization.Codec<HolderSet<E>>
a(aba<? extends hm<E>> arg0, boolean arg1)
homogeneousList(ResourceKey<? extends Registry<E>> arg0, boolean arg1)
method_40349(class_5321<? extends class_2378<E>> arg0, boolean arg1)
entryList(RegistryKey<? extends Registry<E>> registryRef, boolean alwaysSerializeAsList)
m_206310_(C_5264_<? extends C_4705_<E>> p_206311_, boolean p_206312_)