diff --git a/src/main/java/com/hbm/hrist/BlockConduit.java b/src/main/java/com/hbm/hrist/BlockConduit.java new file mode 100644 index 000000000..61af57980 --- /dev/null +++ b/src/main/java/com/hbm/hrist/BlockConduit.java @@ -0,0 +1,35 @@ +package com.hbm.hrist; + +import com.hbm.blocks.BlockDummyable; + +import net.minecraft.block.material.Material; +import net.minecraft.tileentity.TileEntity; +import net.minecraft.world.World; + +// you can think of it like a pipeline +public class BlockConduit extends BlockDummyable { + + public BlockConduit() { + super(Material.ground); + } + + @Override + public TileEntity createNewTileEntity(World world, int meta) { + return null; + } + + @Override + public int[] getDimensions() { + return new int[] {0, 0, 2, 2, 1, 0}; + } + + @Override + public int getOffset() { + return 2; + } + + @Override + public void onBlockAdded(World world, int x, int y, int z) { + super.onBlockAdded(world, x, y, z); + } +} diff --git a/src/main/java/com/hbm/hrist/ConduitSpace.java b/src/main/java/com/hbm/hrist/ConduitSpace.java new file mode 100644 index 000000000..536e0f23b --- /dev/null +++ b/src/main/java/com/hbm/hrist/ConduitSpace.java @@ -0,0 +1,15 @@ +package com.hbm.hrist; + +import java.util.HashMap; +import java.util.Map; + +import net.minecraft.world.World; + +public class ConduitSpace { + + public static Map worlds = new HashMap(); + + public static class ConduitWorld { + + } +} diff --git a/src/main/java/com/hbm/hrist/PathNode.java b/src/main/java/com/hbm/hrist/PathNode.java new file mode 100644 index 000000000..e09a339c6 --- /dev/null +++ b/src/main/java/com/hbm/hrist/PathNode.java @@ -0,0 +1,17 @@ +package com.hbm.hrist; + +import java.util.HashMap; +import java.util.List; +import java.util.Map; + +public class PathNode { + + // i suppose that's a tree now + public Map> inToOut = new HashMap(); + + public static class PathInfo { + + public PathNode leadsTo; + public double distance; + } +}