Untitled
unknown
plain_text
2 years ago
692 B
10
Indexable
def stage2(z): player.say("STAGE 2") 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-5),world(x+10,y-1,z+5)) blocks.fill(BEDROCK, world(x-10,y,z-3),world(x+10,y+10,z-1)) blocks.fill(GLASS, world(x-9,y-1,z+25),world(x+9,y-1,z+27)) for i in range(11): mobs.spawn(ZOMBIE, randpos(world(x-8,y+3,z+3), world(x+8,y+3,z+20))) while True: if blocks.test_for_block(SEA_LANTERN, pos(0, -1, 0)): #getting the current position and passing it to the function position=player.position() z=position.get_value(Axis.Z) stage1(z) loops.pause(3000)
Editor is loading...