Hey,
recently i was wondering, how Sponge sets BlockTypes, because the class does only contain final variables, which have been set to null…
How does that work?
gabizou
2
It’s all managed by the RegistryModule
API that is taken advantage of with things like BlockTypeRegistryModule
and the direct implementation of registration phases in SpongeGameRegistry
.
1 Like