修改炮弹实体的重力
This commit is contained in:
parent
2f1b4ebe3b
commit
2b02eac98b
1 changed files with 5 additions and 0 deletions
|
@ -93,4 +93,9 @@ public class MortarShellEntity extends ThrowableItemProjectile {
|
||||||
this.discard();
|
this.discard();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
protected float getGravity() {
|
||||||
|
return 0.05F;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue