use of com.builtbroken.mc.testing.junit.world.FakeWorld in project Engine by VoltzEngine-Project.
the class AbstractTileTest method testNotifyBlocksOfNeighborChange.
@Test
public void testNotifyBlocksOfNeighborChange() {
FakeWorld world = FakeWorld.newWorld("TestNotifyBlocksOfNeighborChange");
world.setBlock(0, 0, 0, block);
Tile tile = ((Tile) world.getTileEntity(0, 0, 0));
tile.notifyBlocksOfNeighborChange();
}
use of com.builtbroken.mc.testing.junit.world.FakeWorld in project Engine by VoltzEngine-Project.
the class AbstractTileTest method testSetBlockBoundsBasedOnState.
@Test
public void testSetBlockBoundsBasedOnState() {
FakeWorld world = FakeWorld.newWorld("TestSetBlockBoundsBasedOnState");
world.setBlock(0, 0, 0, block);
Tile tile = ((Tile) world.getTileEntity(0, 0, 0));
tile.setBlockBoundsBasedOnState();
}
use of com.builtbroken.mc.testing.junit.world.FakeWorld in project Engine by VoltzEngine-Project.
the class AbstractTileTest method testHasSpecialRenderer.
@Test
public void testHasSpecialRenderer() {
FakeWorld world = FakeWorld.newWorld("TestHasSpecialRenderer");
world.setBlock(0, 0, 0, block);
Tile tile = ((Tile) world.getTileEntity(0, 0, 0));
tile.hasSpecialRenderer();
}
use of com.builtbroken.mc.testing.junit.world.FakeWorld in project Engine by VoltzEngine-Project.
the class AbstractTileTest method testIsServer.
@Test
public void testIsServer() {
FakeWorld world = FakeWorld.newWorld("TestIsServer");
world.setBlock(0, 0, 0, block);
Tile tile = ((Tile) world.getTileEntity(0, 0, 0));
tile.isServer();
}
use of com.builtbroken.mc.testing.junit.world.FakeWorld in project Engine by VoltzEngine-Project.
the class AbstractTileTest method testOnPostplaced.
@Test
public void testOnPostplaced() {
FakeWorld world = FakeWorld.newWorld("TestOnpostplaced");
world.setBlock(0, 0, 0, block);
Tile tile = ((Tile) world.getTileEntity(0, 0, 0));
tile.onPostPlaced(0);
}
Aggregations