Open JustTalDevelops opened 2 years ago
Would it be best to add a function for something like this to movement computer? It's pretty specific functionality (only occurs in experience orbs and items from my knowledge) but I don't know where else to put it, at least in an area where both items and orbs can utilize the functionality. Maybe a new, embeddable struct?
Example: https://github.com/pmmp/PocketMine-MP/blob/0ad2985247220adb7aab7cc9edcfe7d12ff442e3/src/entity/Entity.php#L831