Dies ist eine alte Version des Dokuments!
Scrumboard Gruppe Grosser Bauernhof
Erste Planung
Gruppenmitglieder : Liza Aschinger, Malin Schwab, Marlon Voss, Léanne Jungo
Ideenfindung : Ein Bauernhof, bei welchem ein Zug einmal quer durchfährt.
Zeitliche Planung und Arbeitsaufteilung
vom 10.November bis zum 20. Dezember :
- Bauernhaus bauen
- Felder und Gehe bauen
- Zug
Arbeitsaufteilung :
- Haus bauen - Malin und Liza
- Felder und Gehege bauen - Marlon und Léanne
- Zug - alle gemeinsam
Malin und Liza's Arbeit
Bauernhaus mit Stallanbau :
material = [PLANKS_SPRUCE, LOG_SPRUCE, SPRUCE_DOOR, GLASS, BRICK_STAIRS, ROSE_BUSH, BRICKS, BRICKS_SLAB, SPRUCE_FENCE, HAY_BLOCK] materialE = [CHEST,FURNACE,COBBLESTONE_WALL,BOOKSHELF, CAMPFIRE, SPRUCE_TRAPDOOR] def Haus4(l,h,b,x,y,z): #Haus, fenster, blocks.fill(material[0], world(x, y, z), world(x+l, y+h, z+b), FillOperation.HOLLOW) blocks.fill(material[1], world(x, y, z), world(x, y+h, z), FillOperation.REPLACE) blocks.fill(material[1], world(x+l, y, z), world(x+l, y+h, z), FillOperation.REPLACE) blocks.fill(material[1], world(x+l, y, z+b), world(x+l, y+h, z+b), FillOperation.REPLACE) blocks.fill(material[1], world(x, y, z+b), world(x, y+h, z+b), FillOperation.REPLACE) blocks.fill(material[1], world(x, y+h, z), world(x+l, y+h, z), FillOperation.REPLACE) blocks.fill(material[1], world(x, y+h, z+b), world(x+l, y+h, z+b), FillOperation.REPLACE) blocks.fill(material[1], world(x+l, y+h, z), world(x+l, y+h, z+b), FillOperation.REPLACE) blocks.fill(material[1], world(x, y+h, z), world(x, y+h, z+b), FillOperation.REPLACE) #fenster (gross) blocks.fill(material[3], world(x, y+2, z+2), world(x, y+h-1, z+b-2), FillOperation.REPLACE) #Fenster(klein) blocks.fill(material[3], world(x+l/2-2, y+2, z), world(x+l/2-2, y+3, z), FillOperation.REPLACE) blocks.fill(material[3], world(x+l/2+2, y+2, z), world(x+l/2+2, y+3, z), FillOperation.REPLACE) #tür blocks.fill(AIR, world(x+l/2, y+1, z), world(x+l/2, y+2, z), FillOperation.REPLACE) blocks.place(material[2], world(x+l/2, y+1, z)) #Blumen blocks.place(material[5], world(x+l/2+1, y+1, z-1)) blocks.place(material[5], world(x+l/2-1, y+1, z-1)) #kamin blocks.fill(material[6], world(x+l/2-1, y+1, z+b-1), world(x+l/2+1, y+2, z+b-1), ) blocks.place(AIR, world(x+l/2, y+1, z+b-1)) blocks.place(material[6], world(x+l/2, y+3, z+b-1)) #feuer blocks.place(materialE[4], world(x+l/2, y+1, z+b-1)) #dach for i in range(l/2+1): blocks.fill(material[4], world(x-1+i, y+h+i, z-1), world(x-1+i, y+h+i, z+b+1),FillOperation.REPLACE) for i in range(l/2): blocks.fill(blocks.block_with_data (material[4], 1), world(x+l-i, y+h+1+i, z-1), world(x+l-i, y+h+1+i, z+b+1),FillOperation.REPLACE) blocks.fill(blocks.block_with_data (material[7], 1), world(x+l/2, y+h+6, z-1), world(x+l/2, y+h+6, z+b+1),FillOperation.REPLACE) #zweite reihe treppen for i in range(l/2): blocks.place(blocks.block_with_data (material[4], 5), world(x+i, y+h+i, z-1)) for i in range(l/2): blocks.place(blocks.block_with_data (material[4], 4), world(x+l-1-i, y+h+1+i, z-1)) blocks.place(blocks.block_with_data (material[4], 6), world(x+l/2, y+h+5, z-1)) for i in range(l/2): blocks.place(blocks.block_with_data (material[4], 5), world(x+i, y+h+i, z+b+1)) for i in range(l/2): blocks.place(blocks.block_with_data (material[4], 4), world(x+l-1-i, y+h+1+i, z+b+1)) blocks.place(blocks.block_with_data (material[4], 7), world(x+l/2, y+h+5, z+b+1)) #glas dach for i in range(0,l/2): blocks.fill(material[0], world(x+l-1-i, y+h+1+i, z), world(x+1+i, y+h+1+i, z), FillOperation.REPLACE) for i in range(0,l/2): blocks.fill(material[0], world(x+l-1-i, y+h+1+i, z+b), world(x+1+i, y+h+1+i, z+b), FillOperation.REPLACE) blocks.fill(material[1], world(x+l/2-1, y+h+1, z), world(x+l/2-1, y+h+1+3, z), FillOperation.REPLACE) blocks.fill(material[1], world(x+l/2+1, y+h+1, z), world(x+l/2+1, y+h+1+3, z), FillOperation.REPLACE) blocks.fill(material[1], world(x+l/2-1, y+h+1, z+b), world(x+l/2-1, y+h+1+3, z+b), FillOperation.REPLACE) blocks.fill(material[1], world(x+l/2+1, y+h+1, z+b), world(x+l/2+1, y+h+1+3, z+b), FillOperation.REPLACE) #Grossanbau #Anbau blocks.fill(material[0], world(x+l, y, z), world(x+l+l, y+h, z+b), FillOperation.HOLLOW) blocks.fill(material[1], world(x+l, y, z), world(x+l, y+h, z), FillOperation.REPLACE) blocks.fill(material[1], world(x+l+l, y, z), world(x+l+l, y+h, z), FillOperation.REPLACE) blocks.fill(material[1], world(x+l+l, y, z+b), world(x+l+l, y+h, z+b), FillOperation.REPLACE) blocks.fill(material[1], world(x+l, y, z+b), world(x+l, y+h, z+b), FillOperation.REPLACE) blocks.fill(material[1], world(x+l, y+h, z), world(x+l+l, y+h, z), FillOperation.REPLACE) blocks.fill(material[1], world(x+l, y+h, z+b), world(x+l+l, y+h, z+b), FillOperation.REPLACE) blocks.fill(material[1], world(x+l+l, y+h, z), world(x+l+l, y+h, z+b), FillOperation.REPLACE) blocks.fill(material[1], world(x+l, y+h, z), world(x+l, y+h, z+b), FillOperation.REPLACE) #Türe blocks.fill(AIR, world(x+l+l/2, y+1, z), world(x+l+l/2, y+2, z), FillOperation.REPLACE) blocks.place(material[2], world(x+l+l/2, y+1, z)) #Türe2 blocks.fill(AIR, world(x+l+l/2+4, y+1, z), world(x+l+l/2+4, y+2, z), FillOperation.REPLACE) blocks.place(material[2], world(x+l+l/2+4, y+1, z)) #Türe3 blocks.fill(AIR, world(x+l+l/2-4, y+1, z), world(x+l+l/2-4, y+2, z), FillOperation.REPLACE) blocks.place(material[2], world(x+l+l/2-4, y+1, z)) #fenster blocks.place(material[8], world(x+l+l-3, y+2, z)) blocks.place(material[8], world(x+l+3, y+2, z)) #Heuboden blocks.fill(material[9], world(x+l+1, y, z+1), world(x+l+l, y, z+b), FillOperation.REPLACE) #dach for i in range(1): blocks.fill(material[4], world(x+l+1+i, y+h+1+i, z-1), world(x+l+1+i, y+1+h+i, z+b+1), FillOperation.REPLACE) for i in range(2): blocks.fill(blocks.block_with_data(material[4], 1), world(x+l+l+1-i, y+h+i, z-1), world(x+l+l+1-i, y+h+i, z+b+1), FillOperation.REPLACE) blocks.fill(material[6], world(x+l+2, y+h+1, z), world(x+l+l-1, y+h+1, z+b), FillOperation.REPLACE) blocks.fill(blocks.block_with_data(material[4], 2), world(x+l+2, y+h+1, z-1), world(x+l+l-1, y+h+1, z-1), FillOperation.REPLACE) blocks.fill(blocks.block_with_data(material[4], 3), world(x+l+2, y+h+1, z+b+1), world(x+l+l-1, y+h+1, z+b+1), FillOperation.REPLACE) #Einrichtung(ohne Kamin) #true blocks.fill(blocks.block_with_data(materialE[0], 4), world(x+l-1, y+1, z+b-2), world(x+l-1, y+1, z+b-1), FillOperation.REPLACE) #ofen blocks.place(materialE[1], world(x+l-2, y+1, z+1)) blocks.fill(materialE[2], world(x+l-2, y+2, z+1), world(x+l-2, y+3, z+1), FillOperation.REPLACE) #buch blocks.fill(materialE[3], world(x+1, y+1, z+1), world(x+1, y+3, z+1), FillOperation.REPLACE) #verbindungs Türe blocks.fill(AIR, world(x+l, y+1, z+3), world(x+l, y+2, z+4), FillOperation.REPLACE) blocks.place(blocks.block_with_data(material[2], 0), world(x+l, y+1, z+4)) blocks.place(material[2], world(x+l, y+1, z+3)) #tisch def hausbau(): Haus4(10, 4, 8, 362, -61, -669) player.on_chat("h", hausbau)
Zusammengesetzter Bauernhof :
material = [PLANKS_SPRUCE, LOG_SPRUCE, SPRUCE_DOOR, GLASS, BRICK_STAIRS, ROSE_BUSH, BRICKS, BRICKS_SLAB, SPRUCE_FENCE, HAY_BLOCK]
materialE = [CHEST,FURNACE,COBBLESTONE_WALL,BOOKSHELF, CAMPFIRE, SPRUCE_TRAPDOOR]
def Haus4(l,h,b,x,y,z):
#Haus, fenster,
blocks.fill(material[0], world(x, y, z), world(x+l, y+h, z+b), FillOperation.HOLLOW)
blocks.fill(material[1], world(x, y, z), world(x, y+h, z), FillOperation.REPLACE)
blocks.fill(material[1], world(x+l, y, z), world(x+l, y+h, z), FillOperation.REPLACE)
blocks.fill(material[1], world(x+l, y, z+b), world(x+l, y+h, z+b), FillOperation.REPLACE)
blocks.fill(material[1], world(x, y, z+b), world(x, y+h, z+b), FillOperation.REPLACE)
blocks.fill(material[1], world(x, y+h, z), world(x+l, y+h, z), FillOperation.REPLACE)
blocks.fill(material[1], world(x, y+h, z+b), world(x+l, y+h, z+b), FillOperation.REPLACE)
blocks.fill(material[1], world(x+l, y+h, z), world(x+l, y+h, z+b), FillOperation.REPLACE)
blocks.fill(material[1], world(x, y+h, z), world(x, y+h, z+b), FillOperation.REPLACE)
#fenster (gross)
blocks.fill(material[3], world(x, y+2, z+2), world(x, y+h-1, z+b-2), FillOperation.REPLACE)
#Fenster(klein)
blocks.fill(material[3], world(x+l/2-2, y+2, z), world(x+l/2-2, y+3, z), FillOperation.REPLACE)
blocks.fill(material[3], world(x+l/2+2, y+2, z), world(x+l/2+2, y+3, z), FillOperation.REPLACE)
#tür
blocks.fill(AIR, world(x+l/2, y+1, z), world(x+l/2, y+2, z), FillOperation.REPLACE)
blocks.place(material[2], world(x+l/2, y+1, z))
#Blumen
blocks.place(material[5], world(x+l/2+1, y+1, z-1))
blocks.place(material[5], world(x+l/2-1, y+1, z-1))
#kamin
blocks.fill(material[6], world(x+l/2-1, y+1, z+b-1), world(x+l/2+1, y+2, z+b-1), )
blocks.place(AIR, world(x+l/2, y+1, z+b-1))
blocks.place(material[6], world(x+l/2, y+3, z+b-1))
#feuer
blocks.place(materialE[4], world(x+l/2, y+1, z+b-1))
#dach
for i in range(l/2+1):
blocks.fill(material[4], world(x-1+i, y+h+i, z-1), world(x-1+i, y+h+i, z+b+1),FillOperation.REPLACE)
for i in range(l/2):
blocks.fill(blocks.block_with_data (material[4], 1), world(x+l-i, y+h+1+i, z-1), world(x+l-i, y+h+1+i, z+b+1),FillOperation.REPLACE)
blocks.fill(blocks.block_with_data (material[7], 1), world(x+l/2, y+h+6, z-1), world(x+l/2, y+h+6, z+b+1),FillOperation.REPLACE)
#zweite reihe treppen
for i in range(l/2):
blocks.place(blocks.block_with_data (material[4], 5), world(x+i, y+h+i, z-1))
for i in range(l/2):
blocks.place(blocks.block_with_data (material[4], 4), world(x+l-1-i, y+h+1+i, z-1))
blocks.place(blocks.block_with_data (material[4], 6), world(x+l/2, y+h+5, z-1))
for i in range(l/2):
blocks.place(blocks.block_with_data (material[4], 5), world(x+i, y+h+i, z+b+1))
for i in range(l/2):
blocks.place(blocks.block_with_data (material[4], 4), world(x+l-1-i, y+h+1+i, z+b+1))
blocks.place(blocks.block_with_data (material[4], 7), world(x+l/2, y+h+5, z+b+1))
#glas dach
for i in range(0,l/2):
blocks.fill(material[0], world(x+l-1-i, y+h+1+i, z), world(x+1+i, y+h+1+i, z), FillOperation.REPLACE)
for i in range(0,l/2):
blocks.fill(material[0], world(x+l-1-i, y+h+1+i, z+b), world(x+1+i, y+h+1+i, z+b), FillOperation.REPLACE)
blocks.fill(material[1], world(x+l/2-1, y+h+1, z), world(x+l/2-1, y+h+1+3, z), FillOperation.REPLACE)
blocks.fill(material[1], world(x+l/2+1, y+h+1, z), world(x+l/2+1, y+h+1+3, z), FillOperation.REPLACE)
blocks.fill(material[1], world(x+l/2-1, y+h+1, z+b), world(x+l/2-1, y+h+1+3, z+b), FillOperation.REPLACE)
blocks.fill(material[1], world(x+l/2+1, y+h+1, z+b), world(x+l/2+1, y+h+1+3, z+b), FillOperation.REPLACE)
#Grossanbau
#Anbau
blocks.fill(material[0], world(x+l, y, z), world(x+l+l, y+h, z+b), FillOperation.HOLLOW)
blocks.fill(material[1], world(x+l, y, z), world(x+l, y+h, z), FillOperation.REPLACE)
blocks.fill(material[1], world(x+l+l, y, z), world(x+l+l, y+h, z), FillOperation.REPLACE)
blocks.fill(material[1], world(x+l+l, y, z+b), world(x+l+l, y+h, z+b), FillOperation.REPLACE)
blocks.fill(material[1], world(x+l, y, z+b), world(x+l, y+h, z+b), FillOperation.REPLACE)
blocks.fill(material[1], world(x+l, y+h, z), world(x+l+l, y+h, z), FillOperation.REPLACE)
blocks.fill(material[1], world(x+l, y+h, z+b), world(x+l+l, y+h, z+b), FillOperation.REPLACE)
blocks.fill(material[1], world(x+l+l, y+h, z), world(x+l+l, y+h, z+b), FillOperation.REPLACE)
blocks.fill(material[1], world(x+l, y+h, z), world(x+l, y+h, z+b), FillOperation.REPLACE)
#Türe
blocks.fill(AIR, world(x+l+l/2, y+1, z), world(x+l+l/2, y+2, z), FillOperation.REPLACE)
blocks.place(material[2], world(x+l+l/2, y+1, z))
#Türe2
blocks.fill(AIR, world(x+l+l/2+4, y+1, z), world(x+l+l/2+4, y+2, z), FillOperation.REPLACE)
blocks.place(material[2], world(x+l+l/2+4, y+1, z))
#Türe3
blocks.fill(AIR, world(x+l+l/2-4, y+1, z), world(x+l+l/2-4, y+2, z), FillOperation.REPLACE)
blocks.place(material[2], world(x+l+l/2-4, y+1, z))
#fenster
blocks.place(material[8], world(x+l+l-3, y+2, z))
blocks.place(material[8], world(x+l+3, y+2, z))
#Heuboden
blocks.fill(material[9], world(x+l+1, y, z+1), world(x+l+l, y, z+b), FillOperation.REPLACE)
#dach
for i in range(1):
blocks.fill(material[4], world(x+l+1+i, y+h+1+i, z-1), world(x+l+1+i, y+1+h+i, z+b+1), FillOperation.REPLACE)
for i in range(2):
blocks.fill(blocks.block_with_data(material[4], 1), world(x+l+l+1-i, y+h+i, z-1), world(x+l+l+1-i, y+h+i, z+b+1), FillOperation.REPLACE)
blocks.fill(material[6], world(x+l+2, y+h+1, z), world(x+l+l-1, y+h+1, z+b), FillOperation.REPLACE)
blocks.fill(blocks.block_with_data(material[4], 2), world(x+l+2, y+h+1, z-1), world(x+l+l-1, y+h+1, z-1), FillOperation.REPLACE)
blocks.fill(blocks.block_with_data(material[4], 3), world(x+l+2, y+h+1, z+b+1), world(x+l+l-1, y+h+1, z+b+1), FillOperation.REPLACE)
#Einrichtung(ohne Kamin)
#true
blocks.fill(blocks.block_with_data(materialE[0], 4), world(x+l-1, y+1, z+b-2), world(x+l-1, y+1, z+b-1), FillOperation.REPLACE)
#ofen
blocks.place(materialE[1], world(x+l-2, y+1, z+1))
blocks.fill(materialE[2], world(x+l-2, y+2, z+1), world(x+l-2, y+3, z+1), FillOperation.REPLACE)
#buch
blocks.fill(materialE[3], world(x+1, y+1, z+1), world(x+1, y+3, z+1), FillOperation.REPLACE)
#verbindungs Türe
blocks.fill(AIR, world(x+l, y+1, z+3), world(x+l, y+2, z+4), FillOperation.REPLACE)
blocks.place(blocks.block_with_data(material[2], 5), world(x+l, y+1, z+4))
blocks.place(blocks.block_with_data(material[2], 5), world(x+l, y+1, z+3))
#tisch
Haus4(10, 4, 8, 0, -61, 0)
Marlon und Léanne's Arbeit
Grundcode:
def Feld(länge,breite,x,y,z): blocks.fill(BRICKS, world(x, y, z), world(x+länge, y, z+breite), FillOperation.HOLLOW) blocks.fill(FARMLAND, world(x+1, y, z+1), world(x+länge-1, y, z+breite-1), FillOperation.REPLACE) blocks.place(WATER, world((x+länge/2), y,(z+breite/2))) blocks.fill(CARROTS, world(x+1, y+1, z+1), world(x+länge-1, y+1, z+breite-1), FillOperation.REPLACE) #Feld(8,8,-47,-60,0) Feld(8,8,-94,-60,-66)
def Zaun(LÄNGEZ,BREITZ,a,b,c): # blocks.fill( world(a, b, c),world(a, b, c) FillOperation.HOLLOW blocks.fill(OAK_FENCE, world(a, b, c), world(a+LÄNGEZ, b, c+BREITZ), FillOperation.HOLLOW) blocks.fill(AIR, world(a+1, b, c+1), world(a+LÄNGEZ-1, b, c+BREITZ-1), FillOperation.REPLACE) for i in range(10): mobs.spawn(CHICKEN, world(a+i, b, c+i)) Zaun(8,8,-65,-60,-77)
def ZaunKühe(LÄNGEK,BREITEK,n,m,p): blocks.fill(OAK_FENCE, world(n, m, p), world(n+LÄNGEK, m, p+BREITEK), FillOperation.HOLLOW) blocks.fill(AIR, world(n+1, m, p+1), world(n+LÄNGEK-1, m, p+BREITEK-1), FillOperation.REPLACE) for i in range(10): mobs.spawn(COW, world(n+i, m, p+i)) ZaunKühe(10,10,-95,-60,-89)
Hauptcode:
#1. hühner def Zaun(LÄNGEZ,BREITZ,a,b,c): # blocks.fill( world(a, b, c),world(a, b, c) FillOperation.HOLLOW blocks.fill(OAK_FENCE, world(a, b, c), world(a+LÄNGEZ, b, c+BREITZ), FillOperation.HOLLOW) blocks.fill(AIR, world(a+1, b, c+1), world(a+LÄNGEZ-1, b, c+BREITZ-1), FillOperation.REPLACE) for i in range(10): mobs.spawn(CHICKEN, world(a+i, b, c+i)) Zaun(8,8,24,-60,0)
#2.huhn def Zaun2(LÄNGEZ,BREITZ,a,b,c): # blocks.fill( world(a, b, c),world(a, b, c) FillOperation.HOLLOW blocks.fill(OAK_FENCE, world(a, b, c), world(a+LÄNGEZ, b, c+BREITZ), FillOperation.HOLLOW) blocks.fill(AIR, world(a+1, b, c+1), world(a+LÄNGEZ-1, b, c+BREITZ-1), FillOperation.REPLACE) for i in range(10): mobs.spawn(CHICKEN, world(a+i, b, c+i)) Zaun2(8,8,40,-60,10)
#3.kuh def ZaunKühe2(LÄNGEK,BREITEK,n,m,p): blocks.fill(OAK_FENCE, world(n, m, p), world(n+LÄNGEK, m, p+BREITEK), FillOperation.HOLLOW) blocks.fill(AIR, world(n+1, m, p+1), world(n+LÄNGEK-1, m, p+BREITEK-1), FillOperation.REPLACE) for i in range(10): mobs.spawn(COW, world(n+i, m, p+i)) ZaunKühe2(10,10,30,-60,-15)
#2.Kuh def ZaunKühe(LÄNGEK,BREITEK,n,m,p): blocks.fill(OAK_FENCE, world(n, m, p), world(n+LÄNGEK, m, p+BREITEK), FillOperation.HOLLOW) blocks.fill(AIR, world(n+1, m, p+1), world(n+LÄNGEK-1, m, p+BREITEK-1), FillOperation.REPLACE) for i in range(10): mobs.spawn(COW, world(n+i, m, p+i)) ZaunKühe(10,10,15,-60,-20)
Feld:
def Feld(länge,breite,x,y,z): blocks.fill(BRICKS, world(x, y, z), world(x+länge, y, z+breite), FillOperation.HOLLOW) blocks.fill(FARMLAND, world(x+1, y, z+1), world(x+länge-1, y, z+breite-1), FillOperation.REPLACE) blocks.place(WATER, world((x+länge/2), y,(z+breite/2))) blocks.fill(CARROTS, world(x+1, y+1, z+1), world(x+länge-1, y+1, z+breite-1), FillOperation.REPLACE) #Feld(8,8,-47,-60,0) Feld(8,8,-15,-60,-10) def Feld2(länge,breite,x,y,z): blocks.fill(BRICKS, world(x, y, z), world(x+länge, y, z+breite), FillOperation.HOLLOW) blocks.fill(FARMLAND, world(x+1, y, z+1), world(x+länge-1, y, z+breite-1), FillOperation.REPLACE) blocks.place(WATER, world((x+länge/2), y,(z+breite/2))) blocks.fill(POTATOES, world(x+1, y+1, z+1), world(x+länge-1, y+1, z+breite-1), FillOperation.REPLACE) #Feld(8,8,-47,-60,0) Feld2(8,8,-13,-60, 10) def Feld3(länge,breite,x,y,z): blocks.fill(BRICKS, world(x, y, z), world(x+länge, y, z+breite), FillOperation.HOLLOW) blocks.fill(FARMLAND, world(x+1, y, z+1), world(x+länge-1, y, z+breite-1), FillOperation.REPLACE) blocks.place(WATER, world((x+länge/2), y,(z+breite/2))) blocks.fill(CARROTS, world(x+1, y+1, z+1), world(x+länge-1, y+1, z+breite-1), FillOperation.REPLACE) #Feld(8,8,-47,-60,0) Feld3(8,8,-25,-60,0)