reg Supplier Codec
Creates a RegistryEntry codec that automatically handles RegistrySupplier properly
Return
Codec for RegistryEntry ot T that will properly parse RegistrySupplier without needing to unwrap it first. The decoded entry will not be a RegistrySupplier in that case. It will be a standard RegistryEntry.Reference.
Author
fzzyhmstrs
Since
0.7.4
Parameters
T
type of object stored in the registry
registry
Registry Registry to build the codec off of.