09-15-2013, 11:16 AM
This topic cannot die!
... i tried to code an mcedit filter
... i tried to code an mcedit filter
Code:
#Generate redstone wiring
level.setBlockAt(pos[0], pos[1], pos[2], 137)
level.setBlockAt(pos[0], pos[1] + 1, pos[2], 55)
level.setBlockAt(pos[0], pos[1] - 1, pos[2] - 1, wirBlk.ID)
level.setBlockDataAt(pos[0], pos[1] - 1, pos[2] - 1, wirBlk.blockData)
level.setBlockAt(pos[0], pos[1], pos[2] - 1, 149)
level.setBlockAt(pos[0], pos[1], pos[2] - 2, wirBlk.ID)
level.setBlockDataAt(pos[0], pos[1], pos[2] - 2, wirBlk.blockData)
level.setBlockAt(pos[0], pos[1] + 1, pos[2] - 2, 75)
level.setBlockAt(pos[0], pos[1] + 2, pos[2] - 2, wirBlk.ID)
level.setBlockDataAt(pos[0], pos[1] + 2, pos[2] - 2, wirBlk.blockData)
level.setBlockAt(pos[0], pos[1] + 3, pos[2] - 2, 55)