From 23c4b60f00cfe03331377895f580d8f44c99f20a Mon Sep 17 00:00:00 2001 From: blackilykat Date: Mon, 4 Nov 2024 23:23:27 +0100 Subject: [PATCH] forgor to delete 2 idiots --- .../chipmunk/chipmunkmod/Configuration.java | 4 ---- .../chipmunkmod/data/SimpleBlockArea.java | 18 --------------- .../chipmunkmod/data/SimpleBlockPos.java | 23 ------------------- 3 files changed, 45 deletions(-) delete mode 100644 src/main/java/land/chipmunk/chipmunkmod/data/SimpleBlockArea.java delete mode 100644 src/main/java/land/chipmunk/chipmunkmod/data/SimpleBlockPos.java diff --git a/src/main/java/land/chipmunk/chipmunkmod/Configuration.java b/src/main/java/land/chipmunk/chipmunkmod/Configuration.java index e630353..125486e 100644 --- a/src/main/java/land/chipmunk/chipmunkmod/Configuration.java +++ b/src/main/java/land/chipmunk/chipmunkmod/Configuration.java @@ -2,10 +2,6 @@ package land.chipmunk.chipmunkmod; import com.google.gson.Gson; import com.google.gson.JsonObject; -import land.chipmunk.chipmunkmod.data.BlockArea; -import land.chipmunk.chipmunkmod.data.SimpleBlockArea; -import land.chipmunk.chipmunkmod.data.SimpleBlockPos; -import net.minecraft.util.math.BlockPos; import java.util.HashMap; diff --git a/src/main/java/land/chipmunk/chipmunkmod/data/SimpleBlockArea.java b/src/main/java/land/chipmunk/chipmunkmod/data/SimpleBlockArea.java deleted file mode 100644 index 82e2256..0000000 --- a/src/main/java/land/chipmunk/chipmunkmod/data/SimpleBlockArea.java +++ /dev/null @@ -1,18 +0,0 @@ -package land.chipmunk.chipmunkmod.data; - -/** - * {@link BlockArea} but with {@link SimpleBlockPos} instead of {@link net.minecraft.util.math.BlockPos} - */ -public class SimpleBlockArea { - public SimpleBlockPos start; - public SimpleBlockPos end; - - public SimpleBlockArea(SimpleBlockPos start, SimpleBlockPos end) { - this.start = start; - this.end = end; - } - - public BlockArea toBlockArea() { - return new BlockArea(start.toBlockPos(), end.toBlockPos()); - } -} diff --git a/src/main/java/land/chipmunk/chipmunkmod/data/SimpleBlockPos.java b/src/main/java/land/chipmunk/chipmunkmod/data/SimpleBlockPos.java deleted file mode 100644 index c02c474..0000000 --- a/src/main/java/land/chipmunk/chipmunkmod/data/SimpleBlockPos.java +++ /dev/null @@ -1,23 +0,0 @@ -package land.chipmunk.chipmunkmod.data; - -import net.minecraft.util.math.BlockPos; - -/** - * Basically {@link net.minecraft.util.math.BlockPos} but the mappings are consistent so they don't get fucked up - * in configs - */ -public class SimpleBlockPos { - public int x; - public int y; - public int z; - - public SimpleBlockPos(int x, int y, int z) { - this.x = x; - this.y = y; - this.z = z; - } - - public BlockPos toBlockPos() { - return new BlockPos(x, y, z); - } -}