net.minecraft.resources

public final class RegistryFileCodec<E>

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

aad
net.minecraft.resources.RegistryFileCodec
net.minecraft.class_5381
net.minecraft.unmapped.C_fgetofav
net.minecraft.util.dynamic.RegistryElementCodec
net.minecraft.util.dynamic.RegistryElementCodec
net.minecraft.src.C_5255_
net.minecraft.resources.RegistryFileCodec

Field summary

Modifier and TypeField
private final ResourceKey<? extends Registry<E>>
a
registryKey
field_25507
f_nouliyen
registryRef
registryRef
f_135570_
private final com.mojang.serialization.Codec<E>
b
elementCodec
field_25508
f_tzfmeynq
elementCodec
elementCodec
f_135571_
private final boolean
c
allowInline
field_26758
f_ukyfwoyf
allowInlineDefinitions
allowInlineDefinitions
f_135572_

Constructor summary

ModifierConstructor
private (ResourceKey<? extends Registry<E>> registryRef, com.mojang.serialization.Codec<E> elementCodec, boolean allowInlineDefinitions)

Method summary

Modifier and TypeMethod
public static <E> RegistryFileCodec<E>
a(aai<? extends hm<E>> arg0, com.mojang.serialization.Codec<E> arg1)
create(ResourceKey<? extends Registry<E>> arg0, com.mojang.serialization.Codec<E> arg1)
method_29749(class_5321<? extends class_2378<E>> arg0, com.mojang.serialization.Codec<E> arg1)
m_awsiqoxn(C_xhhleach<? extends C_tqxyjqsk<E>> arg0, com.mojang.serialization.Codec<E> arg1)
of(RegistryKey<? extends Registry<E>> registryRef, com.mojang.serialization.Codec<E> elementCodec)
of(RegistryKey<? extends Registry<E>> registryRef, com.mojang.serialization.Codec<E> elementCodec)
m_135589_(C_5264_<? extends C_4705_<E>> p_135590_, com.mojang.serialization.Codec<E> p_135591_)
public static <E> RegistryFileCodec<E>
a(aai<? extends hm<E>> arg0, com.mojang.serialization.Codec<E> arg1, boolean arg2)
create(ResourceKey<? extends Registry<E>> arg0, com.mojang.serialization.Codec<E> arg1, boolean arg2)
method_31192(class_5321<? extends class_2378<E>> arg0, com.mojang.serialization.Codec<E> arg1, boolean arg2)
m_xxgmygpf(C_xhhleach<? extends C_tqxyjqsk<E>> arg0, com.mojang.serialization.Codec<E> arg1, boolean arg2)
of(RegistryKey<? extends Registry<E>> registryRef, com.mojang.serialization.Codec<E> elementCodec, boolean allowInlineDefinitions)
of(RegistryKey<? extends Registry<E>> registryRef, com.mojang.serialization.Codec<E> elementCodec, boolean allowInlineDefinitions)
m_135592_(C_5264_<? extends C_4705_<E>> p_135593_, com.mojang.serialization.Codec<E> p_135594_, boolean p_135595_)
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_29748(class_6880<E> arg0, com.mojang.serialization.DynamicOps<T> arg1, T arg2)
m_ruupmtjy(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_206717_, com.mojang.serialization.DynamicOps<T> p_206718_, 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_135609_, T arg1)