Simple MCEDit filter that converts all selected commandblocks, signs and commandblock minecarts to 1.9 "Strict" JSON and /playsound. Very useful if you have ton of commands.
It assumes you have working commands that use only double quotes. Always backup your worlds if you use filters.
How to use:
Open your world in MCEdit
Select the region containing commandblocks, signs and commandblock minecarts you want to convert (it will leave anything else intact)
Hit filter
Done!
Inputs:
JSON: check if you want JSON converted
/playsound: check if you want /playsound converted
/playsound source: choose playsound source
If you find any bugs/ unconverted tags/ wrong sound pairs, let me know.
Sounds mentioned on wiki that weren't working even before 1.9:
There is a Problem for me, it works for tellraw, but it turns minecraft:redstone_block into minecraft:"red"stone_block
it works for other blocks so I assume its because red is also a color
Thank you. I fixed it now and it should also fix all commands it broke.
It happened because I search for ':red' and escape it. I don't use 'minecraft:' in my commands, so I totally forgot about this. It now replaces ':"red"stone' with ':redstone'. Sorry for any inconvenience.
Thank you. I fixed it now and it should also fix all commands it broke.
U
It happened because I search for ':red' and escape it. I don't use 'minecraft:' in my commands, so I totally forgot about this. It now replaces ':"red"stone' with ':redstone'. Sorry for any inconvenience.
Thank you for fixing it. It might also be broken for minecraft:gold_block because gold is a color too but im not sure
normally i dont use minecraft: either, but sometime pressing Tab is faster
:"red"_, :"red"stone, :"gold"_, :"gold"en, and :"yellow"_.
Hopefully that's all.
ok
Maybe
minecraft:light_weighted_pressure_plate
is a Problem, too, because isnt there light_purple?
stuff like
minecraft:dark_oak_door
could also be a Problem for dark_aqua dark_red dark_blue dark_green and dark_gray
EDIT:
Im not sure if your filter did it but in my summon commands color was "color"
if it was your filter dont add "" for
display:{color:
maybe?
EDIT2:
There is also stuff like \"red\" now, but I can fix that. Your filter really helped alot thank you for making it
/tellraw @a[team=Blue] ["",{"text":"<HQ> Hire another Zombie for 50 Gold!","color":"blue"},{"text":" [Pay]","color":"gold","clickEvent":{"action":"run_command","value":"/setblock -1177 4 139 minecraft:\"red\"stone_block"}}]
There is also stuff like \"red\" now, but I can fix that. Your filter really helped alot thank you for making it
/tellraw @a[team=Blue] ["",{"text":"<HQ> Hire another Zombie for 50 Gold!","color":"blue"},{"text":" [Pay]","color":"gold","clickEvent":{"action":"run_command","value":"/setblock -1177 4 139 minecraft:\"red\"stone_block"}}]
(Download and) Run the filter again. It will fix that (just tested that).
As you can see in the stack trace, the Exception was not caused by my file, but by files: "mcedit2\editorapp.py", "mcedit2\editorsession.py", "mceditlib\worldeditor.py" and "mceditlib\findadapter.py".
I am using the MCEdit 1.0 and I don't get this error.
Simple MCEDit filter that converts all selected commandblocks, signs and commandblock minecarts to 1.9 "Strict" JSON and /playsound. Very useful if you have ton of commands.
It assumes you have working commands that use only double quotes.
Always backup your worlds if you use filters.
How to use:
Inputs:
If you find any bugs/ unconverted tags/ wrong sound pairs, let me know.
Sounds mentioned on wiki that weren't working even before 1.9:
I hope this works!
Check out Crowdford here.
It worked for me
If it doesn't, please let me know.
There is a Problem for me, it works for tellraw, but it turns minecraft:redstone_block into minecraft:"red"stone_block
it works for other blocks so I assume ist because red is also a color
Check out Crowdford here.
Thank you. I fixed it now and it should also fix all commands it broke.
It happened because I search for ':red' and escape it. I don't use 'minecraft:' in my commands, so I totally forgot about this. It now replaces ':"red"stone' with ':redstone'. Sorry for any inconvenience.
Thank you for fixing it. It might also be broken for minecraft:gold_block because gold is a color too but im not sure
normally i dont use minecraft: either, but sometime pressing Tab is faster
Check out Crowdford here.
Yeah, I fixed the:
:"red"_, :"red"stone, :"gold"_, :"gold"en, and :"yellow"_.
Hopefully that's all.
ok
Maybe
is a Problem, too, because isnt there light_purple?
stuff like
could also be a Problem for dark_aqua dark_red dark_blue dark_green and dark_gray
EDIT:
Im not sure if your filter did it but in my summon commands color was "color"
if it was your filter dont add "" for
maybe?
EDIT2:
There is also stuff like \"red\" now, but I can fix that. Your filter really helped alot thank you for making it
Check out Crowdford here.
This is not a problem, because I replace
and it has to be a substring of the minecraft: string for it to be a problem:
Yes, this was my filter. Can you please post the command that uses display:{color: ?
(Download and) Run the filter again. It will fix that (just tested that).
Thank you for your feedback =D
I fixed everything already by Hand because there wasnt alot of it.
This is an example of the summon command, but I already fixed the "color"
I only use it like this
but it is also possible to have e.g
Check out Crowdford here.
Fixed.
keeps giving me an error, i want to update my map top 1.9
------
Unhandled Exception
Traceback (most recent call last):
File "mcedit2\editorapp.py", line 739, in libraryItemDoubleClicked (self is a MCEditApp)
File "mcedit2\editorsession.py", line 957, in importSchematic (self is a EditorSession)
File "mceditlib\worldeditor.py", line 233, in __init__ (self is a WorldEditor)
File "mceditlib\findadapter.py", line 62, in findAdapter
ValueError: Cannot detect type of file C:/Users/-----/Desktop/mcedit2-win64-2.0.0alpha-1007/MCEdit 2 Files/schematics/TheAl_Ts to 1_9 JSON.py.
using mcedit 2.0 and cant get mcedit 1.0 since the download site isnt accesible
You can get 1.0 here: https://github.com/Khroki/MCEdit-Unified/releases , just pick the one that is for your computer (Lin, OSX, win 32 bit or win 64 bit).
As you can see in the stack trace, the Exception was not caused by my file, but by files: "mcedit2\editorapp.py", "mcedit2\editorsession.py", "mceditlib\worldeditor.py" and "mceditlib\findadapter.py".
I am using the MCEdit 1.0 and I don't get this error.