Unterschiede
Hier werden die Unterschiede zwischen zwei Versionen angezeigt.
| Beide Seiten der vorigen Revision Vorhergehende Überarbeitung Nächste Überarbeitung | Vorhergehende Überarbeitung | ||
| gf2:projekte:2024:minecraft:2d2gruppe2 [2025/03/25 11:34] – bockm | gf2:projekte:2024:minecraft:2d2gruppe2 [2025/04/12 20:17] (aktuell) – haennil | ||
|---|---|---|---|
| Zeile 1: | Zeile 1: | ||
| - | Gruppe 2 | + | **Gruppe 2** |
| - | Mitglieder: Magda, Lívia, Ava, Valérie, Noël | ||
| - | Projektidee: Bei unserem Projekt | + | **Mitglieder: Magda, Lívia, Ava, Valérie, Noël** |
| - | Objekte im Projekt: | + | **Projektidee: |
| + | Bei unserem Projekt wollten wir einen Zoo mit verschiedenen Gehegen bauen. Um eine abwechslungsreiche Umgebung zu programmieren sollte jeder der Mitglieder ein eigenes Gehege mitsamt einem Special-effect programmieren. | ||
| + | |||
| + | **Objekte im Projekt:** | ||
| + | 5 Gehege: Aquarium, Pilzkuh-Gehege, | ||
| + | 1 Torbogen(Eingang) | ||
| + | 1 Mauer um das gesamte Areal | ||
| + | |||
| + | **Schwierigkeiten: | ||
| + | |||
| + | **-Lívia** | ||
| + | Problem: | ||
| + | beim Baum programmieren war mir nicht bewusst das der Stamm in die Baumkrone ragen muss. Ansonsten starben nämlich die Blätter des Baumes ab. | ||
| + | |||
| + | Lösung:Den Baumstamm um einige Blöcke verlängern. | ||
| + | |||
| + | **-Ava** | ||
| + | Problem: | ||
| + | Am Anfang hatte ich Probleme mit den Koordinaten. | ||
| + | |||
| + | Lösung: | ||
| + | |||
| + | **-Noël** | ||
| + | Problem: | ||
| + | Die Musik einzufügen, | ||
| + | |||
| + | Lösung: Lucas nach Rat gefragt. | ||
| + | |||
| + | **-Magda** | ||
| + | Problem: | ||
| + | Blumen random im Gehege einzufügen. Die Blumen waren immer in einer Linie oder es hat die Funktion teilweise gar nicht ausgeführt. | ||
| + | |||
| + | Lösung: | ||
| + | |||
| + | **-Valérie** | ||
| + | Problem: Unverständnis für Alles. | ||
| + | |||
| + | Lösung: Tutorials angeschaut und so die Basics erworben. | ||
| + | |||
| + | **Vorgehensweise: | ||
| + | Am Anfang haben wir eine kleine Skizze von unserem Zoo angefertigt. Fortführend hat sich jeder ein Gehege ausgesucht. Um den Fortschritt festzuhalten haben wir auf Teams beim Scrumbboard To-Do' | ||
| + | |||
| + | |||
| + | |||
| + | **Schaf-/ | ||
| + | |||
| + | **doppelter Zaun:** | ||
| + | <code python> | ||
| + | def zaunI(x, | ||
| + | blocks.fill(BIRCH_FENCE, | ||
| + | blocks.fill(AIR, | ||
| + | zaunI(80, | ||
| + | |||
| + | def zaunII(x, | ||
| + | blocks.fill(BIRCH_FENCE, | ||
| + | blocks.fill(AIR, | ||
| + | zaunII(80, | ||
| + | </ | ||
| + | **spawnen von Tieren:** | ||
| + | <code python> | ||
| + | def spawn_tiere(x, | ||
| + | My_list = [PIG, SHEEP] | ||
| + | for i in range(4): | ||
| + | mobs.spawn(My_list[0], | ||
| + | mobs.spawn(My_list[1], | ||
| + | |||
| + | spawn_tiere(80, | ||
| + | </ | ||
| + | **spawnen von Blumen:** | ||
| + | <code python> | ||
| + | def spawn_blumen(x_base, | ||
| + | blumen = [OXEYE_DAISY, | ||
| + | for x in range(24): | ||
| + | for z in range(24): | ||
| + | if randint(0, | ||
| + | blocks.place(blumen[randint(0, | ||
| + | spawn_blumen(80, | ||
| + | </ | ||
| + | **Baum:** | ||
| + | <code python> | ||
| + | def baum(x, | ||
| + | blocks.fill(LEAVES_BIRCH, | ||
| + | blocks.fill(LOG_BIRCH, | ||
| + | |||
| + | baum(80, | ||
| + | </ | ||
| + | ** Kompletter Code:** | ||
| + | < | ||
| + | def zaunI(x, | ||
| + | blocks.fill(BIRCH_FENCE, | ||
| + | blocks.fill(AIR, | ||
| + | zaunI(80, | ||
| + | |||
| + | def zaunII(x, | ||
| + | blocks.fill(BIRCH_FENCE, | ||
| + | blocks.fill(AIR, | ||
| + | zaunII(80, | ||
| + | |||
| + | def spawn_tiere(x, | ||
| + | My_list = [PIG, SHEEP] | ||
| + | for i in range(4): | ||
| + | mobs.spawn(My_list[0], | ||
| + | mobs.spawn(My_list[1], | ||
| + | |||
| + | spawn_tiere(80, | ||
| + | |||
| + | def spawn_blumen(x_base, | ||
| + | blumen = [OXEYE_DAISY, | ||
| + | for x in range(24): | ||
| + | for z in range(24): | ||
| + | if randint(0, | ||
| + | blocks.place(blumen[randint(0, | ||
| + | spawn_blumen(80, | ||
| + | |||
| + | def baum(x, | ||
| + | blocks.fill(LEAVES_BIRCH, | ||
| + | blocks.fill(LOG_BIRCH, | ||
| + | |||
| + | baum(80, | ||
| + | </ | ||
| + | |||
| + | **Pilzkuh-gehege (Ava)** | ||
| + | **doppelter Zaun:** | ||
| + | <code python> | ||
| + | def zaunI(x, y, z): | ||
| + | blocks.fill(BIRCH_FENCE, | ||
| + | blocks.fill(AIR, | ||
| + | zaunI(-85, -60, -23) | ||
| + | def zaunII(x, y, z): | ||
| + | blocks.fill(BIRCH_FENCE, | ||
| + | blocks.fill(AIR, | ||
| + | zaunII(-110, | ||
| + | </ | ||
| + | **Wasser: | ||
| + | <code python> | ||
| + | blocks.fill(WATER, | ||
| + | </ | ||
| + | **Baum:** | ||
| + | <code python> | ||
| + | blocks.fill(LEAVES_SPRUCE, | ||
| + | locks.fill(LOG_SPRUCE, | ||
| + | Unterstand | ||
| + | blocks.fill(MOSSY_STONE_BRICKS, | ||
| + | blocks.fill(MOSSY_STONE_BRICKS, | ||
| + | blocks.fill(MOSSY_STONE_BRICKS, | ||
| + | blocks.fill(PLANKS_SPRUCE, | ||
| + | blocks.fill(MOSSY_STONE_BRICKS, | ||
| + | blocks.fill(MOSSY_STONE_BRICKS, | ||
| + | blocks.fill(MOSSY_STONE_BRICKS, | ||
| + | blocks.fill(PLANKS_SPRUCE, | ||
| + | </ | ||
| + | **Unterstand: | ||
| + | <code python> | ||
| + | def wand(x, | ||
| + | blocks.fill(MOSSY_STONE_BRICKS, | ||
| + | wand(-113, -60, 4) | ||
| + | wand(-123, -60, 4) | ||
| + | def wand2(x, | ||
| + | blocks.fill(MOSSY_STONE_BRICKS, | ||
| + | wand2 (-114, | ||
| + | def wand3(x, | ||
| + | blocks.fill(MOSSY_STONE_BRICKS, | ||
| + | wand3(-113, -57, 0) | ||
| + | def hay(x, | ||
| + | blocks.fill(HAY_BLOCK, | ||
| + | hay(-117, -60, 3) | ||
| + | </ | ||
| + | **spawn von Tieren:** | ||
| + | <code python> | ||
| + | def spawn_tiere(x, | ||
| + | My_list = [MUSHROOM_COW] | ||
| + | for i in range(1): | ||
| + | mobs.spawn (My_list[0], | ||
| + | spawn_tiere(-122, | ||
| + | </ | ||
| + | **Kompletter Code:** | ||
| + | <code python> | ||
| + | def zaunI(x, y, z): | ||
| + | blocks.fill(BIRCH_FENCE, | ||
| + | blocks.fill(AIR, | ||
| + | zaunI(-85, -60, -23) | ||
| + | def zaunII(x, y, z): | ||
| + | blocks.fill(BIRCH_FENCE, | ||
| + | blocks.fill(AIR, | ||
| + | zaunII(-110, | ||
| + | blocks.fill(WATER, | ||
| + | blocks.fill(LEAVES_SPRUCE, | ||
| + | blocks.fill(LOG_SPRUCE, | ||
| + | blocks.fill(MOSSY_STONE_BRICKS, | ||
| + | blocks.fill(MOSSY_STONE_BRICKS, | ||
| + | blocks.fill(MOSSY_STONE_BRICKS, | ||
| + | blocks.fill(PLANKS_SPRUCE, | ||
| + | blocks.fill(MOSSY_STONE_BRICKS, | ||
| + | blocks.fill(MOSSY_STONE_BRICKS, | ||
| + | blocks.fill(MOSSY_STONE_BRICKS, | ||
| + | blocks.fill(PLANKS_SPRUCE, | ||
| + | def wand(x, | ||
| + | blocks.fill(MOSSY_STONE_BRICKS, | ||
| + | wand(-113, -60, 4) | ||
| + | wand(-123, -60, 4) | ||
| + | def wand2(x, | ||
| + | blocks.fill(MOSSY_STONE_BRICKS, | ||
| + | wand2 (-114, | ||
| + | def wand3(x, | ||
| + | blocks.fill(MOSSY_STONE_BRICKS, | ||
| + | wand3(-113, -57, 0) | ||
| + | def hay(x, | ||
| + | blocks.fill(HAY_BLOCK, | ||
| + | hay(-117, -60, 3) | ||
| + | def spawn_tiere(x, | ||
| + | My_list = [MUSHROOM_COW] | ||
| + | for i in range(1): | ||
| + | mobs.spawn (My_list[0], | ||
| + | spawn_tiere(-122, | ||
| + | </ | ||
| + | |||
| + | **Pferde-/ | ||
| + | |||
| + | **Zaun:** | ||
| + | <code python> | ||
| + | def zaun(x, | ||
| + | blocks.fill(SPRUCE_FENCE, | ||
| + | blocks.fill(AIR, | ||
| + | zaun(-60, -60, -33) | ||
| + | </ | ||
| + | **Unterstand: | ||
| + | def unterstand(x, | ||
| + | blocks.fill(MOSSY_STONE_BRICKS, | ||
| + | blocks.fill(MOSSY_STONE_BRICKS, | ||
| + | blocks.fill(MOSSY_STONE_BRICKS, | ||
| + | blocks.fill(PLANKS_SPRUCE, | ||
| + | unterstand(-67, | ||
| + | </ | ||
| + | **Teich: | ||
| + | <code python> | ||
| + | def teich(x, | ||
| + | blocks.fill(WATER, | ||
| + | teich(-68, -61, -53) | ||
| + | </ | ||
| + | **Baum:** | ||
| + | <code python> | ||
| + | def baum(x, | ||
| + | blocks.fill(LEAVES_BIRCH, | ||
| + | blocks.fill(LOG_BIRCH, | ||
| + | baum(-74, -56, -57) | ||
| + | baum(-77, -56, -40) | ||
| + | baum(-71, -56, -45) | ||
| + | </ | ||
| + | **Heu:** | ||
| + | <code python> | ||
| + | def heu(x, | ||
| + | blocks.fill(HAY_BLOCK, | ||
| + | heu(-73, -60, -37) | ||
| + | heu(-73, -60, -36) | ||
| + | heu(-62, -60, -40) | ||
| + | </ | ||
| + | **Tiere** | ||
| + | <code python> | ||
| + | def spawn_tiere(x, | ||
| + | My_list = [HORSE, DONKEY, | ||
| + | for i in range(2): | ||
| + | mobs.spawn (My_list[0], | ||
| + | mobs.spawn(My_list[1], | ||
| + | mobs.spawn(My_list[2], | ||
| + | spawn_tiere(-74, | ||
| + | </ | ||
| + | **Kompletter Code:** | ||
| + | <code python> | ||
| + | def zaun(x, | ||
| + | blocks.fill(SPRUCE_FENCE, | ||
| + | blocks.fill(AIR, | ||
| + | zaun(-60, -60, -33) | ||
| + | def unterstand(x, | ||
| + | blocks.fill(MOSSY_STONE_BRICKS, | ||
| + | blocks.fill(MOSSY_STONE_BRICKS, | ||
| + | blocks.fill(MOSSY_STONE_BRICKS, | ||
| + | blocks.fill(PLANKS_SPRUCE, | ||
| + | unterstand(-67, | ||
| + | def teich(x, | ||
| + | blocks.fill(WATER, | ||
| + | teich(-68, -61, -53) | ||
| + | def baum(x, | ||
| + | blocks.fill(LEAVES_BIRCH, | ||
| + | blocks.fill(LOG_BIRCH, | ||
| + | baum(-74, -56, -57) | ||
| + | baum(-77, -56, -40) | ||
| + | baum(-71, -56, -45) | ||
| + | def heu(x, | ||
| + | blocks.fill(HAY_BLOCK, | ||
| + | heu(-73, -60, -37) | ||
| + | heu(-73, -60, -36) | ||
| + | heu(-62, -60, -40) | ||
| + | def spawn_tiere(x, | ||
| + | My_list = [HORSE, DONKEY, | ||
| + | for i in range(2): | ||
| + | mobs.spawn (My_list[0], | ||
| + | mobs.spawn(My_list[1], | ||
| + | mobs.spawn(My_list[2], | ||
| + | spawn_tiere(-74, | ||
| + | </ | ||
| + | |||
| + | |||
| + | **Aquarium Noël:** | ||
| + | |||
| + | |||
| + | **Kompletter Code: ** | ||
| + | <code python> | ||
| + | |||
| + | |||
| + | # Startkoordinaten: | ||
| + | |||
| + | #NM | ||
| + | def aquarium(x, y, z): | ||
| + | y_base = 0 | ||
| + | bottom = 1 | ||
| + | tunnelY = 2 | ||
| + | tunnelHeight = 5 | ||
| + | |||
| + | blocks.fill(GLASS, | ||
| + | blocks.fill(WATER, | ||
| + | |||
| + | for i in range(2, x + 1): | ||
| + | | ||
| + | | ||
| + | | ||
| + | | ||
| + | | ||
| + | | ||
| + | | ||
| + | | ||
| + | | ||
| + | | ||
| + | | ||
| + | | ||
| + | | ||
| + | | ||
| + | | ||
| + | | ||
| + | | ||
| + | |||
| + | mid_x = (1 + x / 2) | ||
| + | blocks.fill(GLASS, | ||
| + | blocks.fill(GLASS, | ||
| + | blocks.fill(AIR, | ||
| + | blocks.fill(AIR, | ||
| + | blocks.fill(SEA_LANTERN, | ||
| + | blocks.fill(SEA_LANTERN, | ||
| + | blocks.fill(AIR, | ||
| + | blocks.fill(AIR, | ||
| + | |||
| + | aquarium(12, | ||
| + | </ | ||
| + | |||
| + | |||
| + | **Panda-Gehege (Valerie)** | ||
| + | |||
| + | **Zaun** | ||
| + | |||
| + | <code python> | ||
| + | def zaun (x,y,z): | ||
| + | | ||
| + | | ||
| + | zaun(-79, | ||
| + | </ | ||
| + | ** Bambus** | ||
| + | |||
| + | <code python> | ||
| + | def Bambus (x,y,z): | ||
| + | | ||
| + | | ||
| + | | ||
| + | Bambus (-76, | ||
| + | Bambus (-76, | ||
| + | Bambus (-74, | ||
| + | Bambus (-60, | ||
| + | Bambus (-65, | ||
| + | Bambus (-71, | ||
| + | Bambus (-60, | ||
| + | </ | ||
| + | **Bambushaus** | ||
| + | |||
| + | <code python> | ||
| + | def Bambushaus (x,y,z): | ||
| + | for i in range (4): | ||
| + | | ||
| + | | ||
| + | | ||
| + | |||
| + | Bambushaus (-69, | ||
| + | </ | ||
| + | **Tiere** | ||
| + | |||
| + | <code python> | ||
| + | def spawn_tiere(x, | ||
| + | | ||
| + | for i in range(1): | ||
| + | | ||
| + | spawn_tiere(-76, | ||
| + | spawn_tiere(-66, | ||
| + | spawn_tiere(-66, | ||
| + | spawn_tiere(-69, | ||
| + | spawn_tiere(-66, | ||
| + | </ | ||
| + | |||
| + | **Kompletter Code** | ||
| + | <code python> | ||
| + | def zaun (x,y,z): | ||
| + | | ||
| + | | ||
| + | zaun(-79, | ||
| + | |||
| + | def Bambus (x,y,z): | ||
| + | | ||
| + | | ||
| + | | ||
| + | Bambus (-76, | ||
| + | Bambus (-76, | ||
| + | Bambus (-74, | ||
| + | Bambus (-60, | ||
| + | Bambus (-65, | ||
| + | Bambus (-71, | ||
| + | Bambus (-60, | ||
| + | def Bambushaus (x,y,z): | ||
| + | for i in range (4): | ||
| + | | ||
| + | | ||
| + | | ||
| + | |||
| + | Bambushaus (-69, | ||
| + | def spawn_tiere(x, | ||
| + | | ||
| + | for i in range(1): | ||
| + | | ||
| + | spawn_tiere(-76, | ||
| + | spawn_tiere(-66, | ||
| + | spawn_tiere(-66, | ||
| + | spawn_tiere(-69, | ||
| + | spawn_tiere(-66, | ||
| + | </ | ||
| + | |||
| + | **Weg durch den Zoo (Livia)** | ||
| + | |||
| + | <code python> | ||
| + | #Weg | ||
| + | def weg(x, | ||
| + | blocks.fill(STONE_BRICKS, | ||
| + | |||
| + | weg(-82, -61, -66) | ||
| + | </ | ||
| + | |||
| + | (Im endgültigen Code wurden bei def Funktionen die Initialen der verantwortlichen Person geschrieben.) | ||
| + | |||
| + | **Anweisungen und der komplette Code für die Testspieler: | ||
| + | |||
| + | **Bei Spieleinstellungen muss man:** | ||
| + | -den Welttyp " | ||
| + | -sich zu einem operator machen | ||
| + | -" | ||
| + | -wenn man will auf "immer tag" stellen | ||
| + | |||
| + | **Kompletter Code um unsere Welt zu besuchen!** | ||
| + | |||
| + | <code python> | ||
| + | player.execute(" | ||
| + | #mauer | ||
| + | def zoomauer(x, | ||
| + | blocks.fill(STONE_BRICKS, | ||
| + | blocks.fill(AIR, | ||
| + | zoomauer(-54, | ||
| + | |||
| + | # | ||
| + | def bogen(x, | ||
| + | blocks.fill(STONE_BRICKS, | ||
| + | blocks.fill(AIR, | ||
| + | blocks.fill(STONE_BRICKS, | ||
| + | blocks.fill(STONE_BRICKS, | ||
| + | bogen(-79, -60, -66) | ||
| + | #weg | ||
| + | def weg(x, | ||
| + | blocks.fill(STONE_BRICKS, | ||
| + | weg(-82, -61, -66) | ||
| + | |||
| + | ##Gehege Pferde, Esel, Alpaka | ||
| + | #Zaun | ||
| + | def zaunL(x, | ||
| + | blocks.fill(SPRUCE_FENCE, | ||
| + | blocks.fill(AIR, | ||
| + | zaunL(-60, -60, -33) | ||
| + | |||
| + | # | ||
| + | def unterstandL(x, | ||
| + | blocks.fill(MOSSY_STONE_BRICKS, | ||
| + | blocks.fill(MOSSY_STONE_BRICKS, | ||
| + | blocks.fill(MOSSY_STONE_BRICKS, | ||
| + | blocks.fill(PLANKS_SPRUCE, | ||
| + | unterstandL(-67, | ||
| + | #Teich | ||
| + | def teichL(x, | ||
| + | blocks.fill(WATER, | ||
| + | teichL(-68, -61, -53) | ||
| + | #Baum | ||
| + | def baumL(x, | ||
| + | blocks.fill(LEAVES_BIRCH, | ||
| + | blocks.fill(LOG_BIRCH, | ||
| + | baumL(-74, -56, -57) | ||
| + | baumL(-77, -56, -40) | ||
| + | baumL(-71, -56, -45) | ||
| + | # Heu | ||
| + | def heuL(x, | ||
| + | blocks.fill(HAY_BLOCK, | ||
| + | heuL(-73, -60, -37) | ||
| + | heuL(-73, -60, -36) | ||
| + | heuL(-62, -60, -40) | ||
| + | #Tiere | ||
| + | def spawn_tiereL(x, | ||
| + | My_list = [HORSE, DONKEY, | ||
| + | for i in range(2): | ||
| + | mobs.spawn (My_list[0], | ||
| + | mobs.spawn(My_list[1], | ||
| + | mobs.spawn(My_list[2], | ||
| + | spawn_tiereL(-74, | ||
| + | |||
| + | # | ||
| + | #Zaun | ||
| + | def zaunIA(x, y, z): | ||
| + | blocks.fill(BIRCH_FENCE, | ||
| + | blocks.fill(AIR, | ||
| + | zaunIA(-114, | ||
| + | |||
| + | #Wasser | ||
| + | def teichA(x, | ||
| + | blocks.fill(WATER, | ||
| + | teichA(-97, -61, -44) | ||
| + | #Baum | ||
| + | def baumA(x, | ||
| + | blocks.fill(LEAVES_SPRUCE, | ||
| + | blocks.fill(LOG_SPRUCE, | ||
| + | baumA(-94, -56, -52) | ||
| + | baumA(-101, -56, -43) | ||
| + | baumA(-109, -56, -48) | ||
| + | # | ||
| + | def wandA(x, | ||
| + | blocks.fill(MOSSY_STONE_BRICKS, | ||
| + | wandA(-110, -60,-56) | ||
| + | wandA(-102, -60, -56) | ||
| + | def wand2A(x, | ||
| + | blocks.fill(MOSSY_STONE_BRICKS, | ||
| + | wand2A(-102, | ||
| + | def dachA(x, | ||
| + | blocks.fill(MOSSY_STONE_BRICKS, | ||
| + | dachA(-102, -57, -60) | ||
| + | def hayA(x, | ||
| + | blocks.fill(HAY_BLOCK, | ||
| + | hayA(-106, -60, -59) | ||
| + | hayA(-108, -60, -41) | ||
| + | def spawn_tiereA(x, | ||
| + | My_list = [MUSHROOM_COW] | ||
| + | for i in range(4): | ||
| + | mobs.spawn (My_list[0], | ||
| + | spawn_tiereA(-102, | ||
| + | |||
| + | |||
| + | # | ||
| + | def zaunV (x,y,z): | ||
| + | blocks.fill(DARK_OAK_FENCE, | ||
| + | blocks.fill (AIR, world(x+1, | ||
| + | zaunV(-79, | ||
| + | def BambusV (x,y,z): | ||
| + | blocks.fill(BAMBOO, | ||
| + | blocks.fill(BAMBOO, | ||
| + | blocks.fill(BAMBOO, | ||
| + | BambusV (-76, | ||
| + | BambusV (-76, | ||
| + | BambusV (-74, | ||
| + | BambusV (-60, | ||
| + | BambusV (-65, | ||
| + | BambusV (-71, | ||
| + | BambusV (-60, | ||
| + | def BambushausV (x,y,z): | ||
| + | for i in range (4): | ||
| + | blocks.fill(BAMBOO_MOSAIC, | ||
| + | blocks.fill(BAMBOO_MOSAIC, | ||
| + | blocks.fill(BAMBOO_MOSAIC, | ||
| + | BambushausV (-69, | ||
| + | def spawn_tiereV(x, | ||
| + | My_list = [PANDA] | ||
| + | for i in range(1): | ||
| + | mobs.spawn (My_list[0], | ||
| + | spawn_tiereV(-76, | ||
| + | spawn_tiereV(-66, | ||
| + | spawn_tiereV(-66, | ||
| + | spawn_tiereV(-69, | ||
| + | spawn_tiereV(-66, | ||
| + | |||
| + | |||
| + | # | ||
| + | def zaunIM(x, | ||
| + | blocks.fill(BIRCH_FENCE, | ||
| + | blocks.fill(AIR, | ||
| + | zaunIM(-113, | ||
| + | def zaunIIM(x, | ||
| + | blocks.fill(BIRCH_FENCE, | ||
| + | blocks.fill(AIR, | ||
| + | zaunIIM(-113, | ||
| + | def spawn_tiereM(x, | ||
| + | My_list = [PIG, SHEEP] | ||
| + | for i in range(4): | ||
| + | mobs.spawn(My_list[0], | ||
| + | mobs.spawn(My_list[1], | ||
| + | spawn_tiereM(-113, | ||
| + | def spawn_blumenM(x_base, | ||
| + | blumen = [OXEYE_DAISY, | ||
| + | for x in range(23): | ||
| + | for z in range(23): | ||
| + | if randint(0, | ||
| + | blocks.place(blumen[randint(0, | ||
| + | spawn_blumenM(-113, | ||
| + | def baumM(x, | ||
| + | blocks.fill(LEAVES_BIRCH, | ||
| + | blocks.fill(LOG_BIRCH, | ||
| + | baumM(-113, | ||
| + | |||
| + | |||
| + | # Startkoordinaten: | ||
| + | #NM | ||
| + | def aquarium(x, y, z): | ||
| + | y_base = 0 | ||
| + | bottom = 1 | ||
| + | tunnelY = 2 | ||
| + | tunnelHeight = 5 | ||
| + | blocks.fill(GLASS, | ||
| + | blocks.fill(WATER, | ||
| + | for i in range(2, x + 1): | ||
| + | for k in range(2, z + 1): | ||
| + | thickness = randint(1, 3) | ||
| + | top_sand = bottom + thickness - 1 | ||
| + | if randint(0, 25) == 1: | ||
| + | blocks.fill(SEA_LANTERN, | ||
| + | for f in range(2): | ||
| + | mobs.spawn(TROPICAL_FISH, | ||
| + | if randint(0, 35) == 1: | ||
| + | mobs.spawn(AXOLOTL, | ||
| + | mobs.spawn(GLOW_SQUID, | ||
| + | if randint(0, 5) == 1: | ||
| + | mobs.spawn(DROWNED, | ||
| + | else: | ||
| + | if randint(0, 10) == 1: | ||
| + | blocks.fill(GRAVEL, | ||
| + | else: | ||
| + | blocks.fill(SAND, | ||
| + | mid_x = (1 + x / 2) | ||
| + | blocks.fill(GLASS, | ||
| + | blocks.fill(GLASS, | ||
| + | blocks.fill(AIR, | ||
| + | blocks.fill(AIR, | ||
| + | blocks.fill(SEA_LANTERN, | ||
| + | blocks.fill(SEA_LANTERN, | ||
| + | blocks.fill(AIR, | ||
| + | blocks.fill(AIR, | ||
| + | aquarium(12, | ||
| + | |||
| + | #restliche deko | ||
| + | def dekobaum(x, | ||
| + | blocks.fill(LEAVES_OAK, | ||
| + | blocks.fill(LOG_OAK, | ||
| + | |||
| + | dekobaum(-65, | ||
| + | dekobaum(-74, | ||
| + | dekobaum(-67, | ||
| + | dekobaum(-111, | ||
| + | dekobaum(-98, | ||
| + | </ | ||
| + | |||