smooth display motion via teleport_duration=1 (no desync)

This commit is contained in:
SashegDev
2026-09-17 09:18:53 +00:00
parent 3e00c57fa7
commit fa81d144ba
8 changed files with 18 additions and 0 deletions
@@ -26,6 +26,7 @@ public class DiamondAttack {
d.setViewRange(64);
});
EntityTracker.mark(crystal);
EntityTracker.smooth(crystal);
p.getWorld().playSound(spawn, Sound.BLOCK_AMETHYST_BLOCK_PLACE, 1f, 0.9f);
p.getWorld().playSound(spawn, Sound.BLOCK_AMETHYST_BLOCK_CHIME, 1f, 1.5f);
Vector vel = dir.clone().multiply(1.5);
@@ -53,6 +54,7 @@ public class DiamondAttack {
s.setViewRange(64);
});
EntityTracker.mark(shard);
EntityTracker.smooth(shard);
Vector sv = d.clone().multiply(0.4);
new BukkitRunnable() {
@Override public void run() {
@@ -125,6 +127,7 @@ public class DiamondAttack {
s.setViewRange(64);
});
EntityTracker.mark(shard);
EntityTracker.smooth(shard);
Vector sv = d.clone().multiply(0.4);
new BukkitRunnable() {
@Override public void run() {