Skip to content

Instantly share code, notes, and snippets.

@champierre
Created September 30, 2013 07:43
Show Gist options
  • Save champierre/6760523 to your computer and use it in GitHub Desktop.
Save champierre/6760523 to your computer and use it in GitHub Desktop.
import mcpi.minecraft as minecraft
import mcpi.block as block
mc = minecraft.Minecraft.create()
pos = mc.player.getPos()
mc.setBlock(pos.x, pos.y + 1, pos.z + 1, block.STONE)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment