Package net.minecraft.core
Class RegistryCodecs
java.lang.Object
net.minecraft.core.RegistryCodecs
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic <E> com.mojang.serialization.Codec
<HolderSet<E>> homogeneousList
(ResourceKey<? extends Registry<E>> p_206278_) static <E> com.mojang.serialization.Codec
<HolderSet<E>> homogeneousList
(ResourceKey<? extends Registry<E>> p_206311_, boolean p_206312_) static <E> com.mojang.serialization.Codec
<HolderSet<E>> homogeneousList
(ResourceKey<? extends Registry<E>> p_206280_, com.mojang.serialization.Codec<E> p_206281_) 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_)
-
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_)
-