archiv:gf:gf2020_2021:minecraft:projekt:2d2:morrisstefan:morris

def on_on_chat():
    pass
player.on_chat("run", on_on_chat)

def hype_house(xpos,ypos,zpos,breite, hoehe):
    blocks.fill(BLOCK_OF_QUARTZ,world(xpos,ypos,zpos),world(xpos+breite,ypos+hoehe, zpos+breite))
    blocks.fill(AIR, world(xpos+1,ypos,zpos+1),world(xpos+breite-1,ypos+hoehe-1, zpos+breite-1))


def stairs(xpos,ypos,zpos,breite):
    for i in range(0,breite+1,1):
        blocks.place(QUARTZ_STAIRS,world(xpos,ypos,zpos+i))
        blocks.place(blocks.block_with_data(QUARTZ_STAIRS,1),world(xpos+breite,ypos, zpos+i))
        blocks.place(blocks.block_with_data(QUARTZ_STAIRS,2),world(xpos+i,ypos,zpos))
        blocks.place(blocks.block_with_data(QUARTZ_STAIRS,3),world(xpos+i,ypos,zpos+breite))

def stairsbalcony(xpos,ypos,zpos,breite):
     for i in range(0,breite+1,1):
                blocks.place(blocks.block_with_data(QUARTZ_STAIRS,4),world(xpos,ypos,zpos+i))
                blocks.place(blocks.block_with_data(QUARTZ_STAIRS,5),world(xpos+breite,ypos, zpos+i))
                blocks.place(blocks.block_with_data(QUARTZ_STAIRS,6),world(xpos+i,ypos,zpos))
                blocks.place(blocks.block_with_data(QUARTZ_STAIRS,7),world(xpos+i,ypos,zpos+breite))



def hype_housewindow(xpos,ypos,zpos,breite, hoehe):
    blocks.fill(CYAN_STAINED_GLASS,world(xpos,ypos,zpos),world(xpos+breite,ypos+hoehe, zpos))
    blocks.fill(CYAN_STAINED_GLASS,world(xpos,ypos,zpos+breite+2),world(xpos+breite,ypos+hoehe, zpos+breite+2))
    blocks.fill(CYAN_STAINED_GLASS,world(xpos-1,ypos,zpos+1),world(xpos-1,ypos+hoehe, zpos+breite+1))
    blocks.fill(CYAN_STAINED_GLASS,world(xpos+breite+1,ypos,zpos+1),world(xpos+breite+1,ypos+hoehe, zpos+breite+1))

def elevator(xpos,ypos,zpos,breite,hoehe):
    blocks.fill(PURPLE_STAINED_GLASS_PANE,world(xpos,ypos,zpos),world(xpos+breite,ypos+hoehe, zpos+breite))
    blocks.fill(AIR, world(xpos+1,ypos,zpos+1),world(xpos+breite-1,ypos+hoehe, zpos+breite-1))

def BEntfernen(xpos,ypos,zpos,xpos2,ypos2,zpos2):
    blocks.fill(AIR, world(xpos,ypos,zpos), world(xpos2,ypos2,zpos2))  

def WPlatzieren(xpos,ypos,zpos,xpos2,ypos2,zpos2):
    blocks.fill(WATER, world(xpos,ypos,zpos), world(xpos2,ypos2,zpos2))

def BPlatzieren(xpos,ypos,zpos,xpos2,ypos2,zpos2):
    blocks.fill(BLOCK_OF_QUARTZ, world(xpos,ypos,zpos), world(xpos2,ypos2,zpos2))


hype_house(80,4,58,20,8)

hype_house(82,13,60,16,12)

stairs(81,13,59,18)

hype_house(84,26,62,12,20)

stairs(83,26,61,14)   

hype_house(87,47,65,6,20)

hype_house(89,68,67,2,8)

hype_housewindow(81,5,58,18,6)
#Etage1
hype_housewindow(83,15,60,14,9)
#Etage2
hype_housewindow(85,28,62,10,17)
#Etage3
hype_housewindow(88,49,65,4,17)
#Etage4
elevator(89,4,67,2,63)

BEntfernen(90,4,69,90,5,70)
#Lifttür1e
BEntfernen(90,13,69,90,14,69)
#Lifttür2e
BEntfernen(90,26,69,90,27,69)
#Lifttür3e
BEntfernen(90,47,69,90,48,69)
#Lifttür4e
BEntfernen(90,68,69,90,69,69)
#Lifttür5e

BEntfernen(90,3,68,90,3,68)
#Entfernt Block für das Wasser im untersten Stock des Liftes
WPlatzieren(90,75,68,90,75,68)
#Wasser des Fahrstuhls

BPlatzieren(87,5,78,93,12,78)
#Rahmen für den Eingang
BEntfernen(91,4,78,89,7,79)
#Eingang

stairsbalcony(86,67,64,8)


for i in range(0,41,1):
    for j in range(0,41,1):
        if ((i+j)%2)==0:
            blocks.place(PURPLE_WOOL, world(70+i, 3, 48+j))
        else:
            blocks.place(LIGHT_BLUE_WOOL, world(70+i,3,48+j))

  • archiv/gf/gf2020_2021/minecraft/projekt/2d2/morrisstefan/morris.txt
  • Zuletzt geändert: 2022/08/27 18:08
  • von lehmannr