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:2d1gruppe3 [2025/03/31 15:00] – raemysi | gf2: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: | 24.03.: 4 Abschnitte im Runningtrack: | ||
| Wüste: Kakteen (outside), Pyramide (inside) | Wüste: Kakteen (outside), Pyramide (inside) | ||
| - | Honig: Bienen | ||
| Schnee: Pouder-Snow, | Schnee: Pouder-Snow, | ||
| 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 | + | * sehr viele Kurven |
| - | * 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 |
| - | Offene Ideen: Mehrere Runden, Checkpoints | + | Offene Ideen: Mehrere Runden, Checkpoints |
| Zeile 139: | Zeile 137: | ||
| | | ||
| <code python> | <code python> | ||
| - | #Simon | + | #Hier ist der richtige Code |
| def on_forever(): | def on_forever(): | ||
| Zeile 603: | Zeile 601: | ||
| player.on_chat(" | player.on_chat(" | ||
| + | def on_travelled_swim_lava(): | ||
| + | mobs.apply_effect(FIRE_RESISTANCE, | ||
| + | mobs.apply_effect(REGENERATION, | ||
| + | player.teleport(world(100, | ||
| + | player.tell(mobs.target(NEAREST_PLAYER), | ||
| + | player.on_travelled(SWIM_LAVA, | ||
| + | |||
| + | #Lavapart | ||
| def on_travelled_swim_lava(): | def on_travelled_swim_lava(): | ||
| mobs.apply_effect(FIRE_RESISTANCE, | mobs.apply_effect(FIRE_RESISTANCE, | ||
| Zeile 613: | Zeile 619: | ||
| def on_on_chat(): | def on_on_chat(): | ||
| # boden | # boden | ||
| + | blocks.fill(GLASS, | ||
| + | blocks.fill(GLASS, | ||
| blocks.fill(NETHERRACK, | blocks.fill(NETHERRACK, | ||
| world(101, -61, -6), | world(101, -61, -6), | ||
| Zeile 703: | Zeile 710: | ||
| player.on_chat(" | player.on_chat(" | ||
| - | def on_forever(): | + | # |
| + | def Ice(): | ||
| x = player.position().get_value(Axis.X) | x = player.position().get_value(Axis.X) | ||
| y = player.position().get_value(Axis.Y) | y = player.position().get_value(Axis.Y) | ||
| Zeile 709: | Zeile 717: | ||
| if (139< | if (139< | ||
| mobs.give(mobs.target(NEAREST_PLAYER), | mobs.give(mobs.target(NEAREST_PLAYER), | ||
| - | loops.forever(on_forever) | + | loops.forever(Ice) |
| def on_on_chat(): | def on_on_chat(): | ||
| - | blocks.fill(ICE, | + | blocks.fill(ICE, |
| blocks.fill(GLASS_PANE, | blocks.fill(GLASS_PANE, | ||
| blocks.fill(GLASS_PANE, | blocks.fill(GLASS_PANE, | ||
| Zeile 730: | Zeile 738: | ||
| blocks.fill(SNOW, | blocks.fill(SNOW, | ||
| player.on_chat(" | player.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< | ||
| + | player.execute("/ | ||
| + | player.execute("/ | ||
| + | loops.forever(Elytra) | ||
| + | |||
| + | def Rampe(): | ||
| + | blocks.fill(LIGHT_BLUE_WOOL, | ||
| + | blocks.fill(AIR, | ||
| + | blocks.fill(AIR, | ||
| + | |||
| + | Rampe() | ||
| + | |||
| + | def wände(): | ||
| + | blocks.fill(LIGHT_BLUE_WOOL, | ||
| + | blocks.fill(AIR, | ||
| + | blocks.fill(AIR, | ||
| + | blocks.fill(LIGHT_BLUE_WOOL, | ||
| + | blocks.fill(AIR, | ||
| + | blocks.fill(AIR, | ||
| + | wände() | ||
| + | |||
| + | def sicherung(): | ||
| + | blocks.fill(GLASS, | ||
| + | blocks.fill(GLASS, | ||
| + | blocks.fill(GLASS, | ||
| + | blocks.fill(GLASS, | ||
| + | blocks.fill(GLASS, | ||
| + | blocks.fill(GLASS, | ||
| + | blocks.fill(GLASS, | ||
| + | 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< | ||
| + | player.teleport(world(0, | ||
| + | loops.forever(Ziel) | ||
| + | |||
| + | |||
| + | blocks.fill(GLASS, | ||
| + | |||
| + | 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< | ||
| + | gameplay.title(mobs.target(NEAREST_PLAYER), | ||
| + | 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, | ||
| + | |||
| + | Für die Spieler: | ||
| + | </ | ||
| + | <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< | ||
| + | gameplay.title(mobs.target(NEAREST_PLAYER), | ||
| + | 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< | ||
| + | player.teleport(world(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< | ||
| + | player.execute("/ | ||
| + | player.execute("/ | ||
| + | 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< | ||
| + | mobs.give(mobs.target(NEAREST_PLAYER), | ||
| + | loops.forever(Ice) | ||
| + | |||
| + | def on_travelled_swim_lava(): | ||
| + | mobs.apply_effect(FIRE_RESISTANCE, | ||
| + | mobs.apply_effect(REGENERATION, | ||
| + | player.teleport(world(100, | ||
| + | player.tell(mobs.target(NEAREST_PLAYER), | ||
| + | player.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< | ||
| + | | ||
| + | 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< | ||
| + | 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) | ||
| + | |||
| + | </ | ||