Cardinal Components API

Cardinal Components API

21M Downloads

Chunk components are useless

Pyrofab opened this issue ยท 0 comments

commented

CloneableComponent#newInstance does not give any reference to the new provider, preventing it from instantiating normally any component that needs it. This makes Chunk components almost useless, as they cannot access the world they are in. This also means a CloneableComponent cannot use most SyncedComponent helper implementations.
On the surface, this issue can be circumvented by using NativeCloneableComponent. However, this will share the previous chunk reference with the cloned component, making it still unable to access the new chunk.