architectury / architectury-api

An intermediary api aimed at easing development of multiplatform mods.
https://discord.architectury.dev/
GNU Lesser General Public License v3.0
315 stars 56 forks source link

Add defaulted-ness to registrar builders #470

Closed Gaming32 closed 8 months ago

Gaming32 commented 9 months ago

Currently the game has a concept of "defaulted registries" that have a default return value. For example, block and item use air, and entity_type uses pig. It would be useful for registrar builders to expose this functionality.

Gaming32 commented 9 months ago

After a quick check, both Fabric and Neo's registry builders support this functionality.