added test for robot pathfinding, for #1732
This commit is contained in:
parent
58f342287a
commit
45db58473e
|
@ -64,6 +64,7 @@ public class BuildCraftTests extends BuildCraftMod {
|
||||||
public void preInit(FMLPreInitializationEvent evt) {
|
public void preInit(FMLPreInitializationEvent evt) {
|
||||||
blockTestPathfinding = new BlockTestPathfinding();
|
blockTestPathfinding = new BlockTestPathfinding();
|
||||||
CoreProxy.proxy.registerBlock(blockTestPathfinding);
|
CoreProxy.proxy.registerBlock(blockTestPathfinding);
|
||||||
|
blockTestPathfinding.setBlockName("testPathFinding");
|
||||||
CoreProxy.proxy.registerTileEntity(TileTestPathfinding.class, "net.minecraft.src.builders.TileTestPathfinding");
|
CoreProxy.proxy.registerTileEntity(TileTestPathfinding.class, "net.minecraft.src.builders.TileTestPathfinding");
|
||||||
|
|
||||||
blockTestCase = new BlockTestCase();
|
blockTestCase = new BlockTestCase();
|
||||||
|
|
|
@ -41,5 +41,4 @@ public class TileTestPathfinding extends TileEntity {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
BIN
testsuite/1732-01/test.seq
Executable file
BIN
testsuite/1732-01/test.seq
Executable file
Binary file not shown.
Loading…
Reference in a new issue