I'm trying to build a map with alot of redstone, testforblock and setblock commands but the Seth Bling filter to change the command block coordinates by dx, dy, dz won't work with these commands. Can someone help me update it so it'll work with these commands, I don't know Python :s
This will not work since i plan on moving the command blocks around (i.e reference would change).
I also plan on checking every block of a grid so one command block is checking (1,1) and the next one that two blocks to the right has to check (1,2)
and that is why i don't want to use references and i need to hard code the coordinates in
install rein's mini map i can't get my co-ordinates up but rein's displayed them for you just when you install the mod got to rein's mini map options and set co-ordinates type 2
If this is to find which coordinates to put in the command block, you can find those with F3 or Fn+F3 if you're on a macbook.
I have the coordinates that i want but the problem i have is efficiency
the point of the filter is so i can copy paste the command blocks and then using the filter, change the coordinates by one each time to cover the whole grid of coordinates that i want to check.
so the only reason i want to update the filter is to save me time as i have like over 1000 command blocks to change if not more
I'm trying to build a map with alot of redstone, testforblock and setblock commands but the Seth Bling filter to change the command block coordinates by dx, dy, dz won't work with these commands. Can someone help me update it so it'll work with these commands, I don't know Python :s
Here is a link to his filter:
http://sethbling.com/downloads/mcedit-filters/movecommandblockcoords/
Thanks!
I also plan on checking every block of a grid so one command block is checking (1,1) and the next one that two blocks to the right has to check (1,2)
and that is why i don't want to use references and i need to hard code the coordinates in
If this is to find which coordinates to put in the command block, you can find those with F3 or Fn+F3 if you're on a macbook.
I have the coordinates that i want but the problem i have is efficiency
the point of the filter is so i can copy paste the command blocks and then using the filter, change the coordinates by one each time to cover the whole grid of coordinates that i want to check.
so the only reason i want to update the filter is to save me time as i have like over 1000 command blocks to change if not more
if (words[0] == "testforblock" or words[0] == "setblock") and len(words) >= 5:
if words[1][0] != "~":
words[1] = str(int(words[1]) + dx)
if words[2][0] != "~":
words[2] = str(int(words[2]) + dy)
if words[3][0] != "~":
words[3] = str(int(words[3]) + dz)
near the bottom and it works