]> git.lizzy.rs Git - BoundingBoxOutlineReloaded.git/blobdiff - src/main/java/com/irtimaled/bbor/common/models/BoundingBoxSphere.java
Upgrade to 1.13.2
[BoundingBoxOutlineReloaded.git] / src / main / java / com / irtimaled / bbor / common / models / BoundingBoxSphere.java
index 2f0b95cbcd265640b5ad49df9c6a7d022868af71..c7fffed49b290cac208cb8aaedd08bdb40e948b4 100644 (file)
@@ -11,6 +11,7 @@ public class BoundingBoxSphere extends AbstractBoundingBox {
     private final int maxZ;
 
     private Double centerOffsetX = 0d;
+    private Double centerOffsetY = 0d;
     private Double centerOffsetZ = 0d;
 
     protected BoundingBoxSphere(BoundingBoxType type, Coords center, Integer radius) {
@@ -49,12 +50,17 @@ public class BoundingBoxSphere extends AbstractBoundingBox {
         return centerOffsetX;
     }
 
+    public Double getCenterOffsetY() {
+        return centerOffsetY;
+    }
+
     public Double getCenterOffsetZ() {
         return centerOffsetZ;
     }
 
-    void setCenterOffsets(double x, double z) {
+    void setCenterOffsets(double x, double y, double z) {
         this.centerOffsetX = x;
+        this.centerOffsetY = y;
         this.centerOffsetZ = z;
     }
 }