Unterschiede
Hier werden die Unterschiede zwischen zwei Versionen angezeigt.
| Beide Seiten der vorigen Revision Vorhergehende Überarbeitung Nächste Überarbeitung | Vorhergehende Überarbeitung | ||
| gf2:projekte:minecraft:2d1gruppe3 [2023/01/26 17:09] – heckelsmuellerj | gf2:projekte:minecraft:2d1gruppe3 [2023/02/06 08:36] (aktuell) – heckelsmuellerj | ||
|---|---|---|---|
| Zeile 1: | Zeile 1: | ||
| __**Dokumentation**__ | __**Dokumentation**__ | ||
| + | |||
| + | {{ : | ||
| + | |||
| + | {{ : | ||
| **Einführung: | **Einführung: | ||
| Zeile 62: | Zeile 66: | ||
| entfernen() | entfernen() | ||
| bahn() | bahn() | ||
| + | |||
| + | tunnel() | ||
| </ | </ | ||
| Zeile 68: | Zeile 73: | ||
| **Brücke: | **Brücke: | ||
| <code python> | <code python> | ||
| - | #agent settings | + | #Hier sind die Agent settings, bedeutet soviel wie die Anfangseinstellungen des Agents |
| - | agent.set_item(LOG_SPRUCE, | + | agent.set_item(LOG_SPRUCE, |
| agent.set_item(PLANKS_SPRUCE, | agent.set_item(PLANKS_SPRUCE, | ||
| agent.set_item(CHAIN, | agent.set_item(CHAIN, | ||
| Zeile 76: | Zeile 81: | ||
| agent.set_item(SPRUCE_WOOD_STAIRS, | agent.set_item(SPRUCE_WOOD_STAIRS, | ||
| agent.set_assist(PLACE_ON_MOVE, | agent.set_assist(PLACE_ON_MOVE, | ||
| + | |||
| - | + | def BrückeSprucePlanks(): | |
| - | + | ||
| - | #Brücke Spruce Slabs | + | |
| - | + | ||
| - | + | ||
| - | def BrückeSprucePlanks(): | + | |
| agent.set_slot(2) | agent.set_slot(2) | ||
| for i in range(2): | for i in range(2): | ||
| Zeile 95: | Zeile 96: | ||
| agent.turn(LEFT) | agent.turn(LEFT) | ||
| | | ||
| - | def SpruceGelände(): | + | def SpruceGelände(): |
| agent.set_slot(1) | agent.set_slot(1) | ||
| agent.place(RIGHT) | agent.place(RIGHT) | ||
| Zeile 118: | Zeile 119: | ||
| agent.set_assist(PLACE_ON_MOVE, | agent.set_assist(PLACE_ON_MOVE, | ||
| - | def brückeMitte(): | + | def brückeMitte(): |
| agent.set_slot(1) | agent.set_slot(1) | ||
| agent.set_assist(PLACE_ON_MOVE, | agent.set_assist(PLACE_ON_MOVE, | ||
| Zeile 125: | Zeile 126: | ||
| agent.place(RIGHT) | agent.place(RIGHT) | ||
| agent.place(LEFT) | agent.place(LEFT) | ||
| - | for l in range(17): | + | for l in range(17): |
| agent.set_slot(6) | agent.set_slot(6) | ||
| agent.set_assist(PLACE_ON_MOVE, | agent.set_assist(PLACE_ON_MOVE, | ||
| Zeile 146: | Zeile 147: | ||
| agent.set_assist(PLACE_ON_MOVE, | agent.set_assist(PLACE_ON_MOVE, | ||
| - | def brückeTotal(): | + | def brückeTotal(): |
| BrückeSprucePlanks() | BrückeSprucePlanks() | ||
| SpruceGelände() | SpruceGelände() | ||
| Zeile 157: | Zeile 158: | ||
| agent.move(FORWARD, | agent.move(FORWARD, | ||
| SpruceGelände() | SpruceGelände() | ||
| - | | + | # |
| - | agent.teleport_to_player() | + | agent.teleport_to_player() |
| brückeTotal() | brückeTotal() | ||
| </ | </ | ||