/** * Sets this block change's absolute x coordinate. * * @param x New x coordinate */ public void setX(int x) { setLocation(x, getY(), getZ()); }
/** * Sets this block change's relative z coordinate. * * @param z New z coordinate */ public void setZ(int z) { setLocation(getX(), getY(), z); }
/** * Returns this block change's absolute Location in a given World. * * @param world World for the location * @return This block change's absolute Location */ public Location getLocation(World world) { return new Location(world, getAbsoluteX(), getY(), getAbsoluteZ()); }