Skip to content

Instantly share code, notes, and snippets.

@gravitylow
Created May 1, 2013 01:23
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save gravitylow/5493174 to your computer and use it in GitHub Desktop.
Save gravitylow/5493174 to your computer and use it in GitHub Desktop.
BlockLocation barebones
public class BlockLocation {
private double x;
private double y;
private double z;
public BlockLocation(Block block) {
x = block.getLocation().getX();
y = block.getLocation().getY();
z = block.getLocation().getZ();
}
public double getX() {
return x;
}
public double getY() {
return y;
}
public double getZ() {
return z;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment