Unterschiede
Hier werden die Unterschiede zwischen zwei Versionen angezeigt.
| Beide Seiten der vorigen Revision Vorhergehende Überarbeitung Nächste Überarbeitung | Vorhergehende Überarbeitung | ||
| gf2:projekte:2023:minecraft:2d2gruppe8 [2024/02/02 10:09] – lehmannr | gf2:projekte:2023:minecraft:2d2gruppe8 [2024/02/02 10:29] (aktuell) – lehmannr | ||
|---|---|---|---|
| Zeile 73: | Zeile 73: | ||
| anzahlPunkte = anzahlPunkte + 3 | anzahlPunkte = anzahlPunkte + 3 | ||
| player.execute(" | player.execute(" | ||
| - | player.say(" | + | player.say(" |
| testPunkteDOS() | testPunkteDOS() | ||
| - | | + | |
| + | mobs.on_mob_killed(CHICKEN, | ||
| def on_mob_killed_sheep(): | def on_mob_killed_sheep(): | ||
| Zeile 82: | Zeile 83: | ||
| anzahlPunkte = anzahlPunkte + 5 | anzahlPunkte = anzahlPunkte + 5 | ||
| player.execute(" | player.execute(" | ||
| - | player.say(" | + | player.say(" |
| testPunkteDOS() | testPunkteDOS() | ||
| - | | + | mobs.on_mob_killed(SHEEP, |
| def on_mob_killed_cow(): | def on_mob_killed_cow(): | ||
| Zeile 91: | Zeile 92: | ||
| anzahlPunkte = anzahlPunkte + 8 | anzahlPunkte = anzahlPunkte + 8 | ||
| player.execute(" | player.execute(" | ||
| - | player.say(" | + | player.say(" |
| testPunkteDOS() | testPunkteDOS() | ||
| - | | + | |
| + | mobs.on_mob_killed(COW, | ||
| def on_mob_killed(): | def on_mob_killed(): | ||
| Zeile 100: | Zeile 102: | ||
| anzahlPunkte = anzahlPunkte + 7 | anzahlPunkte = anzahlPunkte + 7 | ||
| player.execute(" | player.execute(" | ||
| - | player.say(" | + | player.say(" |
| testPunkteTRES() | testPunkteTRES() | ||
| - | | + | |
| + | mobs.on_mob_killed(mobs.monster(ZOMBIE), | ||
| def on_mob_killed_salmon(): | def on_mob_killed_salmon(): | ||
| Zeile 109: | Zeile 112: | ||
| anzahlPunkte = anzahlPunkte + 4 | anzahlPunkte = anzahlPunkte + 4 | ||
| player.execute(" | player.execute(" | ||
| - | player.say(" | + | player.say(" |
| testPunkteUNO() | testPunkteUNO() | ||
| - | | + | |
| + | mobs.on_mob_killed(SALMON, | ||
| </ | </ | ||