Started by
willk55
on
Topic category: Troubleshooting, bugs, and solutions
When a \ character is put in a text field in the Blocky editor, upon reopening it gets removed. This wouldn't usually be a problem because characters that would need to be escaped like " get the \ put in while interpreting the blocks to java code, but sometimes a Minecraft command needs a \ to be properly formated. The only way I found around this was to lock the code and fix it myself.
Before: https://drive.google.com/file/d/1xuq-5R_QfVDdChPQdjub_SKpBmTRVJNX/view?usp=sharing
After: https://drive.google.com/file/d/1AAaqTKuDKq5Fo2TSl2u6AsnAUKhG4sa9/view?usp=sharing
Just a thought that the '/' is the wrong way round.
Well, \ and / do different things. / doesn't usually do anything special, but \ is used to create escape characters. I think the most common use for \ is to put " into strings. When making a string, you close it with a ", so you can't just put a ". Instead you put \", which tells the computer that you want to put " into the string and not close it.
I also have the same problem, I'm trying to place signs with text on them, and the command has backslashes, but they get removed.
The command is