| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Sorry, something went wrong.
|
Server DefaultedRegistryTypes should probably use scoped registry holder as well |
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
SpongeAPI | Sponge
Adds RegistryKey#asScopedReference
and RegistryType#asScopedType
which uses the current Cause to determine an appropiate RegistryHolder
if none is found it falls back to Server if available else to Game
This allows early access to registries available after Game but before Server.
E.g. EnchantmentTypes during registration for recipes.