Dies ist eine alte Version des Dokuments!
Projektplan
Unser Projekt beinhaltet ein Garten, welchen wir aus einem Feld von 10:10 (kann nach Zeitverfügung vergrössert werden). Jedes Feld (insgesamt 100) wird durch einen Code besetzt oder dekoriert.
Garten beinhaltet:
- Gartenhäuschen (5:6) (Mariel)
- Gartenzaun um gesamtes Feld (Mariel)
- Bänke (Konstantina)
- Blumen (Mariel)
- Erlebnis Weg (auf jedem Block passiert etwas) (Konstantina)
- Tiergehege (Konstantina)
Erweiterungen
- Ein Teich mit Enten
- Lianenwand am Haus
- Mehr Ereignisse
Noch erledigen:
-Im Haus Pflanzen, Blumen
Wichtig
Als erstes Feld Code laufen lassen!
Unsere Codes:
-Feld Code
def Feld(x,y,z,länge, breite, material): blocks.fill(material, world(x-1, y, z-1), world(x+länge, y, z+breite), FillOperation.REPLACE)#Feld Zaun blocks.fill(SANDSTONE, world(x-1, y-1, z-1), world(x+länge, y-1, z+breite), FillOperation.REPLACE)#Feld Boden blocks.fill(AIR, world(x, y, z), world(x+länge-1, y, z+breite-1), FillOperation.REPLACE)#Feld Luft zum füllen blocks.place(BIRCH_FENCE_GATE, world(x, y, z-1))#Tor Feld(-31,-60,-48,20,15, BIRCH_FENCE)
- Bänkli Code
def baenkli(x: number, y: number, z: any, anzahl: number, material: number): for i in range(anzahl + 1): blocks.place(material, world(x, y, z + i)) baenkli(581, -60, -300, 2, OAK_WOOD_STAIRS)
-Haus Code:
def MeinHaus(x,y,z,länge, breite, höhe, material): blocks.fill(material, world(x, y-1, z), world(x+länge, y+höhe, z+breite), FillOperation.HOLLOW)#Hausgrundriss blocks.fill(GLASS_PANE, world(x+4,y+2,breite-2), world(x+5,y+3, z))#VorderesFenster blocks.fill(GLASS_PANE, world(x,y+1,z+1), world (x, y+höhe-1, z+breite-1), FillOperation.DESTROY)#Linkesfenster blocks.fill(GLASS_PANE, world(x+länge,y+1,z+1), world (x+länge, y+höhe-1, z+breite-1), FillOperation.DESTROY)#rechtesfenster blocks.fill(GLASS_PANE, world(x+1,y+1,z+breite), world (x+länge-1, y+höhe-1, z+breite), FillOperation.DESTROY)#hinteresfenster blocks.fill(GLASS_PANE, world(x+1,y+höhe,z+1), world (x+länge-1, y+höhe, z+breite-1), FillOperation.DESTROY)#Dachfenster blocks.place(IRON_DOOR,world(x+2, y, z))#Türe blocks.place(blocks.lever(BLOCK_SIDE_FACING_NORTH), world(x+1,y,z-1))#hebel blocks.place(BIRCH_PRESSURE_PLATE, world(x+2,y,z+1))#Boden für licht blocks.place(REDSTONE_LAMP, world(x+2,y,z+breite-1))#redstone lampe blocks.fill(REDSTONE_WIRE, world(x+2,y,z+2), world(x+2,y,z+breite-2))#kabel für licht blocks.place(FLOWER_POT, world(x+1, y, z+3))#blumentopf mobs.spawn(SUNFLOWER, world(x+1, y+1, z+3))#Sonnenblume? MeinHaus(0,-60,3,6,5,4, SANDSTONE)
Blumen Code
def on_travelled_walk(): blocks.place(YELLOW_FLOWER, world(2, -60, -7)) player.on_travelled(WALK, on_travelled_walk)
-Feld plus haus und Bänkli ortsgerecht Code
def Feld(x,y,z,länge, breite, material): blocks.fill(material, world(x-1, y, z-1), world(x+länge, y, z+breite), FillOperation.REPLACE)#Feld Zaun blocks.fill(SANDSTONE, world(x-1, y-1, z-1), world(x+länge, y-1, z+breite), FillOperation.REPLACE)#Feld Boden blocks.fill(AIR, world(x, y, z), world(x+länge-1, y, z+breite-1), FillOperation.REPLACE)#Feld Luft zum füllen blocks.place(BIRCH_FENCE_GATE, world(x, y, z-1))#Tor Feld(-31,-60,-48,20,15, BIRCH_FENCE) def MeinHaus(x,y,z,länge, breite, höhe, material): z=z+10 x=x-1 blocks.fill(material, world(x, y-1, z), world(x+länge, y+höhe, z+breite), FillOperation.HOLLOW)#Hausgrundriss blocks.fill(GLASS_PANE, world(x+4,y+2,z), world(x+5,y+3, z), FillOperation.DESTROY)#VorderesFenster falsch blocks.fill(GLASS_PANE, world(x,y+1,z+1), world (x, y+höhe-1, z+breite-1), FillOperation.DESTROY)#Linkesfenster blocks.fill(GLASS_PANE, world(x+länge,y+1,z+1), world (x+länge, y+höhe-1, z+breite-1), FillOperation.DESTROY)#rechtesfenster blocks.fill(GLASS_PANE, world(x+1,y+1,z+breite), world (x+länge-1, y+höhe-1, z+breite), FillOperation.DESTROY)#hinteresfenster blocks.fill(GLASS_PANE, world(x+1,y+höhe,z+1), world (x+länge-1, y+höhe, z+breite-1), FillOperation.DESTROY)#Dachfenster blocks.place(IRON_DOOR,world(x+2, y, z))#Türe blocks.place(blocks.lever(BLOCK_SIDE_FACING_NORTH), world(x+1,y,z-1))#hebel blocks.place(BIRCH_PRESSURE_PLATE, world(x+2,y,z+1))#Boden für licht blocks.place(REDSTONE_LAMP, world(x+2,y,z+breite-1))#redstone lampe blocks.fill(REDSTONE_WIRE, world(x+2,y,z+2), world(x+2,y,z+breite-2))#kabel für licht blocks.place(FLOWER_POT, world(x+1, y, z+3))#blumentopf blocks.place(YELLOW_FLOWER, world(x+1, y, z+2))#Blume blocks.place(OXEYE_DAISY, world(x+1, y+1, z+3))#BlumeoberTopf blocks.place(POPPY, world(x+1,y, z+4))#Blume blocks.place(POPPY, world(x+5,y, z+4))#Blume blocks.place(LILAC, world(x+4,y, z+3))#Blume MeinHaus(-31,-60,-48,6,5,4, SANDSTONE) def baenkli(x: number, y: number, z: any, anzahl: number, material: number): for i in range(anzahl + 1): blocks.place(blocks.block_with_data(material, 1), world(x-1, y, z+6 +i))#Bänkli welches nach rechts gedreht ist baenkli(-31, -60, -48, 2, OAK_WOOD_STAIRS)