use of com.builtbroken.mc.prefab.tile.Tile 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.prefab.tile.Tile in project Engine by VoltzEngine-Project.
the class AbstractTileTest method testIsSolid.
@Test
public void testIsSolid() {
FakeWorld world = FakeWorld.newWorld("TestIsSolid");
world.setBlock(0, 0, 0, block);
Tile tile = ((Tile) world.getTileEntity(0, 0, 0));
for (int i = 0; i < 6; i++) {
tile.isSolid(i);
}
}
use of com.builtbroken.mc.prefab.tile.Tile in project Engine by VoltzEngine-Project.
the class AbstractTileTest method testGetIcon.
@Test
public void testGetIcon() {
FakeWorld world = FakeWorld.newWorld("TestGetIcon");
world.setBlock(0, 0, 0, block);
Tile tile = ((Tile) world.getTileEntity(0, 0, 0));
tile.registerIcons(new SudoIconReg());
tile.getIcon();
for (int i = 0; i < 6; i++) {
tile.getIcon(i);
tile.getIcon(i, 0);
}
tile.getIcon(tile.name);
}
use of com.builtbroken.mc.prefab.tile.Tile 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.prefab.tile.Tile in project Engine by VoltzEngine-Project.
the class AbstractTileTest method testGetDescpacket.
@Test
public void testGetDescpacket() {
FakeWorld world = FakeWorld.newWorld("TestGetDescpacket");
world.setBlock(0, 0, 0, block);
Tile tile = ((Tile) world.getTileEntity(0, 0, 0));
tile.getDescPacket();
}
Aggregations