We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 37e9150 commit 11cbffaCopy full SHA for 11cbffa
common/src/main/java/com/lambda/mixin/entity/FireworkRocketEntityMixin.java
@@ -18,14 +18,9 @@ public class FireworkRocketEntityMixin {
18
)
19
20
private void redirectSetVelocity(LivingEntity shooter, Vec3d vec3d) {
21
- if (!ElytraFly.getDoBoost()) {
22
- shooter.setVelocity(vec3d.add(
23
- vec3d.x * 0.1 + (vec3d.x * 1.5 - vec3d.x) * 0.5,
24
- vec3d.y * 0.1 + (vec3d.y * 1.5 - vec3d.y) * 0.5,
25
- vec3d.z * 0.1 + (vec3d.z * 1.5 - vec3d.z) * 0.5
26
- ));
27
- return;
+ if (ElytraFly.getDoBoost()){
+ ElytraFly.boostRocket(shooter);
28
}
29
- ElytraFly.boostRocket(shooter);
+ else shooter.setVelocity(vec3d);
30
31
-}
+}
0 commit comments