Skip to content

Instantly share code, notes, and snippets.

@nshiff
Created March 2, 2015 02:58
Show Gist options
  • Save nshiff/76f67787fa2731d35a33 to your computer and use it in GitHub Desktop.
Save nshiff/76f67787fa2731d35a33 to your computer and use it in GitHub Desktop.
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