Dies ist eine alte Version des Dokuments!
Gruppe 4 //Sofija, Claire, Isabella//
Grundidee
Turnhalle
- Feld → Volleyball mit Netz
- Spielerbänke nebendran
- Tribüne mit Teppich
- Ganze Halle anpassen
- Garderoben nach Inspiration vom Foto im Internet
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.
Eine Tribüne in der Halle war nicht von Anfang an geplant, wir haben aber schnell bemerkt dass es eine tolle Idee ist.
Später haben wir uns dazu entschlossen unsere Halle viel grösser machen, damit auf beiden Seiten eine Tribüne und eine Verbindungsbrücke gebaut werden kann.
So ist aus unserer kleinen Turnhalle schnell eine sehr grosse Wettkampf Halle geworden.
Ebenfalls hatten wir die Idee Umkleidekabinen einzubauen. Da wir diese Idee sehr schön fanden, wollten wir sie nicht einfach weglassen und haben uns so überlegt wo und wie wir diese anfügen könnten.
Die Idee zu unserem Aussenbereich wurde so etabliert. Anfangs wussten wir nicht genau wie wir das machen könnten. Wir mussten zuerst das Problem lösen, dass unser Ausgang in der Luft war, weil unsere Tribüne etwas höher wurde als gedacht. Dieses Problem konnten wir mit einer Aussen Terrasse lösen, auf die man kommt wenn aus der Halle getreten wird. Diese kann man verlassen indem man einfach die Treppe runter geht. Wenn man sich jedoch nach links und rechts dreht, läuft man in Richtung unserer Garderoben.
Wir haben lange überlegt, was unser spezieller Effekt sein soll. Wir haben uns schnell dazu entschieden, dass wir Zuschauer gebrauchen könnten welche die Spieler auf dem Feld unterstützen. Also haben wir uns darüber informiert wie man beim Betreten des Spielfeldes, Menschen auf der Tribüne erscheinen lässt und ob diese Idee überhaupt umsetzbar ist.
Zuletzt haben wir noch einige Dekorationen an unserem Aussenbereich angebracht, um etwas Farbe in das Ganze zu bringen.
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.
Das Programmieren funktionierte anfangs relativ gut bis bemerkt wurde, dass der Code kürzer formuliert werden muss. Nach dem Umschreiben mehrerer Codes wurde nur noch das richtige Format gebraucht und es tauchten keine weiteren grossen Probleme beim Programmieren auf.
Da alle hauptsächlich alleine gearbeitet wurde, damit am Ende alles zusammengefügt werden konnte, musste darauf gearbeitet werden dass die gleichen Koordinaten benutzt worden sind. Dies wurde nicht bei allen Codes gemacht, da erst später das Problem bemerkt wurde. Es war noch viel zu tun, deshalb wurden aus zeitlichen Gründen die Codes mit anderen Koordinaten so gelassen.
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.
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.
Von dort an haben wir nur noch unsere Codes so geschrieben dass alles von einer Koordinate abhängt und man leicht die Position ändern kann und so alles an diesem Ort angepasst programmiert wird.
Unsere Kommunikation hatte oft Probleme, weil wir sehr selten Komplett im Unterricht waren und dadurch lief vieles im Alleingang und dadurch war die Aufteilung nicht ganz fair wie sie es hätte sein können.
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.
Dadurch konnten wir unsere sozialen Fähigkeiten stärken und lernen, auch mit unterschiedlichen Meinungen und Arbeitsweisen umzugehen. Wir haben gemeinsam ein Projekt umgesetzt, in dem jede einen Beitrag geleistet hat. im grossen und ganzen hatten wir viel Spass und es hat uns vor allem gezeigt, was man im Team erreichen kann.
Diese Erfahrung wird uns sicher auch in der Zukunft helfen, z. B. in der Schule, im Berufsleben oder bei anderen Projekten. Denn gemeinsam an einem Ziel zu arbeiten und ein Ergebnis zu sehen, auf das man stolz sein kann, ist etwas sehr Wertvolles.
Eine grosse Hilfe war uns die Retrospektive, da bei dieser richtig kommuniziert wurde, die Fehler wurden analysiert und wir konnten realisieren an welchem Punkt wir uns im Projekt befinden. Was fehlt das wir haben und was noch gemacht wird und was weggelassen wird.
Wir finden, dass dieses Projekt in Zukunft auf jeden Fall weitergeführt werden soll, da es für uns alle eine positive Erfahrung war, bei welcher man viele neue Sachen gelernt hat. Vor allem ist es etwas anderes als in der Schule zu sitzen und die Theorie zu lernen, sondern man wendet es um, und lernt so viel mehr daraus. Wir haben alle geschätzt, dass wir unsere Kreativität freien lauf lassen durften um selber etwas auf die Beine zu stellen.
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.
Welt
Seed: -2916915734141507220
Code
#Das Volleyballfeld wir programmiert, mit blauen Boden weisen Linien, einem Netz und nebendran wird eine Spielerbank gesetzt. def Feld(x,y,z): material=[BLUE_CONCRETE, IRON_BARS, BIRCH_FENCE, WHITE_CONCRETE,QUARTZ_STAIRS] blocks.fill(material[3], world(x, y, z), world(x+23, y, z+14), FillOperation.REPLACE) blocks.fill(material[0], world(x+1, y, z+1), world(x+7, y, z+13), FillOperation.REPLACE) blocks.fill(material[0], world(x+9, y, z+1), world(x+11, y, z+13), FillOperation.REPLACE) blocks.fill(material[0], world(x+13, y, z+1), world(x+15, y, z+13), FillOperation.REPLACE) blocks.fill(material[0], world(x+17, y, z+1), world(x+22, y, z+13), FillOperation.REPLACE) blocks.fill(material[1], world(x+12, y+1, z), world(x+12, y+4, z), FillOperation.REPLACE) blocks.fill(material[1], world(x+12, y+1, z+14), world(x+12, y+4, z+14), FillOperation.REPLACE) blocks.fill(material[2], world(x+12, y+2, z), world(x+12, y+3, z+14), FillOperation.REPLACE) blocks.fill(blocks.block_with_data(material[4],3), world(x+3, y+1, z-2), world(x+8, y+1, z-2), FillOperation.REPLACE) blocks.fill(blocks.block_with_data(material[4],3), world(x+16, y+1, z-2), world(x+21, y+1, z-2), FillOperation.REPLACE) #alles was rund um das Feld gebraucht wird, wird gebaut. wie der Boden nebendran, die Wand, das Glasdach und die Ausgangstür. def Halle(x,y,z): material=[SANDSTONE,LIGHT_BLUE_STAINED_GLASS,LIGHT_BLUE_CONCRETE,OAK_DOOR] blocks.fill(material[0], world(x+30, y, z-14), world(x-7, y+15, z-14), FillOperation.REPLACE) blocks.fill(material[0], world(x-7, y, z-14), world(x-7, y+15, z+26), FillOperation.REPLACE) blocks.fill(material[0], world(x-6, y, z+26), world(x+30, y+15, z+26), FillOperation.REPLACE) blocks.fill(material[0], world(x+30, y, z+26), world(x+30, y+15, z-14), FillOperation.REPLACE) blocks.fill(material[1], world(x+30, y+16, z-14), world(x-7, y+16, z+26), FillOperation.REPLACE) blocks.fill(material[2], world(x+30, y, z-14), world(x-7, y, z+26), FillOperation.REPLACE) blocks.fill(material[3], world(x+12, y+8, z-14), world(x+12, y+8, z-14), FillOperation.REPLACE) blocks.fill(material[3], world(x+11, y+8, z-14), world(x+11, y+8, z-14), 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. def Treppe(x,y,z): material=[OAK_WOOD_STAIRS, RED_CARPET, LOG_OAK, AIR] blocks.fill(material[2], world(x+15, y, z), world(x-14, y, z), FillOperation.REPLACE) blocks.fill(material[2], world(x+15, y+1, z+1), world(x-14, y+1, z+1), FillOperation.REPLACE) blocks.fill(material[2], world(x+15, y+2, z+2), world(x-14, y+2, z+2), FillOperation.REPLACE) blocks.fill(material[2], world(x+15, y+3, z+3), world(x-14, y+3, z+3), FillOperation.REPLACE) blocks.fill(material[2], world(x+15, y+4, z+4), world(x-14, y+4, z+4), 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(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],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],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],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],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],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],N), 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+2, z+1), world(x-14, y+2, z+1), FillOperation.REPLACE) blocks.fill(material[1], world(x+15, y+3, z+2), world(x-14, y+3, z+2), FillOperation.REPLACE) blocks.fill(material[1], world(x+15, y+4, z+3), world(x-14, y+4, z+3), FillOperation.REPLACE) blocks.fill(material[1], world(x+15, y+5, z+4), world(x-14, y+5, z+4), FillOperation.REPLACE) blocks.fill(material[1], world(x+15, y+6, z+5), world(x-14, y+6, z+5), FillOperation.REPLACE) blocks.fill(material[1], world(x+15, y+7, z+6), world(x-14, y+7, z+6), FillOperation.REPLACE) blocks.fill(material[3], world(x+3, y+1, z), world(x-1, y+1, z), FillOperation.REPLACE) blocks.fill(material[3], world(x+3, y+2, z+1), world(x-1, y+2, z+1), FillOperation.REPLACE) blocks.fill(material[3], world(x+3, y+3, z+2), world(x-1, y+3, z+2), FillOperation.REPLACE) blocks.fill(material[3], world(x+3, y+4, z+3), world(x-1, y+4, z+3), FillOperation.REPLACE) blocks.fill(material[3], world(x+3, y+5, z+4), world(x-1, y+5, z+4), FillOperation.REPLACE) blocks.fill(material[3], world(x+3, y+6, z+5), world(x-1, y+6, z+5), FillOperation.REPLACE) blocks.fill(material[3], world(x+3, y+7, z+6), world(x-1, y+7, z+6), FillOperation.REPLACE) blocks.fill(material[2], world(x+15, y, z-23), world(x-14, y, z-23), FillOperation.REPLACE) blocks.fill(material[2], world(x+15, y+1, z-24), world(x-14, y+1, z-24), FillOperation.REPLACE) blocks.fill(material[2], world(x+15, y+2, z-25), world(x-14, y+2, z-25), FillOperation.REPLACE) blocks.fill(material[2], world(x+15, y+3, z-26), world(x-14, y+3, z-26), FillOperation.REPLACE) blocks.fill(material[2], world(x+15, y+4, z-27), world(x-14, y+4, z-27), 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(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],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],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],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],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],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],S), 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+2, z-24), world(x-14, y+2, z-24), FillOperation.REPLACE) blocks.fill(material[1], world(x+15, y+3, z-25), world(x-14, y+3, z-25), FillOperation.REPLACE) blocks.fill(material[1], world(x+15, y+4, z-26), world(x-14, y+4, z-26), FillOperation.REPLACE) blocks.fill(material[1], world(x+15, y+5, z-27), world(x-14, y+5, z-27), FillOperation.REPLACE) blocks.fill(material[1], world(x+15, y+6, z-28), world(x-14, y+6, z-28), FillOperation.REPLACE) blocks.fill(material[1], world(x+15, y+7, z-29), world(x-14, y+7, z-29), FillOperation.REPLACE) blocks.fill(material[3], world(x+3, y+1, z-23), world(x-1, y+1, z-23), FillOperation.REPLACE) blocks.fill(material[3], world(x+3, y+2, z-24), world(x-1, y+2, z-24), FillOperation.REPLACE) blocks.fill(material[3], world(x+3, y+3, z-25), world(x-1, y+3, z-25), FillOperation.REPLACE) blocks.fill(material[3], world(x+3, y+4, z-26), world(x-1, y+4, z-26), FillOperation.REPLACE) blocks.fill(material[3], world(x+3, y+5, z-27), world(x-1, y+5, z-27), 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) N = 2 S = 3 def Gitter(x,y,z): material=[BIRCH_FENCE, BIRCH_FENCE_GATE] blocks.fill(material[0], world(x+18, y, z-2), world(x-17, y, z-2), FillOperation.REPLACE) blocks.fill(material[0], world(x+18, y, z-21), world(x-17, y, z-21), FillOperation.REPLACE) blocks.fill(material[1], world(x+1, y, z-21), world(x+1, y, z-21), FillOperation.REPLACE) #Der Steg um die Halle wird mit Gitter gebaut. def Steg(x,y,z): material=[PLANKS_BIRCH, OAK_FENCE] blocks.fill(material[0], world(x+29, y+7, z-13), world(x-6, y+7, z-13), FillOperation.REPLACE) blocks.fill(material[0], world(x-6, y+7, z-13), world(x-4, y+7, z+25), FillOperation.REPLACE) blocks.fill(material[0], world(x-5, y+7, z+25), world(x+29, y+7, z+24), FillOperation.REPLACE) blocks.fill(material[0], world(x+29, y+7, z+25), world(x+27, y+7, z-13), FillOperation.REPLACE) blocks.fill(material[1], world(x-4, y+8, z-11), world(x-4, y+8, z+23), FillOperation.REPLACE) blocks.fill(material[1], world(x+27, y+8, z+23), world(x+27, y+8, z-11), FillOperation.REPLACE) #Der Weg zum Eingang wird gebaut. def Weg(x,y,z): material=[STONE_BRICKS] blocks.fill(material[0], world(x+16, y, z-27), world(x+6, y, z-42), FillOperation.REPLACE) #Dekoration für den Eingang wird gebaut. def Deco(x,y,z): material=[CHERRY_LEAVES,TORCH,BANNER,CHERRY_PLANKS,AIR, PINK_TULIP] for i in range(16): 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) else: 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): if i % 2 == 0: blocks.fill(material[0], world(x+6, y, z-27-i), world(x+6, y+1, z-27-i), FillOperation.REPLACE) else: blocks.fill(material[1], world(x+6, y, z-27-i), world(x+6, y, z-27-i), FillOperation.REPLACE) blocks.fill(blocks.block_with_data(material[2],N), world(x+13, y+7, z-15), world(x+13, 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[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-43), world(x+10, y+2, z-43), 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 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 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+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 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+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) Halle(129,-61,216) Feld(129,-61,216) Aussen(129,-61,216) Gitter(140, -60, 233) Steg(129,-61,216) Weg(129,-61,216) Deco(129,-60,216) garderobe(152,-54,181) garderobe(152,-54,192) details(152, -49, 181) details(152, -49, 192) details(122, -49, 181) garderobe(122,-54,181) on_travelled_walk()