Yep, you heard me right! It is now possible to convert a list of up to 1000 commands with the push of a button!
It is a command line batch program that takes a text document that contains the 1.12.2 commands, and converts all of them into the 1.13 format. It then puts all of these new commands into a file of your choice.
And since the release of version 1.6.0, you can convert a list of files contained in a folder of your choice into a second folder!
The download does contain detailed instructions on how to use it, so no use explaining it here.
Imagine the time that you will save, knowing that you don't have to manually retype all of those seemingly endless /execute chains! And imagine being able to do that, but to a list of 1000 commands in one go! It can convert one-command machines too!
And also imagine not having any legitimate reason to despise 1.13! Your creations are no longer ruined!
NOTE: This recent creation of mine may have a few bugs in it. Don't worry, it won't delete anything. But if you find any errors in the command conversion, please tell me immediately so that I may fix the errors right away!
SECOND NOTE: This program also exists over at Planet Minecraft!
I am working on the 1.0.4 version of it right now based upon the data that you have provided. I do, however, have a few things to say about your command...
It uses the entity names from 1.8. But because they are so common in the Minecraft Community, I decided to incorporate it into the command converter, so it can process 1.8 entity names now, and it converts those to 1.13 as well.
The other main point is that most of the sub commands (commands within commands) are not quoted. That is a big no-no. I took it upon myself to fix the quotes in the command so that I can test my converter with it.
The last thing I wanted to point out is the hard-coded character limit of batch variables. Somewhere in the thousands, but it tends to restrict large commands like this. I am currently adding chunks of code to the converter to bypass this limit by using multiple variables to store the huge commands. That way it can convert large one command machines like this one.
I will reply again as soon as I am done with 1.0.4.
I have completed the Command Converter version 1.0.4. It can now process NBT tags like this one with lengths that exceed the in-game command block limit!
Make sure to tell me how it works for you.
P.S. I noticed a bug in the latest snapshot, when you /setblock in a command block that summons a mob with a custom name, it doesn't really work...
I noticed that the file names have the .txt extension twice. Do the files actually have this as their name? I tested with mine, and it can support files with names such as these.
Now, in order to diagnose this issue, I will need more information about what is going on.
It doesn't seem to be an issue with the conversion of commands; but rather something to do with the files themselves.
Are the batch files provided in the download separated in any way? They will not work if separated FYI.
If possible, could you email me the folder that contains the files? Or just screen shot the directory folder while displaying the directory in case that is the issue, and send me that?
For the sake of experimentation, I just moved the LinePreparer1Lite.bat file to a different directory and I got the same result. This leads me to believe that your files have been moved in some way. But I do not have enough data to accurately conclude.
So in the your reply, just give me some more data about how the command converter files are arranged so that I can diagnose it. Because it seems that they have been moved to other directories.
Remember, every single file provided in the download (other than the Instructions.txt file) have to be within the same directory. Along with the file that you are converting from. If that is the issue, then it is a relatively easy fix.
I was doing /execute. Apparently it doesn't work with it.
The execute command should work perfectly fine. I convert those quite often.
Did you, by any chance, try to run it within the .zip file that contains the batch programs, without extracting the files?
If not, then I must ask for you to provide more data about the placement of files, and probably the commands being used if that has anything to do with it.
But if you can't seem to get it to work, you could just send me the commands that you're trying to convert, and I can run them through my copy because I know that it will work.
I certainly hope that it doesn't have anything to do with your operating system. What version of Windows are you using?
Because the snapshots are always changing little details, if you run into any problems, just tell me and I'll incorporate it.
I am probably going to make the 1.0.5 version today (or sometime soon) to add a few little details that don't come up very often (scoreboard objective names have changed, that is the main thing that I will be adding).
Also, if you have any suggestions, please share them!
I recently discovered that Mojang has changed some of the entity and block/item id's. The Command Converter has been adjusted accordingly with the new 1.0.6!
execute as @a[y_rotation=..-23,y_rotation=-67..,scores={isdragon=1..},score_no_breath_min,score_no_breath] at @s positioned ~ ~ ~ run scoreboard players set @a[y_rotation=..-23,y_rotation=-67..,scores={isdragon=1..},score_no_breath_min,score_no_breath,nbt={Inventory:[{Slot:-106b,id:dragon_breath}]}] firebreath 8
it's a feature in 1.13. it means that it's from 1 to infinite. but either way, it just didn't seem to work. i know now why it didn't work because i decided to learn all the new 1.13 stuff and redu the commands manually since your thing didn't work.
execute as @a[y_rotation=..-23,y_rotation=-67..,scores={isdragon=1..},score_no_breath_min,score_no_breath] at @s positioned ~ ~ ~ run scoreboard players set @a[y_rotation=..-23,y_rotation=-67..,scores={isdragon=1..},score_no_breath_min,score_no_breath,nbt={Inventory:[{Slot:-106b,id:dragon_breath}]}] firebreath 8
Any idea why?
Thank you for the response! I really appreciate it!
Your command converted weird because the score names had underscores in them, I know, strange. The 1.0.6 and below apparently couldn't handle having underscores in score names within target selectors.
I did modify the converter to not only accommodate for the underscores, but also to compile all scores present into a single argument. I also made it so that every (adjacent) argument with a min or max value (distance, level, x_rotation, and y_rotation) will also be compiled together, regardless of order.
Here's the new command that I ran through the 1.0.7:
execute as @a[y_rotation=-67..-23,scores={isdragon=1..,no_breath=0..,no_breath=..0}] at @s positioned ~ ~ ~ run scoreboard players set @a[y_rotation=-67..-23,scores={isdragon=1..,no_breath=0..,no_breath=..0},nbt={Inventory:[{Slot:-106b,id:dragon_breath}]}] firebreath 8
I did, in fact, test it in the latest snapshot, and the new GUI doesn't give me any error messages when I try to execute, so it is all good.
Thanks again for the help in digging out these bugs!
I have released the 1.1.0 version for the last pre-release until 1.13. I incorporated that tiny little thing that they changed with the "friendlyfire" team option, and I modified the GUI at the very end if you decide to convert more commands.
I know, this tiny change doesn't really warrant the second digit of a version number changing, but I kind of forgot to do it with versions that definitely needed the second digit changed (1.0.4 for example). So I decided to just go ahead and do it now because 1.13 is coming out tomorrow.
Yep, you heard me right! It is now possible to convert a list of up to 1000 commands with the push of a button!
It is a command line batch program that takes a text document that contains the 1.12.2 commands, and converts all of them into the 1.13 format. It then puts all of these new commands into a file of your choice.
And since the release of version 1.6.0, you can convert a list of files contained in a folder of your choice into a second folder!
The download does contain detailed instructions on how to use it, so no use explaining it here.
Imagine the time that you will save, knowing that you don't have to manually retype all of those seemingly endless /execute chains! And imagine being able to do that, but to a list of 1000 commands in one go! It can convert one-command machines too!
And also imagine not having any legitimate reason to despise 1.13! Your creations are no longer ruined!
DOWNLOAD: 1.12 to 1.13 Command Converter 1.6.6
NOTE: This recent creation of mine may have a few bugs in it. Don't worry, it won't delete anything. But if you find any errors in the command conversion, please tell me immediately so that I may fix the errors right away!
SECOND NOTE: This program also exists over at Planet Minecraft!
PMC POST: 1.12 to 1.13 Command Converter (Up to 1000 Commands at Once!)
Make sure to check in every now and again for new updates!
Have fun in 1.13!
'Til next time!
~ Part Toon ~
Nice contraption dude , quite usefull , it has a small problem though , it doesn't quite cope with long one command contraption type of commands
summon FallingSand ~ ~1 ~ {Block:stone,Time:1,Passengers:[{id:FallingSand,Block:redstone_block,Time:1,Passengers:[{id:FallingSand,Block:activator_rail,Time:1,Passengers:[{id:MinecartCommandBlock,Command:gamerule commandBlockOutput false},{id:MinecartCommandBlock,Command:"fill ~5 ~-1 ~-1 ~11 ~1 ~2 stained_hardened_clay 8 hollow"},{id:MinecartCommandBlock,Command:"fill ~5 ~ ~-1 ~11 ~ ~2 stained_glass 14 replace stained_hardened_clay"},{id:MinecartCommandBlock,Command:"summon ArmorStand ~6 ~ ~ {CustomName:TogAct,Marker:1,NoGravity:1,Invisible:1}"},{id:MinecartCommandBlock,Command:"scoreboard objectives add aQCjlC_A dummy"},{id:MinecartCommandBlock,Command:setblock ~6 ~ ~1 chain_command_block 1 replace {auto:1,Command:"/particle fire ~ ~ ~ 0 0 0 1 5"}},{id:MinecartCommandBlock,Command:setblock ~7 ~ ~1 chain_command_block 4 replace {auto:1,Command:"/effect @a[score_Boost_min=1] minecraft:jump_boost 1 5 true"}},{id:MinecartCommandBlock,Command:setblock ~8 ~ ~1 chain_command_block 4 replace {auto:1,Command:"/execute @a[score_Boost_min=1] ~ ~ ~ /particle lava ~ ~ ~ 0 0 0 1 5"}},{id:MinecartCommandBlock,Command:setblock ~9 ~ ~1 chain_command_block 4 replace {auto:1,Command:"/tp @e[type=Cow,name=o] ~ ~-1000 ~"}},{id:MinecartCommandBlock,Command:setblock ~10 ~ ~1 chain_command_block 4 replace {auto:1,Command:"/execute @a[score_Boost_min=1] ~ ~ ~ /summon Cow ~ ~-1 ~ {NoAI:1,CustomName:o,Invulnerable:1,Silent:1,ActiveEffects:[{Id:14,Amplifier:1,Duration:100}]}"}},{id:MinecartCommandBlock,Command:setblock ~10 ~ ~ chain_command_block 3 replace {auto:1,Command:"/scoreboard players set @a Boost 1 {Inventory:[{Slot:-106b,id:\\\"minecraft:bone\\\"}]}"}},{id:MinecartCommandBlock,Command:setblock ~9 ~ ~ chain_command_block 5 replace {auto:1,Command:"/scoreboard players set @a Boost 0"}},{id:MinecartCommandBlock,Command:setblock ~8 ~ ~ chain_command_block 5 replace {auto:1,Command:"/gamerule commandBlockOutput false"}},{id:MinecartCommandBlock,Command:setblock ~7 ~ ~ chain_command_block 5 replace {auto:1,Command:"/gamerule doMobLoot false"}},{id:MinecartCommandBlock,Command:setblock ~6 ~ ~ repeating_command_block 5 replace {auto:1,Command:"/scoreboard objectives add Boost dummy"}},{id:MinecartCommandBlock,Command:setblock ~ ~ ~1 command_block 0 replace {Command:fill ~ ~-3 ~-1 ~ ~ ~ air}},{id:MinecartCommandBlock,Command:setblock ~ ~-1 ~1 redstone_block},{id:MinecartCommandBlock,Command:kill @e[type=MinecartCommandBlock,r=1]}]}]}]}
Thanks for the feedback.
I am working on the 1.0.4 version of it right now based upon the data that you have provided. I do, however, have a few things to say about your command...
It uses the entity names from 1.8. But because they are so common in the Minecraft Community, I decided to incorporate it into the command converter, so it can process 1.8 entity names now, and it converts those to 1.13 as well.
The other main point is that most of the sub commands (commands within commands) are not quoted. That is a big no-no. I took it upon myself to fix the quotes in the command so that I can test my converter with it.
summon FallingSand ~ ~1 ~ {Block:stone,Time:1,Passengers:[{id:FallingSand,Block:redstone_block,Time:1,Passengers:[{id:FallingSand,Block:activator_rail,Time:1,Passengers:[{id:MinecartCommandBlock,Command:"gamerule commandBlockOutput false"},{id:MinecartCommandBlock,Command:"fill ~5 ~-1 ~-1 ~11 ~1 ~2 stained_hardened_clay 8 hollow"},{id:MinecartCommandBlock,Command:"fill ~5 ~ ~-1 ~11 ~ ~2 stained_glass 14 replace stained_hardened_clay"},{id:MinecartCommandBlock,Command:"summon ArmorStand ~6 ~ ~ {CustomName:TogAct,Marker:1,NoGravity:1,Invisible:1}"},{id:MinecartCommandBlock,Command:"scoreboard objectives add aQCjlC_A dummy"},{id:MinecartCommandBlock,Command:"setblock ~6 ~ ~1 chain_command_block 1 replace {auto:1,Command:\"/particle fire ~ ~ ~ 0 0 0 1 5\"}"},{id:MinecartCommandBlock,Command:"setblock ~7 ~ ~1 chain_command_block 4 replace {auto:1,Command:\"/effect @a[score_Boost_min=1] minecraft:jump_boost 1 5 true\"}"},{id:MinecartCommandBlock,Command:"setblock ~8 ~ ~1 chain_command_block 4 replace {auto:1,Command:\"/execute @a[score_Boost_min=1] ~ ~ ~ /particle lava ~ ~ ~ 0 0 0 1 5\"}"},{id:MinecartCommandBlock,Command:"setblock ~9 ~ ~1 chain_command_block 4 replace {auto:1,Command:\"/tp @e[type=Cow,name=o] ~ ~-1000 ~\"}"},{id:MinecartCommandBlock,Command:"setblock ~10 ~ ~1 chain_command_block 4 replace {auto:1,Command:\"/execute @a[score_Boost_min=1] ~ ~ ~ /summon Cow ~ ~-1 ~ {NoAI:1,CustomName:o,Invulnerable:1,Silent:1,ActiveEffects:[{Id:14b,Amplifier:1,Duration:100}]}\"}"},{id:MinecartCommandBlock,Command:"setblock ~10 ~ ~ chain_command_block 3 replace {auto:1,Command:\"/scoreboard players set @a Boost 1 {Inventory:[{Slot:-106b,id:minecraft:bone}]}\"}"},{id:MinecartCommandBlock,Command:"setblock ~9 ~ ~ chain_command_block 5 replace {auto:1,Command:\"/scoreboard players set @a Boost 0\"}"},{id:MinecartCommandBlock,Command:"setblock ~8 ~ ~ chain_command_block 5 replace {auto:1,Command:\"/gamerule commandBlockOutput false\"}"},{id:MinecartCommandBlock,Command:"setblock ~7 ~ ~ chain_command_block 5 replace {auto:1,Command:\"/gamerule doMobLoot false\"}"},{id:MinecartCommandBlock,Command:"setblock ~6 ~ ~ repeating_command_block 5 replace {auto:1,Command:\"/scoreboard objectives add Boost dummy\"}"},{id:MinecartCommandBlock,Command:"setblock ~ ~ ~1 command_block 0 replace {Command:\"fill ~ ~-3 ~-1 ~ ~ ~ air\"}"},{id:MinecartCommandBlock,Command:"setblock ~ ~-1 ~1 redstone_block"},{id:MinecartCommandBlock,Command:"kill @e[type=MinecartCommandBlock,r=1]"}]}]}]}
The last thing I wanted to point out is the hard-coded character limit of batch variables. Somewhere in the thousands, but it tends to restrict large commands like this. I am currently adding chunks of code to the converter to bypass this limit by using multiple variables to store the huge commands. That way it can convert large one command machines like this one.
I will reply again as soon as I am done with 1.0.4.
'Til next time!
I have completed the Command Converter version 1.0.4. It can now process NBT tags like this one with lengths that exceed the in-game command block limit!
Make sure to tell me how it works for you.
P.S. I noticed a bug in the latest snapshot, when you /setblock in a command block that summons a mob with a custom name, it doesn't really work...
/setblock ~ ~ ~ command_block{Command:"/summon cow ~ ~1 ~ {CustomName:\"\\"Frank\\"\"}"}
I should probably investigate this little detail deeper and I will probably report the bug to Mojang.
Oh, and don't forget to make sure that your commands are properly quoted before loading them through the converter.
'Til next time!
~ Part Toon ~
When I try to convert this happens
I noticed that the file names have the .txt extension twice. Do the files actually have this as their name? I tested with mine, and it can support files with names such as these.
Now, in order to diagnose this issue, I will need more information about what is going on.
It doesn't seem to be an issue with the conversion of commands; but rather something to do with the files themselves.
Are the batch files provided in the download separated in any way? They will not work if separated FYI.
If possible, could you email me the folder that contains the files? Or just screen shot the directory folder while displaying the directory in case that is the issue, and send me that?
EMAIL:
[email protected]
For the sake of experimentation, I just moved the LinePreparer1Lite.bat file to a different directory and I got the same result. This leads me to believe that your files have been moved in some way. But I do not have enough data to accurately conclude.
So in the your reply, just give me some more data about how the command converter files are arranged so that I can diagnose it. Because it seems that they have been moved to other directories.
Remember, every single file provided in the download (other than the Instructions.txt file) have to be within the same directory. Along with the file that you are converting from. If that is the issue, then it is a relatively easy fix.
P.S. I apologize for the late reply.
'Til next time!
I was doing /execute. Apparently it doesn't work with it.
The execute command should work perfectly fine. I convert those quite often.
Did you, by any chance, try to run it within the .zip file that contains the batch programs, without extracting the files?
If not, then I must ask for you to provide more data about the placement of files, and probably the commands being used if that has anything to do with it.
But if you can't seem to get it to work, you could just send me the commands that you're trying to convert, and I can run them through my copy because I know that it will work.
I certainly hope that it doesn't have anything to do with your operating system. What version of Windows are you using?
Thank you for your time.
'Til next time!
Had some time to use and work with the program and I have to say , I'm amazed , it's a lifesaver
Good to hear!
Because the snapshots are always changing little details, if you run into any problems, just tell me and I'll incorporate it.
I am probably going to make the 1.0.5 version today (or sometime soon) to add a few little details that don't come up very often (scoreboard objective names have changed, that is the main thing that I will be adding).
Also, if you have any suggestions, please share them!
'Til next time!
Just finished the 1.0.5. It can convert scoreboard objective criteria now!
I've seen a lot of posts on many different websites wondering why the criteria won't work; so adding this was a must.
I recently discovered that Mojang has changed some of the entity and block/item id's. The Command Converter has been adjusted accordingly with the new 1.0.6!
i'm having a problem. I want to convert an execute command, but it turned out very wrong.
Input
/execute @a[ry=-23,rym=-67,score_isdragon_min=1,score_no_breath_min=0,score_no_breath=0] ~ ~ ~ /scoreboard players set @a[ry=-23,rym=-67,score_isdragon_min=1,score_no_breath_min=0,score_no_breath=0] firebreath 8 {Inventory:[{Slot:-106b,id:"minecraft:dragon_breath"}]}
Outpute
execute as @a[y_rotation=..-23,y_rotation=-67..,scores={isdragon=1..},score_no_breath_min,score_no_breath] at @s positioned ~ ~ ~ run scoreboard players set @a[y_rotation=..-23,y_rotation=-67..,scores={isdragon=1..},score_no_breath_min,score_no_breath,nbt={Inventory:[{Slot:-106b,id:dragon_breath}]}] firebreath 8
Any idea why?
Is that double dot an error , or a feature , kinda puzzled by this
it's a feature in 1.13. it means that it's from 1 to infinite. but either way, it just didn't seem to work. i know now why it didn't work because i decided to learn all the new 1.13 stuff and redu the commands manually since your thing didn't work.
your generator messed up the scoreboard stuff
Thank you for the response! I really appreciate it!
Your command converted weird because the score names had underscores in them, I know, strange. The 1.0.6 and below apparently couldn't handle having underscores in score names within target selectors.
I did modify the converter to not only accommodate for the underscores, but also to compile all scores present into a single argument. I also made it so that every (adjacent) argument with a min or max value (distance, level, x_rotation, and y_rotation) will also be compiled together, regardless of order.
Here's the old command:
/execute @a[ry=-23,rym=-67,score_isdragon_min=1,score_no_breath_min=0,score_no_breath=0] ~ ~ ~ /scoreboard players set @a[ry=-23,rym=-67,score_isdragon_min=1,score_no_breath_min=0,score_no_breath=0] firebreath 8 {Inventory:[{Slot:-106b,id:"minecraft:dragon_breath"}]}
Here's the new command that I ran through the 1.0.7:
execute as @a[y_rotation=-67..-23,scores={isdragon=1..,no_breath=0..,no_breath=..0}] at @s positioned ~ ~ ~ run scoreboard players set @a[y_rotation=-67..-23,scores={isdragon=1..,no_breath=0..,no_breath=..0},nbt={Inventory:[{Slot:-106b,id:dragon_breath}]}] firebreath 8
I did, in fact, test it in the latest snapshot, and the new GUI doesn't give me any error messages when I try to execute, so it is all good.
Thanks again for the help in digging out these bugs!
Have fun in 1.13!
'Til next time!
Something that I missed with the 1.0.6 is that they also changed a bunch of sound events. I have incorporated them into the new 1.0.8!
With the 1.13 pre-release 8 out, it comes with some minor changes to command format: they have been accommodated into the new 1.0.9.
I have released the 1.1.0 version for the last pre-release until 1.13. I incorporated that tiny little thing that they changed with the "friendlyfire" team option, and I modified the GUI at the very end if you decide to convert more commands.
I know, this tiny change doesn't really warrant the second digit of a version number changing, but I kind of forgot to do it with versions that definitely needed the second digit changed (1.0.4 for example). So I decided to just go ahead and do it now because 1.13 is coming out tomorrow.
Have fun in 1.13!
'Til next time!
Anyway you can make the machine detect when LocName is used in the 1.12 command and convert it to what it needs to be?
==Links==
๐๐๐๐จ๐ง๐ ๐๐ก๐๐ง๐ง๐๐ฅ- https://www.youtube.com/channel/UCQYroXqdZtYBnyspneetBGA/featured
๐๐ง๐ฌ๐ญ๐๐ ๐ซ๐๐ฆ- https://www.instagram.com/cowsdabest_yt/?hl=en
๐๐ฐ๐ข๐ญ๐ญ๐๐ซ- https://twitter.com/cowsdabestyt
๐๐ข๐ฌ๐๐จ๐ซ๐- https://discord.gg/H2NfhpQ
==DISCLAIMER!==
Please credit me if you are going to use it in a video or a map!