Added routing nodes and a bit of infrastructure - not even working yet.
This commit is contained in:
parent
9950b32d53
commit
8b0756e9da
7 changed files with 357 additions and 7 deletions
|
@ -0,0 +1,18 @@
|
|||
package WayofTime.bloodmagic.routing;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
import net.minecraft.util.BlockPos;
|
||||
|
||||
public interface IMasterRoutingNode extends IRoutingNode
|
||||
{
|
||||
public boolean isConnected(List<BlockPos> path, BlockPos nodePos);
|
||||
|
||||
public void addNodeToList(IRoutingNode node);
|
||||
|
||||
public void addConnections(BlockPos pos, List<BlockPos> connectionList);
|
||||
|
||||
public void addConnection(BlockPos pos1, BlockPos pos2);
|
||||
|
||||
public void removeConnection(BlockPos pos1, BlockPos pos2);
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue