remove redundant methods

Dieser Commit ist enthalten in:
Jesse Boyd 2019-04-01 05:06:03 +11:00
Ursprung 92a7bd5e44
Commit 49b2df1f2e
Es konnte kein GPG-Schlüssel zu dieser Signatur gefunden werden
GPG-Schlüssel-ID: 59F1DE6293AF6E1F

Datei anzeigen

@ -245,24 +245,6 @@ public class Location extends Vector3 {
return this;
}
/**
* Get the X component of the position vector.
*
* @return the X component
*/
public double getX() {
return this.getX();
}
/**
* Get the rounded X component of the position vector.
*
* @return the rounded X component
*/
public int getBlockX() {
return (int) Math.floor(this.getX());
}
/**
* Return a copy of this object with the X component of the new object
* set to the given value.
@ -274,23 +256,6 @@ public class Location extends Vector3 {
return new Location(extent, this.withX(x), yaw, pitch);
}
/**
* Get the Y component of the position vector.
*
* @return the Y component
*/
public double getY() {
return this.getY();
}
/**
* Get the rounded Y component of the position vector.
*
* @return the rounded Y component
*/
public int getBlockY() {
return (int) Math.floor(this.getY());
}
/**
* Return a copy of this object with the Y component of the new object
@ -303,24 +268,6 @@ public class Location extends Vector3 {
return new Location(extent, this.withY(y), yaw, pitch);
}
/**
* Get the Z component of the position vector.
*
* @return the Z component
*/
public double getZ() {
return this.getZ();
}
/**
* Get the rounded Z component of the position vector.
*
* @return the rounded Z component
*/
public int getBlockZ() {
return (int) Math.floor(this.getZ());
}
/**
* Return a copy of this object with the Z component of the new object
* set to the given value.