- Enclosing class:
DataRegistryAdapter
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
-
Method Summary
void
register(net.minecraft.resources.ResourceKey<net.minecraft.core.Registry<T>> key,
com.mojang.serialization.Codec<T> dataCodec,
@Nullable com.mojang.serialization.Codec<T> syncCodec)