gf2:projekte:2024:minecraft:2d1gruppe3

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:2d1gruppe3 [2025/03/26 15:49] raemysigf2:projekte:2024:minecraft:2d1gruppe3 [2025/04/07 13:32] (aktuell) raemysi
Zeile 9: Zeile 9:
 1. Runningtrack 1. Runningtrack
 2. Boot auf Eis 2. Boot auf Eis
-3. Schwimmen 
 4. Elytra 4. Elytra
  
Zeile 19: Zeile 18:
 24.03.: 4 Abschnitte im Runningtrack: Wüste, Honig, Schnee, Nether, 200m lang. 24.03.: 4 Abschnitte im Runningtrack: Wüste, Honig, Schnee, Nether, 200m lang.
 Wüste: Kakteen (outside), Pyramide (inside) Wüste: Kakteen (outside), Pyramide (inside)
-Honig: Bienen 
 Schnee: Pouder-Snow, Iglu Schnee: Pouder-Snow, Iglu
 Nether: Portal (in/out), Lava Magma Nether: Portal (in/out), Lava Magma
Zeile 27: Zeile 25:
   * Boot auf Eis    * Boot auf Eis 
   * Boot bekommt man aus einer Chest    * Boot bekommt man aus einer Chest 
-  * sehr viele Kurven wo man fast runterfliegen kann  +  * sehr viele Kurven die extrem nerven können  
-  * wenn man runterfliegt dann stirbt man. +  * Man kann nicht sterben, nur gehindert werden 
-24.03.: 200m lang+
  
 Schwimmen: Schwimmen:
Zeile 38: Zeile 36:
 Elytra: Elytra:
  
-  * Ringe Parkour, man muss durch die Ringe fliegen, bekommt immer neue Raketen beim durchfliegen eines Ringes+  * Man muss durch zwei Löcher in zwei Wänden fliegen mit nur einer Rakete um ins Ziel zu gelangen.
  
-Offene Ideen: Mehrere Runden, Checkpoints+Offene Ideen: Mehrere Runden, Checkpoints - wurde weggestrichen
  
  
Zeile 139: Zeile 137:
      
   <code python>   <code python>
- #Simon+ #Hier ist der richtige Code
    
 def on_forever(): def on_forever():
Zeile 145: Zeile 143:
         y = player.position().get_value(Axis.Y)         y = player.position().get_value(Axis.Y)
         z = player.position().get_value(Axis.Z)         z = player.position().get_value(Axis.Z)
-        if (0<x<5) and (-66<y<2) and (-7<z<7):+        if (-1<x<10) and (-66<y<2) and (-7<z<7):
                 blocks.fill(COBWEB,                 blocks.fill(COBWEB,
                 world(4, -60, -6,),                 world(4, -60, -6,),
Zeile 158: Zeile 156:
                                
 loops.forever(on_forever) loops.forever(on_forever)
 +
 +def slow():
 +        x = player.position().get_value(Axis.X)
 +        y = player.position().get_value(Axis.Y)
 +        z = player.position().get_value(Axis.Z)
 +        if (32<x<62) and (-66<y<2) and (-7<z<7):
 +           player.execute("/effect @s slowness 20 3"
 +loops.forever(slow)
 +
  
 def Box(): def Box():
Zeile 167: Zeile 174:
  
 def on_on_chat(): def on_on_chat():
 +    
 +    gameplay.title(mobs.target(ALL_PLAYERS), "Ready?", "")
 +    
     blocks.fill(SAND,     blocks.fill(SAND,
         world(0, -61, -6),         world(0, -61, -6),
Zeile 172: Zeile 182:
     FillOperation.HOLLOW)     FillOperation.HOLLOW)
  
-    blocks.fill(AIR, 
-    world(-7, -61, -4), 
-    world(-15, -52, 4), 
-    FillOperation.HOLLOW) 
 #Schneegrund #Schneegrund
     blocks.fill(SNOW,     blocks.fill(SNOW,
Zeile 231: Zeile 237:
             blocks.fill(ICE, world(a, b, c), world(a, b, c), FillOperation.HOLLOW)             blocks.fill(ICE, world(a, b, c), world(a, b, c), FillOperation.HOLLOW)
  
 +    blocks.place(BED, world(51, -60, -5))
 #1. Layer #1. Layer
-    blocks.fill(SNOW,  +    blocks.fill(SNOW, world(61, -61, -7), world(85, -53, 7), FillOperation.HOLLOW)
-    world(61, -61, -7),  +
-    world(85, -53, 7),  +
-    FillOperation.HOLLOW)+
  
-    blocks.fill(SNOW,  +    gameplay.title(mobs.target(ALL_PLAYERS), "Set", ""
-    world(56, -60, -7),  +     
-    world(56, -55, 7),  +    blocks.fill(SNOW, world(56, -60, -7), world(56, -55, 7), FillOperation.HOLLOW)
-    FillOperation.HOLLOW)+
  
-    blocks.fill(AIR, +    blocks.fill(AIR,world(56, -60, -4), world(56, -57, 4), FillOperation.REPLACE)
-    world(56, -60, -4),  +
-    world(56, -57, 4),  +
-    FillOperation.REPLACE)+
  
-    blocks.fill(AIR, +    blocks.fill(AIR, world(56, -56, -2), world(56, -56, 2),FillOperation.REPLACE)
-    world(56, -56, -2), +
-    world(56, -56, 2), +
-    FillOperation.REPLACE)+
  
-    blocks.fill(AIR, +    blocks.fill(AIR,world(56, -58, -7), world(56, -55, -6), FillOperation.REPLACE)
-    world(56, -58, -7), +
-    world(56, -55, -6), +
-    FillOperation.REPLACE)+
  
-    blocks.fill(AIR, +    blocks.fill(AIR, world(56, -56, -5), world(56, -55, -5), FillOperation.REPLACE)
-    world(56, -56, -5), +
-    world(56, -55, -5), +
-    FillOperation.REPLACE)+
  
-    blocks.fill(AIR, +    blocks.fill(AIR, world(56, -55, -4), world(56, -55, -3), FillOperation.REPLACE)
-    world(56, -55, -4), +
-    world(56, -55, -3), +
-    FillOperation.REPLACE)+
          
-    blocks.fill(AIR, +    blocks.fill(AIR, world(56, -58, 7), world(56, -55, 6), FillOperation.REPLACE)
-    world(56, -58, 7), +
-    world(56, -55, 6), +
-    FillOperation.REPLACE)+
          
-    blocks.fill(AIR, +    blocks.fill(AIR, world(56, -56, 5), world(56, -55, 5), FillOperation.REPLACE)
-    world(56, -56, 5), +
-    world(56, -55, 5), +
-    FillOperation.REPLACE)+
          
-    blocks.fill(AIR, +    blocks.fill(AIR, world(56, -55, 4), world(56, -55, 3), FillOperation.REPLACE)
-    world(56, -55, 4), +
-    world(56, -55, 3), +
-    FillOperation.REPLACE)+
          
 #2. Layer  #2. Layer 
-    blocks.fill(SNOW, +    blocks.fill(SNOW, world(57, -60, -7), world(57, -55, 7), FillOperation.HOLLOW)
-    world(57, -60, -7), +
-    world(57, -55, 7), +
-    FillOperation.HOLLOW)+
  
-    blocks.fill(AIR, +    blocks.fill(AIR, world(57, -56, -7), world(57, -55, -5), FillOperation.HOLLOW)
-    world(57, -56, -7), +
-    world(57, -55, -5), +
-    FillOperation.HOLLOW)+
  
-    blocks.fill(AIR, +    blocks.fill(AIR, world(57, -55, -4), world(57, -55, -4), FillOperation.HOLLOW)
-    world(57, -55, -4), +
-    world(57, -55, -4), +
-    FillOperation.HOLLOW)+
  
-    blocks.fill(AIR, +    blocks.fill(AIR, world(57, -57, -7), world(57, -57, -7), FillOperation.HOLLOW)
-    world(57, -57, -7), +
-    world(57, -57, -7), +
-    FillOperation.HOLLOW)+
  
-    blocks.fill(AIR, +    blocks.fill(AIR, world(57, -56, 7), world(57, -55, 5), FillOperation.HOLLOW)
-    world(57, -56, 7), +
-    world(57, -55, 5), +
-    FillOperation.HOLLOW)+
  
-    blocks.fill(AIR, +    blocks.fill(AIR, world(57, -55, 4), world(57, -55, 4), FillOperation.HOLLOW)
-    world(57, -55, 4), +
-    world(57, -55, 4), +
-    FillOperation.HOLLOW)+
  
-    blocks.fill(AIR, +    blocks.fill(AIR, world(57, -57, 7), world(57, -57, 7), FillOperation.HOLLOW)
-    world(57, -57, 7), +
-    world(57, -57, 7), +
-    FillOperation.HOLLOW)+
  
-    blocks.fill(AIR, +    blocks.fill(AIR, world(57, -60, -4), world(57, -57, 4), FillOperation.REPLACE)
-    world(57, -60, -4), +
-    world(57, -57, 4), +
-    FillOperation.REPLACE)+
  
-    blocks.fill(AIR, +    blocks.fill(AIR, world(57, -56, -2), world(57, -56, 2), FillOperation.REPLACE)
-    world(57, -56, -2), +
-    world(57, -56, 2), +
-    FillOperation.REPLACE)+
  
 #3. Layer #3. Layer
-    blocks.fill(SNOW, +    blocks.fill(SNOW, world(58, -60, -8), world(58, -54, 8), FillOperation.HOLLOW)
-    world(58, -60, -8), +
-    world(58, -54, 8), +
-    FillOperation.HOLLOW)+
  
-    blocks.fill(AIR, +    blocks.fill(AIR, world(58, -56, -8), world(58, -54, -7), FillOperation.REPLACE)
-    world(58, -56, -8), +
-    world(58, -54, -7), +
-    FillOperation.REPLACE)+
  
-    blocks.fill(AIR, +    blocks.fill(AIR, world(58, -55, -6), world(58, -54, -6), FillOperation.REPLACE)
-    world(58, -55, -6), +
-    world(58, -54, -6), +
-    FillOperation.REPLACE)+
  
-    blocks.fill(AIR, +    blocks.fill(AIR, world(58, -54, -5), world(58, -54, -3), FillOperation.REPLACE)
-    world(58, -54, -5), +
-    world(58, -54, -3), +
-    FillOperation.REPLACE)+
  
-    blocks.fill(AIR, +    blocks.fill(AIR, world(58, -56, 8), world(58, -54, 7), FillOperation.REPLACE)
-    world(58, -56, 8), +
-    world(58, -54, 7), +
-    FillOperation.REPLACE)+
  
-    blocks.fill(AIR, +    blocks.fill(AIR, world(58, -55, 6), world(58, -54, 6), FillOperation.REPLACE)
-    world(58, -55, 6), +
-    world(58, -54, 6), +
-    FillOperation.REPLACE)+
  
-    blocks.fill(AIR, +    blocks.fill(AIR, world(58, -54, 5), world(58, -54, 3), FillOperation.REPLACE)
-    world(58, -54, 5), +
-    world(58, -54, 3), +
-    FillOperation.REPLACE)+
  
-    blocks.fill(AIR, +    blocks.fill(AIR, world(58, -60, -4), world(58, -57, 4), FillOperation.REPLACE)
-    world(58, -60, -4), +
-    world(58, -57, 4), +
-    FillOperation.REPLACE)+
  
-    blocks.fill(AIR, +    blocks.fill(AIR, world(58, -56, -2), world(58, -56, 2), FillOperation.REPLACE)
-    world(58, -56, -2), +
-    world(58, -56, 2), +
-    FillOperation.REPLACE)+
  
 #4. Layer #4. Layer
  
-    blocks.fill(SNOW, +    blocks.fill(SNOW, world(59, -60, -9), world(59, -53, 9), FillOperation.HOLLOW)
-    world(59, -60, -9), +
-    world(59, -53, 9), +
-    FillOperation.HOLLOW)+
  
-    blocks.fill(AIR, +    blocks.fill(AIR, world(59, -56, -9), world(59, -53, -9), FillOperation.REPLACE)
-    world(59, -56, -9), +
-    world(59, -53, -9), +
-    FillOperation.REPLACE)+
  
-    blocks.fill(AIR, +    blocks.fill(AIR, world(59, -55, -8), world(59, -53, -8), FillOperation.REPLACE)
-    world(59, -55, -8), +
-    world(59, -53, -8), +
-    FillOperation.REPLACE)+
  
-    blocks.fill(AIR, +    blocks.fill(AIR, world(59, -54, -7), world(59, -53, -7), FillOperation.REPLACE)
-    world(59, -54, -7), +
-    world(59, -53, -7), +
-    FillOperation.REPLACE)+
  
-    blocks.fill(AIR, +    blocks.fill(AIR, world(59, -53, -6), world(59, -53, -4), FillOperation.REPLACE)
-    world(59, -53, -6), +
-    world(59, -53, -4), +
-    FillOperation.REPLACE)+
  
-    blocks.fill(AIR, +    blocks.fill(AIR, world(59, -56, 9), world(59, -53, 9), FillOperation.REPLACE)
-    world(59, -56, 9), +
-    world(59, -53, 9), +
-    FillOperation.REPLACE)+
  
-    blocks.fill(AIR, +    blocks.fill(AIR, world(59, -55, 8), world(59, -53, 8), FillOperation.REPLACE)
-    world(59, -55, 8), +
-    world(59, -53, 8), +
-    FillOperation.REPLACE)+
  
-    blocks.fill(AIR, +    blocks.fill(AIR, world(59, -54, 7), world(59, -53, 7), FillOperation.REPLACE)
-    world(59, -54, 7), +
-    world(59, -53, 7), +
-    FillOperation.REPLACE)+
  
-    blocks.fill(AIR, +    blocks.fill(AIR, world(59, -53, 6), world(59, -53, 4), FillOperation.REPLACE)
-    world(59, -53, 6), +
-    world(59, -53, 4), +
-    FillOperation.REPLACE)+
  
 +    blocks.fill(AIR, world(59, -60, -4), world(59, -57, 4), FillOperation.REPLACE)
  
-    blocks.fill(AIR, +    blocks.fill(AIR, world(59, -56, -2), world(59, -562), FillOperation.REPLACE) 
-    world(59, -60, -4), +#Box Weg 
-    world(59, -574), +    gameplay.title(mobs.target(ALL_PLAYERS), "GOOOO!!", ""
-    FillOperation.REPLACE) +     
- +    blocks.fill(AIR, world(-7, -61, -4), world(-15, -524), FillOperation.HOLLOW)
-    blocks.fill(AIR, +
-    world(59, -56, -2), +
-    world(59, -562), +
-    FillOperation.REPLACE) +
 #5. Layer #5. Layer
  
-    blocks.fill(SNOW, +    blocks.fill(SNOW, world(60, -60, -9), world(60, -52, 9), FillOperation.HOLLOW)
-    world(60, -60, -9), +
-    world(60, -52, 9), +
-    FillOperation.HOLLOW)+
  
-    blocks.fill(AIR, +    blocks.fill(AIR, world(60, -56, -9), world(60, -52, -9), FillOperation.REPLACE)
-    world(60, -56, -9), +
-    world(60, -52, -9), +
-    FillOperation.REPLACE)+
  
-    blocks.fill(AIR, +    blocks.fill(AIR, world(60, -54, -8), world(60, -52, -8), FillOperation.REPLACE)
-    world(60, -54, -8), +
-    world(60, -52, -8), +
-    FillOperation.REPLACE)+
  
-    blocks.fill(AIR, +    blocks.fill(AIR, world(60, -53, -7), world(60, -52, -7), FillOperation.REPLACE)
-    world(60, -53, -7), +
-    world(60, -52, -7), +
-    FillOperation.REPLACE)+
  
-    blocks.fill(AIR, +    blocks.fill(AIR, world(60, -52, -6), world(60, -52, -4), FillOperation.REPLACE)
-    world(60, -52, -6), +
-    world(60, -52, -4), +
-    FillOperation.REPLACE)+
  
-    blocks.fill(AIR, +    blocks.fill(AIR, world(60, -56, 9), world(60, -52, 9), FillOperation.REPLACE)
-    world(60, -56, 9), +
-    world(60, -52, 9), +
-    FillOperation.REPLACE)+
  
-    blocks.fill(AIR, +    blocks.fill(AIR, world(60, -54, 8), world(60, -52, 8), FillOperation.REPLACE)
-    world(60, -54, 8), +
-    world(60, -52, 8), +
-    FillOperation.REPLACE)+
  
-    blocks.fill(AIR, +    blocks.fill(AIR, world(60, -53, 7), world(60, -52, 7), FillOperation.REPLACE)
-    world(60, -53, 7), +
-    world(60, -52, 7), +
-    FillOperation.REPLACE)+
  
-    blocks.fill(AIR, +    blocks.fill(AIR, world(60, -52, 6), world(60, -52, 4), FillOperation.REPLACE)
-    world(60, -52, 6), +
-    world(60, -52, 4), +
-    FillOperation.REPLACE)+
  
  
-    blocks.fill(AIR, +    blocks.fill(AIR, world(60, -60, -4), world(60, -57, 4), FillOperation.REPLACE)
-    world(60, -60, -4), +
-    world(60, -57, 4), +
-    FillOperation.REPLACE)+
  
-    blocks.fill(AIR, +    blocks.fill(AIR, world(60, -56, -2), world(60, -56, 2), FillOperation.REPLACE)
-    world(60, -56, -2), +
-    world(60, -56, 2), +
-    FillOperation.REPLACE)+
  
 #6. Layer #6. Layer
-    blocks.fill(SNOW, +    blocks.fill(SNOW, world(61, -60, -9), world(61, -51, 9), FillOperation.HOLLOW)
-    world(61, -60, -9), +
-    world(61, -51, 9), +
-    FillOperation.HOLLOW)+
  
-    blocks.fill(POWDER_SNOW, +    blocks.fill(POWDER_SNOW, world(61, -61, -6), world(85, -64, 6), FillOperation.HOLLOW)
-    world(61, -61, -6), +
-    world(85, -64, 6), +
-    FillOperation.HOLLOW)+
          
-    blocks.fill(SNOW, +    blocks.fill(SNOW, world(61, -61, 2), world(61, -61, 2), FillOperation.HOLLOW)
-    world(61, -61, 2), +
-    world(61, -61, 2), +
-    FillOperation.HOLLOW)+
  
-    blocks.fill(AIR, +    blocks.fill(SNOW, world(62, -61, -6), world(64, -616), FillOperation.HOLLOW)
-    world(61, -56, -9), +
-    world(61, -51-9), +
-    FillOperation.REPLACE)+
  
-    blocks.fill(AIR, +    blocks.fill(RED_CONCRETE, world(65, -61, -6), world(65, -616), FillOperation.HOLLOW)
-    world(61, -53, -8), +
-    world(61, -51-8), +
-    FillOperation.REPLACE)+
  
-    blocks.fill(AIR, +    blocks.fill(AIR, world(61, -56, -9), world(61, -51, -9), FillOperation.REPLACE)
-    world(61, -52, -7), +
-    world(61, -51, -7), +
-    FillOperation.REPLACE)+
  
-    blocks.fill(AIR, +    blocks.fill(AIR, world(61, -53, -8), world(61, -51, -8), FillOperation.REPLACE)
-    world(61, -51, -6), +
-    world(61, -51, -5), +
-    FillOperation.REPLACE)+
  
-    blocks.fill(AIR, +    blocks.fill(AIR, world(61, -52-7), world(61, -51, -7), FillOperation.REPLACE)
-    world(61, -569), +
-    world(61, -51, 9), +
-    FillOperation.REPLACE)+
  
-    blocks.fill(AIR, +    blocks.fill(AIR, world(61, -51-6), world(61, -51, -5), FillOperation.REPLACE)
-    world(61, -538), +
-    world(61, -51, 8), +
-    FillOperation.REPLACE)+
  
-    blocks.fill(AIR, +    blocks.fill(AIR, world(61, -569), world(61, -51, 9), FillOperation.REPLACE)
-    world(61, -527), +
-    world(61, -51, 7), +
-    FillOperation.REPLACE)+
  
-    blocks.fill(AIR, +    blocks.fill(AIR, world(61, -53, 8), world(61, -51, 8), FillOperation.REPLACE) 
-    world(61, -51, 6), + 
-    world(61, -51, 5), +    blocks.fill(AIR, world(61, -52, 7), world(61, -51, 7), FillOperation.REPLACE) 
-    FillOperation.REPLACE)    + 
 +    blocks.fill(AIR, world(61, -51, 6), world(61, -51, 5), FillOperation.REPLACE)    
  
  
Zeile 554: Zeile 385:
             world(61, -59, i),             world(61, -59, i),
             FillOperation.HOLLOW)             FillOperation.HOLLOW)
 +
 + #Wegweiser   
 +    blocks.fill(GLOWSTONE, world(65, -53, 0), world(66, -53, 0), FillOperation.REPLACE)
 +
 +    blocks.fill(GLOWSTONE, world(66, -53, -1), world(66, -53, -3), FillOperation.REPLACE)
 +
 +    blocks.fill(GLOWSTONE, world(67, -53, -3), world(68, -53, -3), FillOperation.REPLACE)
 +
 +    blocks.fill(GLOWSTONE, world(68, -53, -4), world(68, -53, -5), FillOperation.REPLACE)
 +
 +    blocks.fill(GLOWSTONE, world(69, -53, -5), world(70, -53, -5), FillOperation.REPLACE)
 +
 +    blocks.fill(GLOWSTONE, world(71, -53, -5), world(71, -53, -1), FillOperation.REPLACE)
 +
 +    blocks.fill(GLOWSTONE, world(70, -53, -1), world(69, -53, -1), FillOperation.REPLACE)
 +
 +    blocks.fill(GLOWSTONE, world(69, -53, 0), world(69, -53, 1), FillOperation.REPLACE)
 +
 +    blocks.fill(GLOWSTONE, world(70, -53, 1), world(72, -53, 1), FillOperation.REPLACE)
 +
 +    blocks.fill(GLOWSTONE, world(72, -53, 2), world(72, -53, 4), FillOperation.REPLACE)
 +
 +    blocks.fill(GLOWSTONE, world(75, -53, 4), world(75, -53, 2), FillOperation.REPLACE)
 +
 +    blocks.fill(GLOWSTONE, world(74, -53, 2), world(74, -53, 0), FillOperation.REPLACE)
 +
 +    blocks.fill(GLOWSTONE, world(75, -53, 0), world(76, -53, 0), FillOperation.REPLACE)
 +
 +    blocks.fill(GLOWSTONE, world(76, -53, -1), world(76, -53, -2), FillOperation.REPLACE)
 +
 +    blocks.fill(GLOWSTONE, world(75, -53, -5), world(75, -53, -2), FillOperation.REPLACE)
 +
 +    blocks.fill(GLOWSTONE, world(76, -53, -5), world(79, -53, -5), FillOperation.REPLACE)
 +
 +    blocks.fill(GLOWSTONE, world(79, -53, -4), world(80, -53, -4), FillOperation.REPLACE)
 +
 +#Weg
 +    blocks.fill(SNOW, world(66, -61, 0), world(66, -61, 0), FillOperation.REPLACE)
 +
 +    blocks.fill(SNOW, world(66, -61, -1), world(66, -61, -3), FillOperation.REPLACE)
 +
 +    blocks.fill(SNOW, world(67, -61, -3), world(68, -61, -3), FillOperation.REPLACE)
 +
 +    blocks.fill(SNOW, world(68, -61, -4), world(68, -61, -5), FillOperation.REPLACE)
 +
 +    blocks.fill(SNOW, world(69, -61, -5), world(70, -61, -5), FillOperation.REPLACE)
 +
 +    blocks.fill(SNOW, world(71, -61, -5), world(71, -61, -1), FillOperation.REPLACE)
 +
 +    blocks.fill(SNOW, world(70, -61, -1), world(69, -61, -1), FillOperation.REPLACE)
 +
 +    blocks.fill(SNOW, world(69, -61, 0), world(69, -61, 1), FillOperation.REPLACE)
 +
 +    blocks.fill(SNOW, world(70, -61, 1), world(72, -61, 1), FillOperation.REPLACE)
 +
 +    blocks.fill(SNOW, world(72, -61, 2), world(72, -61, 4), FillOperation.REPLACE)
 +
 +    blocks.fill(SNOW, world(75, -61, 4), world(75, -61, 2), FillOperation.REPLACE)
 +
 +    blocks.fill(SNOW, world(74, -61, 2), world(74, -61, 0), FillOperation.REPLACE)
 +
 +    blocks.fill(SNOW, world(75, -61, 0), world(76, -61, 0), FillOperation.REPLACE)
 +
 +    blocks.fill(SNOW, world(76, -61, -1), world(76, -61, -2), FillOperation.REPLACE)
 +
 +    blocks.fill(SNOW, world(75, -61, -5),  world(75, -61, -2), FillOperation.REPLACE)
 +
 +    blocks.fill(SNOW, world(76, -61, -5), world(79, -61, -5), FillOperation.REPLACE)
 +
 +    blocks.fill(SNOW, world(79, -61, -4), world(80, -61, -4), FillOperation.REPLACE)
 +
 +#Savezone
 +    blocks.fill(RED_CONCRETE, world(81, -61, -6), world(81, -61, 6), FillOperation.HOLLOW)
 +
 +    blocks.fill(SNOW, world(82, -61, -6), world(84, -61, 6), FillOperation.HOLLOW)
 +
 +    blocks.place(SNOW, world(85, -61, 4))
 +    
 #Backside #Backside
 #1. Layer #1. Layer
-    blocks.fill(SNOW, +    blocks.fill(SNOW, world(85, -60, -9), world(85, -51, 9), FillOperation.HOLLOW)
-    world(85, -60, -9), +
-    world(85, -51, 9), +
-    FillOperation.HOLLOW)+
  
-    blocks.fill(AIR, +    blocks.fill(AIR, world(85, -56, -9), world(85, -51, -9), FillOperation.REPLACE)
-    world(85, -56, -9), +
-    world(85, -51, -9), +
-    FillOperation.REPLACE)+
  
-    blocks.fill(AIR, +    blocks.fill(AIR, world(85, -53, -8), world(85, -51, -8), FillOperation.REPLACE)
-    world(85, -53, -8), +
-    world(85, -51, -8), +
-    FillOperation.REPLACE)+
  
-    blocks.fill(AIR, +    blocks.fill(AIR, world(85, -52, -7), world(85, -51, -7), FillOperation.REPLACE)
-    world(85, -52, -7), +
-    world(85, -51, -7), +
-    FillOperation.REPLACE)+
  
-    blocks.fill(AIR, +    blocks.fill(AIR, world(85, -51, -6), world(85, -51, -5), FillOperation.REPLACE)
-    world(85, -51, -6), +
-    world(85, -51, -5), +
-    FillOperation.REPLACE)+
  
-    blocks.fill(AIR, +    blocks.fill(AIR, world(85, -56, 9), world(85, -51, 9), FillOperation.REPLACE)
-    world(85, -56, 9), +
-    world(85, -51, 9), +
-    FillOperation.REPLACE)+
  
-    blocks.fill(AIR, +    blocks.fill(AIR, world(85, -53, 8), world(85, -51, 8), FillOperation.REPLACE)
-    world(85, -53, 8), +
-    world(85, -51, 8), +
-    FillOperation.REPLACE)+
  
-    blocks.fill(AIR, +    blocks.fill(AIR, world(85, -52, 7), world(85, -51, 7), FillOperation.REPLACE)
-    world(85, -52, 7), +
-    world(85, -51, 7), +
-    FillOperation.REPLACE)+
  
-    blocks.fill(AIR, +    blocks.fill(AIR, world(85, -51, 6), world(85, -51, 5), FillOperation.REPLACE)
-    world(85, -51, 6), +
-    world(85, -51, 5), +
-    FillOperation.REPLACE)+
  
  
Zeile 610: Zeile 492:
  
 #2. Layer #2. Layer
-    blocks.fill(SNOW, +    blocks.fill(SNOW, world(86, -60, -9), world(86, -52, 9), FillOperation.HOLLOW)
-    world(86, -60, -9), +
-    world(86, -52, 9), +
-    FillOperation.HOLLOW)+
  
-    blocks.fill(AIR, +    blocks.fill(AIR, world(86, -56, -9), world(86, -52, -9), FillOperation.REPLACE)
-    world(86, -56, -9), +
-    world(86, -52, -9), +
-    FillOperation.REPLACE)+
  
     blocks.fill(AIR,     blocks.fill(AIR,
Zeile 625: Zeile 501:
     FillOperation.REPLACE)     FillOperation.REPLACE)
  
-    blocks.fill(AIR, +    blocks.fill(AIR, world(86, -53, -7), world(86, -52, -7), FillOperation.REPLACE)
-    world(86, -53, -7), +
-    world(86, -52, -7), +
-    FillOperation.REPLACE)+
  
-    blocks.fill(AIR, +    blocks.fill(AIR, world(86, -52, -6), world(86, -52, -4), FillOperation.REPLACE)
-    world(86, -52, -6), +
-    world(86, -52, -4), +
-    FillOperation.REPLACE)+
  
-    blocks.fill(AIR, +    blocks.fill(AIR, world(86, -56, 9), world(86, -52, 9), FillOperation.REPLACE)
-    world(86, -56, 9), +
-    world(86, -52, 9), +
-    FillOperation.REPLACE)+
  
-    blocks.fill(AIR, +    blocks.fill(AIR, world(86, -54, 8), world(86, -52, 8), FillOperation.REPLACE)
-    world(86, -54, 8), +
-    world(86, -52, 8), +
-    FillOperation.REPLACE)+
  
-    blocks.fill(AIR, +    blocks.fill(AIR, world(86, -53, 7), world(86, -52, 7), FillOperation.REPLACE)
-    world(86, -53, 7), +
-    world(86, -52, 7), +
-    FillOperation.REPLACE)+
  
-    blocks.fill(AIR, +    blocks.fill(AIR, world(86, -52, 6), world(86, -52, 4), FillOperation.REPLACE)
-    world(86, -52, 6), +
-    world(86, -52, 4), +
-    FillOperation.REPLACE)+
  
  
-    blocks.fill(AIR, +    blocks.fill(AIR, world(86, -60, -4), world(86, -57, 4), FillOperation.REPLACE)
-    world(86, -60, -4), +
-    world(86, -57, 4), +
-    FillOperation.REPLACE)+
  
-    blocks.fill(AIR, +    blocks.fill(AIR, world(86, -56, -2), world(86, -56, 2), FillOperation.REPLACE)
-    world(86, -56, -2), +
-    world(86, -56, 2), +
-    FillOperation.REPLACE)+
  
 #3. Layer #3. Layer
  
-    blocks.fill(SNOW, +    blocks.fill(SNOW, world(87, -60, -9), world(87, -53, 9), FillOperation.HOLLOW)
-    world(87, -60, -9), +
-    world(87, -53, 9), +
-    FillOperation.HOLLOW)+
  
-    blocks.fill(AIR, +    blocks.fill(AIR, world(87, -56, -9), world(87, -53, -9), FillOperation.REPLACE)
-    world(87, -56, -9), +
-    world(87, -53, -9), +
-    FillOperation.REPLACE)+
  
-    blocks.fill(AIR, +    blocks.fill(AIR, world(87, -55, -8), world(87, -53, -8), FillOperation.REPLACE)
-    world(87, -55, -8), +
-    world(87, -53, -8), +
-    FillOperation.REPLACE)+
  
-    blocks.fill(AIR, +    blocks.fill(AIR, world(87, -54, -7), world(87, -53, -7), FillOperation.REPLACE)
-    world(87, -54, -7), +
-    world(87, -53, -7), +
-    FillOperation.REPLACE)+
  
-    blocks.fill(AIR, +    blocks.fill(AIR, world(87, -53, -6), world(87, -53, -4), FillOperation.REPLACE)
-    world(87, -53, -6), +
-    world(87, -53, -4), +
-    FillOperation.REPLACE)+
  
-    blocks.fill(AIR, +    blocks.fill(AIR, world(87, -56, 9), world(87, -53, 9), FillOperation.REPLACE)
-    world(87, -56, 9), +
-    world(87, -53, 9), +
-    FillOperation.REPLACE)+
  
-    blocks.fill(AIR, +    blocks.fill(AIR, world(87, -55, 8), world(87, -53, 8), FillOperation.REPLACE)
-    world(87, -55, 8), +
-    world(87, -53, 8), +
-    FillOperation.REPLACE)+
  
-    blocks.fill(AIR, +    blocks.fill(AIR, world(87, -54, 7), world(87, -53, 7), FillOperation.REPLACE)
-    world(87, -54, 7), +
-    world(87, -53, 7), +
-    FillOperation.REPLACE)+
  
-    blocks.fill(AIR, +    blocks.fill(AIR, world(87, -53, 6), world(87, -53, 4), FillOperation.REPLACE)
-    world(87, -53, 6), +
-    world(87, -53, 4), +
-    FillOperation.REPLACE)+
  
-    blocks.fill(AIR, +    blocks.fill(AIR, world(87, -60, -4), world(87, -57, 4), FillOperation.REPLACE)
-    world(87, -60, -4), +
-    world(87, -57, 4), +
-    FillOperation.REPLACE)+
  
-    blocks.fill(AIR, +    blocks.fill(AIR, world(87, -56, -2), world(87, -56, 2), FillOperation.REPLACE)
-    world(87, -56, -2), +
-    world(87, -56, 2), +
-    FillOperation.REPLACE)+
  
 #4. Layer #4. Layer
-    blocks.fill(SNOW, +    blocks.fill(SNOW, world(88, -60, -8), world(88, -54, 8), FillOperation.HOLLOW)
-    world(88, -60, -8), +
-    world(88, -54, 8), +
-    FillOperation.HOLLOW)+
  
-    blocks.fill(AIR, +    blocks.fill(AIR, world(88, -56, -8), world(88, -54, -7), FillOperation.REPLACE)
-    world(88, -56, -8), +
-    world(88, -54, -7), +
-    FillOperation.REPLACE)+
  
-    blocks.fill(AIR, +    blocks.fill(AIR, world(88, -55, -6), world(88, -54, -6), FillOperation.REPLACE)
-    world(88, -55, -6), +
-    world(88, -54, -6), +
-    FillOperation.REPLACE)+
  
-    blocks.fill(AIR, +    blocks.fill(AIR, world(88, -54, -5), world(88, -54, -3), FillOperation.REPLACE)
-    world(88, -54, -5), +
-    world(88, -54, -3), +
-    FillOperation.REPLACE)+
  
-    blocks.fill(AIR, +    blocks.fill(AIR, world(88, -56, 8), world(88, -54, 7), FillOperation.REPLACE)
-    world(88, -56, 8), +
-    world(88, -54, 7), +
-    FillOperation.REPLACE)+
  
-    blocks.fill(AIR, +    blocks.fill(AIR, world(88, -55, 6), world(88, -54, 6), FillOperation.REPLACE)
-    world(88, -55, 6), +
-    world(88, -54, 6), +
-    FillOperation.REPLACE)+
  
-    blocks.fill(AIR, +    blocks.fill(AIR, world(88, -54, 5), world(88, -54, 3), FillOperation.REPLACE)
-    world(88, -54, 5), +
-    world(88, -54, 3), +
-    FillOperation.REPLACE)+
  
-    blocks.fill(AIR, +    blocks.fill(AIR, world(88, -60, -4), world(88, -57, 4), FillOperation.REPLACE)
-    world(88, -60, -4), +
-    world(88, -57, 4), +
-    FillOperation.REPLACE)+
  
-    blocks.fill(AIR, +    blocks.fill(AIR, world(88, -56, -2), world(88, -56, 2), FillOperation.REPLACE)
-    world(88, -56, -2), +
-    world(88, -56, 2), +
-    FillOperation.REPLACE)+
  
 #5. Layer #5. Layer
-    blocks.fill(SNOW, +    blocks.fill(SNOW, world(89, -60, -7), world(89, -55, 7), FillOperation.HOLLOW)
-    world(89, -60, -7), +
-    world(89, -55, 7), +
-    FillOperation.HOLLOW)+
  
-    blocks.fill(AIR, +    blocks.fill(AIR, world(89, -56, -7), world(89, -55, -5), FillOperation.HOLLOW)
-    world(89, -56, -7), +
-    world(89, -55, -5), +
-    FillOperation.HOLLOW)+
  
-    blocks.fill(AIR, +    blocks.fill(AIR, world(89, -55, -4), world(89, -55, -4), FillOperation.HOLLOW)
-    world(89, -55, -4), +
-    world(89, -55, -4), +
-    FillOperation.HOLLOW)+
  
-    blocks.fill(AIR, +    blocks.fill(AIR, world(89, -57, -7), world(89, -57, -7), FillOperation.HOLLOW)
-    world(89, -57, -7), +
-    world(89, -57, -7), +
-    FillOperation.HOLLOW)+
  
-    blocks.fill(AIR, +    blocks.fill(AIR, world(89, -56, 7), world(89, -55, 5), FillOperation.HOLLOW)
-    world(89, -56, 7), +
-    world(89, -55, 5), +
-    FillOperation.HOLLOW)+
  
-    blocks.fill(AIR, +    blocks.fill(AIR, world(89, -55, 4), world(89, -55, 4), FillOperation.HOLLOW)
-    world(89, -55, 4), +
-    world(89, -55, 4), +
-    FillOperation.HOLLOW)+
  
-    blocks.fill(AIR, +    blocks.fill(AIR, world(89, -57, 7), world(89, -57, 7), FillOperation.HOLLOW)
-    world(89, -57, 7), +
-    world(89, -57, 7), +
-    FillOperation.HOLLOW)+
  
-    blocks.fill(AIR, +    blocks.fill(AIR, world(89, -60, -4), world(89, -57, 4), FillOperation.REPLACE)
-    world(89, -60, -4), +
-    world(89, -57, 4), +
-    FillOperation.REPLACE)+
  
-    blocks.fill(AIR, +    blocks.fill(AIR, world(89, -56, -2), world(89, -56, 2), FillOperation.REPLACE)
-    world(89, -56, -2), +
-    world(89, -56, 2), +
-    FillOperation.REPLACE)+
  
 #6. Layer #6. Layer
-    blocks.fill(SNOW, +    blocks.fill(SNOW, world(90, -60, -7), world(90, -55, 7), FillOperation.HOLLOW)
-    world(90, -60, -7), +
-    world(90, -55, 7), +
-    FillOperation.HOLLOW)+
  
-    blocks.fill(AIR, +    blocks.fill(AIR, world(90, -60, -4), world(90, -57, 4), FillOperation.REPLACE)
-    world(90, -60, -4), +
-    world(90, -57, 4), +
-    FillOperation.REPLACE)+
  
-    blocks.fill(AIR, +    blocks.fill(AIR, world(90, -56, -2), world(90, -56, 2), FillOperation.REPLACE)
-    world(90, -56, -2), +
-    world(90, -56, 2), +
-    FillOperation.REPLACE)+
  
-    blocks.fill(AIR, +    blocks.fill(AIR, world(90, -58, -7), world(90, -55, -6), FillOperation.REPLACE)
-    world(90, -58, -7), +
-    world(90, -55, -6), +
-    FillOperation.REPLACE)+
  
-    blocks.fill(AIR, +    blocks.fill(AIR, world(90, -56, -5), world(90, -55, -5), FillOperation.REPLACE)
-    world(90, -56, -5), +
-    world(90, -55, -5), +
-    FillOperation.REPLACE)+
  
-    blocks.fill(AIR, +    blocks.fill(AIR, world(90, -55, -4), world(90, -55, -3), FillOperation.REPLACE)
-    world(90, -55, -4), +
-    world(90, -55, -3), +
-    FillOperation.REPLACE)+
          
-    blocks.fill(AIR, +    blocks.fill(AIR, world(90, -58, 7), world(90, -55, 6), FillOperation.REPLACE)
-    world(90, -58, 7), +
-    world(90, -55, 6), +
-    FillOperation.REPLACE)+
          
-    blocks.fill(AIR, +    blocks.fill(AIR, world(90, -56, 5), world(90, -55, 5), FillOperation.REPLACE)
-    world(90, -56, 5), +
-    world(90, -55, 5), +
-    FillOperation.REPLACE)+
          
-    blocks.fill(AIR, +    blocks.fill(AIR, world(90, -55, 4), world(90, -55, 3), FillOperation.REPLACE)
-    world(90, -55, 4), +
-    world(90, -55, 3), +
-    FillOperation.REPLACE)+
  
-#Ha ki Bock mehendlich isch das kack Iglu fertig!+player.on_chat("start"on_on_chat)
  
 +def on_travelled_swim_lava():
 +    mobs.apply_effect(FIRE_RESISTANCE, mobs.target(NEAREST_PLAYER), 2, 255)
 +    mobs.apply_effect(REGENERATION, mobs.target(NEAREST_PLAYER), 2, 255)
 +    player.teleport(world(100, -59, 0))
 +    player.tell(mobs.target(NEAREST_PLAYER), "Pass auf wo du hinfällst!")
 +player.on_travelled(SWIM_LAVA, on_travelled_swim_lava)
 +
 +#Lavapart
 +def on_travelled_swim_lava():
 +    mobs.apply_effect(FIRE_RESISTANCE, mobs.target(NEAREST_PLAYER), 2, 255)
 +    mobs.apply_effect(REGENERATION, mobs.target(NEAREST_PLAYER), 2, 255)
 +    player.teleport(world(100, -59, 0))
 +    player.tell(mobs.target(NEAREST_PLAYER), "Pass auf wo du hinfällst!")
 +player.on_travelled(SWIM_LAVA, on_travelled_swim_lava)
 +
 +
 +def on_on_chat():
 +    # boden
 +      blocks.fill(GLASS, world(150, -60, -7), world(91, -55, -7), FillOperation.HOLLOW)
 +      blocks.fill(GLASS, world(150, -60, 7), world(91, -55, 7), FillOperation.HOLLOW)
 +      blocks.fill(NETHERRACK,
 +          world(101, -61, -6),
 +          world(150, -61, 6),
 +          FillOperation.REPLACE)
 +    #treppe
 +
 +      blocks.fill(NETHER_BRICK_STAIRS,
 +          world(101, -60, -2),
 +          world(101, -60, 2),
 +          FillOperation.REPLACE)
 +      blocks.fill(NETHER_BRICK,
 +          world(103, -60, 2),
 +          world(102, -59, -2),
 +          FillOperation.REPLACE)
 +      
 +      blocks.fill(NETHER_BRICK_STAIRS,
 +          world(103, -58, -2),
 +          world(103, -58, 2),
 +          FillOperation.REPLACE)
 +      
 +      blocks.fill(NETHER_BRICK_STAIRS,
 +          world(102, -59, -2),
 +          world(102, -59, 2),
 +          FillOperation.REPLACE)
 +    # Festung1
 +
 +      blocks.fill(NETHER_BRICK,
 +          world(104, -60, 3),
 +          world(112, -58, -3),
 +          FillOperation.REPLACE)
 +      blocks.fill(AIR,
 +          world(107, -60, -3),
 +          world(109, -58, 3),
 +          FillOperation.REPLACE)
 +      blocks.fill(NETHER_BRICK,
 +          world(134, -60, 3),
 +          world(142, -58, -3),
 +          FillOperation.REPLACE)
 +    # Lava
 +
 +      blocks.fill(LAVA,
 +          world(107, -61, -3),
 +          world(109, -61, 3),
 +          FillOperation.REPLACE)
 +      blocks.fill(LAVA,
 +          world(113, -61, -6),
 +          world(133, -61, 6),
 +          FillOperation.REPLACE)
 +      blocks.fill(LAVA,
 +          world(143, -61, -6),
 +          world(146, -61, 6),
 +          FillOperation.REPLACE)
 +    # Säulen
 +
 +      blocks.fill(CHISELED_NETHER_BRICKS,
 +          world(115, -61, 4),
 +          world(116, -58, 3),
 +          FillOperation.REPLACE)
 +      blocks.fill(CHISELED_NETHER_BRICKS,
 +          world(118, -61, 1),
 +          world(119, -58, 0),
 +          FillOperation.REPLACE)
 +      blocks.fill(CHISELED_NETHER_BRICKS,
 +          world(117, -61, -3),
 +          world(118, -58, -4),
 +          FillOperation.REPLACE)
 +      blocks.fill(CHISELED_NETHER_BRICKS,
 +          world(122, -61, 1),
 +          world(123, -58, 0),
 +          FillOperation.REPLACE)
 +      blocks.fill(CHISELED_NETHER_BRICKS,
 +          world(125, -61, -1),
 +          world(126, -58, -2),
 +          FillOperation.REPLACE)
 +      blocks.fill(CHISELED_NETHER_BRICKS,
 +          world(125, -61, -1),
 +          world(126, -58, -2),
 +          FillOperation.REPLACE)
 +      blocks.fill(CHISELED_NETHER_BRICKS,
 +          world(129, -61, -4),
 +          world(130, -58, -5),
 +          FillOperation.REPLACE)
 +      blocks.fill(CHISELED_NETHER_BRICKS,
 +          world(129, -61, 3),
 +          world(130, -58, 2),
 +          FillOperation.REPLACE)
 +          
 player.on_chat("start", on_on_chat) player.on_chat("start", on_on_chat)
 +
 +#Icestrecke
 +def Ice():
 +        x = player.position().get_value(Axis.X)
 +        y = player.position().get_value(Axis.Y)
 +        z = player.position().get_value(Axis.Z)
 +        if (139<x<150) and (-66<y<2) and (-7<z<7):
 +          mobs.give(mobs.target(NEAREST_PLAYER), BOAT, 1)                  
 +loops.forever(Ice)
 +
 +def on_on_chat():
 +    blocks.fill(ICE, world(151, -61, -6), world(250, -61, 6), FillOperation.HOLLOW)
 +    blocks.fill(GLASS_PANE, world(151, -60, -7), world(251, -55, -7), FillOperation.HOLLOW)
 +    blocks.fill(GLASS_PANE, world(151, -60, 7), world(251, -55, 7), FillOperation.HOLLOW)
 +    blocks.fill(SNOW, world(161, -60, -6), world(161, -59, 0), FillOperation.REPLACE)
 +    blocks.fill(SNOW, world(165, -60, 6), world(165, -59, 0), FillOperation.REPLACE)
 +    blocks.fill(SNOW, world(157, -60, 6), world(157, -59, 0), FillOperation.REPLACE)
 +    for i in range(10):
 +            a=randint(180, 200)
 +            b=-60
 +            c=randint(-6, 6)
 +            blocks.fill(ICE, world(a, b, c), world(a, b, c), FillOperation.HOLLOW)
 +
 +    for i in range(20):
 +            a=randint(200, 240)
 +            b=-60
 +            c=randint(-6, 6)
 +            blocks.fill(SNOW, world(a, b, c), world(a, b, c), FillOperation.HOLLOW)
 +player.on_chat("Start", on_on_chat)
 +
 +#Elytrapart
 +def Elytra():
 +    x = player.position().get_value(Axis.X)
 +    y = player.position().get_value(Axis.Y)
 +    z = player.position().get_value(Axis.Z)
 +    if ((244<x<254) and (-62<y<-55) and (-7<z<7)):
 +        player.execute("/give @s ELYTRA 1"
 +        player.execute("/give @s FIREWORK_ROCKET 1"       
 +loops.forever(Elytra)
 +
 +def Rampe():
 +    blocks.fill(LIGHT_BLUE_WOOL, world(255, -60, -6), world(257, -58, 6), FillOperation.REPLACE)
 +    blocks.fill(AIR, world(255, -59, -6), world(155, -50, 6), FillOperation.REPLACE)
 +    blocks.fill(AIR, world(256, -58, -6), world(156, -58, 6), FillOperation.REPLACE)
 +
 +Rampe()
 +
 +def wände():
 +    blocks.fill(LIGHT_BLUE_WOOL, world(326, -60, -7), world(326, -20, 7), FillOperation.REPLACE)
 +    blocks.fill(AIR, world(326, -39, -5), world(326, -37, -6), FillOperation.REPLACE)
 +    blocks.fill(AIR, world(326, -60, 0), world(326, -59, 0), FillOperation.REPLACE)
 +    blocks.fill(LIGHT_BLUE_WOOL, world(390, -60, -7), world(390, -20, 7), FillOperation.REPLACE)
 +    blocks.fill(AIR, world(390, -51, 3), world(390, -49, 4), FillOperation.REPLACE)
 +    blocks.fill(AIR, world(390, -60, 0), world(390, -59, 0), FillOperation.REPLACE)
 +wände()
 +
 +def sicherung():
 +    blocks.fill(GLASS, world(251, -60, 7), world(351, -20, 7), FillOperation.HOLLOW)
 +    blocks.fill(GLASS, world(251, -60, -7), world(351, -20, -7), FillOperation.HOLLOW)
 +    blocks.fill(GLASS, world(352, -60, 7), world(425, -20, 7), FillOperation.HOLLOW)
 +    blocks.fill(GLASS, world(352, -60, -7), world(425, -20, -7), FillOperation.HOLLOW)
 +    blocks.fill(GLASS, world(425, -60, 7), world(425, -20, -7), FillOperation.HOLLOW)
 +    blocks.fill(GLASS, world(251, -20, -7), world(351, -20, 7), FillOperation.HOLLOW)
 +    blocks.fill(GLASS, world(352, -20, 7), world(425, -20, -7), FillOperation.HOLLOW)
 +sicherung() 
 +
 +#Ziel
 +def Ziel():
 +        x = player.position().get_value(Axis.X)
 +        y = player.position().get_value(Axis.Y)
 +        z = player.position().get_value(Axis.Z)
 +        if (419<x<426) and (-66<y<-20) and (-7<z<7):
 +          player.teleport(world(0, 0, 0))
 +loops.forever(Ziel)
 +
 +
 +blocks.fill(GLASS, world(5, 0, -5), world(-5, 0, 5), FillOperation.REPLACE)
 +
 +def WOW():
 +        x = player.position().get_value(Axis.X)
 +        y = player.position().get_value(Axis.Y)
 +        z = player.position().get_value(Axis.Z)
 +        if (x==0) and (-3<y<10) and (-1<z<1):
 +            gameplay.title(mobs.target(NEAREST_PLAYER), "You did it!", ""   
 +loops.forever(WOW)
 +(/ code)
 +
 +Anleitung:
 +Alle Infinite Loops müssen die Spieler auf ihrem Laptop einfügen. Der rest wird von einem Gamemaster bei seinem Laptop eingefügt. Man muss jedoch die verschiedenen Abteile einzelt Laden (Sand+Iglu, Lava, Eisstrecke, Elytra) damit es funktioniert, da die strecke zu gross ist um sie mit einem Code aufzubauen. Sobald man dann Start in den Chat schreibt und das Sand+Iglu Programm offen hat, wird nach einiger zeit die Glaskugel gelöscht und die spieler können spass haben. Das ganze muss auf einer flat-world erstellt werden. Wer als als erstes im Ziel ist hat gewonnen, doch in unseren Augen ist jeder ein Sieger und somit gewinnen alle ;)
 +
 +Für die Spieler:
 +</code> 
 +<code python>
 +
 +
 +        
 +loops.forever(on_forever)
 +
 +def WOW():
 +        x = player.position().get_value(Axis.X)
 +        y = player.position().get_value(Axis.Y)
 +        z = player.position().get_value(Axis.Z)
 +        if (x==0) and (-3<y<10) and (-1<z<1):
 +            gameplay.title(mobs.target(NEAREST_PLAYER), "You did it!", ""   
 +loops.forever(WOW)
 +
 +def Ziel():
 +        x = player.position().get_value(Axis.X)
 +        y = player.position().get_value(Axis.Y)
 +        z = player.position().get_value(Axis.Z)
 +        if (419<x<426) and (-66<y<-20) and (-7<z<7):
 +          player.teleport(world(0, 0, 0))
 +loops.forever(Ziel)
 +
 +def Elytra():
 +    x = player.position().get_value(Axis.X)
 +    y = player.position().get_value(Axis.Y)
 +    z = player.position().get_value(Axis.Z)
 +    if ((244<x<254) and (-62<y<-55) and (-7<z<7)):
 +        player.execute("/give @s ELYTRA 1"
 +        player.execute("/give @s FIREWORK_ROCKET 1"       
 +loops.forever(Elytra)
 +
 +def Ice():
 +        x = player.position().get_value(Axis.X)
 +        y = player.position().get_value(Axis.Y)
 +        z = player.position().get_value(Axis.Z)
 +        if (139<x<150) and (-66<y<2) and (-7<z<7):
 +          mobs.give(mobs.target(NEAREST_PLAYER), BOAT, 1)                  
 +loops.forever(Ice)
 +
 +def on_travelled_swim_lava():
 +    mobs.apply_effect(FIRE_RESISTANCE, mobs.target(NEAREST_PLAYER), 2, 255)
 +    mobs.apply_effect(REGENERATION, mobs.target(NEAREST_PLAYER), 2, 255)
 +    player.teleport(world(100, -59, 0))
 +    player.tell(mobs.target(NEAREST_PLAYER), "Pass auf wo du hinfällst!")
 +player.on_travelled(SWIM_LAVA, on_travelled_swim_lava)
 +
 +def slow():
 +        x = player.position().get_value(Axis.X)
 +        y = player.position().get_value(Axis.Y)
 +        z = player.position().get_value(Axis.Z)
 +        if (32<x<62) and (-66<y<2) and (-7<z<7):
 +           player.execute("/effect @s slowness 20 3"
 +loops.forever(slow)
 +
 +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 (-1<x<10) and (-66<y<2) and (-7<z<7):
 +                blocks.fill(COBWEB,
 +                world(4, -60, -6,),
 +                world(5, -59, 6),
 +                FillOperation.HOLLOW)
 +
 +                blocks.fill(COBWEB,
 +                world(24, -60, -6,),
 +                world(25, -59, 6),
 +                FillOperation.HOLLOW)
 +loops.forever(on_forever)
 + 
 +</code>
  • gf2/projekte/2024/minecraft/2d1gruppe3.1743000558.txt.gz
  • Zuletzt geändert: 2025/03/26 15:49
  • von raemysi