df-mc / dragonfly

Minecraft Bedrock Edition server software written in Go
https://discord.gg/U4kFWHhTNR
MIT License
669 stars 150 forks source link

Items and experience orbs do not move when obstructed by blocks #543

Open JustTalDevelops opened 2 years ago

JustTalDevelops commented 2 years ago

Example: https://github.com/pmmp/PocketMine-MP/blob/0ad2985247220adb7aab7cc9edcfe7d12ff442e3/src/entity/Entity.php#L831

JustTalDevelops commented 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?