Position
should not be allowed to have a null World (remove Position
from Block
)
#6551
Labels
BC break
Breaks API compatibility
Category: API
Related to the plugin API
Performance
Type: Cleanup
Removes or deprecates API methods or behaviour
Problem description
This is bizarre and unexpected.
Proposed solution
It's only needed because
Block
s containPosition
s that need to initialize with something when they aren't in a world. Really, this is an issue about removingPosition
fromBlock
and having it injected via function parameters where it's needed, because the current design has resulted in a multitude of issues.However, removing
Position
fromBlock
is a huge change that I've unsuccessfully tried to do several times before. It would involve:Block
asPosition
to be updatedBlock
would have to be changedBlock
package to passWorld
andVector3
paramsThe text was updated successfully, but these errors were encountered: