Created
May 1, 2013 01:23
-
-
Save gravitylow/5493174 to your computer and use it in GitHub Desktop.
BlockLocation barebones
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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