net.minecraft.resources

public final class RegistryDataPackCodec<E>

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

ya
net.minecraft.resources.RegistryDataPackCodec
net.minecraft.class_5380
net.minecraft.unmapped.C_rfepwvjd
net.minecraft.util.dynamic.RegistryCodec
net.minecraft.src.C_5254_
net.minecraft.resources.RegistryDataPackCodec

Field summary

Modifier and TypeField
private final com.mojang.serialization.Codec<MappedRegistry<E>>
a
directCodec
field_25504
f_kemepctw
delegate
f_135541_
private final ResourceKey<? extends Registry<E>>
b
registryKey
field_25505
f_znciccpq
registryRef
f_135542_
private final com.mojang.serialization.Codec<E>
c
elementCodec
field_25506
f_tecakwqf
elementCodec
f_135543_

Constructor summary

ModifierConstructor
private (ResourceKey<? extends Registry<E>> registryRef, com.mojang.serialization.Lifecycle lifecycle, com.mojang.serialization.Codec<E> codec)

Method summary

Modifier and TypeMethod
public static <E> RegistryDataPackCodec<E>
a(yg<? extends gx<E>> arg0, com.mojang.serialization.Lifecycle arg1, com.mojang.serialization.Codec<E> arg2)
create(ResourceKey<? extends Registry<E>> arg0, com.mojang.serialization.Lifecycle arg1, com.mojang.serialization.Codec<E> arg2)
method_29745(class_5321<? extends class_2378<E>> arg0, com.mojang.serialization.Lifecycle arg1, com.mojang.serialization.Codec<E> arg2)
m_jcdfscaz(C_xhhleach<? extends C_tqxyjqsk<E>> arg0, com.mojang.serialization.Lifecycle arg1, com.mojang.serialization.Codec<E> arg2)
of(RegistryKey<? extends Registry<E>> registryRef, com.mojang.serialization.Lifecycle lifecycle, com.mojang.serialization.Codec<E> codec)
m_135558_(C_5264_<? extends C_4705_<E>> p_135559_, com.mojang.serialization.Lifecycle p_135560_, com.mojang.serialization.Codec<E> p_135561_)
public <T> com.mojang.serialization.DataResult<T>
a(gs<E> arg0, com.mojang.serialization.DynamicOps<T> arg1, T arg2)
encode(MappedRegistry<E> arg0, com.mojang.serialization.DynamicOps<T> arg1, T arg2)
method_29744(class_2370<E> arg0, com.mojang.serialization.DynamicOps<T> arg1, T arg2)
m_kusdxymb(C_secmvxxe<E> arg0, com.mojang.serialization.DynamicOps<T> arg1, T arg2)
encode(SimpleRegistry<E> arg0, com.mojang.serialization.DynamicOps<T> arg1, T arg2)
encode(C_4700_<E> p_135556_, com.mojang.serialization.DynamicOps<T> p_135557_, T arg2)
public <T> com.mojang.serialization.DataResult<com.mojang.datafixers.util.Pair<MappedRegistry<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_135564_, T arg1)