Early chunk component initialization
Stuff-Stuffs opened this issue ยท 2 comments
Chunk components are initialized in MixinChunk#L47, this happens before the chunk constructor has ran. This causes any field access of the chunk, such as getWorld() or getPos(), to return null.
Do you actually need those methods in your component's constructor ? In most cases, you can have lazy initialization. Still, I will try to change that for 1.16.