Files
CraftTweaker/MineTweaker3-API/src/main/java/minetweaker/api/util/Position3f.java
T
2015-08-31 19:15:35 +02:00

43 lines
749 B
Java

/*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package minetweaker.api.util;
import stanhebben.zenscript.annotations.ZenClass;
import stanhebben.zenscript.annotations.ZenGetter;
/**
*
* @author Stan
*/
@ZenClass("minetweaker.util.Position3f")
public class Position3f {
private final float x;
private final float y;
private final float z;
public Position3f(float x, float y, float z) {
this.x = x;
this.y = y;
this.z = z;
}
@ZenGetter("x")
public float getX() {
return x;
}
@ZenGetter("y")
public float getY() {
return y;
}
@ZenGetter("z")
public float getZ() {
return z;
}
}