2019-01-03 03:13:03 +01:00
|
|
|
package me.libraryaddict.disguise.utilities.reflection;
|
2013-12-22 00:36:06 +01:00
|
|
|
|
|
|
|
public class FakeBoundingBox {
|
2015-08-03 00:39:44 +02:00
|
|
|
|
2013-12-22 00:36:06 +01:00
|
|
|
private double xMod;
|
|
|
|
private double yMod;
|
|
|
|
private double zMod;
|
|
|
|
|
|
|
|
public FakeBoundingBox(double xMod, double yMod, double zMod) {
|
|
|
|
this.xMod = xMod;
|
|
|
|
this.yMod = yMod;
|
|
|
|
this.zMod = zMod;
|
|
|
|
}
|
|
|
|
|
|
|
|
public double getX() {
|
2013-12-31 06:30:25 +01:00
|
|
|
return xMod / 2;
|
2013-12-22 00:36:06 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
public double getY() {
|
2013-12-31 08:08:14 +01:00
|
|
|
return yMod;
|
2013-12-22 00:36:06 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
public double getZ() {
|
2013-12-31 06:30:25 +01:00
|
|
|
return zMod / 2;
|
2013-12-22 00:36:06 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
}
|