Commons/src/main/java/eu/univento/commons/helpers/Location.java

28 lines
552 B
Java

package eu.univento.commons.helpers;
import lombok.Getter;
/**
* @author joethei
* @version 1.0
*/
@Getter
public class Location {
private final String world;
private final double x;
private final double y;
private final double z;
private final float pitch;
private final float yaw;
public Location(String world, double x, double y, double z, float pitch, float yaw) {
this.world = world;
this.x = x;
this.y = y;
this.z = z;
this.pitch = pitch;
this.yaw = yaw;
}
}