gf2:projekte:2023:minecraft:2d1gruppe4

Unterschiede

Hier werden die Unterschiede zwischen zwei Versionen angezeigt.

Link zu dieser Vergleichsansicht

Beide Seiten der vorigen Revision Vorhergehende Überarbeitung
Nächste Überarbeitung
Vorhergehende Überarbeitung
gf2:projekte:2023:minecraft:2d1gruppe4 [2024/01/17 11:29] jungolgf2:projekte:2023:minecraft:2d1gruppe4 [2024/01/31 09:43] (aktuell) marroc
Zeile 2: Zeile 2:
  
 \\ \\
-\\+ 
 +{{ :gf2:projekte:2023:minecraft:bauernhof.mcworld |Welt}} 
 ===== Erste Planung ===== ===== Erste Planung =====
 +
 __Gruppenmitglieder__ : Liza Aschinger, Malin Schwab, Marlon Voss, Léanne Jungo __Gruppenmitglieder__ : Liza Aschinger, Malin Schwab, Marlon Voss, Léanne Jungo
 \\ \\
 \\ \\
-__Ideenfindung__ : Ein Bauernhof, bei welchem ein Zug einmal quer durchfährt.+__Ideenfindung__ : Ein Bauernhof
 \\ \\
  
Zeile 14: Zeile 17:
 __vom 10.November bis zum 20. Dezember__ :   __vom 10.November bis zum 20. Dezember__ :  
                                             * Bauernhaus bauen                                             * Bauernhaus bauen
-                                            * Felder und Gehe bauen +                                            * Felder und Gehege bauen
-                                            * Zug +
  
 __Arbeitsaufteilung__ :    __Arbeitsaufteilung__ :   
                         * Haus bauen - Malin und Liza                         * Haus bauen - Malin und Liza
                         * Felder und Gehege bauen - Marlon und Léanne                         * Felder und Gehege bauen - Marlon und Léanne
-                        * Zug - alle gemeinsam 
  
 \\ \\
Zeile 141: Zeile 142:
    blocks.place(material[2], world(x+l, y+1, z+3))    blocks.place(material[2], world(x+l, y+1, z+3))
        
-   #tisch+   
          
 def hausbau(): def hausbau():
Zeile 149: Zeile 150:
  
 </code> </code>
 +//
 +__Weg und Laternen__:
 +//
 +<code pyton>
 +        #weg nach links
 +        blocks.fill(materialA[0], world(x+l/2, y, z-1), world(x+l/2, y, z-6), FillOperation.REPLACE)
 +        blocks.fill(materialA[0], world(x+l/2, y, z-6), world(x+l+l+7, y, z-6), FillOperation.REPLACE)
 +        blocks.fill(materialA[0], world(x+l+l+1, y, z-6), world(x+l+l+1, y, z-9), FillOperation.REPLACE)
 +        blocks.fill(materialA[0], world(x+l+l+7, y, z-1), world(x+l+l+7, y, z-9), FillOperation.REPLACE)
 +        blocks.fill(materialA[0], world(x+l+l+7, y, z-9), world(x+l+l+9, y, z-9), FillOperation.REPLACE)
 +        blocks.fill(materialA[0], world(x+l+l+7, y, z-3), world(x+l+l+l+7, y, z-3), FillOperation.REPLACE)
 +        blocks.fill(materialA[0], world(x+l+l+l+7, y, z-3), world(x+l+l+l+7, y, z+5), FillOperation.REPLACE)
 +        blocks.fill(materialA[0], world(x+l+l+l+7, y, z+5), world(x+l+l+l+14, y, z+5), FillOperation.REPLACE)
 +        blocks.fill(materialA[0], world(x+l+l+l+14, y, z+5), world(x+l+l+l+14, y, z+9), FillOperation.REPLACE)
 +        #weg nach rechts
 +        blocks.fill(materialA[0], world(x+l/2, y, z-6), world(x-3, y, z-6), FillOperation.REPLACE)
 +        blocks.fill(materialA[0], world(x-3, y, z-6), world(x-3, y, z+b/2), FillOperation.REPLACE)
 +        blocks.fill(materialA[0], world(x-3, y, z-6), world(x-3, y, z+b/2), FillOperation.REPLACE)
 +        blocks.fill(materialA[0], world(x-3, y, z+b/2), world(x-16, y, z+b/2), FillOperation.REPLACE)
 +        blocks.fill(materialA[0], world(x-10, y, z+b/2-6), world(x-10, y, z+b/2+6), FillOperation.REPLACE)
 +        #Laterne1
 +        blocks.fill(materialE[2], world(-39, y+1, -5), world(-39, y+2, -5), FillOperation.REPLACE)
 +        blocks.place(materialA[1], world(-39, y+3, -5))
 +        #Laterne2
 +        blocks.fill(materialE[2], world(-27, y+1, -3), world(-27, y+2, -3), FillOperation.REPLACE)
 +        blocks.place(materialA[1], world(-27, y+3, -3))
 +        #Laterne3
 +        blocks.fill(materialE[2], world(-28, y+1, 6), world(-28, y+2, 6), FillOperation.REPLACE)
 +        blocks.place(materialA[1], world(-28, y+3, 6))
 +        #laterne4
 +        blocks.fill(materialE[2], world(-20, y+1, 5), world(-20, y+2, 5), FillOperation.REPLACE)
 +        blocks.place(materialA[1], world(-20, y+3, 5))
 +        #laterne5
 +        blocks.fill(materialE[2], world(-69, y+1, -7), world(-69, y+2, -7), FillOperation.REPLACE)
 +        blocks.place(materialA[1], world(-69, y+3, -7))
 +        #laterne6
 +        blocks.fill(materialE[2], world(-91, y+1, -6), world(-91, y+2, -6), FillOperation.REPLACE)
 +        blocks.place(materialA[1], world(-91, y+3, -6))
 +        #laterne7
 +        blocks.fill(materialE[2], world(-83, y+1, -6), world(-83, y+2, -6), FillOperation.REPLACE)
 +        blocks.place(materialA[1], world(-83, y+3, -6))
 +</code>
 +
 \\ \\
-\\ +__Code von den Bäumen__:
-__Zusammengesetzter Bauernhof__ :+
 \\ \\
 <code pyton> <code pyton>
-material = [PLANKS_SPRUCE, LOG_SPRUCE, SPRUCE_DOOR, GLASS, BRICK_STAIRS, ROSE_BUSH, BRICKS, BRICKS_SLAB, SPRUCE_FENCE, HAY_BLOCK] + 
-materialE = [CHEST,FURNACE,COBBLESTONE_WALL,BOOKSHELF, CAMPFIRE, SPRUCE_TRAPDOOR]+def baum():
    
 +    blocks.place(OAK_SAPLING,world(-50, -60, 13))
 +    blocks.place(OAK_SAPLING,world(-57, -60, 17))
 +    blocks.place(OAK_SAPLING,world(-63, -60, 14))
 +    blocks.place(OAK_SAPLING,world(-57, -60, 25))
 +    blocks.place(OAK_SAPLING,world(-61, -60, 22))
 +    blocks.place(OAK_SAPLING,world(-49, -60, 19))
 +    blocks.place(OAK_SAPLING,world(-49, -60, 26))
 +    blocks.place(OAK_SAPLING,world(-54, -60, 22))
 +    blocks.place(OAK_SAPLING,world(-40, -60, 13))
 +    blocks.place(OAK_SAPLING,world(-47, -60, 17))
 +    blocks.place(OAK_SAPLING,world(-53, -60, 14))
 +    blocks.place(OAK_SAPLING,world(-47, -60, 25))
 +    blocks.place(OAK_SAPLING,world(-51, -60, 22))
 +    blocks.place(OAK_SAPLING,world(-39, -60, 19))
 +    blocks.place(OAK_SAPLING,world(-39, -60, 26))
 +    blocks.place(OAK_SAPLING,world(-44, -60, 22))
 +
 +    blocks.place(CHERRY_SAPLING,world(-80,-60,14))
 +    blocks.place(CHERRY_SAPLING,world(-95, -60, 10))
 +    blocks.place(CHERRY_SAPLING,world(-93, -60, 17))
 +baum()
 +</code>
    
-def Haus4(l,h,b,x,y,z): +\\ 
-   #Haus, fenster, +__Zusammengesetzter Bauernhof (mit Anpassungen und Interactionen)__ : 
-   blocks.fill(material[0], world(x, y, z), world(x+l, y+h, z+b), FillOperation.HOLLOW) +\\ 
-   blocks.fill(material[1], world(x, y, z), world(x, y+h, z), FillOperation.REPLACE) +<code pyton> 
-   blocks.fill(material[1], world(x+l, y, z), world(x+l, y+h, z), FillOperation.REPLACE) + 
-   blocks.fill(material[1], world(x+l, y, z+b), world(x+l, y+h, z+b), FillOperation.REPLACE) +material = [PLANKS_SPRUCE, LOG_SPRUCE, SPRUCE_DOOR, GLASS, BRICK_STAIRS, ROSE_BUSH, BRICKS, BRICKS_SLAB, SPRUCE_FENCE, HAY_BLOCK, ] 
-   blocks.fill(material[1], world(x, y, z+b), world(x, y+h, z+b), FillOperation.REPLACE) +materialE = [CHEST,FURNACE,COBBLESTONE_WALL,BOOKSHELF, CAMPFIRE, SPRUCE_TRAPDOOR, JACK_O_LANTERN ] 
-   blocks.fill(material[1], world(x, y+h, z), world(x+l, y+h, z), FillOperation.REPLACE) +materialA =[GRASS_PATH,TORCH] 
-   blocks.fill(material[1], world(x, y+h, z+b), world(x+l, y+h, z+b), FillOperation.REPLACE) +materialS =[PLANKS_ACACIA, SPRUCE_WOOD_STAIRS] 
-   blocks.fill(material[1], world(x+l, y+h, z), world(x+l, y+h, z+b), FillOperation.REPLACE) +def Feldanfang(länge,breite,x,y,z): 
-   blocks.fill(material[1], world(x, y+h, z), world(x, y+h, z+b), FillOperation.REPLACE) +    #feld 
-   #fenster (gross) +    blocks.fill(BRICKS, world(x, y, z), world(x+länge, y, z+breite), FillOperation.HOLLOW) 
-   blocks.fill(material[3], world(x, y+2, z+2), world(x, y+h-1, z+b-2), FillOperation.REPLACE) +    blocks.fill(FARMLAND, world(x+1, y, z+1), world(x+länge-1, y, z+breite-1), FillOperation.REPLACE) 
-   #Fenster(klein) +    blocks.place(WATER, world((x+länge/2), y,(z+breite/2))) 
-   blocks.fill(material[3], world(x+l/2-2, y+2, z), world(x+l/2-2, y+3, z), FillOperation.REPLACE) +         
-   blocks.fill(material[3], world(x+l/2+2, y+2, z), world(x+l/2+2, y+3, z), FillOperation.REPLACE) +     
-   #tür +Feldanfang(8,8,-10,-60,-12) 
-   blocks.fill(AIR, world(x+l/2, y+1, z), world(x+l/2, y+2, z), FillOperation.REPLACE) + 
-   blocks.place(material[2], world(x+l/2, y+1, z)) + 
-  + 
-   #Blumen +def on_item_interacted(): 
-   blocks.place(material[5], world(x+l/2+1, y+1, z-1)) +    def Haus4(l,h,b,x,y,z): 
-   blocks.place(material[5], world(x+l/2-1, y+1, z-1)) +    #Haus, fenster, 
-   #kamin +        blocks.fill(material[0], world(x, y, z), world(x+l, y+h, z+b), FillOperation.HOLLOW) 
-   blocks.fill(material[6], world(x+l/2-1, y+1, z+b-1), world(x+l/2+1, y+2, z+b-1), ) +        blocks.fill(material[1], world(x, y, z), world(x, y+h, z), FillOperation.REPLACE) 
-   blocks.place(AIR, world(x+l/2, y+1, z+b-1)) +        blocks.fill(material[1], world(x+l, y, z), world(x+l, y+h, z), FillOperation.REPLACE) 
-   blocks.place(material[6], world(x+l/2, y+3, z+b-1)) +        blocks.fill(material[1], world(x+l, y, z+b), world(x+l, y+h, z+b), FillOperation.REPLACE) 
-   #feuer +        blocks.fill(material[1], world(x, y, z+b), world(x, y+h, z+b), FillOperation.REPLACE) 
-   blocks.place(materialE[4], world(x+l/2, y+1, z+b-1)) +        blocks.fill(material[1], world(x, y+h, z), world(x+l, y+h, z), FillOperation.REPLACE) 
-  +        blocks.fill(material[1], world(x, y+h, z+b), world(x+l, y+h, z+b), FillOperation.REPLACE) 
-    #dach +        blocks.fill(material[1], world(x+l, y+h, z), world(x+l, y+h, z+b), FillOperation.REPLACE) 
-   for i in range(l/2+1): +        blocks.fill(material[1], world(x, y+h, z), world(x, y+h, z+b), FillOperation.REPLACE) 
-       blocks.fill(material[4], world(x-1+i, y+h+i, z-1), world(x-1+i, y+h+i, z+b+1),FillOperation.REPLACE) +    #fenster (gross) 
-   for i in range(l/2): +        blocks.fill(material[3], world(x, y+2, z+2), world(x, y+h-1, z+b-2), FillOperation.REPLACE) 
-       blocks.fill(blocks.block_with_data (material[4], 1), world(x+l-i, y+h+1+i, z-1), world(x+l-i, y+h+1+i, z+b+1),FillOperation.REPLACE) +    #Fenster(klein) 
-   blocks.fill(blocks.block_with_data (material[7], 1), world(x+l/2, y+h+6, z-1), world(x+l/2, y+h+6, z+b+1),FillOperation.REPLACE) +        blocks.fill(material[3], world(x+l/2-2, y+2, z), world(x+l/2-2, y+3, z), FillOperation.REPLACE) 
-   #zweite reihe treppen +        blocks.fill(material[3], world(x+l/2+2, y+2, z), world(x+l/2+2, y+3, z), FillOperation.REPLACE) 
-   for i in range(l/2): +    #tür 
-       blocks.place(blocks.block_with_data (material[4], 5), world(x+i, y+h+i, z-1)) +        blocks.fill(AIR, world(x+l/2, y+1, z), world(x+l/2, y+2, z), FillOperation.REPLACE) 
-   for i in range(l/2): +        blocks.place(material[2], world(x+l/2, y+1, z)) 
-       blocks.place(blocks.block_with_data (material[4], 4), world(x+l-1-i, y+h+1+i, z-1)) +     
-  +    #Blumen 
-   blocks.place(blocks.block_with_data (material[4], 6), world(x+l/2, y+h+5, z-1)) +        blocks.place(material[5], world(x+l/2+1, y+1, z-1)) 
-   for i in range(l/2): +        blocks.place(material[5], world(x+l/2-1, y+1, z-1)) 
-       blocks.place(blocks.block_with_data (material[4], 5), world(x+i, y+h+i, z+b+1)) + 
-   for i in range(l/2): +         
-       blocks.place(blocks.block_with_data (material[4], 4), world(x+l-1-i, y+h+1+i, z+b+1)) +    #kamin 
-   blocks.place(blocks.block_with_data (material[4], 7), world(x+l/2, y+h+5, z+b+1)) +        blocks.fill(material[6], world(x+l/2-1, y+1, z+b-1), world(x+l/2+1, y+2, z+b-1), ) 
-   #glas dach +        blocks.place(AIR, world(x+l/2, y+1, z+b-1)) 
-   for i in range(0,l/2): +        blocks.place(material[6], world(x+l/2, y+3, z+b-1)) 
-       blocks.fill(material[0], world(x+l-1-i, y+h+1+i, z), world(x+1+i, y+h+1+i, z), FillOperation.REPLACE) +    #feuer 
-   for i in range(0,l/2): +        blocks.place(materialE[4], world(x+l/2, y+1, z+b-1)) 
-       blocks.fill(material[0], world(x+l-1-i, y+h+1+i, z+b), world(x+1+i, y+h+1+i, z+b), FillOperation.REPLACE) +     
-   blocks.fill(material[1], world(x+l/2-1, y+h+1, z), world(x+l/2-1, y+h+1+3, z), FillOperation.REPLACE) +        #dach 
-   blocks.fill(material[1], world(x+l/2+1, y+h+1, z), world(x+l/2+1, y+h+1+3, z), FillOperation.REPLACE) +        for i in range(l/2+1): 
-   blocks.fill(material[1], world(x+l/2-1, y+h+1, z+b), world(x+l/2-1, y+h+1+3, z+b), FillOperation.REPLACE) +            blocks.fill(material[4], world(x-1+i, y+h+i, z-1), world(x-1+i, y+h+i, z+b+1),FillOperation.REPLACE) 
-   blocks.fill(material[1], world(x+l/2+1, y+h+1, z+b), world(x+l/2+1, y+h+1+3, z+b), FillOperation.REPLACE) +        for i in range(l/2): 
-  +            blocks.fill(blocks.block_with_data (material[4], 1), world(x+l-i, y+h+1+i, z-1), world(x+l-i, y+h+1+i, z+b+1),FillOperation.REPLACE) 
-#Grossanbau +        blocks.fill(blocks.block_with_data (material[7], 1), world(x+l/2, y+h+6, z-1), world(x+l/2, y+h+6, z+b+1),FillOperation.REPLACE) 
-   #Anbau +        #zweite reihe treppen 
-   blocks.fill(material[0], world(x+l, y, z), world(x+l+l, y+h, z+b), FillOperation.HOLLOW) +        for i in range(l/2): 
-   blocks.fill(material[1], world(x+l, y, z), world(x+l, y+h, z), FillOperation.REPLACE) +            blocks.place(blocks.block_with_data (material[4], 5), world(x+i, y+h+i, z-1)) 
-   blocks.fill(material[1], world(x+l+l, y, z), world(x+l+l, y+h, z), FillOperation.REPLACE) +        for i in range(l/2): 
-   blocks.fill(material[1], world(x+l+l, y, z+b), world(x+l+l, y+h, z+b), FillOperation.REPLACE) +            blocks.place(blocks.block_with_data (material[4], 4), world(x+l-1-i, y+h+1+i, z-1)) 
-   blocks.fill(material[1], world(x+l, y, z+b), world(x+l, y+h, z+b), FillOperation.REPLACE) +         
-   blocks.fill(material[1], world(x+l, y+h, z), world(x+l+l, y+h, z), FillOperation.REPLACE) +        blocks.place(blocks.block_with_data (material[4], 6), world(x+l/2, y+h+5, z-1)) 
-   blocks.fill(material[1], world(x+l, y+h, z+b), world(x+l+l, y+h, z+b), FillOperation.REPLACE) +        for i in range(l/2): 
-   blocks.fill(material[1], world(x+l+l, y+h, z), world(x+l+l, y+h, z+b), FillOperation.REPLACE) +            blocks.place(blocks.block_with_data (material[4], 5), world(x+i, y+h+i, z+b+1)) 
-   blocks.fill(material[1], world(x+l, y+h, z), world(x+l, y+h, z+b), FillOperation.REPLACE) +        for i in range(l/2): 
-   #Türe +            blocks.place(blocks.block_with_data (material[4], 4), world(x+l-1-i, y+h+1+i, z+b+1)) 
-   blocks.fill(AIR, world(x+l+l/2, y+1, z), world(x+l+l/2, y+2, z), FillOperation.REPLACE) +        blocks.place(blocks.block_with_data (material[4], 7), world(x+l/2, y+h+5, z+b+1)) 
-   blocks.place(material[2], world(x+l+l/2, y+1, z)) +        #glas dach 
-   #Türe2 +        for i in range(0,l/2): 
-   blocks.fill(AIR, world(x+l+l/2+4, y+1, z), world(x+l+l/2+4, y+2, z), FillOperation.REPLACE) +            blocks.fill(material[0], world(x+l-1-i, y+h+1+i, z), world(x+1+i, y+h+1+i, z), FillOperation.REPLACE) 
-   blocks.place(material[2], world(x+l+l/2+4, y+1, z)) +        for i in range(0,l/2): 
-   #Türe3 +            blocks.fill(material[0], world(x+l-1-i, y+h+1+i, z+b), world(x+1+i, y+h+1+i, z+b), FillOperation.REPLACE) 
-   blocks.fill(AIR, world(x+l+l/2-4, y+1, z), world(x+l+l/2-4, y+2, z), FillOperation.REPLACE) +        blocks.fill(material[1], world(x+l/2-1, y+h+1, z), world(x+l/2-1, y+h+1+3, z), FillOperation.REPLACE) 
-   blocks.place(material[2], world(x+l+l/2-4, y+1, z)) +        blocks.fill(material[1], world(x+l/2+1, y+h+1, z), world(x+l/2+1, y+h+1+3, z), FillOperation.REPLACE) 
-   #fenster +        blocks.fill(material[1], world(x+l/2-1, y+h+1, z+b), world(x+l/2-1, y+h+1+3, z+b), FillOperation.REPLACE) 
-   blocks.place(material[8], world(x+l+l-3, y+2, z)) +        blocks.fill(material[1], world(x+l/2+1, y+h+1, z+b), world(x+l/2+1, y+h+1+3, z+b), FillOperation.REPLACE) 
-   blocks.place(material[8], world(x+l+3, y+2, z)) +         
-   #Heuboden +        #Grossanbau 
-   blocks.fill(material[9], world(x+l+1, y, z+1), world(x+l+l, y, z+b), FillOperation.REPLACE) +        #Anbau 
-   #dach +        blocks.fill(material[0], world(x+l, y, z), world(x+l+l, y+h, z+b), FillOperation.HOLLOW) 
-   for i in range(1): +        blocks.fill(material[1], world(x+l, y, z), world(x+l, y+h, z), FillOperation.REPLACE) 
-       blocks.fill(material[4], world(x+l+1+i, y+h+1+i, z-1), world(x+l+1+i, y+1+h+i, z+b+1), FillOperation.REPLACE) +        blocks.fill(material[1], world(x+l+l, y, z), world(x+l+l, y+h, z), FillOperation.REPLACE) 
-   for i in range(2): +        blocks.fill(material[1], world(x+l+l, y, z+b), world(x+l+l, y+h, z+b), FillOperation.REPLACE) 
-        blocks.fill(blocks.block_with_data(material[4], 1), world(x+l+l+1-i, y+h+i, z-1), world(x+l+l+1-i, y+h+i, z+b+1), FillOperation.REPLACE) +        blocks.fill(material[1], world(x+l, y, z+b), world(x+l, y+h, z+b), FillOperation.REPLACE) 
-   blocks.fill(material[6], world(x+l+2, y+h+1, z), world(x+l+l-1, y+h+1, z+b), FillOperation.REPLACE) +        blocks.fill(material[1], world(x+l, y+h, z), world(x+l+l, y+h, z), FillOperation.REPLACE) 
-    +        blocks.fill(material[1], world(x+l, y+h, z+b), world(x+l+l, y+h, z+b), FillOperation.REPLACE) 
-   blocks.fill(blocks.block_with_data(material[4], 2), world(x+l+2, y+h+1, z-1), world(x+l+l-1, y+h+1, z-1), FillOperation.REPLACE) +        blocks.fill(material[1], world(x+l+l, y+h, z), world(x+l+l, y+h, z+b), FillOperation.REPLACE) 
-   blocks.fill(blocks.block_with_data(material[4], 3), world(x+l+2, y+h+1, z+b+1), world(x+l+l-1, y+h+1, z+b+1), FillOperation.REPLACE) +        blocks.fill(material[1], world(x+l, y+h, z), world(x+l, y+h, z+b), FillOperation.REPLACE) 
-    +        #Türe 
-    +        blocks.fill(AIR, world(x+l+l/2, y+1, z), world(x+l+l/2, y+2, z), FillOperation.REPLACE) 
-   #Einrichtung(ohne Kamin) +        blocks.place(material[2], world(x+l+l/2, y+1, z)) 
-   #true +        #Türe2 
-   blocks.fill(blocks.block_with_data(materialE[0], 4), world(x+l-1, y+1, z+b-2), world(x+l-1, y+1, z+b-1), FillOperation.REPLACE) +        blocks.fill(AIR, world(x+l+l/2+4, y+1, z), world(x+l+l/2+4, y+2, z), FillOperation.REPLACE) 
-   #ofen +        blocks.place(material[2], world(x+l+l/2+4, y+1, z)) 
-   blocks.place(materialE[1], world(x+l-2, y+1, z+1)) +        #Türe3 
-   blocks.fill(materialE[2], world(x+l-2, y+2, z+1), world(x+l-2, y+3, z+1), FillOperation.REPLACE) +        blocks.fill(AIR, world(x+l+l/2-4, y+1, z), world(x+l+l/2-4, y+2, z), FillOperation.REPLACE) 
-   #buch +        blocks.place(material[2], world(x+l+l/2-4, y+1, z)) 
-   blocks.fill(materialE[3], world(x+1, y+1, z+1), world(x+1, y+3, z+1), FillOperation.REPLACE) +        #fenster 
-   #verbindungs Türe +        blocks.place(material[8], world(x+l+l-3, y+2, z)) 
-   blocks.fill(AIR, world(x+l, y+1, z+3), world(x+l, y+2, z+4), FillOperation.REPLACE) +        blocks.place(material[8], world(x+l+3, y+2, z)) 
-   blocks.place(blocks.block_with_data(material[2], 5), world(x+l, y+1, z+4)) +        #Heuboden 
-   blocks.place(blocks.block_with_data(material[2], 5), world(x+l, y+1, z+3)) +        blocks.fill(material[9], world(x+l+1, y, z+1), world(x+l+l, y, z+b), FillOperation.REPLACE) 
-    +        #dach 
-    +        for i in range(1): 
-   #tisch +            blocks.fill(material[4], world(x+l+1+i, y+h+1+i, z-1), world(x+l+1+i, y+1+h+i, z+b+1), FillOperation.REPLACE) 
-    +        for i in range(2): 
-    +                blocks.fill(blocks.block_with_data(material[4], 1), world(x+l+l+1-i, y+h+i, z-1), world(x+l+l+1-i, y+h+i, z+b+1), FillOperation.REPLACE) 
-  +        blocks.fill(material[6], world(x+l+2, y+h+1, z), world(x+l+l-1, y+h+1, z+b), FillOperation.REPLACE) 
-  +         
-Haus4(10, 4, 8, 0, -61, 0)+        blocks.fill(blocks.block_with_data(material[4], 2), world(x+l+2, y+h+1, z-1), world(x+l+l-1, y+h+1, z-1), FillOperation.REPLACE) 
 +        blocks.fill(blocks.block_with_data(material[4], 3), world(x+l+2, y+h+1, z+b+1), world(x+l+l-1, y+h+1, z+b+1), FillOperation.REPLACE) 
 +         
 +         
 +        #Einrichtung(ohne Kamin) 
 +        #true 
 +        blocks.fill(blocks.block_with_data(materialE[0], 4), world(x+l-1, y+1, z+b-2), world(x+l-1, y+1, z+b-1), FillOperation.REPLACE) 
 +        #ofen 
 +        blocks.place(materialE[1], world(x+l-2, y+1, z+1)) 
 +        blocks.fill(materialE[2], world(x+l-2, y+2, z+1), world(x+l-2, y+3, z+1), FillOperation.REPLACE) 
 +        #buch 
 +        blocks.fill(materialE[3], world(x+1, y+1, z+1), world(x+1, y+3, z+1), FillOperation.REPLACE) 
 +        #verbindungs Türe 
 +        blocks.fill(AIR, world(x+l, y+1, z+3), world(x+l, y+2, z+3), FillOperation.REPLACE) 
 +        blocks.place(blocks.block_with_data(material[2], 5), world(x+l, y+1, z+3)) 
 +         
 +         
 +        #tisch 
 +         
 +        #weg nach links 
 +        blocks.fill(materialA[0], world(x+l/2, y, z-1), world(x+l/2, y, z-6), FillOperation.REPLACE) 
 +        blocks.fill(materialA[0], world(x+l/2, y, z-6), world(x+l+l+7, y, z-6), FillOperation.REPLACE) 
 +        blocks.fill(materialA[0], world(x+l+l+1, y, z-6), world(x+l+l+1, y, z-9), FillOperation.REPLACE) 
 +        blocks.fill(materialA[0], world(x+l+l+7, y, z-1), world(x+l+l+7, y, z-9), FillOperation.REPLACE) 
 +        blocks.fill(materialA[0], world(x+l+l+7, y, z-9), world(x+l+l+9, y, z-9), FillOperation.REPLACE) 
 +        blocks.fill(materialA[0], world(x+l+l+7, y, z-3), world(x+l+l+l+7, y, z-3), FillOperation.REPLACE) 
 +        blocks.fill(materialA[0], world(x+l+l+l+7, y, z-3), world(x+l+l+l+7, y, z+5), FillOperation.REPLACE) 
 +        blocks.fill(materialA[0], world(x+l+l+l+7, y, z+5), world(x+l+l+l+14, y, z+5), FillOperation.REPLACE) 
 +        blocks.fill(materialA[0], world(x+l+l+l+14, y, z+5), world(x+l+l+l+14, y, z+9), FillOperation.REPLACE) 
 +        #weg nach rechts 
 +        blocks.fill(materialA[0], world(x+l/2, y, z-6), world(x-3, y, z-6), FillOperation.REPLACE) 
 +        blocks.fill(materialA[0], world(x-3, y, z-6), world(x-3, y, z+b/2), FillOperation.REPLACE) 
 +        blocks.fill(materialA[0], world(x-3, y, z-6), world(x-3, y, z+b/2), FillOperation.REPLACE) 
 +        blocks.fill(materialA[0], world(x-3, y, z+b/2), world(x-16, y, z+b/2), FillOperation.REPLACE) 
 +        blocks.fill(materialA[0], world(x-10, y, z+b/2-6), world(x-10, y, z+b/2+6), FillOperation.REPLACE) 
 +        #Laterne1 
 +        blocks.fill(materialE[2], world(-39, y+1, -5), world(-39, y+2, -5), FillOperation.REPLACE) 
 +        blocks.place(materialA[1], world(-39, y+3, -5)) 
 +        #Laterne2 
 +        blocks.fill(materialE[2], world(-27, y+1, -3), world(-27, y+2, -3), FillOperation.REPLACE) 
 +        blocks.place(materialA[1], world(-27, y+3, -3)) 
 +        #Laterne3 
 +        blocks.fill(materialE[2], world(-28, y+1, 6), world(-28, y+2, 6), FillOperation.REPLACE) 
 +        blocks.place(materialA[1], world(-28, y+3, 6)) 
 +        #laterne4 
 +        blocks.fill(materialE[2], world(-20, y+1, 5), world(-20, y+2, 5), FillOperation.REPLACE) 
 +        blocks.place(materialA[1], world(-20, y+3, 5)) 
 +        #laterne5 
 +        blocks.fill(materialE[2], world(-69, y+1, -7), world(-69, y+2, -7), FillOperation.REPLACE) 
 +        blocks.place(materialA[1], world(-69, y+3, -7)) 
 +        #laterne6 
 +        blocks.fill(materialE[2], world(-91, y+1, -6), world(-91, y+2, -6), FillOperation.REPLACE) 
 +        blocks.place(materialA[1], world(-91, y+3, -6)) 
 +        #laterne7 
 +        blocks.fill(materialE[2], world(-83, y+1, -6), world(-83, y+2, -6), FillOperation.REPLACE) 
 +        blocks.place(materialA[1], world(-83, y+3, -6)) 
 +     
 +    Haus4(10, 4, 8, -65, -61, 0) 
 +    #1. hühner 
 +    def Zaun(LÄNGEZ,BREITZ,a,b,c): 
 +        blocks.fill(OAK_FENCE, world(a, b, c), world(a+LÄNGEZ, b, c+BREITZ), FillOperation.HOLLOW) 
 +        blocks.fill(AIR, world(a+1, b, c+1), world(a+LÄNGEZ-1, b, c+BREITZ-1), FillOperation.REPLACE) 
 +         
 +    Zaun(8,8,-41,-60,0) 
 +    #2.huhn 
 +    def Zaun2(LÄNGEZ,BREITZ,a,b,c): 
 +        blocks.fill(OAK_FENCE, world(a, b, c), world(a+LÄNGEZ, b, c+BREITZ), FillOperation.HOLLOW) 
 +        blocks.fill(AIR, world(a+1, b, c+1), world(a+LÄNGEZ-1, b, c+BREITZ-1), FillOperation.REPLACE) 
 +        for i in range(7): 
 +            mobs.spawn(CHICKEN, world(a+1+i, b, c+i)) 
 +    Zaun2(8,8,-25,-60,10) 
 +    #3.kuh 
 +    def ZaunKühe2(LÄNGEK,BREITEK,n,m,p): 
 +        blocks.fill(OAK_FENCE, world(n, m, p), world(n+LÄNGEK, m, p+BREITEK), FillOperation.HOLLOW) 
 +        blocks.fill(AIR, world(n+1, m, p+1), world(n+LÄNGEK-1, m, p+BREITEK-1), FillOperation.REPLACE) 
 +        for i in range(9): 
 +            mobs.spawn(COW, world(n+1+i, m, p+i)) 
 +    ZaunKühe2(10,10,-35,-60,-15) 
 +    #2.Kuh 
 +    def ZaunKühe(LÄNGEK,BREITEK,n,m,p): 
 +        blocks.fill(OAK_FENCE, world(n, m, p), world(n+LÄNGEK, m, p+BREITEK), FillOperation.HOLLOW) 
 +        blocks.fill(AIR, world(n+1, m, p+1), world(n+LÄNGEK-1, m, p+BREITEK-1), FillOperation.REPLACE) 
 +        for i in range(9): 
 +            mobs.spawn(COW, world(n+1+i, m, p+i)) 
 +    ZaunKühe(10,10,-50,-60,-20) 
 +     
 +    def Feld(länge,breite,x,y,z): 
 +        blocks.fill(BRICKS, world(x, y, z), world(x+länge, y, z+breite), FillOperation.HOLLOW) 
 +        blocks.fill(FARMLAND, world(x+1, y, z+1), world(x+länge-1, y, z+breite-1), FillOperation.REPLACE) 
 +        blocks.place(WATER, world((x+länge/2), y,(z+breite/2))) 
 +         
 +     
 +    Feld(8,8,-80,-60,-10) 
 +     
 +    def Feld2(länge,breite,x,y,z): 
 +        blocks.fill(BRICKS, world(x, y, z), world(x+länge, y, z+breite), FillOperation.HOLLOW) 
 +        blocks.fill(FARMLAND, world(x+1, y, z+1), world(x+länge-1, y, z+breite-1), FillOperation.REPLACE) 
 +        blocks.place(WATER, world((x+länge/2), y,(z+breite/2))) 
 +        blocks.fill(CARROTS, world(x+1, y+1, z+1), world(x+länge-1, y+1, z+breite-1), FillOperation.REPLACE) 
 +    Feld2(8,8,-78,-60, 10) 
 +     
 +    def Feld3(länge,breite,x,y,z): 
 +        blocks.fill(BRICKS, world(x, y, z), world(x+länge, y, z+breite), FillOperation.HOLLOW) 
 +        blocks.fill(FARMLAND, world(x+1, y, z+1), world(x+länge-1, y, z+breite-1), FillOperation.REPLACE) 
 +        blocks.place(WATER, world((x+länge/2), y,(z+breite/2))) 
 +        blocks.fill(CARROTS, world(x+1, y+1, z+1), world(x+länge-1, y+1, z+breite-1), FillOperation.REPLACE) 
 +     
 +    Feld3(8,8,-90,-60,0) 
 +     
 +     
 +player.on_item_interacted(CARROTS, on_item_interacted) 
 +#hühnerhaus 
 +def on_item_interacted2(): 
 +    def Hühnerstall (l,h,b,x,y,z): 
 +        blocks.fill(materialS[0], world(x, y, z), world(x+l, y+h, z+b), FillOperation.HOLLOW) 
 +        blocks.fill(AIR, world(x+1, y, z), world(x+l-1, y+h-1, z+1), FillOperation.REPLACE) 
 +        for i in range(0,2): 
 +            blocks.fill(materialS[1], world(x+i, y+h+i, z-1), world(x+i, y+h+i, z+b+1), FillOperation.REPLACE) 
 +        for i in range(0,2): 
 +            blocks.fill(blocks.block_with_data(materialS[1], 1), world(x+l-i, y+h+i, z-1), world(x+l-i, y+h+i, z+b+1), FillOperation.REPLACE) 
 +        blocks.fill(material[8], world(x, y, z-1), world(x, y+2, z-1), FillOperation.REPLACE) 
 +        blocks.fill(material[8], world(x+l, y, z-1), world(x+l, y+2, z-1), FillOperation.REPLACE) 
 +        blocks.fill(material[8], world(x+l, y, z+b+1), world(x+l, y+2, z+b+1), FillOperation.REPLACE) 
 +        blocks.fill(material[8], world(x, y, z+b+1), world(x, y+2, z++b+1), FillOperation.REPLACE) 
 + 
 +    #Zaun 
 +        blocks.fill(material[8], world(x, y, z-2), world(x, y, z-3), FillOperation.REPLACE
 +        blocks.fill(material[8], world(x+l, y, z-2), world(x+l, y, z-3), FillOperation.REPLACE) 
 +        blocks.fill(AIR, world(x+1, y, z-4), world(x+l-1, y, z-4), FillOperation.REPLACE) 
 +    Hühnerstall(3,3,2, -36, -60, 12) 
 +player.on_item_interacted(SPAWN_CHICKEN, on_item_interacted2) 
 + 
 +#Gewächshaus 
 +def on_item_interacted3(): 
 +    def Gewächshaus(l,h,b,x,y,z): 
 +        blocks.fill(material[3], world(x,y+1,z), world(x+l,y+h,z+b), FillOperation.HOLLOW) 
 +        blocks.fill(AIR, world(x+l-1,y+1,z+b), world(x+1,y+h-1,z+b), FillOperation.REPLACE) 
 +        blocks.fill(AIR, world(x+1,y+1,z+1), world(x+l-1,y+h-1,z+b), FillOperation.REPLACE) 
 +        blocks.fill(STONE, world(x, y, z), world(x+l, y, z+b), FillOperation.REPLACE) 
 +        blocks.fill(FARMLAND, world(x+1, y, z+1), world(x+l-1, y, z+b-1), FillOperation.REPLACE) 
 +        blocks.place(WATER, world((x+l/2), y,(z+b/2))) 
 +    #balken 
 +        blocks.fill(material[0], world(x, y, z), world(x, y+h-1, z), FillOperation.REPLACE) 
 +        blocks.fill(material[0], world(x+l, y, z), world(x+l, y+h-1, z), FillOperation.REPLACE) 
 +        blocks.fill(material[0], world(x+l, y, z+b), world(x+l, y+h-1, z+b), FillOperation.REPLACE) 
 +        blocks.fill(material[0], world(x, y, z+b), world(x, y+h-1, z+b), FillOperation.REPLACE) 
 +    Gewächshaus(8,4,8,-91,-61,-15) 
 + 
 +player.on_item_interacted(POTATOES, on_item_interacted3) 
 </code> </code>
 \\ \\
  • gf2/projekte/2023/minecraft/2d1gruppe4.1705487362.txt.gz
  • Zuletzt geändert: 2024/01/17 11:29
  • von jungol