====== Projekt Minecraft ====== ===== Treppe ===== def sky_stair (xpos,ypos,zpos,breite): for i in range(100): blocks.fill(blocks.block_with_data(QUARTZ_STAIRS,2),world(xpos,ypos+i,zpos+i) , world (xpos+breite,ypos+i,zpos+i)) sky_stair(1,4,-243,100) ===== Grundgerüst ===== def Grundgerüst(xpos,ypos,zpos,breite): blocks.fill(BLOCK_OF_QUARTZ,world(xpos,ypos,zpos),world(xpos+breite,ypos,zpos+breite)) Grundgerüst(131,102,-64,100) def Grundgerüst_gras(xpos,ypos,zpos,breite): blocks.fill(GRASS,world(xpos,ypos,zpos),world(xpos+breite,ypos,zpos+breite)) Grundgerüst_gras(131,103,-63,100) ===== Baum ===== def Baum(xpos, ypos, zpos): for i in range(0,13,1): blocks.place(BROWN_WOOL,world(xpos,ypos+i,zpos)) for p in range(4,13,1): blocks.place(BLACK_WOOL,world(xpos+1,ypos+p,zpos)) blocks.place(BLACK_WOOL,world(xpos-1,ypos+p,zpos)) blocks.place(BLACK_WOOL,world(xpos,ypos+p,zpos+1)) blocks.place(BLACK_WOOL,world(xpos,ypos+p,zpos-1)) for l in range(6,12,1): blocks.place(BLACK_WOOL,world(xpos+2,ypos+l,zpos)) blocks.place(BLACK_WOOL,world(xpos-2,ypos+l,zpos)) blocks.place(BLACK_WOOL,world(xpos,ypos+l,zpos+2)) blocks.place(BLACK_WOOL,world(xpos,ypos+l,zpos-2)) for s in range(6,12,1): blocks.place(BLACK_WOOL,world(xpos+1,ypos+s,zpos+1)) blocks.place(BLACK_WOOL,world(xpos-1,ypos+s,zpos-1)) blocks.place(BLACK_WOOL,world(xpos+1,ypos+s,zpos-1)) blocks.place(BLACK_WOOL,world(xpos-1,ypos+s,zpos+1)) for o in range(12,14,1): blocks.place(BLACK_WOOL,world(xpos,ypos+o,zpos)) def baeume(): for f in range(276,326,10): Baum(-587,104,f) Baum(-567,104,f) baeume() ===== Waterfall ===== for i in range(160, 260, 1): blocks.place(WATER,world(-464,102,i)) blocks.place(WATER,world(-362,102,i)) ===== Kleines Haus ===== def Haus(xpos,ypos,zpos,breite,hoehe): blocks.fill(BLOCK_OF_QUARTZ,world(xpos,ypos,zpos),world(xpos+breite,ypos+hoehe,zpos+breite)) blocks.fill(AIR,world(xpos+1,ypos,zpos),world(xpos+breite-1,ypos+hoehe-1,zpos+breite-1)) def Säulen(xpos,ypos,zpos,breite,hoehe): blocks.fill(CHISELED_QUARTZ_BLOCK,world(xpos,ypos,zpos),world(xpos,ypos+hoehe,zpos+breite)) def Eingang(xpos,ypos,zpos,breite,hoehe): blocks.fill(AIR,world(xpos,ypos,zpos),world(xpos,ypos+hoehe,zpos+breite)) Haus(-78,104,177,18,8) for i in range(-78,-58,2): Säulen(i,104,177,1,8) for f in range(-70,-64,1): Eingang(f,104,177,1,7)