net.minecraft.resources

public class HolderSetCodec<E>

implements com.mojang.serialization.Codec<HolderSet<E>>

akl
net.minecraft.resources.HolderSetCodec
net.minecraft.class_6898
net.minecraft.unmapped.C_wbhfljwo
net.minecraft.registry.entry.RegistryEntryListCodec
net.minecraft.resource.HolderSetCodec
net.minecraft.src.C_203250_
net.minecraft.resources.HolderSetCodec

Field summary

Modifier and TypeField
private final ResourceKey<? extends Registry<E>>
a
registryKey
field_36480
f_pbpbaevc
registry
registry
f_206655_
private final com.mojang.serialization.Codec<Holder<E>>
b
elementCodec
field_36481
f_qgzyttcp
entryCodec
elementCodec
f_206656_
private final com.mojang.serialization.Codec<List<Holder<E>>>
c
homogenousListCodec
field_36482
f_uouarqmt
directEntryListCodec
homogeneousListCodec
f_206657_
private final com.mojang.serialization.Codec<com.mojang.datafixers.util.Either<TagKey<E>, List<Holder<E>>>>
d
registryAwareCodec
field_36483
f_kzoidxjr
entryListStorageCodec
registryAwareCodec
f_206658_

Constructor summary

ModifierConstructor
private (ResourceKey<? extends Registry<E>> registry, com.mojang.serialization.Codec<Holder<E>> entryCodec, boolean alwaysSerializeAsList)

Method summary

Modifier and TypeMethod
private static <E> com.mojang.serialization.Codec<List<Holder<E>>>
a(com.mojang.serialization.Codec<jm<E>> arg0, boolean arg1)
homogenousList(com.mojang.serialization.Codec<Holder<E>> arg0, boolean arg1)
method_40382(com.mojang.serialization.Codec<class_6880<E>> arg0, boolean arg1)
m_cjfthajd(com.mojang.serialization.Codec<C_cjzoxshv<E>> arg0, boolean arg1)
createDirectEntryListCodec(com.mojang.serialization.Codec<RegistryEntry<E>> entryCodec, boolean alwaysSerializeAsList)
homogeneousList(com.mojang.serialization.Codec<Holder<E>> elementCodec, boolean alwaysSerializeAsList)
m_206667_(com.mojang.serialization.Codec<C_203228_<E>> p_206668_, boolean p_206669_)
public static <E> com.mojang.serialization.Codec<HolderSet<E>>
a(akq<? extends jz<E>> arg0, com.mojang.serialization.Codec<jm<E>> arg1, boolean arg2)
create(ResourceKey<? extends Registry<E>> arg0, com.mojang.serialization.Codec<Holder<E>> arg1, boolean arg2)
method_40388(class_5321<? extends class_2378<E>> arg0, com.mojang.serialization.Codec<class_6880<E>> arg1, boolean arg2)
m_jbawowzu(C_xhhleach<? extends C_tqxyjqsk<E>> arg0, com.mojang.serialization.Codec<C_cjzoxshv<E>> arg1, boolean arg2)
create(RegistryKey<? extends Registry<E>> registryRef, com.mojang.serialization.Codec<RegistryEntry<E>> entryCodec, boolean alwaysSerializeAsList)
create(RegistryKey<? extends Registry<E>> registryKey, com.mojang.serialization.Codec<Holder<E>> codec, boolean alwaysSerializeAsList)
m_206685_(C_5264_<? extends C_4705_<E>> p_206686_, com.mojang.serialization.Codec<C_203228_<E>> p_206687_, boolean p_206688_)
public <T> com.mojang.serialization.DataResult<com.mojang.datafixers.util.Pair<HolderSet<E>, T>>
decode(com.mojang.serialization.DynamicOps<T> arg0, T arg1)
decode(com.mojang.serialization.DynamicOps<T> arg0, T arg1)
decode(com.mojang.serialization.DynamicOps<T> arg0, T arg1)
decode(com.mojang.serialization.DynamicOps<T> ops, T input)
decode(com.mojang.serialization.DynamicOps<T> p_206697_, T arg1)
private static <E> com.mojang.serialization.DataResult<HolderSet<E>>
a(jn<E> arg0, awu<E> arg1)
lookupTag(HolderGetter<E> arg0, TagKey<E> arg1)
method_58029(class_7871<E> arg0, class_6862<E> arg1)
m_zlgnzaql(C_pzdchrcy<E> arg0, C_ednuhnnn<E> arg1)
get(RegistryEntryLookup<E> registry, TagKey<E> tag)
lookupTag(HolderProvider<E> registry, TagKey<E> tag)
m_320216_(C_254583_<E> p_331398_, C_203208_<E> p_328227_)
public <T> com.mojang.serialization.DataResult<T>
a(jq<E> arg0, com.mojang.serialization.DynamicOps<T> arg1, T arg2)
encode(HolderSet<E> arg0, com.mojang.serialization.DynamicOps<T> arg1, T arg2)
method_40384(class_6885<E> arg0, com.mojang.serialization.DynamicOps<T> arg1, T arg2)
m_dyjepxhf(C_odfnijdo<E> arg0, com.mojang.serialization.DynamicOps<T> arg1, T arg2)
encode(RegistryEntryList<E> arg0, com.mojang.serialization.DynamicOps<T> arg1, T arg2)
encode(HolderSet<E> arg0, com.mojang.serialization.DynamicOps<T> ops, T arg2)
encode(C_203233_<E> p_206675_, com.mojang.serialization.DynamicOps<T> p_206676_, T arg2)
private <T> com.mojang.serialization.DataResult<com.mojang.datafixers.util.Pair<HolderSet<E>, T>>
a(com.mojang.serialization.DynamicOps<T> arg0, T arg1)
decodeWithoutRegistry(com.mojang.serialization.DynamicOps<T> arg0, T arg1)
method_40383(com.mojang.serialization.DynamicOps<T> arg0, T arg1)
m_rqhjbhmv(com.mojang.serialization.DynamicOps<T> arg0, T arg1)
decodeDirect(com.mojang.serialization.DynamicOps<T> ops, T input)
decodeWithoutRegistry(com.mojang.serialization.DynamicOps<T> dynamicOps, T value)
m_206670_(com.mojang.serialization.DynamicOps<T> p_206672_, T arg1)
private <T> com.mojang.serialization.DataResult<T>
b(jq<E> arg0, com.mojang.serialization.DynamicOps<T> arg1, T arg2)
encodeWithoutRegistry(HolderSet<E> arg0, com.mojang.serialization.DynamicOps<T> arg1, T arg2)
method_40389(class_6885<E> arg0, com.mojang.serialization.DynamicOps<T> arg1, T arg2)
m_dqebtubh(C_odfnijdo<E> arg0, com.mojang.serialization.DynamicOps<T> arg1, T arg2)
encodeDirect(RegistryEntryList<E> entryList, com.mojang.serialization.DynamicOps<T> ops, T prefix)
encodeWithoutRegistry(HolderSet<E> set, com.mojang.serialization.DynamicOps<T> dynamicOps, T value)
m_206689_(C_203233_<E> p_206691_, com.mojang.serialization.DynamicOps<T> p_206692_, T arg2)