Substitute video links

Here are shortcuts to the video links used in the sub-plans.

from minecraft import mcpi

mc = minecraft.Minecraft.create()

x, y, z = mc.player.getPos()

x = x + 2

z = z + 2

height = 5

distance = 12

for h in range(height):

                for d in range(distance):

                                mc.setBlock(x+d, y+h, z)

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

from minecraft import mcpi

mc = minecraft.Minecraft.create()

x, y, z = mc.player.getPos()

width = 5

depth = 8

height = 6

left = x - (width // 2)

right = x + (width – left)

front = z + (depth // 2)

back = z – (depth – front)

top = y + height

bottom = y

# build left wall

mc.setBlocoks(left, bottom, front, left, top, back, 1)

# build right wall

mc.setBlocks(right, bottom, front, right, top, back, 1)

# build front wall

mc.setBlocks(left, bottom, front, right, top, front, 1)

# build back wall

mc.setBlocks(left, bottom, back, right, top, back, 1)

# build top wall

mc.setBlocks(left, front, top, right, back, top, 1)

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

from minecraft import mcpi

mc = minecraft.Minecraft.create()

x, y, z = mc.player.getPos()

width = 5

depth = 8

height = 6

left = x - (width // 2)

right = x + (width – left)

front = z + (depth // 2)

back = z – (depth – front)

top = y + height

bottom = y

# build left wall

mc.setBlocoks(left, bottom, front, left, top, back, 1)

# build right wall

mc.setBlocks(right, bottom, front, right, top, back, 1)

# build front wall

mc.setBlocks(left, bottom, front, right, top, front, 1)

# build back wall

mc.setBlocks(left, bottom, back, right, top, back, 1)

# build top wall

mc.setBlocks(left, front, top, right, back, top, 1)

 

# add left door

mc.setBlocks(left, y, z, left, y+1, z, 0)

# add right door

mc.setBlocks(right, y, z, right, y+1, z, 0)

# add front door

mc.setBlocks(x, y, front, x, y+1, front, 0)

# add back door

mc.setBlocks(x, y, back, x, y+1, back, 0)