调整子弹的空气阻力
This commit is contained in:
parent
d9a71f6d2c
commit
763d707482
1 changed files with 1 additions and 1 deletions
|
@ -256,7 +256,7 @@ public class ProjectileEntity extends Entity implements IEntityAdditionalSpawnDa
|
||||||
double y = vec.y;
|
double y = vec.y;
|
||||||
double z = vec.z;
|
double z = vec.z;
|
||||||
|
|
||||||
this.setDeltaMovement(x - 0.02 * x, y - 0.05, z - 0.02 * z);
|
this.setDeltaMovement(x - 0.02 * x, y - 0.02 * y - 0.05, z - 0.02 * z);
|
||||||
|
|
||||||
this.tickCount++;
|
this.tickCount++;
|
||||||
if (this.tickCount > 30) {
|
if (this.tickCount > 30) {
|
||||||
|
|
Loading…
Add table
Reference in a new issue