https://pastein.ru/t/5qV
скопируйте уникальную ссылку для отправки
from minecraftstuff import MinecraftTurtle
from mcpi.minecraft import Minecraft
from mcpi import block
import math
mc = Minecraft.create()
pos = mc.player.getPos()
def draw_circle(steve, radius):
circumference = 2 * math.pi * radius
side_length = circumference / 360
for i in range(360):
steve.forward(side_length)
steve.right(1)
steve = MinecraftTurtle(mc, pos)
steve.penblock(block.WOOL.id, 15)
steve.speed(10)
radius = int(input('Какого радиуса хотите круг?'))
draw_circle(steve, radius)