Class RegistryCodecs

java.lang.Object
net.minecraft.core.RegistryCodecs

public class RegistryCodecs extends Object
  • Constructor Details

    • RegistryCodecs

      public RegistryCodecs()
  • Method Details

    • homogeneousList

      public static <E> com.mojang.serialization.Codec<HolderSet<E>> homogeneousList(ResourceKey<? extends Registry<E>> p_206280_, com.mojang.serialization.Codec<E> p_206281_)
    • homogeneousList

      public static <E> com.mojang.serialization.Codec<HolderSet<E>> homogeneousList(ResourceKey<? extends Registry<E>> p_206288_, com.mojang.serialization.Codec<E> p_206289_, boolean p_206290_)
    • homogeneousList

      public static <E> com.mojang.serialization.Codec<HolderSet<E>> homogeneousList(ResourceKey<? extends Registry<E>> p_206278_)
    • homogeneousList

      public static <E> com.mojang.serialization.Codec<HolderSet<E>> homogeneousList(ResourceKey<? extends Registry<E>> p_206311_, boolean p_206312_)