net.minecraft.resources

public final class RegistryLookupCodec<E>

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

vg
net.minecraft.resources.RegistryLookupCodec
net.minecraft.class_5505
net.minecraft.util.dynamic.RegistryLookupCodec
net.minecraft.util.registry.RegistryLookupCodec
net.minecraft.server.v1_16_R3.RegistryLookupCodec

Field summary

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

Constructor summary

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

Method summary

Modifier and TypeMethod
public static <E> RegistryLookupCodec<E>
a(vj<? extends gm<E>> arg0)
create(ResourceKey<? extends Registry<E>> arg0)
method_31148(class_5321<? extends class_2378<E>> arg0)
of(RegistryKey<? extends Registry<E>> registryKey)
func_244331_a(RegistryKey<? extends Registry<E>> arg0)
public <T> com.mojang.serialization.RecordBuilder<T>
a(gm<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(Registry<E> arg0, com.mojang.serialization.DynamicOps<T> arg1, 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> 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> arg0, 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)
keys(com.mojang.serialization.DynamicOps<T> arg0)
keys(com.mojang.serialization.DynamicOps<T> arg0)