diff --git a/src/main/java/net/minestom/server/entity/Entity.java b/src/main/java/net/minestom/server/entity/Entity.java index ce590466f..a328b03f0 100644 --- a/src/main/java/net/minestom/server/entity/Entity.java +++ b/src/main/java/net/minestom/server/entity/Entity.java @@ -107,7 +107,6 @@ public class Entity implements Viewable, Tickable, EventHandler, Da * Unit: blocks/tick */ protected double gravityAcceleration; - protected double gravityTerminalVelocity; protected int gravityTickCount; // Number of tick where gravity tick was applied private boolean autoViewable; @@ -997,15 +996,6 @@ public class Entity implements Viewable, Tickable, EventHandler, Da return gravityAcceleration; } - /** - * Gets the maximum gravity velocity. - * - * @return the maximum gravity velocity in block - */ - public double getGravityTerminalVelocity() { - return gravityTerminalVelocity; - } - /** * Gets the number of tick this entity has been applied gravity. * @@ -1020,13 +1010,11 @@ public class Entity implements Viewable, Tickable, EventHandler, Da * * @param gravityDragPerTick the gravity drag per tick in block * @param gravityAcceleration the gravity acceleration in block - * @param gravityTerminalVelocity the gravity terminal velocity (maximum) in block * @see Entities motion */ - public void setGravity(double gravityDragPerTick, double gravityAcceleration, double gravityTerminalVelocity) { + public void setGravity(double gravityDragPerTick, double gravityAcceleration) { this.gravityDragPerTick = gravityDragPerTick; this.gravityAcceleration = gravityAcceleration; - this.gravityTerminalVelocity = gravityTerminalVelocity; } /**