net.minecraft.resources

public final class RegistryFileCodec<E>

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

ud
net.minecraft.resources.RegistryFileCodec
net.minecraft.class_5381
net.minecraft.unmapped.C_fgetofav
net.minecraft.util.dynamic.RegistryElementCodec
net.minecraft.util.registry.RegistryKeyCodec
net.minecraft.server.v1_16_R1.RegistryFileCodec

Field summary

Modifier and TypeField
private final ResourceKey<Registry<E>>
a
registryKey
field_25507
f_nouliyen
registryRef
field_240864_a_
private final com.mojang.serialization.MapCodec<E>
b
elementCodec
field_25508
f_tzfmeynq
elementCodec
field_240865_b_

Constructor summary

ModifierConstructor
private (ResourceKey<Registry<E>> registryRef, com.mojang.serialization.MapCodec<E> arg1)

Method summary

Modifier and TypeMethod
public static <E> RegistryFileCodec<E>
a(ug<gl<E>> arg0, com.mojang.serialization.MapCodec<E> arg1)
create(ResourceKey<Registry<E>> arg0, com.mojang.serialization.MapCodec<E> arg1)
method_29749(class_5321<class_2378<E>> arg0, com.mojang.serialization.MapCodec<E> arg1)
m_ihkiusdv(C_xhhleach<C_tqxyjqsk<E>> arg0, com.mojang.serialization.MapCodec<E> arg1)
of(RegistryKey<Registry<E>> registryRef, com.mojang.serialization.MapCodec<E> arg1)
func_241794_a_(RegistryKey<Registry<E>> arg0, com.mojang.serialization.MapCodec<E> arg1)
public <T> com.mojang.serialization.DataResult<T>
a(Supplier<E> arg0, com.mojang.serialization.DynamicOps<T> arg1, T arg2)
encode(Supplier<E> arg0, com.mojang.serialization.DynamicOps<T> arg1, T arg2)
method_29748(Supplier<E> arg0, com.mojang.serialization.DynamicOps<T> arg1, T arg2)
m_yqyzcpgm(Supplier<E> arg0, com.mojang.serialization.DynamicOps<T> arg1, T arg2)
encode(Supplier<E> arg0, com.mojang.serialization.DynamicOps<T> arg1, T arg2)
encode(Supplier<E> arg0, com.mojang.serialization.DynamicOps<T> arg1, T arg2)
public <T> com.mojang.serialization.DataResult<com.mojang.datafixers.util.Pair<Supplier<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)