Folia
Folia copied to clipboard
Vanilla end teleportation
Player should be teleported to Vec3.atBottomCenterOf(targetPos.below()); Other entities should be teleported to Vec3.atBottomCenterOf(targetPos); And end-teleportation keep velocity (this.getDeltaMovement)
The changes were done to mirror the player teleportation logic for all entities. This is why the velocity is set to zero and why they are all teleported to the bottom. Is there any reason this behavior is bad?
Settings velocity to 0 & position to platform might break some wither + snowball obsidian farms