| Beide Seiten der vorigen Revision Vorhergehende Überarbeitung Nächste Überarbeitung | Vorhergehende Überarbeitung |
| gf2:projekte:2024:minecraft:2d1gruppe4 [2025/04/06 22:35] – huschkac | gf2:projekte:2024:minecraft:2d1gruppe4 [2025/04/07 13:25] (aktuell) – [Code] nelai |
|---|
| \\ | \\ |
| ===== Welt ===== | ===== Welt ===== |
| \\ | \\ Seed: -2916915734141507220 |
| \\ | \\ |
| ===== Code ===== | ===== Code ===== |
| |
| |
| #Die Aussenterrasse und Treppe welche hinein und raus führt werden programmiert. | |
| def Aussen(x,y,z): | |
| material=[CRACKED_STONE_BRICKS,OAK_WOOD_STAIRS,OAK_FENCE] | |
| blocks.fill(material[0], world(x+30, y+7, z-15), world(x-7, y+7, z-19), FillOperation.REPLACE) | |
| blocks.fill(material[0], world(x+30, y+7, z-20), world(x+17, y+7, z-30), FillOperation.REPLACE) | |
| blocks.fill(material[0], world(x-7, y+7, z-20), world(x+6, y+7, z-30), FillOperation.REPLACE) | |
| blocks.fill(material[0], world(x+30, y+7, z-31), world(x-7, y+7, z-43), FillOperation.REPLACE) | |
| for i in range(6,-1,-1): | |
| blocks.fill(blocks.block_with_data(material[1],2), world(x+16, y+7-i, z-20-i), world(x+7, y+7-i, z-20-i), FillOperation.REPLACE) | |
| blocks.fill(material[2], world(x+16, y+8-i, z-20-i), world(x+16, y+9-i, z-20-i), FillOperation.REPLACE) | |
| blocks.fill(material[2], world(x+7, y+8-i, z-20-i), world(x+7, y+9-i, z-20-i), FillOperation.REPLACE) | |
| blocks.fill(material[2], world(x+17, y+8, z-31), world(x+17, y+8, z-20), FillOperation.REPLACE) | |
| blocks.fill(material[2], world(x+6, y+8, z-31), world(x+6, y+8, z-20), FillOperation.REPLACE) | |
| blocks.fill(material[2], world(x+17, y+8, z-31), world(x+6, y+8, z-31), FillOperation.REPLACE) | |
| blocks.fill(material[2], world(x+30, y+8, z-35), world(x-7, y+8, z-35), FillOperation.REPLACE) | |
| blocks.fill(material[2], world(x+30, y+8, z-34), world(x+30, y+8, z-15), FillOperation.REPLACE) | |
| blocks.fill(material[2], world(x-7, y+8, z-34), world(x-7, y+8, z-15), FillOperation.REPLACE) | |
| |
| | |
| | #Die Aussenterrasse und Treppe welche hinein und raus führt werden programmiert. |
| | |
| | def Aussen(x,y,z): |
| | material=[CRACKED_STONE_BRICKS,OAK_WOOD_STAIRS,OAK_FENCE] |
| | blocks.fill(material[0], world(x+30, y+7, z-15), world(x-7, y+7, z-19), FillOperation.REPLACE) |
| | blocks.fill(material[0], world(x+30, y+7, z-20), world(x+17, y+7, z-30), FillOperation.REPLACE) |
| | blocks.fill(material[0], world(x-7, y+7, z-20), world(x+6, y+7, z-30), FillOperation.REPLACE) |
| | blocks.fill(material[0], world(x+30, y+7, z-31), world(x-7, y+7, z-43), FillOperation.REPLACE) |
| | for i in range(6,-1,-1): |
| | blocks.fill(blocks.block_with_data(material[1],2), world(x+16, y+7-i, z-20-i), world(x+7, y+7-i, z-20-i), FillOperation.REPLACE) |
| | blocks.fill(material[2], world(x+16, y+8-i, z-20-i), world(x+16, y+9-i, z-20-i), FillOperation.REPLACE) |
| | blocks.fill(material[2], world(x+7, y+8-i, z-20-i), world(x+7, y+9-i, z-20-i), FillOperation.REPLACE) |
| | blocks.fill(material[2], world(x+17, y+8, z-31), world(x+17, y+8, z-20), FillOperation.REPLACE) |
| | blocks.fill(material[2], world(x+6, y+8, z-31), world(x+6, y+8, z-20), FillOperation.REPLACE) |
| | blocks.fill(material[2], world(x+17, y+8, z-31), world(x+6, y+8, z-31), FillOperation.REPLACE) |
| | blocks.fill(material[2], world(x+30, y+8, z-43), world(x-7, y+8, z-43), FillOperation.REPLACE) |
| | blocks.fill(material[2], world(x+30, y+8, z-42), world(x+30, y+8, z-15), FillOperation.REPLACE) |
| | blocks.fill(material[2], world(x-7, y+8, z-42), world(x-7, y+8, z-15), FillOperation.REPLACE) |
| | |
| |
| #die Tribüne links und rechts vom Feld wird gebaut. | #die Tribüne links und rechts vom Feld wird gebaut. |
| blocks.fill(material[2], world(x+15, y+5, z+5), world(x-14, y+5, z+5), FillOperation.REPLACE) | blocks.fill(material[2], world(x+15, y+5, z+5), world(x-14, y+5, z+5), FillOperation.REPLACE) |
| blocks.fill(material[2], world(x+15, y+6, z+6), world(x-14, y+6, z+6), FillOperation.REPLACE) | blocks.fill(material[2], world(x+15, y+6, z+6), world(x-14, y+6, z+6), FillOperation.REPLACE) |
| blocks.fill(blocks.block_with_data(material[0],N), world(x+3, y, z), world(x-1, y, z), FillOperation.REPLACE) | blocks.fill(blocks.block_with_data(material[0],2), world(x+3, y, z), world(x-1, y, z), FillOperation.REPLACE) |
| blocks.fill(blocks.block_with_data(material[0],N), world(x+3, y+1, z+1), world(x-1, y+1, z+1), FillOperation.REPLACE) | blocks.fill(blocks.block_with_data(material[0],2), world(x+3, y+1, z+1), world(x-1, y+1, z+1), FillOperation.REPLACE) |
| blocks.fill(blocks.block_with_data(material[0],N), world(x+3, y+2, z+2), world(x-1, y+2, z+2), FillOperation.REPLACE) | blocks.fill(blocks.block_with_data(material[0],2), world(x+3, y+2, z+2), world(x-1, y+2, z+2), FillOperation.REPLACE) |
| blocks.fill(blocks.block_with_data(material[0],N), world(x+3, y+3, z+3), world(x-1, y+3, z+3), FillOperation.REPLACE) | blocks.fill(blocks.block_with_data(material[0],2), world(x+3, y+3, z+3), world(x-1, y+3, z+3), FillOperation.REPLACE) |
| blocks.fill(blocks.block_with_data(material[0],N), world(x+3, y+4, z+4), world(x-1, y+4, z+4), FillOperation.REPLACE) | blocks.fill(blocks.block_with_data(material[0],2), world(x+3, y+4, z+4), world(x-1, y+4, z+4), FillOperation.REPLACE) |
| blocks.fill(blocks.block_with_data(material[0],N), world(x+3, y+5, z+5), world(x-1, y+5, z+5), FillOperation.REPLACE) | blocks.fill(blocks.block_with_data(material[0],2), world(x+3, y+5, z+5), world(x-1, y+5, z+5), FillOperation.REPLACE) |
| blocks.fill(blocks.block_with_data(material[0],N), world(x+3, y+6, z+6), world(x-1, y+6, z+6), FillOperation.REPLACE) | blocks.fill(blocks.block_with_data(material[0],2), world(x+3, y+6, z+6), world(x-1, y+6, z+6), FillOperation.REPLACE) |
| blocks.fill(material[1], world(x+15, y+1, z), world(x-14, y+1, z), FillOperation.REPLACE) | blocks.fill(material[1], world(x+15, y+1, z), world(x-14, y+1, z), FillOperation.REPLACE) |
| blocks.fill(material[1], world(x+15, y+2, z+1), world(x-14, y+2, z+1), FillOperation.REPLACE) | blocks.fill(material[1], world(x+15, y+2, z+1), world(x-14, y+2, z+1), FillOperation.REPLACE) |
| blocks.fill(material[2], world(x+15, y+5, z-28), world(x-14, y+5, z-28), FillOperation.REPLACE) | blocks.fill(material[2], world(x+15, y+5, z-28), world(x-14, y+5, z-28), FillOperation.REPLACE) |
| blocks.fill(material[2], world(x+15, y+6, z-29), world(x-14, y+6, z-29), FillOperation.REPLACE) | blocks.fill(material[2], world(x+15, y+6, z-29), world(x-14, y+6, z-29), FillOperation.REPLACE) |
| blocks.fill(blocks.block_with_data(material[0],S), world(x+3, y, z-23), world(x-1, y, z-23), FillOperation.REPLACE) | blocks.fill(blocks.block_with_data(material[0],3), world(x+3, y, z-23), world(x-1, y, z-23), FillOperation.REPLACE) |
| blocks.fill(blocks.block_with_data(material[0],S), world(x+3, y+1, z-24), world(x-1, y+1, z-24), FillOperation.REPLACE) | blocks.fill(blocks.block_with_data(material[0],3), world(x+3, y+1, z-24), world(x-1, y+1, z-24), FillOperation.REPLACE) |
| blocks.fill(blocks.block_with_data(material[0],S), world(x+3, y+2, z-25), world(x-1, y+2, z-25), FillOperation.REPLACE) | blocks.fill(blocks.block_with_data(material[0],3), world(x+3, y+2, z-25), world(x-1, y+2, z-25), FillOperation.REPLACE) |
| blocks.fill(blocks.block_with_data(material[0],S), world(x+3, y+3, z-26), world(x-1, y+3, z-26), FillOperation.REPLACE) | blocks.fill(blocks.block_with_data(material[0],3), world(x+3, y+3, z-26), world(x-1, y+3, z-26), FillOperation.REPLACE) |
| blocks.fill(blocks.block_with_data(material[0],S), world(x+3, y+4, z-27), world(x-1, y+4, z-27), FillOperation.REPLACE) | blocks.fill(blocks.block_with_data(material[0],3), world(x+3, y+4, z-27), world(x-1, y+4, z-27), FillOperation.REPLACE) |
| blocks.fill(blocks.block_with_data(material[0],S), world(x+3, y+5, z-28), world(x-1, y+5, z-28), FillOperation.REPLACE) | blocks.fill(blocks.block_with_data(material[0],3), world(x+3, y+5, z-28), world(x-1, y+5, z-28), FillOperation.REPLACE) |
| blocks.fill(blocks.block_with_data(material[0],S), world(x+3, y+6, z-29), world(x-1, y+6, z-29), FillOperation.REPLACE) | blocks.fill(blocks.block_with_data(material[0],3), world(x+3, y+6, z-29), world(x-1, y+6, z-29), FillOperation.REPLACE) |
| blocks.fill(material[1], world(x+15, y+1, z-23), world(x-14, y+1, z-23), FillOperation.REPLACE) | blocks.fill(material[1], world(x+15, y+1, z-23), world(x-14, y+1, z-23), FillOperation.REPLACE) |
| blocks.fill(material[1], world(x+15, y+2, z-24), world(x-14, y+2, z-24), FillOperation.REPLACE) | blocks.fill(material[1], world(x+15, y+2, z-24), world(x-14, y+2, z-24), FillOperation.REPLACE) |
| blocks.fill(material[3], world(x+3, y+6, z-28), world(x-1, y+6, z-28), FillOperation.REPLACE) | blocks.fill(material[3], world(x+3, y+6, z-28), world(x-1, y+6, z-28), FillOperation.REPLACE) |
| blocks.fill(material[3], world(x+3, y+7, z-29), world(x-1, y+7, z-29), FillOperation.REPLACE) | blocks.fill(material[3], world(x+3, y+7, z-29), world(x-1, y+7, z-29), FillOperation.REPLACE) |
| N = 2 | |
| S = 3 | |
| |
| def Gitter(x,y,z): | def Gitter(x,y,z): |
| blocks.clone(world(195, -61, 101), world(195,-61,101), world(x+1, y-4, z+1), CloneMask.REPLACE, CloneMode.NORMAL) | blocks.clone(world(195, -61, 101), world(195,-61,101), world(x+1, y-4, z+1), CloneMask.REPLACE, CloneMode.NORMAL) |
| blocks.clone(world(201, -59, 96), world(201,-59,96), world(x+1, y-3, z+1), CloneMask.REPLACE, CloneMode.NORMAL) | blocks.clone(world(201, -59, 96), world(201,-59,96), world(x+1, y-3, z+1), CloneMask.REPLACE, CloneMode.NORMAL) |
| | |
| | #Die Garderobe wird bei der anderen Seite platziert |
| | def garderobe2(x,y,z): |
| | material=[GRAY_CONCRETE, LOG_DARK_OAK, DARK_OAK_DOOR,GLASS_PANE, SPRUCE_WOOD_STAIRS, SPRUCE_FENCE, AIR] |
| | blocks.fill(material[0], world(x, y, z), world(x+7, y+5, z+10), FillOperation.HOLLOW) |
| | blocks.fill(material[1], world(x, y, z), world(x+7, y, z+10), FillOperation.REPLACE) |
| | blocks.fill(material[2], world(x+7, y+1, z+5), world(x+7, y+1, z+5), FillOperation.HOLLOW) |
| | blocks.fill(blocks.block_with_data(material[4], 2), world(x+4, y+1, z+9), world(x+1, y+1, z+9), FillOperation.REPLACE) |
| | blocks.fill(blocks.block_with_data(material[4], 3), world(x+4, y+1, z+1), world(x+1, y+1, z+1), FillOperation.REPLACE) |
| | blocks.fill(blocks.block_with_data(material[4], 3), world(x+4, y+1, z+6), world(x+1, y+1, z+6), FillOperation.REPLACE) |
| | blocks.fill(blocks.block_with_data(material[4], 2), world(x+4, y+1, z+4), world(x+1, y+1, z+4), FillOperation.REPLACE) |
| | blocks.fill(material[3], world(x, y+2, z+3), world(x, y+3, z+4), FillOperation.REPLACE) |
| | blocks.fill(material[3], world(x, y+2, z+6), world(x, y+3, z+7), FillOperation.REPLACE) |
| | blocks.fill(material[5], world(x+4, y+3, z+9), world(x+1, y+3, z+9), FillOperation.REPLACE) |
| | blocks.fill(material[5], world(x+4, y+3, z+4), world(x+1, y+3, z+6), FillOperation.REPLACE) |
| | blocks.fill(material[5], world(x+4, y+1, z+5), world(x+1, y+2, z+5), FillOperation.REPLACE) |
| | blocks.fill(material[6], world(x+3, y+1, z+5), world(x+3, y+3, z+5), FillOperation.REPLACE) |
| | blocks.fill(material[6], world(x+1, y+1, z+5), world(x+1, y+3, z+5), FillOperation.REPLACE) |
| | blocks.fill(material[5], world(x+4, y+3, z+1), world(x+1, y+3, z+1), FillOperation.REPLACE) |
| | |
| | |
| | def details2(x,y,z): |
| | material=[GLOWSTONE, DARK_OAK_PRESSURE_PLATE, DARK_OAK_BUTTON, CHAIN] |
| | blocks.fill(material[0], world(x+2, y, z+3), world(x+3, y, z+4), FillOperation.REPLACE) |
| | blocks.fill(material[0], world(x+4, y, z+6), world(x+5, y, z+7), FillOperation.REPLACE) |
| | blocks.fill(material[1], world(x+6, y-4, z+5), world(x+6, y-4, z+5), FillOperation.REPLACE) |
| |
| #Wenn man das Feld betritt werden Villagers gespawned als Zuschauer | #Wenn man das Feld betritt werden Villagers gespawned als Zuschauer |
| Weg(129,-61,216) | Weg(129,-61,216) |
| Deco(129,-60,216) | Deco(129,-60,216) |
| garderobe(152,-54,181) | garderobe(151,-54,177) |
| garderobe(152,-54,192) | garderobe(151,-54,190) |
| details(152, -49, 181) | details(151, -49, 177) |
| details(152, -49, 192) | details(151, -49, 190) |
| | garderobe2(123,-54,177) |
| | details2(123, -49, 177) |
| | garderobe2(123,-54,190) |
| | details2(123, -49, 190) |
| on_travelled_walk() | on_travelled_walk() |
| </code> | </code> |