diff options
Diffstat (limited to 'src/main/java/com/encrox/instancedregions/DereferencedBlock.java')
-rwxr-xr-x | src/main/java/com/encrox/instancedregions/DereferencedBlock.java | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/src/main/java/com/encrox/instancedregions/DereferencedBlock.java b/src/main/java/com/encrox/instancedregions/DereferencedBlock.java new file mode 100755 index 0000000..2f77a52 --- /dev/null +++ b/src/main/java/com/encrox/instancedregions/DereferencedBlock.java @@ -0,0 +1,20 @@ +package com.encrox.instancedregions;
+
+import org.bukkit.Location;
+import org.bukkit.Material;
+import org.bukkit.block.Block;
+import org.bukkit.block.BlockState;
+
+public class DereferencedBlock {
+
+ public Material type;
+ public Location location;
+ public BlockState blockState;
+
+ public DereferencedBlock(Block block) {
+ type = block.getType();
+ location = block.getLocation();
+ blockState = block.getState();
+ }
+
+}
|