net.minecraft.resources

public final class RegistryFixedCodec<E>

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

ahd
net.minecraft.resources.RegistryFixedCodec
net.minecraft.class_6899
net.minecraft.registry.entry.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
registry
f_206721_

Constructor summary

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

Method summary

Modifier and TypeMethod
public static <E> RegistryFixedCodec<E>
a(ahf<? extends it<E>> arg0)
create(ResourceKey<? extends Registry<E>> arg0)
method_40400(class_5321<? extends class_2378<E>> arg0)
of(RegistryKey<? extends Registry<E>> registry)
m_206740_(C_5264_<? extends C_4705_<E>> p_206741_)
public <T> com.mojang.serialization.DataResult<T>
a(ih<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)
encode(RegistryEntry<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)