https://pastein.ru/t/dwV

  скопируйте уникальную ссылку для отправки


from mcpi.minecraft import Minecraft
from collections.abc import Iterable
import collections
import mcpi.block as block
import random
import time

collections.Iterable = Iterable

mc = Minecraft.create()
pos = mc.player.getTilePos()

for i in range(10):
    mc.setBlock(pos.x + i, pos.y, pos.z, 0)
    mc.setBlock(pos.x + 1 + i, pos.y, pos.z, 57)
    time.sleep(0.5)

for i in range(10):
    mc.setBlock(pos.x + 1 + i, pos.y, pos.z, 57)
    time.sleep(0.5)
    mc.setBlock(pos.x + i + 1, pos.y, pos.z, 0)