gf2:projekte:2023:minecraft:2d1gruppe2

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:2023:minecraft:2d1gruppe2 [2024/01/23 23:07] blanchardcgf2:projekte:2023:minecraft:2d1gruppe2 [2024/01/30 11:09] (aktuell) buchsk
Zeile 1: Zeile 1:
 +<color #ed1c24>WELT</color>
 +{{ :gf2:projekte:2023:minecraft:myworldfrom2d1karim.mcworld |HIER}}
 +
  ===== SCRUMBOARD - GRUPPE KINO =====  ===== SCRUMBOARD - GRUPPE KINO =====
  
 **Projekt Kino - Unsere Idee:** **Projekt Kino - Unsere Idee:**
-Man befindet sich auf einer kleinen Insel, irgendwo im Himmel. Es baut sich ohne Agent ein Kino auf. Der Bau beginnt mit der Treppe. Wenn man die Treppe hinauf geht befindet man sich im Eingang des Kinos. Sobald man sich im Kinosaal befindet, wird ein Film abgespielt. Für uns war wichtig ein Projekt zu machen mit dem alle etwas anfangen können, nicht nur die, die sich viel mit der Thematik des Programmierens beschäftigen, sondern auch alle die keine Ahnung davon haben. +Man befindet sich auf einer kleinen Insel, irgendwo im Himmel. Es baut sich ohne Agent ein Kino auf. Der Bau beginnt mit der Treppe. Wenn man die Treppe hinauf geht befindet man sich im Eingang des Kinos. Sobald man sich im Kinosaal befindet, wird ein Film abgespielt. Für uns war wichtig ein Projekt zu machen mit dem alle etwas anfangen können, nicht nur die, die sich viel mit der Thematik des Programmierens beschäftigen, sondern auch alle die keine Ahnung davon haben. Natürlich haben wir auch geschaut 
 + 
 +**Anleitung zum benutzen der Welt** 
 + __schreibe "film start" damit der Film beginnt__ 
 + __schreibe "treppe bau" damit sich die Treppe erhebt um zum Kino zu gelangen__ 
 + __schreibe "kino bau" dann baut sich das Kino selbst auf__ 
 + __schreibe "t no" damit die Treppe weg geht__ 
 + __schreibe "abbau" damit das Kino verschwindet__ 
  
 **Aufteilung der Gruppe in zweier Teams:** **Aufteilung der Gruppe in zweier Teams:**
 Karim & Nadine, Celia & Celine Karim & Nadine, Celia & Celine
  
-**Aufgaben der Teams - Celia & Celine**+**Aufgaben der Teams - Celia & Celine:**
 Celia und Celine haben einen Code programmiert, mit welchem Raketen von einem bestimmten Punkt aus abgefeuert werden. Dabei werden mithilfe der X-, Y- und Z-Koordinaten ein Raum geschaffen und wenn man sich in diesem aufhält wird an einer bestimmten Position (in Abhängigkeit der Position des Spielers) eine Rakete abgefeuert. Dieser Code konnte im Programm leider nicht verwendet werden. Wir haben nicht herausgefunden aus welchen Gründen dies so ist, doch sobald die Koordinaten der Höhe (Y Koordinate) im Code auf die höhe der Insel angepasst wurde, hat der gesamte Code nicht mehr funktioniert.  Celia und Celine haben einen Code programmiert, mit welchem Raketen von einem bestimmten Punkt aus abgefeuert werden. Dabei werden mithilfe der X-, Y- und Z-Koordinaten ein Raum geschaffen und wenn man sich in diesem aufhält wird an einer bestimmten Position (in Abhängigkeit der Position des Spielers) eine Rakete abgefeuert. Dieser Code konnte im Programm leider nicht verwendet werden. Wir haben nicht herausgefunden aus welchen Gründen dies so ist, doch sobald die Koordinaten der Höhe (Y Koordinate) im Code auf die höhe der Insel angepasst wurde, hat der gesamte Code nicht mehr funktioniert. 
  
Zeile 16: Zeile 27:
     z = player.position().get_value(Axis.Z)     z = player.position().get_value(Axis.Z)
    
-    if (0<x<50) and (y==-60) and (0<z<50): +    if (-2<x<2) and (71<y<75) and (-5>z>-20): 
-        mobs.spawn(FIREWORKS_ROCKET, pos(0,0,2))+        mobs.spawn(FIREWORKS_ROCKET, pos(3,0,0)) 
 +        mobs.spawn(FIREWORKS_ROCKETpos(-3,0,0))
          
 player.on_travelled(WALK, on_travelled_walk) player.on_travelled(WALK, on_travelled_walk)
 +</code>
    
 </code> </code>
Zeile 26: Zeile 39:
  
  
-**Aufgaben der Teams - KarimNadine** +**Aufgaben der Teams - Karim Nadine:** 
-Recherche für Hausbau, Wie machen? Mit Agent ohne Agent? Planung des Kinos +Karim und Nadine haben mit der Recherche für den Bau des Hauses begonnen. Sie haben sich dazu entschieden das Kino ohne Agent zu bauen. Ihr Plan war, zuerst einen Grundbau zu erstellen um dann (wenn noch Zeit ist) am Ende Details einzubauenZu diesen Details gehören Lichter oder Fenster. 
---> Entscheidung: ohne agent  + 
-der Plan ist es zuerst eine Grundbau zu erstellenum dann(wenn noch zeit ist)am ende noch Details einbauen zu könnenGeplant sind lichter oder Fenstern dass ein wenig licht ins Innere kommen kann (ausser im Vorstellungssaal selbstverständlich)+**Der Film** 
 +Wir hatten am Anfang sehr viel mühe aber wir haben unser Ziel erreicht! Beim Film muss man nur "film start" schreiben und er beginnt indem er vorgefertigte Bilder klont und in den Bildschirm nacheinander hineinkoppiert: 
 + 
  
-Zuerst wurde die Treppe gebaut: 
  
 <code> <code>
-def Treppe(x,y,zhohe): + 
-    a = 0 +#Film abspielen 
-    whilea < hohe): +def on_on_chat(): 
-      blocks.fill(QUARTZ_SLAB,world(xz+ay-2*a),world(x+2z+ay-1-2*a),FillOperation.REPLACE) +     
-      a = a+1  +    blocks.clone( 
-Treppe(-1,-371,4+    world(5380-78), 
 +    world(33, 75, -78), 
 +    world(-10, 78, -64), 
 +    CloneMask.REPLACE, CloneMode.NORMAL) 
 + 
 +    loops.pause(500
 + 
 +    blocks.clone( 
 +        world(3280, -78), 
 +        world(1275, -78), 
 +        world(-1078, -64), 
 +        CloneMask.REPLACE, CloneMode.NORMAL) 
 + 
 +    loops.pause(500) 
 +     
 +    blocks.clone( 
 +        world(11, 80, -78), 
 +        world(-9, 75, -78), 
 +        world(-10, 78, -64), 
 +        CloneMask.REPLACE, CloneMode.NORMAL
 + 
 +    loops.pause(500) 
 +     
 +    blocks.clone( 
 +        world(-10, 80, -78), 
 +        world(-30, 75, -78), 
 +        world(-10, 78, -64), 
 +        CloneMask.REPLACE, CloneMode.NORMAL) 
 + 
 +    loops.pause(500) 
 +         
 +    blocks.clone( 
 +        world(-31, 80, -78), 
 +        world(-51, 75, -78), 
 +        world(-10, 78, -64), 
 +        CloneMask.REPLACE, CloneMode.NORMAL) 
 + 
 +    loops.pause(500) 
 +             
 +    blocks.clone( 
 +        world(-52, 80, -78), 
 +        world(-72, 75, -78), 
 +        world(-10, 78, -64), 
 +        CloneMask.REPLACE, CloneMode.NORMAL) 
 + 
 +    loops.pause(500) 
 + 
 +    blocks.clone( 
 +        world(-73, 80, -78), 
 +        world(-93, 75, -78), 
 +        world(-10, 78, -64), 
 +        CloneMask.REPLACE, CloneMode.NORMAL) 
 + 
 +    loops.pause(3000) 
 + 
 +    blocks.clone( 
 +            world(-94, 80, -78), 
 +            world(-116, 75, -78), 
 +            world(-10, 78, -64), 
 +            CloneMask.REPLACE, CloneMode.NORMAL) 
 + 
 +    loops.pause(3000) 
 + 
 +    blocks.clone( 
 +            world(-117, 80, -78), 
 +            world(-137, 75, -78), 
 +            world(-10, 78, -64), 
 +            CloneMask.REPLACE, CloneMode.NORMAL) 
 + 
 +    loops.pause(3000) 
 + 
 +    blocks.clone( 
 +            world(-139, 80, -78), 
 +            world(-159, 75, -78), 
 +            world(-10, 78, -64), 
 +            CloneMask.REPLACE, CloneMode.NORMAL) 
 + 
 +    loops.pause(3000) 
 + 
 +    blocks.clone( 
 +            world(-160, 80, -78), 
 +            world(-172, 75, -78), 
 +            world(-10, 78, -64), 
 +            CloneMask.REPLACE, CloneMode.NORMAL) 
 + 
 +    blocks.clone( 
 +        world(-73, 80, -75), 
 +        world(-93, 75, -75), 
 +        world(-10, 78, -64), 
 +        CloneMask.REPLACE, CloneMode.NORMAL) 
 + 
 +player.on_chat("film start"on_on_chat)
 </code> </code>
  
  
-Das Haus ist gebaut und jetzt geht es nur noch darum Details einzubauen:+**Das Kino** 
 +Wir dachten uns, es wäre doch am besten eine effiziente Treppe zu nutzen welche man einfach anpassen kann und wiederverwendbar ist und die Wände als grosse boxen zu bauen. Wie schon oben erwähnt konnten wir noch Lichter einbauen welche das grosse Kino beleuchten. Doch im Saal nicht allzu viel da es sonst die spannende Stimmung versauen könnte.
  
-  __- Nummerierter ListenpunktVerkaufsboxen (links und rechts wenn man reinkommt)__ 
  
-<code>  +<code> 
-blocks.fill(RED_WOOL+ 
-world (-13,79,-18), +#Treppen 
-world (-5, 74,-28), +a = 0 
-FillOperation.HOLLOW) +b = 0 
-  +c = 0 
-blocks.fill(AIR, +d = 0 
-world (-5,76,-19), + 
-world (-5, 78,-26), +def EFG(): 
-FillOperation.REPLACE) +    #WändeBoxen 
-  +    blocks.fill(STRIPPED_SPRUCE_WOOD, 
-blocks.fill(RED_WOOL+        world(-14, 74, -17), 
-world (13,79,-18), +        world(14, 86, -64), 
-world (5, 74,-28), +        FillOperation.HOLLOW) 
-FillOperation.HOLLOW) + 
-  +    blocks.fill(STRIPPED_OAK_WOOD
-blocks.fill(AIR, +        world(-13, 79, -18), 
-world (5,78,-19), +        world(-5, 74, -28), 
-world (5, 76,-26), +        FillOperation.HOLLOW) 
-FillOperation.REPLACE) +    blocks.fill(AIR, 
-</code> +        world(-5, 76, -19), 
 +        world(-5, 78, -26), 
 +        FillOperation.REPLACE) 
 +    blocks.fill(STRIPPED_OAK_WOOD
 +        world(13, 79, -18), 
 +        world(5, 74, -28), 
 +        FillOperation.HOLLOW) 
 +    blocks.fill(AIR, 
 +        world(5, 78, -19), 
 +        world(5, 76, -26), 
 +        FillOperation.REPLACE) 
 + 
 +    blocks.fill(STONE_BRICKS, 
 +        world(5, 80, -18), 
 +        world(-5, 85, -28), 
 +        FillOperation.HOLLOW) 
 + 
 +    blocks.fill(STONE_BRICKS, 
 +        world(-3, 75, -42), 
 +        world(-13, 85, -28), 
 +        FillOperation.HOLLOW) 
 +    blocks.fill(STONE_BRICKS, 
 +        world(3, 75, -42), 
 +        world(13, 85, -28), 
 +        FillOperation.HOLLOW) 
 + 
 + 
 + 
 +    #Lichter 
 +    blocks.fill(GLOWSTONE, 
 +        world(-7, 79, -25), 
 +        world(-10, 79, -25), 
 +        FillOperation.REPLACE) 
 +    blocks.fill(GLOWSTONE, 
 +        world(-7, 79, -21), 
 +        world(-10, 79, -21), 
 +        FillOperation.REPLACE) 
 + 
 +    blocks.fill(GLOWSTONE, 
 +        world(10, 79, -25), 
 +        world(7, 79, -25), 
 +        FillOperation.REPLACE) 
 +    blocks.fill(GLOWSTONE, 
 +        world(10, 79, -21), 
 +        world(7, 79, -21), 
 +        FillOperation.REPLACE) 
 + 
 +    #Leinwand 
 +    blocks.fill(GLOWSTONE, 
 +        world(-11, 77, -63), 
 +        world(11, 84, -63), 
 +        FillOperation.HOLLOW) 
 +    blocks.fill(AIR, 
 +        world(-10, 78, -63), 
 +        world(10, 83, -64), 
 +        FillOperation.REPLACE) 
 +    blocks.fill(STRIPPED_OAK_WOOD, 
 +        world(-10, 78, -64), 
 +        world(10, 83, -64), 
 +        FillOperation.REPLACE) 
 +    blocks.fill(PLANKS_OAK, 
 +        world(-10, 78, -65), 
 +        world(10, 83, -65), 
 +        FillOperation.REPLACE) 
 + 
 +    blocks.fill(AIR, 
 +        world(2, 75, -17), 
 +        world(-2, 78, -17), 
 +        FillOperation.REPLACE) 
 + 
 + 
 + 
 +    #Treppen 
 +    def Treppe2(x,y,z, hohe2): 
 +        b = 0 
 +        while( b < hohe2): 
 +            blocks.fill(RED_WOOL,world(x, z+b, y-2*b),world(x+4, z+b, y-1-2*b),FillOperation.REPLACE) 
 +            b = b+1 
 +    Treppe2(-2,-29, 75,7) 
 + 
 +    def Treppe3(x,y,z, hohe4): 
 +        d = 0 
 +        while( d < hohe4): 
 +            blocks.fill(LOG_DARK_OAK,world(x, z+d, y+3*d),world(x+26, z+d, y+2+3*d),FillOperation.REPLACE) 
 +            d = d+1 
 +    Treppe3(-13, -63, 75,7) 
 + 
 +    def Treppe4(x,y,z, hohe3): 
 +        c = 0 
 +        while( c < hohe3): 
 +            blocks.fill(RED_WOOL,world(x, z+c, y+3*c),world(x+4, z+c, y+2+3*c),FillOperation.REPLACE) 
 +            c = c+1 
 +    Treppe4(-2, -60, 76,6) 
 +player.on_chat("kino bau", EFG) 
 + 
 +</code> 
 +**Die RaketenTreppe** 
 +Wir versuchten eine Treppe zu machen welche durch "Treppe bau" selbst aufgebaut wird und wenn man sie besteigt, dann kommen Raketen hoch.
  
---> mithilfe von Air-Blocks haben wir die Fenster gemacht 
  
- __ - Decke der Verkaufsbox:__ 
 <code> <code>
-blocks.fill(YELLOW_WOOL+def ABC(): 
-world (5,80,-18), + 
-world (-585,-28), +    #TreppeQuarz 
-FillOperation.HOLLOW)+     
 +    def Treppe(x,y,z, hohe): 
 +        a = 0 
 +        while( a < hohe): 
 +            blocks.fill(QUARTZ_SLAB,world(x, z+a, y-2*a),world(x+2, z+a, y-1-2*a),FillOperation.REPLACE) 
 +            a = a+1 
 +    Treppe(-1,-3, 71,4) 
 + 
 +    blocks.fill(QUARTZ_SLAB
 +        world(174, -11), 
 +        world(-174, -16), 
 +        FillOperation.REPLACE) 
 +player.on_chat("treppe bau", ABC)
 </code> </code>
 +**Abbaumöglichkeit**
 +Wir haben auch natürlich eine Abbaumöglichkeit eingebaut die recht simpel ist
 +<code>
  
-__  Lichter in der Verkaufsboxdecke__+def ABBAU2(): 
 +    blocks.fill(AIR, 
 +        world(-1, 74, -16), 
 +        world(2, 71, -2), 
 +        FillOperation.HOLLOW) 
 +player.on_chat("T ein", ABBAU2) 
 +#Abbau für Alles 
 +def ABBAU(): 
 +    blocks.fill(AIR, 
 +        world(-14, 73, -17), 
 +        world(14, 86, -70), 
 +        FillOperation.HOLLOW) 
 +player.on_chat("abbau", ABBAU) 
 +   
 +</code> 
 +   
 +**Der ganze CODE** 
 +Falls sich jemand intressiert
 <code> <code>
-blocks.fill(GLOWSTONE+ 
-world ( -7,79,-25), +#Treppen 
-world (-1079,-25), +a = 0 
-FillOperation.REPLACE)+b = 0 
 +c = 0 
 +d = 0 
 + 
 +blocks.fill(STRIPPED_OAK_WOOD
 +        world(5475, -72), 
 +        world(-12886, -72), 
 +        FillOperation.REPLACE
 + 
 + 
 +def ABBAU2(): 
 +    blocks.fill(AIR, 
 +        world(-1, 74, -16), 
 +        world(2, 71, -2), 
 +        FillOperation.HOLLOW) 
 +player.on_chat("T No", ABBAU2) 
 +#Abbau für Alles 
 +def ABBAU(): 
 +    blocks.fill(AIR, 
 +        world(-14, 73, -17), 
 +        world(14, 86, -70), 
 +        FillOperation.HOLLOW) 
 +player.on_chat("abbau", ABBAU) 
 + 
 + 
 +#TreppeQuarz 
 + 
 + 
 + 
 +def on_travelled_walk(): 
 +    x = player.position().get_value(Axis.X) 
 +    y = player.position().get_value(Axis.Y) 
 +    z = player.position().get_value(Axis.Z)
    
-blocks.fill(GLOWSTONE, +    if (-2<x<2) and (71<y<75) and (-5>z>-20): 
-world ( -7,79,-21), +        mobs.spawn(FIREWORKS_ROCKET, pos(3,0,0)) 
-world (-10, 79,-21), +        mobs.spawn(FIREWORKS_ROCKET, pos(-3,0,0)) 
-FillOperation.REPLACE)+     
 +player.on_travelled(WALK, on_travelled_walk) 
 + 
 + 
 +#Film abspielen 
 +def on_on_chat(): 
 +     
 +    blocks.clone( 
 +    world(53, 80, -78), 
 +    world(33, 75, -78), 
 +    world(-10, 78, -64), 
 +    CloneMask.REPLACE, CloneMode.NORMAL) 
 + 
 +    loops.pause(500) 
 + 
 +    blocks.clone( 
 +        world(32, 80, -78), 
 +        world(12, 75, -78), 
 +        world(-10, 78, -64), 
 +        CloneMask.REPLACE, CloneMode.NORMAL) 
 + 
 +    loops.pause(500) 
 +     
 +    blocks.clone( 
 +        world(11, 80, -78), 
 +        world(-9, 75, -78), 
 +        world(-10, 78, -64), 
 +        CloneMask.REPLACE, CloneMode.NORMAL) 
 + 
 +    loops.pause(500) 
 +     
 +    blocks.clone( 
 +        world(-10, 80, -78), 
 +        world(-30, 75, -78), 
 +        world(-10, 78, -64), 
 +        CloneMask.REPLACE, CloneMode.NORMAL) 
 + 
 +    loops.pause(500) 
 +         
 +    blocks.clone( 
 +        world(-31, 80, -78), 
 +        world(-51, 75, -78), 
 +        world(-10, 78, -64), 
 +        CloneMask.REPLACE, CloneMode.NORMAL) 
 + 
 +    loops.pause(500) 
 +             
 +    blocks.clone( 
 +        world(-52, 80, -78), 
 +        world(-72, 75, -78), 
 +        world(-10, 78, -64), 
 +        CloneMask.REPLACE, CloneMode.NORMAL) 
 + 
 +    loops.pause(500) 
 + 
 +    blocks.clone( 
 +        world(-73, 80, -78), 
 +        world(-93, 75, -78), 
 +        world(-10, 78, -64), 
 +        CloneMask.REPLACE, CloneMode.NORMAL) 
 + 
 +    loops.pause(3000) 
 + 
 +    blocks.clone( 
 +            world(-94, 80, -78), 
 +            world(-116, 75, -78), 
 +            world(-10, 78, -64), 
 +            CloneMask.REPLACE, CloneMode.NORMAL) 
 + 
 +    loops.pause(3000) 
 + 
 +    blocks.clone( 
 +            world(-117, 80, -78), 
 +            world(-137, 75, -78), 
 +            world(-10, 78, -64), 
 +            CloneMask.REPLACE, CloneMode.NORMAL) 
 + 
 +    loops.pause(3000) 
 + 
 +    blocks.clone( 
 +            world(-139, 80, -78), 
 +            world(-159, 75, -78), 
 +            world(-10, 78, -64), 
 +            CloneMask.REPLACE, CloneMode.NORMAL) 
 + 
 +    loops.pause(3000) 
 + 
 +    blocks.clone( 
 +            world(-160, 80, -78), 
 +            world(-172, 75, -78), 
 +            world(-10, 78, -64), 
 +            CloneMask.REPLACE, CloneMode.NORMAL) 
 + 
 +    blocks.clone( 
 +        world(-73, 80, -75), 
 +        world(-93, 75, -75), 
 +        world(-10, 78, -64), 
 +        CloneMask.REPLACE, CloneMode.NORMAL) 
 + 
 +player.on_chat("film start", on_on_chat) 
 + 
 + 
 + 
 + 
 +def EFG(): 
 +    #Wände 
 +    blocks.fill(STRIPPED_SPRUCE_WOOD, 
 +        world(-14, 74, -17), 
 +        world(14, 86, -64), 
 +        FillOperation.HOLLOW) 
 + 
 +    blocks.fill(STRIPPED_OAK_WOOD, 
 +        world(-13, 79, -18), 
 +        world(-5, 74, -28), 
 +        FillOperation.HOLLOW) 
 +    blocks.fill(AIR, 
 +        world(-5, 76, -19), 
 +        world(-5, 78, -26), 
 +        FillOperation.REPLACE) 
 +    blocks.fill(STRIPPED_OAK_WOOD, 
 +        world(13, 79, -18), 
 +        world(5, 74, -28), 
 +        FillOperation.HOLLOW) 
 +    blocks.fill(AIR, 
 +        world(5, 78, -19), 
 +        world(5, 76, -26), 
 +        FillOperation.REPLACE) 
 + 
 +    blocks.fill(STONE_BRICKS, 
 +        world(5, 80, -18), 
 +        world(-5, 85, -28), 
 +        FillOperation.HOLLOW) 
 + 
 +    blocks.fill(STONE_BRICKS, 
 +        world(-3, 75, -42), 
 +        world(-13, 85, -28), 
 +        FillOperation.HOLLOW) 
 +    blocks.fill(STONE_BRICKS, 
 +        world(3, 75, -42), 
 +        world(13, 85, -28), 
 +        FillOperation.HOLLOW) 
 + 
 + 
 + 
 +    #Lichter 
 +    blocks.fill(GLOWSTONE, 
 +        world(-7, 79, -25), 
 +        world(-10, 79, -25), 
 +        FillOperation.REPLACE) 
 +    blocks.fill(GLOWSTONE, 
 +        world(-7, 79, -21), 
 +        world(-10, 79, -21), 
 +        FillOperation.REPLACE) 
 + 
 +    blocks.fill(GLOWSTONE, 
 +        world(10, 79, -25), 
 +        world(7, 79, -25), 
 +        FillOperation.REPLACE) 
 +    blocks.fill(GLOWSTONE, 
 +        world(10, 79, -21), 
 +        world(7, 79, -21), 
 +        FillOperation.REPLACE) 
 + 
 +    #Leinwand 
 +    blocks.fill(GLOWSTONE, 
 +        world(-11, 77, -63), 
 +        world(11, 84, -63), 
 +        FillOperation.HOLLOW) 
 +    blocks.fill(AIR, 
 +        world(-10, 78, -63), 
 +        world(10, 83, -64), 
 +        FillOperation.REPLACE) 
 +    blocks.fill(STRIPPED_OAK_WOOD, 
 +        world(-10, 78, -64), 
 +        world(10, 83, -64), 
 +        FillOperation.REPLACE) 
 +    blocks.fill(PLANKS_OAK, 
 +        world(-10, 78, -65), 
 +        world(10, 83, -65), 
 +        FillOperation.REPLACE) 
 + 
 +    blocks.fill(AIR, 
 +        world(2, 75, -17), 
 +        world(-2, 78, -17), 
 +        FillOperation.REPLACE) 
 + 
 + 
 + 
 +    #Treppen 
 +    def Treppe2(x,y,z, hohe2): 
 +        b = 0 
 +        while( b < hohe2): 
 +            blocks.fill(RED_WOOL,world(x, z+b, y-2*b),world(x+4, z+b, y-1-2*b),FillOperation.REPLACE) 
 +            b = b+1 
 +    Treppe2(-2,-29, 75,7) 
 + 
 +    def Treppe3(x,y,z, hohe4): 
 +        d = 0 
 +        while( d < hohe4): 
 +            blocks.fill(LOG_DARK_OAK,world(x, z+d, y+3*d),world(x+26, z+d, y+2+3*d),FillOperation.REPLACE) 
 +            d = d+1 
 +    Treppe3(-13, -63, 75,7) 
 + 
 +    def Treppe4(x,y,z, hohe3): 
 +        c = 0 
 +        while( c < hohe3): 
 +            blocks.fill(RED_WOOL,world(x, z+c, y+3*c),world(x+4, z+c, y+2+3*c),FillOperation.REPLACE) 
 +            c = c+1 
 +    Treppe4(-2, -60, 76,6) 
 +player.on_chat("kino bau", EFG) 
 + 
 + 
 +def ABC(): 
 + 
 +    #TreppeQuarz 
 +     
 +    def Treppe(x,y,z, hohe): 
 +        a = 0 
 +        while( a < hohe): 
 +            blocks.fill(QUARTZ_SLAB,world(x, z+a, y-2*a),world(x+2, z+a, y-1-2*a),FillOperation.REPLACE) 
 +            a = a+1 
 +    Treppe(-1,-3, 71,4) 
 + 
 +    blocks.fill(QUARTZ_SLAB, 
 +        world(1, 74, -11), 
 +        world(-1, 74, -16), 
 +        FillOperation.REPLACE) 
 +player.on_chat("treppe bau", ABC) 
 </code> </code>
 +
 +
  • gf2/projekte/2023/minecraft/2d1gruppe2.1706047659.txt.gz
  • Zuletzt geändert: 2024/01/23 23:07
  • von blanchardc