head hurty

This commit is contained in:
Boblet 2026-02-03 16:57:59 +01:00
parent 4d6907277a
commit e287412332
3 changed files with 67 additions and 0 deletions

View File

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

View File

@ -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<World, ConduitWorld> worlds = new HashMap();
public static class ConduitWorld {
}
}

View File

@ -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<PathInfo, List<PathInfo>> inToOut = new HashMap();
public static class PathInfo {
public PathNode leadsTo;
public double distance;
}
}