summaryrefslogtreecommitdiff
path: root/src/main/java/com/encrox/instancedregions/DereferencedBlock.java
diff options
context:
space:
mode:
authorLeonard Kugis <leonard@kug.is>2022-04-25 18:41:24 +0200
committerLeonard Kugis <leonard@kug.is>2022-04-25 18:41:24 +0200
commit7abf31ea821a0bbddb836adb1a63d0fec2ceee4f (patch)
treead9f4f4a1e6bbf5000b8eeb78180eed3923d72e7 /src/main/java/com/encrox/instancedregions/DereferencedBlock.java
Initial commitHEADmaster
Diffstat (limited to 'src/main/java/com/encrox/instancedregions/DereferencedBlock.java')
-rwxr-xr-xsrc/main/java/com/encrox/instancedregions/DereferencedBlock.java20
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();
+ }
+
+}