net.minecraft.resources

public final class RegistryDataPackCodec<E>

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

ve
net.minecraft.resources.RegistryDataPackCodec
net.minecraft.class_5380
net.minecraft.unmapped.C_rfepwvjd
net.minecraft.util.dynamic.RegistryCodec
net.minecraft.util.registry.SimpleRegistryCodec
net.minecraft.server.v1_16_R2.RegistryDataPackCodec

Field summary

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

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(vj<? extends gm<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)
func_241793_a_(RegistryKey<? extends Registry<E>> arg0, com.mojang.serialization.Lifecycle arg1, com.mojang.serialization.Codec<E> arg2)
public <T> com.mojang.serialization.DataResult<T>
a(gi<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(SimpleRegistry<E> arg0, com.mojang.serialization.DynamicOps<T> arg1, 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> arg0, T arg1)