Untitled
unknown
plain_text
a year ago
647 B
2
Indexable
Never
def spiderSpawn(): gameplay.set_game_mode(SURVIVAL, mobs.target(NEAREST_PLAYER)) #czyszczenie ekwipunku player.execute("/clear") mobs.give(mobs.target(NEAREST_PLAYER), DIAMOND_AXE, 1) mobs.give(mobs.target(NEAREST_PLAYER), BOW, 1) mobs.give(mobs.target(NEAREST_PLAYER), ARROW, 64) mobs.give(mobs.target(NEAREST_PLAYER), TORCH, 3) #używamy pętli aby utworzyć pajęczyny for i in range(50): blocks.place(COBWEB, randpos(world(x-4,y+1,z), world(x+9,y+7,z+45))) for i in range(5): mobs.spawn(SPIDER, randpos(world(x-4,y+1,z+10), world(x+9,y+7,z+45)))