use of com.builtbroken.mc.testing.junit.world.FakeWorld in project Engine by VoltzEngine-Project.
the class AbstractTileTest method testIsIndirectlypowered.
@Test
public void testIsIndirectlypowered() {
FakeWorld world = FakeWorld.newWorld("TestIsIndirectlypowered");
world.setBlock(0, 0, 0, block);
Tile tile = ((Tile) world.getTileEntity(0, 0, 0));
tile.isIndirectlyPowered();
}
use of com.builtbroken.mc.testing.junit.world.FakeWorld in project Engine by VoltzEngine-Project.
the class AbstractTileTest method testGetBlockMetadata.
@Test
public void testGetBlockMetadata() {
FakeWorld world = FakeWorld.newWorld("TestGetBlockMetadata");
world.setBlock(0, 0, 0, block);
Tile tile = ((Tile) world.getTileEntity(0, 0, 0));
tile.getBlockMetadata();
}
use of com.builtbroken.mc.testing.junit.world.FakeWorld in project Engine by VoltzEngine-Project.
the class AbstractTileTest method testOnDestroyedByExplosion.
@Test
public void testOnDestroyedByExplosion() {
FakeWorld world = FakeWorld.newWorld("TestOnDestroyedByExplosion");
world.setBlock(0, 0, 0, block);
((Tile) world.getTileEntity(0, 0, 0)).onDestroyedByExplosion(new Explosion(world, null, 0, 0, 0, 10));
}
use of com.builtbroken.mc.testing.junit.world.FakeWorld in project Engine by VoltzEngine-Project.
the class AbstractTileTest method testOnWorldJoin.
@Test
public void testOnWorldJoin() {
FakeWorld world = FakeWorld.newWorld("TestOnWorldJoin");
world.setBlock(0, 0, 0, block);
Tile tile = ((Tile) world.getTileEntity(0, 0, 0));
tile.onWorldJoin();
}
use of com.builtbroken.mc.testing.junit.world.FakeWorld in project Engine by VoltzEngine-Project.
the class AbstractTileTest method testGetLightValue.
@Test
public void testGetLightValue() {
FakeWorld world = FakeWorld.newWorld("TestGetLightValue");
world.setBlock(0, 0, 0, block);
Tile tile = ((Tile) world.getTileEntity(0, 0, 0));
tile.getLightValue();
}
Aggregations