Untitled

mail@pastecode.io avatar
unknown
python
2 years ago
573 B
4
Indexable
Never
def etap3(z):
    #dodajemy kolejny segment toru
    blocks.fill(BEDROCK, world(x-10,y-1,z-2), world(x+10,y+10,z+30), FillOperation.HOLLOW)
    blocks.fill(BEDROCK, world(x-10,y-1,z-3), world(x+10, y-1, z+3)) # zamienia blok pod graczem
    blocks.fill(BEDROCK, world(x-10,y-1,z-3), world(x+10, y+10, z-5)) # buduje sciane za graczem
    # 1. DOBUDOWAC TOR Z DIAMENTOW 
    # 2. W PETLI ZAWSZE 
    # 2.1 sprawdzic czy gracz stoi na diamentach 
    # 2.2 Jesli stoi na diamentach(prawda) to spawn tnt -> mobs.spawn(TNT,randpos(world(x-8,y+3,z+3), world(x+8,y+3,z+20)))