Folia icon indicating copy to clipboard operation
Folia copied to clipboard

Vanilla end teleportation

Open sofianedjerbi opened this issue 1 year ago • 2 comments

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)

sofianedjerbi avatar Jun 29 '23 18:06 sofianedjerbi

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?

Spottedleaf avatar Jul 01 '23 21:07 Spottedleaf

Settings velocity to 0 & position to platform might break some wither + snowball obsidian farms

sofianedjerbi avatar Jul 02 '23 01:07 sofianedjerbi