Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import minecraft
- import block
- import time
- # Create Minecraft instance
- mc = minecraft.Minecraft.create()
- # Delay
- time.sleep(2)
- # A line of blocks **EXAMPLE**
- for x in xrange(0,10):
- mc.setBlock(x, 20, 0, block.DIAMOND_BLOCK)
- time.sleep(0.05)
- time.sleep(2)
- for x in xrange(0,10):
- mc.setBlock(x, 20, 0, block.AIR)
- time.sleep(0.05)
- ## SEPERATOR ##
- time.sleep(2)
- ## END ##
- # Wall **EXAMPLE**
- for x in xrange(0,10):
- for y in xrange(20,30):
- mc.setBlock(x, y, 0, block.DIAMOND_BLOCK)
- time.sleep(0.05)
- time.sleep(2)
- for x in xrange(0,10):
- for y in xrange(20,30):
- mc.setBlock(x, y, 0, block.AIR)
- time.sleep(0.05)
- ## SEPERATOR ##
- time.sleep(2)
- ## END ##
- # Cube **EXAMPLE**
- for x in range(0,10):
- for y in xrange(20,30):
- for z in xrange(0,10):
- mc.setBlock(x, y, z, block.DIAMOND_BLOCK)
- time.sleep(0.05)
- time.sleep(2)
- for x in range(0,10):
- for y in xrange(20,30):
- for z in xrange(0,10):
- mc.setBlock(x, y, z, block.DIAMOND_BLOCK)
- time.sleep(0.05)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement