net.minecraft.resources

public final class RegistryFixedCodec<E>

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

aaw
net.minecraft.resources.RegistryFixedCodec
net.minecraft.class_6899
net.minecraft.unmapped.C_qosrsbdy
net.minecraft.util.registry.RegistryFixedCodec
net.minecraft.util.registry.RegistryFixedCodec
net.minecraft.src.C_203251_
net.minecraft.resources.RegistryFixedCodec

Field summary

Modifier and TypeField
private final ResourceKey<? extends Registry<E>>
a
registryKey
field_36484
f_emzwmcoh
registry
registryKey
f_206721_

Constructor summary

ModifierConstructor
private (ResourceKey<? extends Registry<E>> registry)

Method summary

Modifier and TypeMethod
public static <E> RegistryFixedCodec<E>
a(aba<? extends hm<E>> arg0)
create(ResourceKey<? extends Registry<E>> arg0)
method_40400(class_5321<? extends class_2378<E>> arg0)
m_webnwryr(C_xhhleach<? extends C_tqxyjqsk<E>> arg0)
of(RegistryKey<? extends Registry<E>> registry)
create(RegistryKey<? extends Registry<E>> key)
m_206740_(C_5264_<? extends C_4705_<E>> p_206741_)
public <T> com.mojang.serialization.DataResult<T>
a(hc<E> arg0, com.mojang.serialization.DynamicOps<T> arg1, T arg2)
encode(Holder<E> arg0, com.mojang.serialization.DynamicOps<T> arg1, T arg2)
method_40396(class_6880<E> arg0, com.mojang.serialization.DynamicOps<T> arg1, T arg2)
m_htmhkzwh(C_cjzoxshv<E> arg0, com.mojang.serialization.DynamicOps<T> arg1, T arg2)
encode(RegistryEntry<E> arg0, com.mojang.serialization.DynamicOps<T> arg1, T arg2)
encode(Holder<E> arg0, com.mojang.serialization.DynamicOps<T> arg1, T arg2)
encode(C_203228_<E> p_206730_, com.mojang.serialization.DynamicOps<T> p_206731_, T arg2)
public <T> com.mojang.serialization.DataResult<com.mojang.datafixers.util.Pair<Holder<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_206744_, T arg1)