forgor to delete 2 idiots

This commit is contained in:
blackilykat 2024-11-04 23:23:27 +01:00
parent 98ec1f7741
commit 23c4b60f00
3 changed files with 0 additions and 45 deletions

View file

@ -2,10 +2,6 @@ package land.chipmunk.chipmunkmod;
import com.google.gson.Gson; import com.google.gson.Gson;
import com.google.gson.JsonObject; 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; import java.util.HashMap;

View file

@ -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());
}
}

View file

@ -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);
}
}