net.minecraft.resources

public final class RegistryLookupCodec<E>

extends com.mojang.serialization.MapCodec<Registry<E>>

yc
net.minecraft.resources.RegistryLookupCodec
net.minecraft.class_5505
net.minecraft.util.dynamic.RegistryLookupCodec
net.minecraft.src.C_5256_
net.minecraft.resources.RegistryLookupCodec

Field summary

Modifier and TypeField
private final ResourceKey<? extends Registry<E>>
a
registryKey
field_26737
registryKey
f_135615_

Constructor summary

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

Method summary

Modifier and TypeMethod
public static <E> RegistryLookupCodec<E>
a(yg<? extends gx<E>> arg0)
create(ResourceKey<? extends Registry<E>> arg0)
method_31148(class_5321<? extends class_2378<E>> arg0)
of(RegistryKey<? extends Registry<E>> registryKey)
m_135622_(C_5264_<? extends C_4705_<E>> p_135623_)
public <T> com.mojang.serialization.RecordBuilder<T>
a(gx<E> arg0, com.mojang.serialization.DynamicOps<T> arg1, com.mojang.serialization.RecordBuilder<T> arg2)
encode(Registry<E> arg0, com.mojang.serialization.DynamicOps<T> arg1, com.mojang.serialization.RecordBuilder<T> arg2)
method_31147(class_2378<E> arg0, com.mojang.serialization.DynamicOps<T> arg1, com.mojang.serialization.RecordBuilder<T> arg2)
encode(Registry<E> arg0, com.mojang.serialization.DynamicOps<T> arg1, com.mojang.serialization.RecordBuilder<T> arg2)
encode(C_4705_<E> p_135620_, com.mojang.serialization.DynamicOps<T> p_135621_, com.mojang.serialization.RecordBuilder<T> arg2)
public <T> com.mojang.serialization.DataResult<Registry<E>>
decode(com.mojang.serialization.DynamicOps<T> arg0, com.mojang.serialization.MapLike<T> arg1)
decode(com.mojang.serialization.DynamicOps<T> arg0, com.mojang.serialization.MapLike<T> arg1)
decode(com.mojang.serialization.DynamicOps<T> p_135626_, com.mojang.serialization.MapLike<T> arg1)
public <T> Stream<T>
keys(com.mojang.serialization.DynamicOps<T> arg0)
keys(com.mojang.serialization.DynamicOps<T> arg0)
keys(com.mojang.serialization.DynamicOps<T> arg0)