mirror of
https://github.com/songoda/UltimateTimber.git
synced 2025-02-11 09:11:24 +01:00
Fancy tree animation done
This commit is contained in:
parent
7b2ddb1562
commit
2114d395e0
@ -75,7 +75,7 @@ public class TreeAnimationFancy extends TreeAnimation {
|
||||
|
||||
for (ITreeBlock<FallingBlock> fallingTreeBlock : TreeAnimationFancy.this.fallingTreeBlocks.getAllTreeBlocks()) {
|
||||
FallingBlock fallingBlock = fallingTreeBlock.getBlock();
|
||||
fallingBlock.setVelocity(fallingBlock.getVelocity().clone().subtract(new Vector(0, 0.01, 0)));
|
||||
fallingBlock.setVelocity(fallingBlock.getVelocity().clone().subtract(new Vector(0, 0.05, 0)));
|
||||
}
|
||||
|
||||
this.timer++;
|
||||
@ -89,8 +89,6 @@ public class TreeAnimationFancy extends TreeAnimation {
|
||||
}
|
||||
}
|
||||
}.runTaskTimer(ultimateTimber, 20L, 1L);
|
||||
|
||||
whenFinished.run();
|
||||
}
|
||||
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user