diff options
author | Leonard Kugis <leonard@kug.is> | 2022-04-25 18:41:24 +0200 |
---|---|---|
committer | Leonard Kugis <leonard@kug.is> | 2022-04-25 18:41:24 +0200 |
commit | 7abf31ea821a0bbddb836adb1a63d0fec2ceee4f (patch) | |
tree | ad9f4f4a1e6bbf5000b8eeb78180eed3923d72e7 /src/main/java/com/encrox/instancedregions/DereferencedBlock.java |
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();
+ }
+
+}
|