Uses of Class
net.minecraft.registry.entry.RegistryElementCodec
Packages that use RegistryElementCodec
-
Uses of RegistryElementCodec in net.minecraft.registry.entry
Methods in net.minecraft.registry.entry that return RegistryElementCodecModifier and TypeMethodDescriptionstatic <E> RegistryElementCodec<E>
RegistryElementCodec.of
(RegistryKey<? extends Registry<E>> registryRef, com.mojang.serialization.Codec<E> elementCodec) static <E> RegistryElementCodec<E>
RegistryElementCodec.of
(RegistryKey<? extends Registry<E>> registryRef, com.mojang.serialization.Codec<E> elementCodec, boolean allowInlineDefinitions)