use of com.builtbroken.mc.prefab.tile.Tile in project Engine by VoltzEngine-Project.
the class AbstractTileTest method testGetColorMultiplier.
@Test
public void testGetColorMultiplier() {
FakeWorld world = FakeWorld.newWorld("TestGetColorMultiplier");
world.setBlock(0, 0, 0, block);
Tile tile = ((Tile) world.getTileEntity(0, 0, 0));
tile.getColorMultiplier();
}
use of com.builtbroken.mc.prefab.tile.Tile in project Engine by VoltzEngine-Project.
the class AbstractTileTest method testFirstTick.
@Test
public void testFirstTick() {
FakeWorld world = FakeWorld.newWorld("TestFirstTick");
world.setBlock(0, 0, 0, block);
Tile tile = ((Tile) world.getTileEntity(0, 0, 0));
tile.firstTick();
}
use of com.builtbroken.mc.prefab.tile.Tile in project Engine by VoltzEngine-Project.
the class AbstractTileTest method testOnRegistered.
@Test
public void testOnRegistered() {
FakeWorld world = FakeWorld.newWorld("TestOnRegistered");
world.setBlock(0, 0, 0, block);
Tile tile = ((Tile) world.getTileEntity(0, 0, 0));
tile.onRegistered();
}
use of com.builtbroken.mc.prefab.tile.Tile in project Engine by VoltzEngine-Project.
the class AbstractTileTest method testUpdate.
@Test
public void testUpdate() {
FakeWorld world = FakeWorld.newWorld("TestUpdate");
world.setBlock(0, 0, 0, block);
Tile tile = (Tile) world.getTileEntity(0, 0, 0);
//5 Seconds of run time
for (int i = 0; i < 100; i++) {
tile.ticks = i;
tile.update();
}
}
use of com.builtbroken.mc.prefab.tile.Tile in project Engine by VoltzEngine-Project.
the class AbstractTileTest method testNewTile.
@Test
public void testNewTile() {
FakeWorld world = FakeWorld.newWorld("TestNewTile");
world.setBlock(0, 0, 0, block);
Tile tile = ((Tile) world.getTileEntity(0, 0, 0));
tile.newTile();
}
Aggregations