mirror of
https://github.com/VolmitSoftware/Iris.git
synced 2025-12-29 12:09:07 +00:00
Pregen & create
This commit is contained in:
@@ -19,6 +19,7 @@
|
||||
package com.volmit.iris.util.math;
|
||||
|
||||
import com.volmit.iris.engine.object.basic.IrisPosition;
|
||||
import org.bukkit.util.Vector;
|
||||
|
||||
public class Position2 {
|
||||
private int x;
|
||||
@@ -29,6 +30,11 @@ public class Position2 {
|
||||
this.z = z;
|
||||
}
|
||||
|
||||
public Position2(Vector center) {
|
||||
this.x = center.getBlockX();
|
||||
this.z = center.getBlockZ();
|
||||
}
|
||||
|
||||
public int getX() {
|
||||
return x;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user