From 7abf31ea821a0bbddb836adb1a63d0fec2ceee4f Mon Sep 17 00:00:00 2001 From: Leonard Kugis Date: Mon, 25 Apr 2022 18:41:24 +0200 Subject: Initial commit --- .../encrox/instancedregions/DereferencedBlock.java | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100755 src/main/java/com/encrox/instancedregions/DereferencedBlock.java (limited to 'src/main/java/com/encrox/instancedregions/DereferencedBlock.java') 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(); + } + +} -- cgit v1.2.1