gf2:projekte:2024:minecraft:2d1gruppe4

Unterschiede

Hier werden die Unterschiede zwischen zwei Versionen angezeigt.

Link zu dieser Vergleichsansicht

Beide Seiten der vorigen Revision Vorhergehende Überarbeitung
Nächste Überarbeitung
Vorhergehende Überarbeitung
gf2:projekte:2024:minecraft:2d1gruppe4 [2025/04/06 22:04] huschkacgf2:projekte:2024:minecraft:2d1gruppe4 [2025/04/07 13:25] (aktuell) – [Code] nelai
Zeile 1: Zeile 1:
 ====== Gruppe 4 //Sofija, Claire, Isabella// ====== ====== Gruppe 4 //Sofija, Claire, Isabella// ======
 \\ \\
-<color #22b14c>===== Grundidee =====</color>+===== Grundidee =====
 \\ \\
 __Turnhalle__ __Turnhalle__
Zeile 16: Zeile 16:
 \\ \\
 \\ \\
-<color #22b14c>===== Genauere Überlegungen =====</color>+===== Genauere Überlegungen =====
 Anfangs hatten wir nur eine grobe Idee, inspiriert von einer kurzen Recherche die gemacht wurde. Jedoch konnten wir mit der Zeit und nach ein bisschen ausprobieren mehrere Erweiterungen entdecken, welche zu unserem Projekt passen würden. So haben sich mit dem programmieren ganz viele neue Ideen gesammelt.  Anfangs hatten wir nur eine grobe Idee, inspiriert von einer kurzen Recherche die gemacht wurde. Jedoch konnten wir mit der Zeit und nach ein bisschen ausprobieren mehrere Erweiterungen entdecken, welche zu unserem Projekt passen würden. So haben sich mit dem programmieren ganz viele neue Ideen gesammelt. 
 \\ \\
Zeile 34: Zeile 34:
 \\ \\
 \\ \\
-<color #22b14c>===== Prozess =====</color>+===== Prozess =====
 Zuerst haben wir uns auf eine Idee geeinigt, nämlich das Volleyballfeld. Dies ging relativ schnell, doch wir haben durchlaufend ständig neue Ansätze für unser Projekt gefunden. Bis zum Ende wurden immer neue Ideen gebracht und auch zusammen besprochen. Zuerst haben wir uns auf eine Idee geeinigt, nämlich das Volleyballfeld. Dies ging relativ schnell, doch wir haben durchlaufend ständig neue Ansätze für unser Projekt gefunden. Bis zum Ende wurden immer neue Ideen gebracht und auch zusammen besprochen.
 \\ \\
Zeile 43: Zeile 43:
 Zu Schluss wurden alle Codes zusammengefügt und es wurde überprüft ob alles übereinstimmt. Die kleineren Probleme wurden dann gelöst und die Gruppe arbeitete an der Fertigstellung vom dokuwiki und von der Präsentation.  Zu Schluss wurden alle Codes zusammengefügt und es wurde überprüft ob alles übereinstimmt. Die kleineren Probleme wurden dann gelöst und die Gruppe arbeitete an der Fertigstellung vom dokuwiki und von der Präsentation. 
 \\ \\
-<color #22b14c>===== Konflikte =====</color>+===== Konflikte =====
 Wir hatten einen Konflikt welcher leider erst später erkannt wurde. Wir haben bereits mit unserem Code angefangen und dann bemerkt, dass er so etwas zu lang wird und wir ihn deswegen mit Schleifen schreiben müssen damit wir Wiederholungen vermeiden und dadurch mehr Übersicht haben. So konnten wir auch mit Variablen arbeiten und unsere Halle leicht anpassbar machen. Wir hatten einen Konflikt welcher leider erst später erkannt wurde. Wir haben bereits mit unserem Code angefangen und dann bemerkt, dass er so etwas zu lang wird und wir ihn deswegen mit Schleifen schreiben müssen damit wir Wiederholungen vermeiden und dadurch mehr Übersicht haben. So konnten wir auch mit Variablen arbeiten und unsere Halle leicht anpassbar machen.
 \\ \\
Zeile 51: Zeile 51:
 \\ \\
 \\ \\
-<color #22b14c>===== Fazit =====</color>+===== Fazit =====
 Insgesamt war die Gruppenarbeit für uns eine sehr positive Erfahrung. Wir haben nicht nur viel über das eigentliche Projekt gelernt, sondern auch über Zusammenarbeit und Kommunikation. Es war auch gut, dass die Gruppen ausgelost wurden, so hatten wir die Möglichkeit, mit Personen zusammenzuarbeiten, mit denen wir vorher vielleicht noch nie eine Gruppenarbeit hatten. Insgesamt war die Gruppenarbeit für uns eine sehr positive Erfahrung. Wir haben nicht nur viel über das eigentliche Projekt gelernt, sondern auch über Zusammenarbeit und Kommunikation. Es war auch gut, dass die Gruppen ausgelost wurden, so hatten wir die Möglichkeit, mit Personen zusammenzuarbeiten, mit denen wir vorher vielleicht noch nie eine Gruppenarbeit hatten.
 \\ \\
Zeile 62: Zeile 62:
 \\ \\
 \\ \\
-<color #22b14c>===== Anleitung =====</color>+===== Anleitung =====
 Der Testspieler, betritt das Gelände vom Eingang. Er läuft entlang dem Weg dekoriert mit Blumen und Lampen und läuft anschliessend die Treppe hoch. Anschliessend kann der Testspieler sich beliebig nach links oder rechts drehen und in Richtung einer Garderobe laufen. Nachdem er aus der Garderober heraus kommt, kann der Spieler durch die Tür die Halle betreten. Anschliessend kann man auf die Treppe runter laufen und auf das Feld treten, sobald man auf das Feld tritt, erscheinen Zuschauer welche einem bei dem Volleyball Match unterstützen.   Der Testspieler, betritt das Gelände vom Eingang. Er läuft entlang dem Weg dekoriert mit Blumen und Lampen und läuft anschliessend die Treppe hoch. Anschliessend kann der Testspieler sich beliebig nach links oder rechts drehen und in Richtung einer Garderobe laufen. Nachdem er aus der Garderober heraus kommt, kann der Spieler durch die Tür die Halle betreten. Anschliessend kann man auf die Treppe runter laufen und auf das Feld treten, sobald man auf das Feld tritt, erscheinen Zuschauer welche einem bei dem Volleyball Match unterstützen.  
 \\ \\
 \\ \\
-<color #22b14c>===== Welt =====</color>+===== Welt ===== 
 +\\ Seed: -2916915734141507220
 \\ \\
-\\ +===== Code =====
-<color #22b14c>===== Code =====</color>+
 <code python> <code python>
 #Das Volleyballfeld wir programmiert, mit blauen Boden weisen Linien, einem Netz und nebendran wird eine Spielerbank gesetzt. #Das Volleyballfeld wir programmiert, mit blauen Boden weisen Linien, einem Netz und nebendran wird eine Spielerbank gesetzt.
Zeile 99: Zeile 99:
  
  
-#Die Aussenterrasse und Treppe welche hinein und raus führt werden programmiert. 
-def Aussen(x,y,z): 
-    material=[CRACKED_STONE_BRICKS,OAK_WOOD_STAIRS,OAK_FENCE] 
-    blocks.fill(material[0], world(x+30, y+7, z-15), world(x-7, y+7, z-19), FillOperation.REPLACE) 
-    blocks.fill(material[0], world(x+30, y+7, z-20), world(x+17, y+7, z-30), FillOperation.REPLACE) 
-    blocks.fill(material[0], world(x-7, y+7, z-20), world(x+6, y+7, z-30), FillOperation.REPLACE) 
-    blocks.fill(material[0], world(x+30, y+7, z-31), world(x-7, y+7, z-35), FillOperation.REPLACE) 
-    for i in range(6,-1,-1): 
-        blocks.fill(blocks.block_with_data(material[1],2), world(x+16, y+7-i, z-20-i), world(x+7, y+7-i, z-20-i), FillOperation.REPLACE) 
-        blocks.fill(material[2], world(x+16, y+8-i, z-20-i), world(x+16, y+9-i, z-20-i), FillOperation.REPLACE) 
-        blocks.fill(material[2], world(x+7, y+8-i, z-20-i), world(x+7, y+9-i, z-20-i), FillOperation.REPLACE) 
-    blocks.fill(material[2], world(x+17, y+8, z-31), world(x+17, y+8, z-20), FillOperation.REPLACE) 
-    blocks.fill(material[2], world(x+6, y+8, z-31), world(x+6, y+8, z-20), FillOperation.REPLACE) 
-    blocks.fill(material[2], world(x+17, y+8, z-31), world(x+6, y+8, z-31), FillOperation.REPLACE) 
-    blocks.fill(material[2], world(x+30, y+8, z-35), world(x-7, y+8, z-35), FillOperation.REPLACE) 
-    blocks.fill(material[2], world(x+30, y+8, z-34), world(x+30, y+8, z-15), FillOperation.REPLACE) 
-    blocks.fill(material[2], world(x-7, y+8, z-34), world(x-7, y+8, z-15), FillOperation.REPLACE) 
  
 + 
 + #Die Aussenterrasse und Treppe welche hinein und raus führt werden programmiert.
 +
 +def Aussen(x,y,z):
 +     material=[CRACKED_STONE_BRICKS,OAK_WOOD_STAIRS,OAK_FENCE]
 +     blocks.fill(material[0], world(x+30, y+7, z-15), world(x-7, y+7, z-19), FillOperation.REPLACE)
 +     blocks.fill(material[0], world(x+30, y+7, z-20), world(x+17, y+7, z-30), FillOperation.REPLACE)
 +     blocks.fill(material[0], world(x-7, y+7, z-20), world(x+6, y+7, z-30), FillOperation.REPLACE)
 +     blocks.fill(material[0], world(x+30, y+7, z-31), world(x-7, y+7, z-43), FillOperation.REPLACE)
 +     for i in range(6,-1,-1):
 +         blocks.fill(blocks.block_with_data(material[1],2), world(x+16, y+7-i, z-20-i), world(x+7, y+7-i, z-20-i), FillOperation.REPLACE)
 +         blocks.fill(material[2], world(x+16, y+8-i, z-20-i), world(x+16, y+9-i, z-20-i), FillOperation.REPLACE)
 +         blocks.fill(material[2], world(x+7, y+8-i, z-20-i), world(x+7, y+9-i, z-20-i), FillOperation.REPLACE)
 +     blocks.fill(material[2], world(x+17, y+8, z-31), world(x+17, y+8, z-20), FillOperation.REPLACE)
 +     blocks.fill(material[2], world(x+6, y+8, z-31), world(x+6, y+8, z-20), FillOperation.REPLACE)
 +     blocks.fill(material[2], world(x+17, y+8, z-31), world(x+6, y+8, z-31), FillOperation.REPLACE)
 +     blocks.fill(material[2], world(x+30, y+8, z-43), world(x-7, y+8, z-43), FillOperation.REPLACE)
 +     blocks.fill(material[2], world(x+30, y+8, z-42), world(x+30, y+8, z-15), FillOperation.REPLACE)
 +     blocks.fill(material[2], world(x-7, y+8, z-42), world(x-7, y+8, z-15), FillOperation.REPLACE)
 +  
  
 #die Tribüne links und rechts vom Feld wird gebaut. #die Tribüne links und rechts vom Feld wird gebaut.
Zeile 128: Zeile 131:
     blocks.fill(material[2], world(x+15, y+5, z+5), world(x-14, y+5, z+5), FillOperation.REPLACE)     blocks.fill(material[2], world(x+15, y+5, z+5), world(x-14, y+5, z+5), FillOperation.REPLACE)
     blocks.fill(material[2], world(x+15, y+6, z+6), world(x-14, y+6, z+6), FillOperation.REPLACE)     blocks.fill(material[2], world(x+15, y+6, z+6), world(x-14, y+6, z+6), FillOperation.REPLACE)
-    blocks.fill(blocks.block_with_data(material[0],N), world(x+3, y, z), world(x-1, y, z), FillOperation.REPLACE) +    blocks.fill(blocks.block_with_data(material[0],2), world(x+3, y, z), world(x-1, y, z), FillOperation.REPLACE) 
-    blocks.fill(blocks.block_with_data(material[0],N), world(x+3, y+1, z+1), world(x-1, y+1, z+1), FillOperation.REPLACE) +    blocks.fill(blocks.block_with_data(material[0],2), world(x+3, y+1, z+1), world(x-1, y+1, z+1), FillOperation.REPLACE) 
-    blocks.fill(blocks.block_with_data(material[0],N), world(x+3, y+2, z+2), world(x-1, y+2, z+2), FillOperation.REPLACE) +    blocks.fill(blocks.block_with_data(material[0],2), world(x+3, y+2, z+2), world(x-1, y+2, z+2), FillOperation.REPLACE) 
-    blocks.fill(blocks.block_with_data(material[0],N), world(x+3, y+3, z+3), world(x-1, y+3, z+3), FillOperation.REPLACE) +    blocks.fill(blocks.block_with_data(material[0],2), world(x+3, y+3, z+3), world(x-1, y+3, z+3), FillOperation.REPLACE) 
-    blocks.fill(blocks.block_with_data(material[0],N), world(x+3, y+4, z+4), world(x-1, y+4, z+4), FillOperation.REPLACE) +    blocks.fill(blocks.block_with_data(material[0],2), world(x+3, y+4, z+4), world(x-1, y+4, z+4), FillOperation.REPLACE) 
-    blocks.fill(blocks.block_with_data(material[0],N), world(x+3, y+5, z+5), world(x-1, y+5, z+5), FillOperation.REPLACE) +    blocks.fill(blocks.block_with_data(material[0],2), world(x+3, y+5, z+5), world(x-1, y+5, z+5), FillOperation.REPLACE) 
-    blocks.fill(blocks.block_with_data(material[0],N), world(x+3, y+6, z+6), world(x-1, y+6, z+6), FillOperation.REPLACE)+    blocks.fill(blocks.block_with_data(material[0],2), world(x+3, y+6, z+6), world(x-1, y+6, z+6), FillOperation.REPLACE)
     blocks.fill(material[1], world(x+15, y+1, z), world(x-14, y+1, z), FillOperation.REPLACE)     blocks.fill(material[1], world(x+15, y+1, z), world(x-14, y+1, z), FillOperation.REPLACE)
     blocks.fill(material[1], world(x+15, y+2, z+1), world(x-14, y+2, z+1), FillOperation.REPLACE)     blocks.fill(material[1], world(x+15, y+2, z+1), world(x-14, y+2, z+1), FillOperation.REPLACE)
Zeile 158: Zeile 161:
     blocks.fill(material[2], world(x+15, y+5, z-28), world(x-14, y+5, z-28), FillOperation.REPLACE)     blocks.fill(material[2], world(x+15, y+5, z-28), world(x-14, y+5, z-28), FillOperation.REPLACE)
     blocks.fill(material[2], world(x+15, y+6, z-29), world(x-14, y+6, z-29), FillOperation.REPLACE)     blocks.fill(material[2], world(x+15, y+6, z-29), world(x-14, y+6, z-29), FillOperation.REPLACE)
-    blocks.fill(blocks.block_with_data(material[0],S), world(x+3, y, z-23), world(x-1, y, z-23), FillOperation.REPLACE) +    blocks.fill(blocks.block_with_data(material[0],3), world(x+3, y, z-23), world(x-1, y, z-23), FillOperation.REPLACE) 
-    blocks.fill(blocks.block_with_data(material[0],S), world(x+3, y+1, z-24), world(x-1, y+1, z-24), FillOperation.REPLACE) +    blocks.fill(blocks.block_with_data(material[0],3), world(x+3, y+1, z-24), world(x-1, y+1, z-24), FillOperation.REPLACE) 
-    blocks.fill(blocks.block_with_data(material[0],S), world(x+3, y+2, z-25), world(x-1, y+2, z-25), FillOperation.REPLACE) +    blocks.fill(blocks.block_with_data(material[0],3), world(x+3, y+2, z-25), world(x-1, y+2, z-25), FillOperation.REPLACE) 
-    blocks.fill(blocks.block_with_data(material[0],S), world(x+3, y+3, z-26), world(x-1, y+3, z-26), FillOperation.REPLACE) +    blocks.fill(blocks.block_with_data(material[0],3), world(x+3, y+3, z-26), world(x-1, y+3, z-26), FillOperation.REPLACE) 
-    blocks.fill(blocks.block_with_data(material[0],S), world(x+3, y+4, z-27), world(x-1, y+4, z-27), FillOperation.REPLACE) +    blocks.fill(blocks.block_with_data(material[0],3), world(x+3, y+4, z-27), world(x-1, y+4, z-27), FillOperation.REPLACE) 
-    blocks.fill(blocks.block_with_data(material[0],S), world(x+3, y+5, z-28), world(x-1, y+5, z-28), FillOperation.REPLACE) +    blocks.fill(blocks.block_with_data(material[0],3), world(x+3, y+5, z-28), world(x-1, y+5, z-28), FillOperation.REPLACE) 
-    blocks.fill(blocks.block_with_data(material[0],S), world(x+3, y+6, z-29), world(x-1, y+6, z-29), FillOperation.REPLACE)+    blocks.fill(blocks.block_with_data(material[0],3), world(x+3, y+6, z-29), world(x-1, y+6, z-29), FillOperation.REPLACE)
     blocks.fill(material[1], world(x+15, y+1, z-23), world(x-14, y+1, z-23), FillOperation.REPLACE)     blocks.fill(material[1], world(x+15, y+1, z-23), world(x-14, y+1, z-23), FillOperation.REPLACE)
     blocks.fill(material[1], world(x+15, y+2, z-24), world(x-14, y+2, z-24), FillOperation.REPLACE)     blocks.fill(material[1], world(x+15, y+2, z-24), world(x-14, y+2, z-24), FillOperation.REPLACE)
Zeile 179: Zeile 182:
     blocks.fill(material[3], world(x+3, y+6, z-28), world(x-1, y+6, z-28), FillOperation.REPLACE)     blocks.fill(material[3], world(x+3, y+6, z-28), world(x-1, y+6, z-28), FillOperation.REPLACE)
     blocks.fill(material[3], world(x+3, y+7, z-29), world(x-1, y+7, z-29), FillOperation.REPLACE)      blocks.fill(material[3], world(x+3, y+7, z-29), world(x-1, y+7, z-29), FillOperation.REPLACE) 
-N = 2 
-S = 3 
  
 def Gitter(x,y,z): def Gitter(x,y,z):
Zeile 205: Zeile 206:
 #Dekoration für den Eingang wird gebaut.  #Dekoration für den Eingang wird gebaut. 
 def Deco(x,y,z): def Deco(x,y,z):
-    material=[CHERRY_LEAVES,TORCH,BANNER,CHERRY_PLANKS,AIR]+    material=[CHERRY_LEAVES,TORCH,BANNER,CHERRY_PLANKS,AIR, PINK_TULIP]
     for i in range(16):     for i in range(16):
         if i % 2 == 0:         if i % 2 == 0:
             blocks.fill(material[0], world(x+16, y, z-27-i), world(x+16, y+1, z-27-i), FillOperation.REPLACE)             blocks.fill(material[0], world(x+16, y, z-27-i), world(x+16, y+1, z-27-i), FillOperation.REPLACE)
         else:         else:
-            blocks.fill(material[1], world(x+16, y, z-27-i), world(x+16, y, z-27-i), FillOperation.REPLACE)    +            blocks.fill(material[1], world(x+16, y, z-27-i), world(x+16, y, z-27-i), FillOperation.REPLACE)
     for i in range(16):     for i in range(16):
             if i % 2 == 0:             if i % 2 == 0:
Zeile 220: Zeile 221:
     blocks.fill(blocks.block_with_data(material[2],S), world(x+10, y+7, z-15), world(x+10, y+7, z-15), FillOperation.REPLACE)     blocks.fill(blocks.block_with_data(material[2],S), world(x+10, y+7, z-15), world(x+10, y+7, z-15), FillOperation.REPLACE)
     blocks.fill(material[1], world(x+12, y+9, z-15), world(x+11, y+9, z-15), FillOperation.REPLACE)     blocks.fill(material[1], world(x+12, y+9, z-15), world(x+11, y+9, z-15), FillOperation.REPLACE)
-    blocks.fill(material[3], world(x+13, y, z-44), world(x+9, y+3, z-44), FillOperation.REPLACE) +    blocks.fill(material[3], world(x+13, y, z-43), world(x+9, y+3, z-43), FillOperation.REPLACE) 
-    blocks.fill(material[4], world(x+12, y, z-44), world(x+10, y+2, z-44), FillOperation.REPLACE) +    blocks.fill(material[4], world(x+12, y, z-43), world(x+10, y+2, z-43), FillOperation.REPLACE) 
-    blocks.fill(material[1], world(x+13, y+3, z-45), world(x+9, y+3, z-45), FillOperation.REPLACE)+    blocks.fill(material[1], world(x+13, y+3, z-44), world(x+9, y+3, z-44), FillOperation.REPLACE) 
 +    blocks.fill(material[5], world(x+13, y, z-44), world(x+13, y, z-44), FillOperation.REPLACE) 
 +    blocks.fill(material[5], world(x+9, y, z-44), world(x+9, y, z-44), FillOperation.REPLACE)
 S=9 S=9
 N=7 N=7
 +
 +
 +#Die Garderobe mit den Bänken und Hacken um Jacken aufzuhängen wir programmiert
 +def garderobe(x,y,z):
 +    material=[GRAY_CONCRETE, LOG_DARK_OAK, DARK_OAK_DOOR,GLASS_PANE, SPRUCE_WOOD_STAIRS, SPRUCE_FENCE, AIR]
 +    blocks.fill(material[0], world(x, y, z), world(x+7, y+5, z+10), FillOperation.HOLLOW)
 +    blocks.fill(material[1], world(x, y, z), world(x+7, y, z+10), FillOperation.REPLACE)
 +    blocks.fill(material[2], world(x, y+1, z+5), world(x, y+1, z+5), FillOperation.HOLLOW)
 +    blocks.fill(blocks.block_with_data(material[4], 2), world(x+3, y+1, z+9), world(x+6, y+1, z+9), FillOperation.REPLACE)
 +    blocks.fill(blocks.block_with_data(material[4], 3), world(x+3, y+1, z+1), world(x+6, y+1, z+1), FillOperation.REPLACE)
 +    blocks.fill(blocks.block_with_data(material[4], 3), world(x+3, y+1, z+6), world(x+6, y+1, z+6), FillOperation.REPLACE)
 +    blocks.fill(blocks.block_with_data(material[4], 2), world(x+3, y+1, z+4), world(x+6, y+1, z+4), FillOperation.REPLACE)
 +    blocks.fill(material[3], world(x+7, y+2, z+3), world(x+7, y+3, z+4), FillOperation.REPLACE)
 +    blocks.fill(material[3], world(x+7, y+2, z+6), world(x+7, y+3, z+7), FillOperation.REPLACE)
 +    blocks.fill(material[5], world(x+3, y+3, z+9), world(x+6, y+3, z+9), FillOperation.REPLACE)
 +    blocks.fill(material[5], world(x+3, y+3, z+4), world(x+6, y+3, z+6), FillOperation.REPLACE)
 +    blocks.fill(material[5], world(x+3, y+1, z+5), world(x+6, y+2, z+5), FillOperation.REPLACE)
 +    blocks.fill(material[6], world(x+4, y+1, z+5), world(x+4, y+3, z+5), FillOperation.REPLACE)
 +    blocks.fill(material[6], world(x+6, y+1, z+5), world(x+6, y+3, z+5), FillOperation.REPLACE)
 +    blocks.fill(material[5], world(x+3, y+3, z+1), world(x+6, y+3, z+1), FillOperation.REPLACE)
 +
 +#Das Licht, Laternen und Waschbecken wird programmiert 
 +def details(x,y,z):
 +    material=[GLOWSTONE, DARK_OAK_PRESSURE_PLATE, DARK_OAK_BUTTON, CHAIN]
 +    blocks.fill(material[0], world(x+2, y, z+3), world(x+3, y, z+4), FillOperation.REPLACE)
 +    blocks.fill(material[0], world(x+4, y, z+6), world(x+5, y, z+7), FillOperation.REPLACE)
 +    blocks.fill(material[1], world(x+1, y-4, z+5), world(x+1, y-4, z+5), FillOperation.REPLACE)
 +    blocks.fill(blocks.block_with_data(material[2], 4), world(x-1, y-3, z+6), world(x-1, y-3, z+6), FillOperation.REPLACE)
 +    blocks.fill(material[3], world(x+6, y-1, z+2), world(x+6, y-1, z+2), FillOperation.REPLACE)
 +    blocks.clone(world(92, -60, 145), world(92,-60,145), world(x+6, y-2,z+2), CloneMask.REPLACE, CloneMode.NORMAL)
 +    blocks.fill(material[3], world(x+2, y-1, z+9), world(x+2, y-1, z+9), FillOperation.REPLACE)
 +    blocks.clone(world(196, -58, 99), world(195,-60,98), world(x+1, y-3,z+8), CloneMask.REPLACE, CloneMode.NORMAL)
 +    blocks.clone(world(195, -61, 101), world(195,-61,101), world(x+1, y-4, z+1), CloneMask.REPLACE, CloneMode.NORMAL)
 +    blocks.clone(world(201, -59, 96), world(201,-59,96), world(x+1, y-3, z+1), CloneMask.REPLACE, CloneMode.NORMAL)
 +
 +#Die Garderobe wird bei der anderen Seite platziert
 +def garderobe2(x,y,z):
 +    material=[GRAY_CONCRETE, LOG_DARK_OAK, DARK_OAK_DOOR,GLASS_PANE, SPRUCE_WOOD_STAIRS, SPRUCE_FENCE, AIR]
 +    blocks.fill(material[0], world(x, y, z), world(x+7, y+5, z+10), FillOperation.HOLLOW)
 +    blocks.fill(material[1], world(x, y, z), world(x+7, y, z+10), FillOperation.REPLACE)
 +    blocks.fill(material[2], world(x+7, y+1, z+5), world(x+7, y+1, z+5), FillOperation.HOLLOW)
 +    blocks.fill(blocks.block_with_data(material[4], 2), world(x+4, y+1, z+9), world(x+1, y+1, z+9), FillOperation.REPLACE)
 +    blocks.fill(blocks.block_with_data(material[4], 3), world(x+4, y+1, z+1), world(x+1, y+1, z+1), FillOperation.REPLACE)
 +    blocks.fill(blocks.block_with_data(material[4], 3), world(x+4, y+1, z+6), world(x+1, y+1, z+6), FillOperation.REPLACE)
 +    blocks.fill(blocks.block_with_data(material[4], 2), world(x+4, y+1, z+4), world(x+1, y+1, z+4), FillOperation.REPLACE)
 +    blocks.fill(material[3], world(x, y+2, z+3), world(x, y+3, z+4), FillOperation.REPLACE)
 +    blocks.fill(material[3], world(x, y+2, z+6), world(x, y+3, z+7), FillOperation.REPLACE)
 +    blocks.fill(material[5], world(x+4, y+3, z+9), world(x+1, y+3, z+9), FillOperation.REPLACE)
 +    blocks.fill(material[5], world(x+4, y+3, z+4), world(x+1, y+3, z+6), FillOperation.REPLACE)
 +    blocks.fill(material[5], world(x+4, y+1, z+5), world(x+1, y+2, z+5), FillOperation.REPLACE)
 +    blocks.fill(material[6], world(x+3, y+1, z+5), world(x+3, y+3, z+5), FillOperation.REPLACE)
 +    blocks.fill(material[6], world(x+1, y+1, z+5), world(x+1, y+3, z+5), FillOperation.REPLACE)
 +    blocks.fill(material[5], world(x+4, y+3, z+1), world(x+1, y+3, z+1), FillOperation.REPLACE)
 + 
 + 
 +def details2(x,y,z):
 +    material=[GLOWSTONE, DARK_OAK_PRESSURE_PLATE, DARK_OAK_BUTTON, CHAIN]
 +    blocks.fill(material[0], world(x+2, y, z+3), world(x+3, y, z+4), FillOperation.REPLACE)
 +    blocks.fill(material[0], world(x+4, y, z+6), world(x+5, y, z+7), FillOperation.REPLACE)
 +    blocks.fill(material[1], world(x+6, y-4, z+5), world(x+6, y-4, z+5), FillOperation.REPLACE)
 +
 +#Wenn man das Feld betritt werden Villagers gespawned als Zuschauer
 +def on_travelled_walk():
 +    def on_forever():
 +        x = player.position().get_value(Axis.X)
 +        y = player.position().get_value(Axis.Y)
 +        z = player.position().get_value(Axis.Z)
 +        
 +        if (129<=x<= 152) and (-61<=y<=-58) and (216<=z<=230):
 +            
 +            mobs.spawn(VILLAGER, world(141, -53, 241))
 +            mobs.spawn(VILLAGER, world(141, -53, 203))
 +
 +    loops.forever(on_forever)
  
 Treppe(140, -60, 233) Treppe(140, -60, 233)
Zeile 233: Zeile 310:
 Steg(129,-61,216) Steg(129,-61,216)
 Weg(129,-61,216) Weg(129,-61,216)
-Deco(129,-60,216) +Deco(129,-60,216)  
 +garderobe(151,-54,177) 
 +garderobe(151,-54,190) 
 +details(151, -49, 177) 
 +details(151, -49, 190) 
 +garderobe2(123,-54,177) 
 +details2(123, -49, 177) 
 +garderobe2(123,-54,190) 
 +details2(123, -49, 190) 
 +on_travelled_walk()       
 </code> </code>
  • gf2/projekte/2024/minecraft/2d1gruppe4.1743969894.txt.gz
  • Zuletzt geändert: 2025/04/06 22:04
  • von huschkac