mirror of
https://github.com/HbmMods/Hbm-s-Nuclear-Tech-GIT.git
synced 2026-02-24 15:00:48 +00:00
head hurty
This commit is contained in:
parent
4d6907277a
commit
e287412332
35
src/main/java/com/hbm/hrist/BlockConduit.java
Normal file
35
src/main/java/com/hbm/hrist/BlockConduit.java
Normal 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);
|
||||
}
|
||||
}
|
||||
15
src/main/java/com/hbm/hrist/ConduitSpace.java
Normal file
15
src/main/java/com/hbm/hrist/ConduitSpace.java
Normal 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 {
|
||||
|
||||
}
|
||||
}
|
||||
17
src/main/java/com/hbm/hrist/PathNode.java
Normal file
17
src/main/java/com/hbm/hrist/PathNode.java
Normal 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;
|
||||
}
|
||||
}
|
||||
Loading…
x
Reference in New Issue
Block a user