Unterschiede
Hier werden die Unterschiede zwischen zwei Versionen angezeigt.
| Beide Seiten der vorigen Revision Vorhergehende Überarbeitung Nächste Überarbeitung | Vorhergehende Überarbeitung | ||
| gf2:projekte:2023:minecraft:2d1gruppe4 [2023/12/20 10:16] – schwabm | gf2:projekte:2023:minecraft:2d1gruppe4 [2024/01/31 09:43] (aktuell) – marroc | ||
|---|---|---|---|
| Zeile 1: | Zeile 1: | ||
| - | Erste Planung der Gruppe | + | ====== Scrumboard |
| - | vom 10. November | + | |
| - | Idee: Bauernhof | + | |
| - | zeitliche Planung: | + | \\ |
| - | 2 Wochen | + | |
| - | -> Haus bauen (Liza + Malin) | + | |
| - | -> Felder und Gehege bauen (Léanne + Marlon) | + | |
| - | Der erste Code ist für das Feld und der andere Teil ist ein Feld. Diese Feld hat Kühe drinnen. | + | {{ : |
| - | < code python > | + | ===== Erste Planung ===== |
| - | def Feld(länge, | + | |
| - | blocks.fill(BRICKS, | + | |
| - | blocks.fill(FARMLAND, | + | |
| - | blocks.place(WATER, | + | |
| - | blocks.fill(CARROTS, | + | |
| - | # | + | |
| - | Feld(8, | + | |
| - | def Zaun(LÄNGEZ, | + | |
| - | # blocks.fill( world(a, b, c),world(a, b, c) FillOperation.HOLLOW | + | |
| - | | + | |
| - | | + | |
| - | for i in range(10): | + | |
| - | mobs.spawn(CHICKEN, | + | |
| - | Zaun(8, | + | |
| - | def ZaunKühe(LÄNGEK, | + | |
| - | blocks.fill(OAK_FENCE, | + | |
| - | blocks.fill(AIR, | + | |
| - | for i in range(10): | + | |
| - | mobs.spawn(COW, | + | |
| - | ZaunKühe(10, | + | |
| - | < /code > | + | |
| + | __Gruppenmitglieder__ : Liza Aschinger, Malin Schwab, Marlon Voss, Léanne Jungo | ||
| + | \\ | ||
| + | \\ | ||
| + | __Ideenfindung__ : Ein Bauernhof | ||
| + | \\ | ||
| + | |||
| + | ==== Zeitliche Planung und Arbeitsaufteilung ==== | ||
| + | |||
| + | __vom 10.November bis zum 20. Dezember__ : | ||
| + | * Bauernhaus bauen | ||
| + | * Felder und Gehege bauen | ||
| + | __Arbeitsaufteilung__ : | ||
| + | * Haus bauen - Malin und Liza | ||
| + | * Felder und Gehege bauen - Marlon und Léanne | ||
| - | Bauernhaus | + | \\ |
| + | \\ | ||
| + | ==== Malin und Liza's Arbeit ==== | ||
| + | \\ | ||
| + | __Bauernhaus | ||
| + | \\ | ||
| <code python> | <code python> | ||
| material = [PLANKS_SPRUCE, | material = [PLANKS_SPRUCE, | ||
| Zeile 149: | Zeile 142: | ||
| | | ||
| - | #tisch | + | |
| | | ||
| def hausbau(): | def hausbau(): | ||
| Zeile 157: | Zeile 150: | ||
| </ | </ | ||
| + | // | ||
| + | __Weg und Laternen__: | ||
| + | // | ||
| + | <code pyton> | ||
| + | #weg nach links | ||
| + | blocks.fill(materialA[0], | ||
| + | blocks.fill(materialA[0], | ||
| + | blocks.fill(materialA[0], | ||
| + | blocks.fill(materialA[0], | ||
| + | blocks.fill(materialA[0], | ||
| + | blocks.fill(materialA[0], | ||
| + | blocks.fill(materialA[0], | ||
| + | blocks.fill(materialA[0], | ||
| + | blocks.fill(materialA[0], | ||
| + | #weg nach rechts | ||
| + | blocks.fill(materialA[0], | ||
| + | blocks.fill(materialA[0], | ||
| + | blocks.fill(materialA[0], | ||
| + | blocks.fill(materialA[0], | ||
| + | blocks.fill(materialA[0], | ||
| + | #Laterne1 | ||
| + | blocks.fill(materialE[2], | ||
| + | blocks.place(materialA[1], | ||
| + | #Laterne2 | ||
| + | blocks.fill(materialE[2], | ||
| + | blocks.place(materialA[1], | ||
| + | #Laterne3 | ||
| + | blocks.fill(materialE[2], | ||
| + | blocks.place(materialA[1], | ||
| + | #laterne4 | ||
| + | blocks.fill(materialE[2], | ||
| + | blocks.place(materialA[1], | ||
| + | #laterne5 | ||
| + | blocks.fill(materialE[2], | ||
| + | blocks.place(materialA[1], | ||
| + | #laterne6 | ||
| + | blocks.fill(materialE[2], | ||
| + | blocks.place(materialA[1], | ||
| + | #laterne7 | ||
| + | blocks.fill(materialE[2], | ||
| + | blocks.place(materialA[1], | ||
| + | </ | ||
| + | |||
| + | \\ | ||
| + | __Code von den Bäumen__: | ||
| + | \\ | ||
| + | <code pyton> | ||
| + | |||
| + | def baum(): | ||
| + | |||
| + | blocks.place(OAK_SAPLING, | ||
| + | blocks.place(OAK_SAPLING, | ||
| + | blocks.place(OAK_SAPLING, | ||
| + | blocks.place(OAK_SAPLING, | ||
| + | blocks.place(OAK_SAPLING, | ||
| + | blocks.place(OAK_SAPLING, | ||
| + | blocks.place(OAK_SAPLING, | ||
| + | blocks.place(OAK_SAPLING, | ||
| + | blocks.place(OAK_SAPLING, | ||
| + | blocks.place(OAK_SAPLING, | ||
| + | blocks.place(OAK_SAPLING, | ||
| + | blocks.place(OAK_SAPLING, | ||
| + | blocks.place(OAK_SAPLING, | ||
| + | blocks.place(OAK_SAPLING, | ||
| + | blocks.place(OAK_SAPLING, | ||
| + | blocks.place(OAK_SAPLING, | ||
| + | |||
| + | blocks.place(CHERRY_SAPLING, | ||
| + | blocks.place(CHERRY_SAPLING, | ||
| + | blocks.place(CHERRY_SAPLING, | ||
| + | baum() | ||
| + | </ | ||
| + | |||
| + | \\ | ||
| + | __Zusammengesetzter Bauernhof (mit Anpassungen und Interactionen)__ : | ||
| + | \\ | ||
| + | <code pyton> | ||
| + | |||
| + | material = [PLANKS_SPRUCE, | ||
| + | materialE = [CHEST, | ||
| + | materialA =[GRASS_PATH, | ||
| + | materialS =[PLANKS_ACACIA, | ||
| + | def Feldanfang(länge, | ||
| + | #feld | ||
| + | blocks.fill(BRICKS, | ||
| + | blocks.fill(FARMLAND, | ||
| + | blocks.place(WATER, | ||
| + | | ||
| + | | ||
| + | Feldanfang(8, | ||
| + | |||
| + | |||
| + | |||
| + | def on_item_interacted(): | ||
| + | def Haus4(l, | ||
| + | #Haus, fenster, | ||
| + | blocks.fill(material[0], | ||
| + | blocks.fill(material[1], | ||
| + | blocks.fill(material[1], | ||
| + | blocks.fill(material[1], | ||
| + | blocks.fill(material[1], | ||
| + | blocks.fill(material[1], | ||
| + | blocks.fill(material[1], | ||
| + | blocks.fill(material[1], | ||
| + | blocks.fill(material[1], | ||
| + | #fenster (gross) | ||
| + | blocks.fill(material[3], | ||
| + | # | ||
| + | blocks.fill(material[3], | ||
| + | blocks.fill(material[3], | ||
| + | #tür | ||
| + | blocks.fill(AIR, | ||
| + | blocks.place(material[2], | ||
| + | | ||
| + | #Blumen | ||
| + | blocks.place(material[5], | ||
| + | blocks.place(material[5], | ||
| + | |||
| + | | ||
| + | #kamin | ||
| + | blocks.fill(material[6], | ||
| + | blocks.place(AIR, | ||
| + | blocks.place(material[6], | ||
| + | #feuer | ||
| + | blocks.place(materialE[4], | ||
| + | | ||
| + | #dach | ||
| + | for i in range(l/ | ||
| + | blocks.fill(material[4], | ||
| + | for i in range(l/2): | ||
| + | blocks.fill(blocks.block_with_data (material[4], | ||
| + | blocks.fill(blocks.block_with_data (material[7], | ||
| + | #zweite reihe treppen | ||
| + | for i in range(l/2): | ||
| + | blocks.place(blocks.block_with_data (material[4], | ||
| + | for i in range(l/2): | ||
| + | blocks.place(blocks.block_with_data (material[4], | ||
| + | | ||
| + | blocks.place(blocks.block_with_data (material[4], | ||
| + | for i in range(l/2): | ||
| + | blocks.place(blocks.block_with_data (material[4], | ||
| + | for i in range(l/2): | ||
| + | blocks.place(blocks.block_with_data (material[4], | ||
| + | blocks.place(blocks.block_with_data (material[4], | ||
| + | #glas dach | ||
| + | for i in range(0, | ||
| + | blocks.fill(material[0], | ||
| + | for i in range(0, | ||
| + | blocks.fill(material[0], | ||
| + | blocks.fill(material[1], | ||
| + | blocks.fill(material[1], | ||
| + | blocks.fill(material[1], | ||
| + | blocks.fill(material[1], | ||
| + | | ||
| + | #Grossanbau | ||
| + | #Anbau | ||
| + | blocks.fill(material[0], | ||
| + | blocks.fill(material[1], | ||
| + | blocks.fill(material[1], | ||
| + | blocks.fill(material[1], | ||
| + | blocks.fill(material[1], | ||
| + | blocks.fill(material[1], | ||
| + | blocks.fill(material[1], | ||
| + | blocks.fill(material[1], | ||
| + | blocks.fill(material[1], | ||
| + | #Türe | ||
| + | blocks.fill(AIR, | ||
| + | blocks.place(material[2], | ||
| + | #Türe2 | ||
| + | blocks.fill(AIR, | ||
| + | blocks.place(material[2], | ||
| + | #Türe3 | ||
| + | blocks.fill(AIR, | ||
| + | blocks.place(material[2], | ||
| + | #fenster | ||
| + | blocks.place(material[8], | ||
| + | blocks.place(material[8], | ||
| + | #Heuboden | ||
| + | blocks.fill(material[9], | ||
| + | #dach | ||
| + | for i in range(1): | ||
| + | blocks.fill(material[4], | ||
| + | for i in range(2): | ||
| + | blocks.fill(blocks.block_with_data(material[4], | ||
| + | blocks.fill(material[6], | ||
| + | | ||
| + | blocks.fill(blocks.block_with_data(material[4], | ||
| + | blocks.fill(blocks.block_with_data(material[4], | ||
| + | | ||
| + | | ||
| + | # | ||
| + | #true | ||
| + | blocks.fill(blocks.block_with_data(materialE[0], | ||
| + | #ofen | ||
| + | blocks.place(materialE[1], | ||
| + | blocks.fill(materialE[2], | ||
| + | #buch | ||
| + | blocks.fill(materialE[3], | ||
| + | # | ||
| + | blocks.fill(AIR, | ||
| + | blocks.place(blocks.block_with_data(material[2], | ||
| + | | ||
| + | | ||
| + | #tisch | ||
| + | | ||
| + | #weg nach links | ||
| + | blocks.fill(materialA[0], | ||
| + | blocks.fill(materialA[0], | ||
| + | blocks.fill(materialA[0], | ||
| + | blocks.fill(materialA[0], | ||
| + | blocks.fill(materialA[0], | ||
| + | blocks.fill(materialA[0], | ||
| + | blocks.fill(materialA[0], | ||
| + | blocks.fill(materialA[0], | ||
| + | blocks.fill(materialA[0], | ||
| + | #weg nach rechts | ||
| + | blocks.fill(materialA[0], | ||
| + | blocks.fill(materialA[0], | ||
| + | blocks.fill(materialA[0], | ||
| + | blocks.fill(materialA[0], | ||
| + | blocks.fill(materialA[0], | ||
| + | #Laterne1 | ||
| + | blocks.fill(materialE[2], | ||
| + | blocks.place(materialA[1], | ||
| + | #Laterne2 | ||
| + | blocks.fill(materialE[2], | ||
| + | blocks.place(materialA[1], | ||
| + | #Laterne3 | ||
| + | blocks.fill(materialE[2], | ||
| + | blocks.place(materialA[1], | ||
| + | #laterne4 | ||
| + | blocks.fill(materialE[2], | ||
| + | blocks.place(materialA[1], | ||
| + | #laterne5 | ||
| + | blocks.fill(materialE[2], | ||
| + | blocks.place(materialA[1], | ||
| + | #laterne6 | ||
| + | blocks.fill(materialE[2], | ||
| + | blocks.place(materialA[1], | ||
| + | #laterne7 | ||
| + | blocks.fill(materialE[2], | ||
| + | blocks.place(materialA[1], | ||
| + | | ||
| + | Haus4(10, 4, 8, -65, -61, 0) | ||
| + | #1. hühner | ||
| + | def Zaun(LÄNGEZ, | ||
| + | blocks.fill(OAK_FENCE, | ||
| + | blocks.fill(AIR, | ||
| + | | ||
| + | Zaun(8, | ||
| + | #2.huhn | ||
| + | def Zaun2(LÄNGEZ, | ||
| + | blocks.fill(OAK_FENCE, | ||
| + | blocks.fill(AIR, | ||
| + | for i in range(7): | ||
| + | mobs.spawn(CHICKEN, | ||
| + | Zaun2(8, | ||
| + | #3.kuh | ||
| + | def ZaunKühe2(LÄNGEK, | ||
| + | blocks.fill(OAK_FENCE, | ||
| + | blocks.fill(AIR, | ||
| + | for i in range(9): | ||
| + | mobs.spawn(COW, | ||
| + | ZaunKühe2(10, | ||
| + | #2.Kuh | ||
| + | def ZaunKühe(LÄNGEK, | ||
| + | blocks.fill(OAK_FENCE, | ||
| + | blocks.fill(AIR, | ||
| + | for i in range(9): | ||
| + | mobs.spawn(COW, | ||
| + | ZaunKühe(10, | ||
| + | | ||
| + | def Feld(länge, | ||
| + | blocks.fill(BRICKS, | ||
| + | blocks.fill(FARMLAND, | ||
| + | blocks.place(WATER, | ||
| + | | ||
| + | | ||
| + | Feld(8, | ||
| + | | ||
| + | def Feld2(länge, | ||
| + | blocks.fill(BRICKS, | ||
| + | blocks.fill(FARMLAND, | ||
| + | blocks.place(WATER, | ||
| + | blocks.fill(CARROTS, | ||
| + | Feld2(8, | ||
| + | | ||
| + | def Feld3(länge, | ||
| + | blocks.fill(BRICKS, | ||
| + | blocks.fill(FARMLAND, | ||
| + | blocks.place(WATER, | ||
| + | blocks.fill(CARROTS, | ||
| + | | ||
| + | Feld3(8, | ||
| + | | ||
| + | | ||
| + | player.on_item_interacted(CARROTS, | ||
| + | # | ||
| + | def on_item_interacted2(): | ||
| + | def Hühnerstall (l, | ||
| + | blocks.fill(materialS[0], | ||
| + | blocks.fill(AIR, | ||
| + | for i in range(0,2): | ||
| + | blocks.fill(materialS[1], | ||
| + | for i in range(0,2): | ||
| + | blocks.fill(blocks.block_with_data(materialS[1], | ||
| + | blocks.fill(material[8], | ||
| + | blocks.fill(material[8], | ||
| + | blocks.fill(material[8], | ||
| + | blocks.fill(material[8], | ||
| + | |||
| + | #Zaun | ||
| + | blocks.fill(material[8], | ||
| + | blocks.fill(material[8], | ||
| + | blocks.fill(AIR, | ||
| + | Hühnerstall(3, | ||
| + | player.on_item_interacted(SPAWN_CHICKEN, | ||
| + | |||
| + | # | ||
| + | def on_item_interacted3(): | ||
| + | def Gewächshaus(l, | ||
| + | blocks.fill(material[3], | ||
| + | blocks.fill(AIR, | ||
| + | blocks.fill(AIR, | ||
| + | blocks.fill(STONE, | ||
| + | blocks.fill(FARMLAND, | ||
| + | blocks.place(WATER, | ||
| + | #balken | ||
| + | blocks.fill(material[0], | ||
| + | blocks.fill(material[0], | ||
| + | blocks.fill(material[0], | ||
| + | blocks.fill(material[0], | ||
| + | Gewächshaus(8, | ||
| + | |||
| + | player.on_item_interacted(POTATOES, | ||
| + | |||
| + | </ | ||
| + | \\ | ||
| + | \\ | ||
| + | |||
| + | === Marlon und Léanne' | ||
| + | \\ | ||
| + | \\ | ||
| + | __Grundcode__: | ||
| + | |||
| + | def Feld(länge, | ||
| + | blocks.fill(BRICKS, | ||
| + | blocks.fill(FARMLAND, | ||
| + | blocks.place(WATER, | ||
| + | blocks.fill(CARROTS, | ||
| + | # | ||
| + | Feld(8, | ||
| + | |||
| + | \\ | ||
| + | <code python> | ||
| + | def Zaun(LÄNGEZ, | ||
| + | # blocks.fill( world(a, b, c),world(a, b, c) FillOperation.HOLLOW | ||
| + | | ||
| + | | ||
| + | for i in range(10): | ||
| + | mobs.spawn(CHICKEN, | ||
| + | Zaun(8, | ||
| + | </ | ||
| + | \\ | ||
| + | <code python> | ||
| + | def ZaunKühe(LÄNGEK, | ||
| + | blocks.fill(OAK_FENCE, | ||
| + | blocks.fill(AIR, | ||
| + | for i in range(10): | ||
| + | mobs.spawn(COW, | ||
| + | ZaunKühe(10, | ||
| + | </ | ||
| + | \\ | ||
| + | __Hauptcode__: | ||
| + | \\ | ||
| + | <code python> | ||
| + | #1. hühner | ||
| + | def Zaun(LÄNGEZ, | ||
| + | # blocks.fill( world(a, b, c),world(a, b, c) FillOperation.HOLLOW | ||
| + | blocks.fill(OAK_FENCE, | ||
| + | blocks.fill(AIR, | ||
| + | for i in range(10): | ||
| + | mobs.spawn(CHICKEN, | ||
| + | Zaun(8, | ||
| + | </ | ||
| + | \\ | ||
| + | <code python> | ||
| + | #2.huhn | ||
| + | def Zaun2(LÄNGEZ, | ||
| + | # blocks.fill( world(a, b, c),world(a, b, c) FillOperation.HOLLOW | ||
| + | blocks.fill(OAK_FENCE, | ||
| + | blocks.fill(AIR, | ||
| + | for i in range(10): | ||
| + | mobs.spawn(CHICKEN, | ||
| + | Zaun2(8, | ||
| + | </ | ||
| + | \\ | ||
| + | <code python> | ||
| + | # | ||
| + | def ZaunKühe2(LÄNGEK, | ||
| + | blocks.fill(OAK_FENCE, | ||
| + | blocks.fill(AIR, | ||
| + | for i in range(10): | ||
| + | mobs.spawn(COW, | ||
| + | ZaunKühe2(10, | ||
| + | </ | ||
| + | \\ | ||
| + | <code python> | ||
| + | #2.Kuh | ||
| + | def ZaunKühe(LÄNGEK, | ||
| + | blocks.fill(OAK_FENCE, | ||
| + | blocks.fill(AIR, | ||
| + | for i in range(10): | ||
| + | mobs.spawn(COW, | ||
| + | ZaunKühe(10, | ||
| + | </ | ||
| + | \\ | ||
| + | __Feld__: | ||
| + | \\ | ||
| + | <code python> | ||
| + | def Feld(länge, | ||
| + | blocks.fill(BRICKS, | ||
| + | blocks.fill(FARMLAND, | ||
| + | blocks.place(WATER, | ||
| + | blocks.fill(CARROTS, | ||
| + | # | ||
| + | Feld(8, | ||
| + | |||
| + | def Feld2(länge, | ||
| + | blocks.fill(BRICKS, | ||
| + | blocks.fill(FARMLAND, | ||
| + | blocks.place(WATER, | ||
| + | blocks.fill(POTATOES, | ||
| + | # | ||
| + | Feld2(8, | ||
| + | |||
| + | def Feld3(länge, | ||
| + | blocks.fill(BRICKS, | ||
| + | blocks.fill(FARMLAND, | ||
| + | blocks.place(WATER, | ||
| + | blocks.fill(CARROTS, | ||
| + | # | ||
| + | Feld3(8, | ||
| + | |||
| + | </ | ||
| + | |||