smooth display motion via teleport_duration=1 (no desync)
This commit is contained in:
@@ -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() {
|
||||
|
||||
Reference in New Issue
Block a user