def piramidaKonstruktor2(): pozycja = positions.add(player.position(),pos(10,0,0)) x = pozycja.get_value(Axis.X) y = pozycja.get_value(Axis.Y) z = pozycja.get_value(Axis.Z) blocks.fill(TNT, world(x,y,z),world(x+10,y,z+10)) blocks.fill(TNT, world(x+1,y+1,z+1),world(x+9,y+1,z+9)) blocks.fill(TNT, world(x+2,y+2,z+2),world(x+8,y+2,z+8)) blocks.fill(TNT, world(x+3,y+3,z+3),world(x+7,y+3,z+7)) blocks.fill(TNT, world(x+4,y+4,z+4),world(x+6,y+4,z+6)) blocks.fill(TNT, world(x+5,y+5,z+5),world(x+5,y+5,z+5)) loops.pause(3000) blocks.fill(REDSTONE_BLOCK, world(x+5,y+6,z+5),world(x+5,y+6,z+5)) player.on_chat("piramida",piramidaKonstruktor2)