https://pastein.ru/t/zaV
скопируйте уникальную ссылку для отправки
from mcpi.minecraft import Minecraft
from collections.abc import Iterable
from mcpi.vec3 import Vec3
from minecraftstuff import MinecraftDrawing
import collections
import mcpi.block as block
collections.Iterable = Iterable
mc = Minecraft.create()
mcdraw = MinecraftDrawing(mc)
pos = mc.player.getTilePos()
points1 = []
points2 = []
points3 = []
points4 = []
points1.append(Vec3(pos.x, pos.y, pos.z))
points1.append(Vec3(pos.x + 30, pos.y, pos.z))
points1.append(Vec3(pos.x + 15, pos.y + 20, pos.z + 15))
mcdraw.drawFace(points1, True, block.SANDSTONE.id)
points2.append(Vec3(pos.x, pos.y, pos.z))
points2.append(Vec3(pos.x, pos.y, pos.z + 30))
points2.append(Vec3(pos.x + 15, pos.y + 20, pos.z + 15))
mcdraw.drawFace(points2, True, block.SANDSTONE.id)
points3.append(Vec3(pos.x, pos.y, pos.z + 30))
points3.append(Vec3(pos.x + 30, pos.y, pos.z + 30))
points3.append(Vec3(pos.x + 15, pos.y + 20, pos.z + 15))
mcdraw.drawFace(points3, True, block.SANDSTONE.id)
points4.append(Vec3(pos.x + 30, pos.y, pos.z))
points4.append(Vec3(pos.x + 30, pos.y, pos.z + 30))
points4.append(Vec3(pos.x + 15, pos.y + 20, pos.z + 15))
mcdraw.drawFace(points4, True, block.SANDSTONE.id)