Untitled

mail@pastecode.io avatar
unknown
python
a month ago
1.1 kB
6
Indexable
Never
while True:
    if blocks.test_for_block(WHITE_TERRACOTTA, pos(0, -1, 0)):
        mobs.give(mobs.target(NEAREST_PLAYER), DIAMOND_PICKAXE, 1)
        blocks.fill(PACKED_ICE, world(-9, -61, -9),world(9, -61, -7),
        
        FillOperation.REPLACE)
        
        gameplay.title(mobs.target(NEAREST_PLAYER), "Zniszcz szklaną ścianę", "wydostań się z jaskini")
    elif blocks.test_for_block(OBSIDIAN, pos(0, -1, 0)):
        gameplay.title(mobs.target(NEAREST_PLAYER), "Wybuduj most", "użyj do tego agenta")
        
        blocks.fill(PACKED_ICE, world(-9, -62, -15), world(9, -61, -13), FillOperation.HOLLOW)
    elif blocks.test_for_block(BRICKS, pos(0, -1, 0)):
        gameplay.title(mobs.target(NEAREST_PLAYER),"Pokonaj Wiedźmę","odkryj tajemnicę śniegu")
        
        gameplay.time_set(gameplay.time(NIGHT))
        mobs.spawn(WITCH, world(0, -60, -25))
        for i in range(10):
            mobs.spawn(SKELETON, world(0, -60, -25))
        blocks.fill(PACKED_ICE, world(-9, -61, -20), world(9, -61, -22),
            
        FillOperation.REPLACE)
Leave a Comment