File tree Expand file tree Collapse file tree 1 file changed +11
-11
lines changed
modapi-common/src/main/java/net/badlion/modapicommon/utility Expand file tree Collapse file tree 1 file changed +11
-11
lines changed Original file line number Diff line number Diff line change 66public class Location {
77
88 private final String world ;
9- private final int x ;
10- private final int y ;
11- private final int z ;
9+ private final double x ;
10+ private final double y ;
11+ private final double z ;
1212
13- public Location (String world , int x , int y , int z ) {
13+ public Location (String world , double x , double y , double z ) {
1414 this .world = world ;
1515 this .x = x ;
1616 this .y = y ;
@@ -21,19 +21,19 @@ public String getWorld() {
2121 return this .world ;
2222 }
2323
24- public int getX () {
25- return this . x ;
24+ public double getX () {
25+ return x ;
2626 }
2727
28- public int getY () {
29- return this . y ;
28+ public double getY () {
29+ return y ;
3030 }
3131
32- public int getZ () {
33- return this . z ;
32+ public double getZ () {
33+ return z ;
3434 }
3535
36- public static Location of (String world , int x , int y , int z ) {
36+ public static Location of (String world , double x , double y , double z ) {
3737 return new Location (world , x , y , z );
3838 }
3939}
You can’t perform that action at this time.
0 commit comments