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
19
src/main/java/WayofTime/bloodmagic/routing/IRoutingNode.java
Normal file
19
src/main/java/WayofTime/bloodmagic/routing/IRoutingNode.java
Normal file
|
@ -0,0 +1,19 @@
|
|||
package WayofTime.bloodmagic.routing;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
import net.minecraft.util.BlockPos;
|
||||
import net.minecraft.world.World;
|
||||
|
||||
public interface IRoutingNode
|
||||
{
|
||||
public void connectMasterToRemainingNode(World world, List<BlockPos> alreadyChecked, IMasterRoutingNode master);
|
||||
|
||||
public BlockPos getBlockPos();
|
||||
|
||||
public List<BlockPos> getConnected();
|
||||
|
||||
public BlockPos getMasterPos();
|
||||
|
||||
public boolean isConnectionEnabled(BlockPos testPos);
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue