Created
March 2, 2015 02:58
-
-
Save nshiff/76f67787fa2731d35a33 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from mcapi import * | |
me = player('heyandy889') | |
targetBlock = lookingat(me) | |
x = targetBlock.x | |
y = targetBlock.y - 5 | |
z = targetBlock.z | |
cube(x,y,z,BlockType.DiamondBlock,8) | |
cube(x+1,y+4,z+1,BlockType.EmeraldBlock,6) | |
cube(x+2,y+8,z+2,BlockType.GoldBlock,4) | |
cube(x+3,y+12,z+3,BlockType.RedstoneBlock,2) | |
for i in range(3): | |
bolt(Position(x+4,y,z+4)) | |
sleep(1) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment