Hey everyone! I know this is a late reply but... I have a function that is 6 google doc pages long filled with execute cmds that contain up to 3 more execute cmds. ππ will this engine be able to cope with this?
Hey everyone! I know this is a late reply but... I have a function that is 6 google doc pages long filled with execute cmds that contain up to 3 more execute cmds. ππ will this engine be able to cope with this?
Most certainly!
Unless of course there are weird syntax thingamajigs that I have not yet considered. But considering how old this thing is, and how long it's been since the last bug report, that shouldn't be an issue.
And for the sake of clarity and demonstration, I typed out an unnecessarily long /execute chain (containing 3, as you said yours had) just for the purposes of conversion.
execute as @a[distance=..3] at @s positioned ~ ~ ~ run execute as @s[level=..30,scores={Variable=25..30}] at @s positioned ~ ~ ~ if block 1 2 3 cyan_wool run execute as @e[type=creeper,distance=37..50,sort=random,limit=1] at @s positioned ~ ~ ~ run setblock ~ ~ ~ command_block[facing=south]{Command:"execute as @e[type=chicken,distance=..40] at @s positioned ~ ~ ~ run summon armor_stand ~ ~5 ~ {CustomName:\"\\\"Random Armor Stand\\\"\",CustomNameVisible:1}"} replace
And as a last note, make sure that you use the appropriate version for your quantity of commands (the absolute limit being 1000 in one go).
Unless of course there are weird syntax thingamajigs that I have not yet considered. But considering how old this thing is, and how long it's been since the last bug report, that shouldn't be an issue.
And for the sake of clarity and demonstration, I typed out an unnecessarily long /execute chain (containing 3, as you said yours had) just for the purposes of conversion.
execute as @a[distance=..3] at @s positioned ~ ~ ~ run execute as @s[level=..30,scores={Variable=25..30}] at @s positioned ~ ~ ~ if block 1 2 3 cyan_wool run execute as @e[type=creeper,distance=37..50,sort=random,limit=1] at @s positioned ~ ~ ~ run setblock ~ ~ ~ command_block[facing=south]{Command:"execute as @e[type=chicken,distance=..40] at @s positioned ~ ~ ~ run summon armor_stand ~ ~5 ~ {CustomName:\"\\\"Random Armor Stand\\\"\",CustomNameVisible:1}"} replace
And as a last note, make sure that you use the appropriate version for your quantity of commands (the absolute limit being 1000 in one go).
'Til next time!
Thank you so much!! This will save me many many hours of hard labor
Excuse me if I am using it wrong, but one glitch I found was that when I put in '@e[type=!Player]', which is something that works in 1.12.2, it doesn't change that, and 1.13 command don't allow. |Great job on it though! I tried making one with python and instantly got stuck changing '@e[score_[whatevs]_min=1]'!
Thank you so much for the response! I likely wouldn't have found this if it wasn't for it.
I discovered that it didn't even consider the exclamation point at the beginning at all (I find it odd that something that significant wasn't found until now).
ik this is not your fault Part_Toon, but I hate it when windows defenders always blocks me from opening your (amazing) creation because you are an "unknown author" If there's anything I can do 2 stop this (not having 2 close down windows smartsreen) Plz let me know!
Interesting, this never happens with me (likely because it was created on my PC).
I did some Googling, and two links that stood out were these...
I haven't tested these methods (due to the fact that I don't how I could go about replicating these results), but they should work. If they don't, some Googling around should bring the answer out. After all, you know more about your PC than I do.
Now, going through all of the links and sub-links, one is able to find instructions for Windows 7, 8, and 10.
P.S. I did some Googling about specifying a publisher identity onto the batch files. Apparently, it is impossible for batch files; but the link that I found gives some interesting insight...
The Meaning of Life, the Universe, and Everything.
Join Date:
3/20/2012
Posts:
1,544
Member Details
I ran the contents of a 1.12 command block and after 10 minutes it created a output file , that was blank
Input
/give @p minecraft:written_book 1 0 {display:{Name:"Locations",Lore:[Apparate to the location of your choice]},title:"Locations",author:"The Floo Network",generation:0,pages:["{text:\"-------------------\",color:gray,bold:false,extra:[{text:\" Harry Potter in Minecraft\n\",color:gold,bold:true},{text:\" by The Floo Network\n\",color:gray,bold:false},{text:\"-------------------\n\n\",color:gray,bold:false},{text:\"Welcome to the wondrous world of Harry Potter. Using the furnaces in the Ministry of Magic, you can travel to a location through the floo network. \",color:dark_gray,bold:false}]}","{text:\"Alternatively, you can apparate around the map using this book. Simply click the location of your choice.\n\n\",color:dark_gray,bold:false,extra:[{text:\"To get back to the Ministry of magic, click \",color:dark_gray,bold:false},{text:\"here.\n\n\",color:gold,bold:true,hoverEvent:{action:'show_text',value:\"Click here to visit the Ministry of Magic\"},clickEvent:{action:'run_command',value:\"/tp 1032 14 1489 -90 0\"}}]}","{text:\"Hogwarts\n\",color:gold,bold:true,italic:false,extra:[{text:\"The locations in and around Hogwarts Castle:\n\n\",color:gray,bold:false,italic:true},{text:\"The Boat House\n\n\",color:dark_gray,bold:false,italic:true,hoverEvent:{action:'show_text',value:\"Click here to visit the boat house.\"},clickEvent:{action:'run_command',value:\"/tp 913 28 328 -119 -5\"}},{text:\"The Great Hall\n\n\",color:dark_gray,bold:false,italic:true,hoverEvent:{action:'show_text',value:\"Click here to visit the Great Hall\"},clickEvent:{action:'run_command',value:\"/tp 758 66 350 45 0\"}},{text:\"The Grand Staircase \n\n\",color:dark_gray,bold:false,italic:true,hoverEvent:{action:'show_text',value:\"Click here to visit the Grand Staircase\"},clickEvent:{action:'run_command',value:\"/tp 726 87 322 -135 -54\"}},{text:\"The Library\n\n\",color:dark_gray,bold:false,italic:true,hoverEvent:{action:'show_text',value:\"Click here to visit the library\"},clickEvent:{action:'run_command',value:\"/tp 719 75 316 53 0\"}},{text:\"The Hospital Wing\n\n\",color:dark_gray,bold:false,italic:true,hoverEvent:{action:'show_text',value:\"Click here to visit the hospital wing\"},clickEvent:{action:'run_command',value:\"/tp 659 91 263 90 0\"}}]}","{text:\"The Gryffindor Common Room\n\n\",color:dark_gray,italic:true,hoverEvent:{action:'show_text',value:\"Click here to visit the Gryffindor Common Room\"},clickEvent:{action:'run_command',value:\"/tp 736 134 320 26 2\"},extra:[{text:\"Harry's Bedroom \n\n\",color:dark_gray,italic:true,hoverEvent:{action:'show_text',value:\"Click here to visit Harry's bedroom\"},clickEvent:{action:'run_command',value:\"/tp 738 162 311 -143 11\"}},{text:\"The Slytherin Common Room\n\n\",color:dark_gray,italic:true,hoverEvent:{action:'show_text',value:\"Click here to visit the Slytherin Common Room\"},clickEvent:{action:'run_command',value:\"/tp 743 30 252 180 0\"}},{text:\"The Hufflepuff Common Room\n\n\",color:dark_gray,italic:true,hoverEvent:{action:'show_text',value:\"Click here to visit the Hufflepuff Common Room\"},clickEvent:{action:'run_command',value:\"/tp 782 53 175 90 -8\"}},{text:\"The Ravenclaw common room\n\n\",color:dark_gray,italic:true,hoverEvent:{action:'show_text',value:\"Click here to visit the Ravenclaw Common Room\"},clickEvent:{action:'run_command',value:\"/tp 771 129 163 -135 -15\"}}]}","{text:\"The Owlery\n\n\",color:dark_gray,italic:true,hoverEvent:{action:'show_text',value:\"Click here to visit the Owlery\"},clickEvent:{action:'run_command',value:\"/tp 419 117 137 108 -40\"},extra:[{text:\"The Wooden Bridge\n\n\",color:dark_gray,italic:true,hoverEvent:{action:'show_text',value:\"Click here to visit the Wooden Bridge\"},clickEvent:{action:'run_command',value:\"/tp 571 64 242 64 6\"}},{text:\"The Greenhouses\n\n\",color:dark_gray,italic:true,hoverEvent:{action:'show_text',value:\"Click here to visit the greenhouses\"},clickEvent:{action:'run_command',value:\"/tp 703 55 59 -90 0\"}},{text:\"The Whomping Willow\n\n\",color:dark_gray,italic:true,hoverEvent:{action:'show_text',value:\"Click here to visit the the Whomping Willow\"},clickEvent:{action:'run_command',value:\"/tp 599 77 9 153 -6\"}},{text:\"The Forbidden Forrest\n\n\",color:dark_gray,italic:true,hoverEvent:{action:'show_text',value:\"Click here to visit the Forbidden Forrest\"},clickEvent:{action:'run_command',value:\"/tp 375 47 351 16 -2\"}},{text:\"Hagrid's Hut\n\n\",color:dark_gray,italic:true,hoverEvent:{action:'show_text',value:\"Click here to visit hagrid's Hut\"},clickEvent:{action:'run_command',value:\"/tp 382 47 317 -36 2\"}},{text:\"The Quidditch Pitch\n\n\",color:dark_gray,italic:true,hoverEvent:{action:'show_text',value:\"Click here to visit the Quidditch Pitch\"},clickEvent:{action:'run_command',value:\"/tp 250 109 191 68 22\"}}]}","{text:\"The Headmaster's Office\n\n\",color:dark_gray,italic:true,hoverEvent:{action:'show_text',value:\"Click here to visit the Headmaster's office\"},clickEvent:{action:'run_command',value:\"/tp 704 41 347 -90 0\"},extra:[{text:\"Potions Classroom\n\n\",color:dark_gray,italic:true,hoverEvent:{action:'show_text',value:\"Click here to visit the Potions Classroom\"},clickEvent:{action:'run_command',value:\"/tp 767 54 316 -90 0\"}},{text:\"Defence Against the Dark Arts Classroom\n\n\",color:dark_gray,italic:true,hoverEvent:{action:'show_text',value:\"Click here to visit the Defence Against the Dark Arts Classroom\"},clickEvent:{action:'run_command',value:\"/tp 715 96 319 0 11\"}},{text:\"Charms Classroom\n\n\",color:dark_gray,italic:true,hoverEvent:{action:'show_text',value:\"Click here to visit the charms classroom\"},clickEvent:{action:'run_command',value:\"/tp 721 56 104 18 4\"}},{text:\"Roof\n\n\",color:dark_gray,italic:true,hoverEvent:{action:'show_text',value:\"Click here to visit the roof\"},clickEvent:{action:'run_command',value:\"/tp 718 102 301 179 1.4\"}},{text:\"Moaning Myrtle's Bathroom \n\n\",color:dark_gray,italic:true,hoverEvent:{action:'show_text',value:\"Click here to visit Moaning Myrtle's bathroom \"},clickEvent:{action:'run_command',value:\"/tp 701 66 224 -180 0\"}}]}","{text:\"The Fifth Floor\n\n\",color:dark_gray,italic:true,hoverEvent:{action:'show_text',value:\"Click here to visit the Mirror of Erised\"},clickEvent:{action:'run_command',value:\"/tp 721 94 299 157 5\"},extra:[{text:\"The Chamber of Secrets\n\n\",color:dark_gray,italic:true,hoverEvent:{action:'show_text',value:\"Click here to visit the Mirror of Erised\"},clickEvent:{action:'run_command',value:\"/tp 630 4 257 90 0\"}},{text:\"The Room of Requirement - 1\n\n\",color:dark_gray,italic:true,hoverEvent:{action:'show_text',value:\"Click here to visit the Room of Requirement - 1\"},clickEvent:{action:'run_command',value:\"/tp 434 86 -1403 11.6 8.8\"}},{text:\"The Room of requitement - 2\n\n\",color:dark_gray,italic:true,hoverEvent:{action:'show_text',value:\"Click here to visit the Room of Requirement - 2\"},clickEvent:{action:'run_command',value:\"/tp 404 74 -1526 -180 0\"}}]}","{text:\"London\n\",color:gold,bold:true,italic:false,extra:[{text:\"The locations around in and London\n\n\",color:gray,bold:false,italic:true},{text:\"Privet drive\n\n\",color:dark_gray,bold:false,italic:true,hoverEvent:{action:'show_text',value:\"Click here to visit Privet Drive\"},clickEvent:{action:'run_command',value:\"/tp 2519 61 -250 110 2\"}},{text:\"King's Cross Station\n\n\",color:dark_gray,bold:false,italic:true,hoverEvent:{action:'show_text',value:\"Click here to visit King's Cross Station\"},clickEvent:{action:'run_command',value:\"/tp 2789 61 -32 -61 -31\"}},{text:\"Platform 9 3/4\n\n\",color:dark_gray,bold:false,italic:true,hoverEvent:{action:'show_text',value:\"Click here to visit Platform 9 3/4\"},clickEvent:{action:'run_command',value:\"/tp 2894 60 -246 -3 -5 \"}},{text:\"Diagon Alley\n\n\",color:dark_gray,bold:false,italic:true,hoverEvent:{action:'show_text',value:\"Click here to visit Diagon Alley\"},clickEvent:{action:'run_command',value:\"/tp 2868 59 -1034 -154 3 \"}},{text:\"The Leaky Cauldron \n\n\",color:dark_gray,bold:false,italic:true,hoverEvent:{action:'show_text',value:\"Click here to visit The Leaky Cauldron \"},clickEvent:{action:'run_command',value:\"/tp 2868 61 106 110 0\"}}]}","{text:\"Gringotts Wizarding Bank\n\n\",color:dark_gray,italic:true,hoverEvent:{action:'show_text',value:\"Click here to visit Gringotts Wizarding Bank\"},clickEvent:{action:'run_command',value:\"/tp 2874 50 -1207 180 0\"},extra:[{text:\"Ollivander's Wand Shop\n\n\",color:dark_gray,italic:true,hoverEvent:{action:'show_text',value:\"Click here to visit Ollivander's Wand Shop\"},clickEvent:{action:'run_command',value:\"/tp 2870 49 -1197 -90 -11\"}},{text:\"Madam Malkin's Robe Shop\n\n\",color:dark_gray,italic:true,hoverEvent:{action:'show_text',value:\"Click here to visit Madam Malkin's Robe Shop\"},clickEvent:{action:'run_command',value:\"/tp 2863 57 -1087 90 -11\"}},{text:\"Eeylopβs Owl Emporium\n\n\",color:dark_gray,italic:true,hoverEvent:{action:'show_text',value:\"Click here to visit Eeylopβs Owl Emporium\"},clickEvent:{action:'run_command',value:\"/tp 2870 50 -1169 -90 -5\"}}]}","{text:\"Various other locations\n\",color:gold,bold:true,italic:false,extra:[{text:\"From the world of Harry Potter\n\n\",color:gray,bold:false,italic:false},{text:\"Hogsmeade\n\n\",color:dark_gray,bold:false,italic:true,hoverEvent:{action:'show_text',value:\"Click here to visit Hogsmeade\"},clickEvent:{action:'run_command',value:\"/tp 1114 44 -1329 -115 0\"}},{text:\"The Shrieking Shack\n\n\",color:dark_gray,bold:false,italic:true,hoverEvent:{action:'show_text',value:\"Click here to visit The Shrieking Shack\"},clickEvent:{action:'run_command',value:\"/tp 1334 48 -1228 42 1\"}},{text:\"Godricβs Hollow\n\n\",color:dark_gray,bold:false,italic:true,hoverEvent:{action:'show_text',value:\"Click here to visit Godricβs Hollow\"},clickEvent:{action:'run_command',value:\"/tp 690 72 -964 7 -12\"}},{text:\"Malfoy Manor\n\n\",color:dark_gray,bold:fals
e,italic:true,hoverEvent:{action:'show_text',value:\"Click here to visit Malfoy Manor\"},clickEvent:{action:'run_command',value:\"/tp -265 83 -1627 14 2\"}},{text:\"The Burrow\n\n\",color:dark_gray,bold:false,italic:true,hoverEvent:{action:'show_text',value:\"Click here to visit the Burrow\"},clickEvent:{action:'run_command',value:\"/tp -378 18 -779 -31 -3\"}}]}","{text:\"You can use the buttons below to change the time of day or the weather.\n\",color:dark_gray,bold:false,extra:[{text:\"Dawn\n\",color:gold,bold:true,hoverEvent:{action:'show_text',value:\"Click to change the time to dawn\"},clickEvent:{action:'run_command',value:\"/time set 23250\"}},{text:\"Morning\n\",color:gold,bold:true,hoverEvent:{action:'show_text',value:\"Click to change the time to morning\"},clickEvent:{action:'run_command',value:\"/time set 0\"}},{text:\"Day\n\",color:gold,bold:true,hoverEvent:{action:'show_text',value:\"Click to change the time to day\"},clickEvent:{action:'run_command',value:\"/time set 6000\"}},{text:\"Evening\n\",color:gold,bold:true,hoverEvent:{action:'show_text',value:\"Click to change the time to evening\"},clickEvent:{action:'run_command',value:\"/time set 12250\"}},{text:\"Dusk\n\",color:gold,bold:true,hoverEvent:{action:'show_text',value:\"Click to change the time to dusk\"},clickEvent:{action:'run_command',value:\"/time set 13500\"}},{text:\"Night\n\n\",color:gold,bold:true,hoverEvent:{action:'show_text',value:\"Click to change the time to night\"},clickEvent:{action:'run_command',value:\"/time set 15000\"}},{text:\"Clear\n\",color:gold,bold:true,hoverEvent:{action:'show_text',value:\"Click to clear the weather\"},clickEvent:{action:'run_command',value:\"/weather clear\"}},{text:\"Rain\n\",color:gold,bold:true,hoverEvent:{action:'show_text',value:\"Click to make it rain\"},clickEvent:{action:'run_command',value:\"/weather rain\"}},{text:\"Thunder\",color:gold,bold:true,hoverEvent:{action:'show_text',value:\"Click to start a thunderstorm\"},clickEvent:{action:'run_command',value:\"/weather thunder\"}}]}","{text:\"You can chose to play the map in Creative Mode, by pressing the button below. Be advised, that not all the locations have been build to be viewed from the air. \n\n\",color:dark_gray,bold:false,extra:[{text:\"Grab a broomstick\n\n\",color:gold,bold:true,hoverEvent:{action:'show_text',value:\"Click to switch to Creative Mode\"},clickEvent:{action:'run_command',value:\"/gamemode 1\"}},{text:\"Drop broomstick\n\n\",color:gold,bold:true,hoverEvent:{action:'show_text',value:\"Click to Switch to Adventure Mode\"},clickEvent:{action:'run_command',value:\"/gamemode 2\"}}]}","{text:\"Best of Luck!\",color:gold,bold:true}","{text:\"All rights reserved. This map or any portion thereof may not be used or re-released in any way without the permission of The Floo Network. You may also not use this map for a public server, or the like.\",color:gray,italic:true}","{text:\"If you desire to make any kind of gameplay recording within the map, please do credit The Floo Network, and provide \",color:gray,bold:false,italic:true,extra:[{text:\"this link: \n\n\",color:gray,bold:true,italic:true,hoverEvent:{action:'show_text',value:\"Click to open link\"},clickEvent:{action:'open_url',value:\"http://www.planetminecraft.com/project/harry-potter-adventure-map-3347878/\"}},{text:\"By downloading this map, you have agreed to these terms and conditions.\",color:gray,bold:false,italic:false}]}"]}
I ran the contents of a 1.12 command block and after 10 minutes it created a output file , that was blank
Input
/give @p minecraft:written_book 1 0 {display:{Name:"Locations",Lore:[Apparate to the location of your choice]},title:"Locations",author:"The Floo Network",generation:0,pages:["{text:\"-------------------\",color:gray,bold:false,extra:[{text:\" Harry Potter in Minecraft\n\",color:gold,bold:true},{text:\" by The Floo Network\n\",color:gray,bold:false},{text:\"-------------------\n\n\",color:gray,bold:false},{text:\"Welcome to the wondrous world of Harry Potter. Using the furnaces in the Ministry of Magic, you can travel to a location through the floo network. \",color:dark_gray,bold:false}]}","{text:\"Alternatively, you can apparate around the map using this book. Simply click the location of your choice.\n\n\",color:dark_gray,bold:false,extra:[{text:\"To get back to the Ministry of magic, click \",color:dark_gray,bold:false},{text:\"here.\n\n\",color:gold,bold:true,hoverEvent:{action:'show_text',value:\"Click here to visit the Ministry of Magic\"},clickEvent:{action:'run_command',value:\"/tp 1032 14 1489 -90 0\"}}]}","{text:\"Hogwarts\n\",color:gold,bold:true,italic:false,extra:[{text:\"The locations in and around Hogwarts Castle:\n\n\",color:gray,bold:false,italic:true},{text:\"The Boat House\n\n\",color:dark_gray,bold:false,italic:true,hoverEvent:{action:'show_text',value:\"Click here to visit the boat house.\"},clickEvent:{action:'run_command',value:\"/tp 913 28 328 -119 -5\"}},{text:\"The Great Hall\n\n\",color:dark_gray,bold:false,italic:true,hoverEvent:{action:'show_text',value:\"Click here to visit the Great Hall\"},clickEvent:{action:'run_command',value:\"/tp 758 66 350 45 0\"}},{text:\"The Grand Staircase \n\n\",color:dark_gray,bold:false,italic:true,hoverEvent:{action:'show_text',value:\"Click here to visit the Grand Staircase\"},clickEvent:{action:'run_command',value:\"/tp 726 87 322 -135 -54\"}},{text:\"The Library\n\n\",color:dark_gray,bold:false,italic:true,hoverEvent:{action:'show_text',value:\"Click here to visit the library\"},clickEvent:{action:'run_command',value:\"/tp 719 75 316 53 0\"}},{text:\"The Hospital Wing\n\n\",color:dark_gray,bold:false,italic:true,hoverEvent:{action:'show_text',value:\"Click here to visit the hospital wing\"},clickEvent:{action:'run_command',value:\"/tp 659 91 263 90 0\"}}]}","{text:\"The Gryffindor Common Room\n\n\",color:dark_gray,italic:true,hoverEvent:{action:'show_text',value:\"Click here to visit the Gryffindor Common Room\"},clickEvent:{action:'run_command',value:\"/tp 736 134 320 26 2\"},extra:[{text:\"Harry's Bedroom \n\n\",color:dark_gray,italic:true,hoverEvent:{action:'show_text',value:\"Click here to visit Harry's bedroom\"},clickEvent:{action:'run_command',value:\"/tp 738 162 311 -143 11\"}},{text:\"The Slytherin Common Room\n\n\",color:dark_gray,italic:true,hoverEvent:{action:'show_text',value:\"Click here to visit the Slytherin Common Room\"},clickEvent:{action:'run_command',value:\"/tp 743 30 252 180 0\"}},{text:\"The Hufflepuff Common Room\n\n\",color:dark_gray,italic:true,hoverEvent:{action:'show_text',value:\"Click here to visit the Hufflepuff Common Room\"},clickEvent:{action:'run_command',value:\"/tp 782 53 175 90 -8\"}},{text:\"The Ravenclaw common room\n\n\",color:dark_gray,italic:true,hoverEvent:{action:'show_text',value:\"Click here to visit the Ravenclaw Common Room\"},clickEvent:{action:'run_command',value:\"/tp 771 129 163 -135 -15\"}}]}","{text:\"The Owlery\n\n\",color:dark_gray,italic:true,hoverEvent:{action:'show_text',value:\"Click here to visit the Owlery\"},clickEvent:{action:'run_command',value:\"/tp 419 117 137 108 -40\"},extra:[{text:\"The Wooden Bridge\n\n\",color:dark_gray,italic:true,hoverEvent:{action:'show_text',value:\"Click here to visit the Wooden Bridge\"},clickEvent:{action:'run_command',value:\"/tp 571 64 242 64 6\"}},{text:\"The Greenhouses\n\n\",color:dark_gray,italic:true,hoverEvent:{action:'show_text',value:\"Click here to visit the greenhouses\"},clickEvent:{action:'run_command',value:\"/tp 703 55 59 -90 0\"}},{text:\"The Whomping Willow\n\n\",color:dark_gray,italic:true,hoverEvent:{action:'show_text',value:\"Click here to visit the the Whomping Willow\"},clickEvent:{action:'run_command',value:\"/tp 599 77 9 153 -6\"}},{text:\"The Forbidden Forrest\n\n\",color:dark_gray,italic:true,hoverEvent:{action:'show_text',value:\"Click here to visit the Forbidden Forrest\"},clickEvent:{action:'run_command',value:\"/tp 375 47 351 16 -2\"}},{text:\"Hagrid's Hut\n\n\",color:dark_gray,italic:true,hoverEvent:{action:'show_text',value:\"Click here to visit hagrid's Hut\"},clickEvent:{action:'run_command',value:\"/tp 382 47 317 -36 2\"}},{text:\"The Quidditch Pitch\n\n\",color:dark_gray,italic:true,hoverEvent:{action:'show_text',value:\"Click here to visit the Quidditch Pitch\"},clickEvent:{action:'run_command',value:\"/tp 250 109 191 68 22\"}}]}","{text:\"The Headmaster's Office\n\n\",color:dark_gray,italic:true,hoverEvent:{action:'show_text',value:\"Click here to visit the Headmaster's office\"},clickEvent:{action:'run_command',value:\"/tp 704 41 347 -90 0\"},extra:[{text:\"Potions Classroom\n\n\",color:dark_gray,italic:true,hoverEvent:{action:'show_text',value:\"Click here to visit the Potions Classroom\"},clickEvent:{action:'run_command',value:\"/tp 767 54 316 -90 0\"}},{text:\"Defence Against the Dark Arts Classroom\n\n\",color:dark_gray,italic:true,hoverEvent:{action:'show_text',value:\"Click here to visit the Defence Against the Dark Arts Classroom\"},clickEvent:{action:'run_command',value:\"/tp 715 96 319 0 11\"}},{text:\"Charms Classroom\n\n\",color:dark_gray,italic:true,hoverEvent:{action:'show_text',value:\"Click here to visit the charms classroom\"},clickEvent:{action:'run_command',value:\"/tp 721 56 104 18 4\"}},{text:\"Roof\n\n\",color:dark_gray,italic:true,hoverEvent:{action:'show_text',value:\"Click here to visit the roof\"},clickEvent:{action:'run_command',value:\"/tp 718 102 301 179 1.4\"}},{text:\"Moaning Myrtle's Bathroom \n\n\",color:dark_gray,italic:true,hoverEvent:{action:'show_text',value:\"Click here to visit Moaning Myrtle's bathroom \"},clickEvent:{action:'run_command',value:\"/tp 701 66 224 -180 0\"}}]}","{text:\"The Fifth Floor\n\n\",color:dark_gray,italic:true,hoverEvent:{action:'show_text',value:\"Click here to visit the Mirror of Erised\"},clickEvent:{action:'run_command',value:\"/tp 721 94 299 157 5\"},extra:[{text:\"The Chamber of Secrets\n\n\",color:dark_gray,italic:true,hoverEvent:{action:'show_text',value:\"Click here to visit the Mirror of Erised\"},clickEvent:{action:'run_command',value:\"/tp 630 4 257 90 0\"}},{text:\"The Room of Requirement - 1\n\n\",color:dark_gray,italic:true,hoverEvent:{action:'show_text',value:\"Click here to visit the Room of Requirement - 1\"},clickEvent:{action:'run_command',value:\"/tp 434 86 -1403 11.6 8.8\"}},{text:\"The Room of requitement - 2\n\n\",color:dark_gray,italic:true,hoverEvent:{action:'show_text',value:\"Click here to visit the Room of Requirement - 2\"},clickEvent:{action:'run_command',value:\"/tp 404 74 -1526 -180 0\"}}]}","{text:\"London\n\",color:gold,bold:true,italic:false,extra:[{text:\"The locations around in and London\n\n\",color:gray,bold:false,italic:true},{text:\"Privet drive\n\n\",color:dark_gray,bold:false,italic:true,hoverEvent:{action:'show_text',value:\"Click here to visit Privet Drive\"},clickEvent:{action:'run_command',value:\"/tp 2519 61 -250 110 2\"}},{text:\"King's Cross Station\n\n\",color:dark_gray,bold:false,italic:true,hoverEvent:{action:'show_text',value:\"Click here to visit King's Cross Station\"},clickEvent:{action:'run_command',value:\"/tp 2789 61 -32 -61 -31\"}},{text:\"Platform 9 3/4\n\n\",color:dark_gray,bold:false,italic:true,hoverEvent:{action:'show_text',value:\"Click here to visit Platform 9 3/4\"},clickEvent:{action:'run_command',value:\"/tp 2894 60 -246 -3 -5 \"}},{text:\"Diagon Alley\n\n\",color:dark_gray,bold:false,italic:true,hoverEvent:{action:'show_text',value:\"Click here to visit Diagon Alley\"},clickEvent:{action:'run_command',value:\"/tp 2868 59 -1034 -154 3 \"}},{text:\"The Leaky Cauldron \n\n\",color:dark_gray,bold:false,italic:true,hoverEvent:{action:'show_text',value:\"Click here to visit The Leaky Cauldron \"},clickEvent:{action:'run_command',value:\"/tp 2868 61 106 110 0\"}}]}","{text:\"Gringotts Wizarding Bank\n\n\",color:dark_gray,italic:true,hoverEvent:{action:'show_text',value:\"Click here to visit Gringotts Wizarding Bank\"},clickEvent:{action:'run_command',value:\"/tp 2874 50 -1207 180 0\"},extra:[{text:\"Ollivander's Wand Shop\n\n\",color:dark_gray,italic:true,hoverEvent:{action:'show_text',value:\"Click here to visit Ollivander's Wand Shop\"},clickEvent:{action:'run_command',value:\"/tp 2870 49 -1197 -90 -11\"}},{text:\"Madam Malkin's Robe Shop\n\n\",color:dark_gray,italic:true,hoverEvent:{action:'show_text',value:\"Click here to visit Madam Malkin's Robe Shop\"},clickEvent:{action:'run_command',value:\"/tp 2863 57 -1087 90 -11\"}},{text:\"Eeylopβs Owl Emporium\n\n\",color:dark_gray,italic:true,hoverEvent:{action:'show_text',value:\"Click here to visit Eeylopβs Owl Emporium\"},clickEvent:{action:'run_command',value:\"/tp 2870 50 -1169 -90 -5\"}}]}","{text:\"Various other locations\n\",color:gold,bold:true,italic:false,extra:[{text:\"From the world of Harry Potter\n\n\",color:gray,bold:false,italic:false},{text:\"Hogsmeade\n\n\",color:dark_gray,bold:false,italic:true,hoverEvent:{action:'show_text',value:\"Click here to visit Hogsmeade\"},clickEvent:{action:'run_command',value:\"/tp 1114 44 -1329 -115 0\"}},{text:\"The Shrieking Shack\n\n\",color:dark_gray,bold:false,italic:true,hoverEvent:{action:'show_text',value:\"Click here to visit The Shrieking Shack\"},clickEvent:{action:'run_command',value:\"/tp 1334 48 -1228 42 1\"}},{text:\"Godricβs Hollow\n\n\",color:dark_gray,bold:false,italic:true,hoverEvent:{action:'show_text',value:\"Click here to visit Godricβs Hollow\"},clickEvent:{action:'run_command',value:\"/tp 690 72 -964 7 -12\"}},{text:\"Malfoy Manor\n\n\",color:dark_gray,bold:fals
e,italic:true,hoverEvent:{action:'show_text',value:\"Click here to visit Malfoy Manor\"},clickEvent:{action:'run_command',value:\"/tp -265 83 -1627 14 2\"}},{text:\"The Burrow\n\n\",color:dark_gray,bold:false,italic:true,hoverEvent:{action:'show_text',value:\"Click here to visit the Burrow\"},clickEvent:{action:'run_command',value:\"/tp -378 18 -779 -31 -3\"}}]}","{text:\"You can use the buttons below to change the time of day or the weather.\n\",color:dark_gray,bold:false,extra:[{text:\"Dawn\n\",color:gold,bold:true,hoverEvent:{action:'show_text',value:\"Click to change the time to dawn\"},clickEvent:{action:'run_command',value:\"/time set 23250\"}},{text:\"Morning\n\",color:gold,bold:true,hoverEvent:{action:'show_text',value:\"Click to change the time to morning\"},clickEvent:{action:'run_command',value:\"/time set 0\"}},{text:\"Day\n\",color:gold,bold:true,hoverEvent:{action:'show_text',value:\"Click to change the time to day\"},clickEvent:{action:'run_command',value:\"/time set 6000\"}},{text:\"Evening\n\",color:gold,bold:true,hoverEvent:{action:'show_text',value:\"Click to change the time to evening\"},clickEvent:{action:'run_command',value:\"/time set 12250\"}},{text:\"Dusk\n\",color:gold,bold:true,hoverEvent:{action:'show_text',value:\"Click to change the time to dusk\"},clickEvent:{action:'run_command',value:\"/time set 13500\"}},{text:\"Night\n\n\",color:gold,bold:true,hoverEvent:{action:'show_text',value:\"Click to change the time to night\"},clickEvent:{action:'run_command',value:\"/time set 15000\"}},{text:\"Clear\n\",color:gold,bold:true,hoverEvent:{action:'show_text',value:\"Click to clear the weather\"},clickEvent:{action:'run_command',value:\"/weather clear\"}},{text:\"Rain\n\",color:gold,bold:true,hoverEvent:{action:'show_text',value:\"Click to make it rain\"},clickEvent:{action:'run_command',value:\"/weather rain\"}},{text:\"Thunder\",color:gold,bold:true,hoverEvent:{action:'show_text',value:\"Click to start a thunderstorm\"},clickEvent:{action:'run_command',value:\"/weather thunder\"}}]}","{text:\"You can chose to play the map in Creative Mode, by pressing the button below. Be advised, that not all the locations have been build to be viewed from the air. \n\n\",color:dark_gray,bold:false,extra:[{text:\"Grab a broomstick\n\n\",color:gold,bold:true,hoverEvent:{action:'show_text',value:\"Click to switch to Creative Mode\"},clickEvent:{action:'run_command',value:\"/gamemode 1\"}},{text:\"Drop broomstick\n\n\",color:gold,bold:true,hoverEvent:{action:'show_text',value:\"Click to Switch to Adventure Mode\"},clickEvent:{action:'run_command',value:\"/gamemode 2\"}}]}","{text:\"Best of Luck!\",color:gold,bold:true}","{text:\"All rights reserved. This map or any portion thereof may not be used or re-released in any way without the permission of The Floo Network. You may also not use this map for a public server, or the like.\",color:gray,italic:true}","{text:\"If you desire to make any kind of gameplay recording within the map, please do credit The Floo Network, and provide \",color:gray,bold:false,italic:true,extra:[{text:\"this link: \n\n\",color:gray,bold:true,italic:true,hoverEvent:{action:'show_text',value:\"Click to open link\"},clickEvent:{action:'open_url',value:\"http://www.planetminecraft.com/project/harry-potter-adventure-map-3347878/\"}},{text:\"By downloading this map, you have agreed to these terms and conditions.\",color:gray,bold:false,italic:false}]}"]}
There's a lot to tackle here. Let's get started!
Firstly, let's get this out of the way. Like the last bug fix, I noticed a small (unrelated) bug involving target selectors and exclamation points. And I believe it will also be the last one involving those things. I fixed it with the new 1.5.5.
To the command...
Okay, let's be honest here. I tried to run it through a command block in 1.12.2, and it came back at me with several JSON text formatting errors, as I expected based upon the look of things. Most of the details like text, color, and clickEvent to name a few were completely without quotes. JSON text formatting demands quotes around everything. Also, run_command was surrounded with apostrophes rather than quotes, which Minecraft and I saw as odd collectively.
I took the liberty to use some ctrl+H in good ol' Notepad++ to correct all of these syntax errors to make the command usable in 1.12.2, and I was successful. The command became a little longer, but nothing deal-breaking.
Repaired command:
/give @p minecraft:written_book 1 0 {display:{Name:"Locations",Lore:["Apparate to the location of your choice"]},title:"Locations",author:"The Floo Network",generation:0,pages:["{\"text\":\"-------------------\",\"color\":\"gray\",\"bold\":\"false\",\"extra\":[{\"text\":\" Harry Potter in Minecraft\\n\",\"color\":\"gold\",\"bold\":\"true\"},{\"text\":\" by The Floo Network\\n\",\"color\":\"gray\",\"bold\":\"false\"},{\"text\":\"-------------------\\n\\n\",\"color\":\"gray\",\"bold\":\"false\"},{\"text\":\"Welcome to the wondrous world of Harry Potter. Using the furnaces in the Ministry of Magic, you can travel to a location through the floo network. \",\"color\":\"dark_gray\",\"bold\":\"false\"}]}","{\"text\":\"Alternatively, you can apparate around the map using this book. Simply click the location of your choice.\\n\\n\",\"color\":\"dark_gray\",\"bold\":\"false\",\"extra\":[{\"text\":\"To get back to the Ministry of magic, click \",\"color\":\"dark_gray\",\"bold\":\"false\"},{\"text\":\"here.\\n\\n\",\"color\":\"gold\",\"bold\":\"true\",\"hoverEvent\":{\"action\":\"show_text\",\"value\":\"Click here to visit the Ministry of Magic\"},\"clickEvent\":{\"action\":\"run_command\",\"value\":\"/tp 1032 14 1489 -90 0\"}}]}","{\"text\":\"Hogwarts\\n\",\"color\":\"gold\",\"bold\":\"true\",\"italic\":\"false\",\"extra\":[{\"text\":\"The locations in and around Hogwarts Castle:\\n\\n\",\"color\":\"gray\",\"bold\":\"false\",\"italic\":\"true\"},{\"text\":\"The Boat House\\n\\n\",\"color\":\"dark_gray\",\"bold\":\"false\",\"italic\":\"true\",\"hoverEvent\":{\"action\":\"show_text\",\"value\":\"Click here to visit the boat house.\"},\"clickEvent\":{\"action\":\"run_command\",\"value\":\"/tp 913 28 328 -119 -5\"}},{\"text\":\"The Great Hall\\n\\n\",\"color\":\"dark_gray\",\"bold\":\"false\",\"italic\":\"true\",\"hoverEvent\":{\"action\":\"show_text\",\"value\":\"Click here to visit the Great Hall\"},\"clickEvent\":{\"action\":\"run_command\",\"value\":\"/tp 758 66 350 45 0\"}},{\"text\":\"The Grand Staircase \\n\\n\",\"color\":\"dark_gray\",\"bold\":\"false\",\"italic\":\"true\",\"hoverEvent\":{\"action\":\"show_text\",\"value\":\"Click here to visit the Grand Staircase\"},\"clickEvent\":{\"action\":\"run_command\",\"value\":\"/tp 726 87 322 -135 -54\"}},{\"text\":\"The Library\\n\\n\",\"color\":\"dark_gray\",\"bold\":\"false\",\"italic\":\"true\",\"hoverEvent\":{\"action\":\"show_text\",\"value\":\"Click here to visit the library\"},\"clickEvent\":{\"action\":\"run_command\",\"value\":\"/tp 719 75 316 53 0\"}},{\"text\":\"The Hospital Wing\\n\\n\",\"color\":\"dark_gray\",\"bold\":\"false\",\"italic\":\"true\",\"hoverEvent\":{\"action\":\"show_text\",\"value\":\"Click here to visit the hospital wing\"},\"clickEvent\":{\"action\":\"run_command\",\"value\":\"/tp 659 91 263 90 0\"}}]}","{\"text\":\"The Gryffindor Common Room\\n\\n\",\"color\":\"dark_gray\",\"italic\":\"true\",\"hoverEvent\":{\"action\":\"show_text\",\"value\":\"Click here to visit the Gryffindor Common Room\"},\"clickEvent\":{\"action\":\"run_command\",\"value\":\"/tp 736 134 320 26 2\"},\"extra\":[{\"text\":\"Harry's Bedroom \\n\\n\",\"color\":\"dark_gray\",\"italic\":\"true\",\"hoverEvent\":{\"action\":\"show_text\",\"value\":\"Click here to visit Harry's bedroom\"},\"clickEvent\":{\"action\":\"run_command\",\"value\":\"/tp 738 162 311 -143 11\"}},{\"text\":\"The Slytherin Common Room\\n\\n\",\"color\":\"dark_gray\",\"italic\":\"true\",\"hoverEvent\":{\"action\":\"show_text\",\"value\":\"Click here to visit the Slytherin Common Room\"},\"clickEvent\":{\"action\":\"run_command\",\"value\":\"/tp 743 30 252 180 0\"}},{\"text\":\"The Hufflepuff Common Room\\n\\n\",\"color\":\"dark_gray\",\"italic\":\"true\",\"hoverEvent\":{\"action\":\"show_text\",\"value\":\"Click here to visit the Hufflepuff Common Room\"},\"clickEvent\":{\"action\":\"run_command\",\"value\":\"/tp 782 53 175 90 -8\"}},{\"text\":\"The Ravenclaw common room\\n\\n\",\"color\":\"dark_gray\",\"italic\":\"true\",\"hoverEvent\":{\"action\":\"show_text\",\"value\":\"Click here to visit the Ravenclaw Common Room\"},\"clickEvent\":{\"action\":\"run_command\",\"value\":\"/tp 771 129 163 -135 -15\"}}]}","{\"text\":\"The Owlery\\n\\n\",\"color\":\"dark_gray\",\"italic\":\"true\",\"hoverEvent\":{\"action\":\"show_text\",\"value\":\"Click here to visit the Owlery\"},\"clickEvent\":{\"action\":\"run_command\",\"value\":\"/tp 419 117 137 108 -40\"},\"extra\":[{\"text\":\"The Wooden Bridge\\n\\n\",\"color\":\"dark_gray\",\"italic\":\"true\",\"hoverEvent\":{\"action\":\"show_text\",\"value\":\"Click here to visit the Wooden Bridge\"},\"clickEvent\":{\"action\":\"run_command\",\"value\":\"/tp 571 64 242 64 6\"}},{\"text\":\"The Greenhouses\\n\\n\",\"color\":\"dark_gray\",\"italic\":\"true\",\"hoverEvent\":{\"action\":\"show_text\",\"value\":\"Click here to visit the greenhouses\"},\"clickEvent\":{\"action\":\"run_command\",\"value\":\"/tp 703 55 59 -90 0\"}},{\"text\":\"The Whomping Willow\\n\\n\",\"color\":\"dark_gray\",\"italic\":\"true\",\"hoverEvent\":{\"action\":\"show_text\",\"value\":\"Click here to visit the the Whomping Willow\"},\"clickEvent\":{\"action\":\"run_command\",\"value\":\"/tp 599 77 9 153 -6\"}},{\"text\":\"The Forbidden Forrest\\n\\n\",\"color\":\"dark_gray\",\"italic\":\"true\",\"hoverEvent\":{\"action\":\"show_text\",\"value\":\"Click here to visit the Forbidden Forrest\"},\"clickEvent\":{\"action\":\"run_command\",\"value\":\"/tp 375 47 351 16 -2\"}},{\"text\":\"Hagrid's Hut\\n\\n\",\"color\":\"dark_gray\",\"italic\":\"true\",\"hoverEvent\":{\"action\":\"show_text\",\"value\":\"Click here to visit hagrid's Hut\"},\"clickEvent\":{\"action\":\"run_command\",\"value\":\"/tp 382 47 317 -36 2\"}},{\"text\":\"The Quidditch Pitch\\n\\n\",\"color\":\"dark_gray\",\"italic\":\"true\",\"hoverEvent\":{\"action\":\"show_text\",\"value\":\"Click here to visit the Quidditch Pitch\"},\"clickEvent\":{\"action\":\"run_command\",\"value\":\"/tp 250 109 191 68 22\"}}]}","{\"text\":\"The Headmaster's Office\\n\\n\",\"color\":\"dark_gray\",\"italic\":\"true\",\"hoverEvent\":{\"action\":\"show_text\",\"value\":\"Click here to visit the Headmaster's office\"},\"clickEvent\":{\"action\":\"run_command\",\"value\":\"/tp 704 41 347 -90 0\"},\"extra\":[{\"text\":\"Potions Classroom\\n\\n\",\"color\":\"dark_gray\",\"italic\":\"true\",\"hoverEvent\":{\"action\":\"show_text\",\"value\":\"Click here to visit the Potions Classroom\"},\"clickEvent\":{\"action\":\"run_command\",\"value\":\"/tp 767 54 316 -90 0\"}},{\"text\":\"Defence Against the Dark Arts Classroom\\n\\n\",\"color\":\"dark_gray\",\"italic\":\"true\",\"hoverEvent\":{\"action\":\"show_text\",\"value\":\"Click here to visit the Defence Against the Dark Arts Classroom\"},\"clickEvent\":{\"action\":\"run_command\",\"value\":\"/tp 715 96 319 0 11\"}},{\"text\":\"Charms Classroom\\n\\n\",\"color\":\"dark_gray\",\"italic\":\"true\",\"hoverEvent\":{\"action\":\"show_text\",\"value\":\"Click here to visit the charms classroom\"},\"clickEvent\":{\"action\":\"run_command\",\"value\":\"/tp 721 56 104 18 4\"}},{\"text\":\"Roof\\n\\n\",\"color\":\"dark_gray\",\"italic\":\"true\",\"hoverEvent\":{\"action\":\"show_text\",\"value\":\"Click here to visit the roof\"},\"clickEvent\":{\"action\":\"run_command\",\"value\":\"/tp 718 102 301 179 1.4\"}},{\"text\":\"Moaning Myrtle's Bathroom \\n\\n\",\"color\":\"dark_gray\",\"italic\":\"true\",\"hoverEvent\":{\"action\":\"show_text\",\"value\":\"Click here to visit Moaning Myrtle's bathroom \"},\"clickEvent\":{\"action\":\"run_command\",\"value\":\"/tp 701 66 224 -180 0\"}}]}","{\"text\":\"The Fifth Floor\\n\\n\",\"color\":\"dark_gray\",\"italic\":\"true\",\"hoverEvent\":{\"action\":\"show_text\",\"value\":\"Click here to visit the Mirror of Erised\"},\"clickEvent\":{\"action\":\"run_command\",\"value\":\"/tp 721 94 299 157 5\"},\"extra\":[{\"text\":\"The Chamber of Secrets\\n\\n\",\"color\":\"dark_gray\",\"italic\":\"true\",\"hoverEvent\":{\"action\":\"show_text\",\"value\":\"Click here to visit the Mirror of Erised\"},\"clickEvent\":{\"action\":\"run_command\",\"value\":\"/tp 630 4 257 90 0\"}},{\"text\":\"The Room of Requirement - 1\\n\\n\",\"color\":\"dark_gray\",\"italic\":\"true\",\"hoverEvent\":{\"action\":\"show_text\",\"value\":\"Click here to visit the Room of Requirement - 1\"},\"clickEvent\":{\"action\":\"run_command\",\"value\":\"/tp 434 86 -1403 11.6 8.8\"}},{\"text\":\"The Room of requitement - 2\\n\\n\",\"color\":\"dark_gray\",\"italic\":\"true\",\"hoverEvent\":{\"action\":\"show_text\",\"value\":\"Click here to visit the Room of Requirement - 2\"},\"clickEvent\":{\"action\":\"run_command\",\"value\":\"/tp 404 74 -1526 -180 0\"}}]}","{\"text\":\"London\\n\",\"color\":\"gold\",\"bold\":\"true\",\"italic\":\"false\",\"extra\":[{\"text\":\"The locations around in and London\\n\\n\",\"color\":\"gray\",\"bold\":\"false\",\"italic\":\"true\"},{\"text\":\"Privet drive\\n\\n\",\"color\":\"dark_gray\",\"bold\":\"false\",\"italic\":\"true\",\"hoverEvent\":{\"action\":\"show_text\",\"value\":\"Click here to visit Privet Drive\"},\"clickEvent\":{\"action\":\"run_command\",\"value\":\"/tp 2519 61 -250 110 2\"}},{\"text\":\"King's Cross Station\\n\\n\",\"color\":\"dark_gray\",\"bold\":\"false\",\"italic\":\"true\",\"hoverEvent\":{\"action\":\"show_text\",\"value\":\"Click here to visit King's Cross Station\"},\"clickEvent\":{\"action\":\"run_command\",\"value\":\"/tp 2789 61 -32 -61 -31\"}},{\"text\":\"Platform 9 3/4\\n\\n\",\"color\":\"dark_gray\",\"bold\":\"false\",\"italic\":\"true\",\"hoverEvent\":{\"action\":\"show_text\",\"value\":\"Click here to visit Platform 9 3/4\"},\"clickEvent\":{\"action\":\"run_command\",\"value\":\"/tp 2894 60 -246 -3 -5 \"}},{\"text\":\"Diagon Alley\\n\\n\",\"color\":\"dark_gray\",\"bold\":\"false\",\"italic\":\"true\",\"hoverEvent\":{\"action\":\"show_text\",\"value\":\"Click here to visit Diagon Alley\"},\"clickEvent\":{\"action\":\"run_command\",\"value\":\"/tp 2868 59 -1034 -154 3 \"}},{\"t
ext\":\"The Leaky Cauldron \\n\\n\",\"color\":\"dark_gray\",\"bold\":\"false\",\"italic\":\"true\",\"hoverEvent\":{\"action\":\"show_text\",\"value\":\"Click here to visit The Leaky Cauldron \"},\"clickEvent\":{\"action\":\"run_command\",\"value\":\"/tp 2868 61 106 110 0\"}}]}","{\"text\":\"Gringotts Wizarding Bank\\n\\n\",\"color\":\"dark_gray\",\"italic\":\"true\",\"hoverEvent\":{\"action\":\"show_text\",\"value\":\"Click here to visit Gringotts Wizarding Bank\"},\"clickEvent\":{\"action\":\"run_command\",\"value\":\"/tp 2874 50 -1207 180 0\"},\"extra\":[{\"text\":\"Ollivander's Wand Shop\\n\\n\",\"color\":\"dark_gray\",\"italic\":\"true\",\"hoverEvent\":{\"action\":\"show_text\",\"value\":\"Click here to visit Ollivander's Wand Shop\"},\"clickEvent\":{\"action\":\"run_command\",\"value\":\"/tp 2870 49 -1197 -90 -11\"}},{\"text\":\"Madam Malkin's Robe Shop\\n\\n\",\"color\":\"dark_gray\",\"italic\":\"true\",\"hoverEvent\":{\"action\":\"show_text\",\"value\":\"Click here to visit Madam Malkin's Robe Shop\"},\"clickEvent\":{\"action\":\"run_command\",\"value\":\"/tp 2863 57 -1087 90 -11\"}},{\"text\":\"Eeylopβs Owl Emporium\\n\\n\",\"color\":\"dark_gray\",\"italic\":\"true\",\"hoverEvent\":{\"action\":\"show_text\",\"value\":\"Click here to visit Eeylopβs Owl Emporium\"},\"clickEvent\":{\"action\":\"run_command\",\"value\":\"/tp 2870 50 -1169 -90 -5\"}}]}","{\"text\":\"Various other locations\\n\",\"color\":\"gold\",\"bold\":\"true\",\"italic\":\"false\",\"extra\":[{\"text\":\"From the world of Harry Potter\\n\\n\",\"color\":\"gray\",\"bold\":\"false\",\"italic\":\"false\"},{\"text\":\"Hogsmeade\\n\\n\",\"color\":\"dark_gray\",\"bold\":\"false\",\"italic\":\"true\",\"hoverEvent\":{\"action\":\"show_text\",\"value\":\"Click here to visit Hogsmeade\"},\"clickEvent\":{\"action\":\"run_command\",\"value\":\"/tp 1114 44 -1329 -115 0\"}},{\"text\":\"The Shrieking Shack\\n\\n\",\"color\":\"dark_gray\",\"bold\":\"false\",\"italic\":\"true\",\"hoverEvent\":{\"action\":\"show_text\",\"value\":\"Click here to visit The Shrieking Shack\"},\"clickEvent\":{\"action\":\"run_command\",\"value\":\"/tp 1334 48 -1228 42 1\"}},{\"text\":\"Godricβs Hollow\\n\\n\",\"color\":\"dark_gray\",\"bold\":\"false\",\"italic\":\"true\",\"hoverEvent\":{\"action\":\"show_text\",\"value\":\"Click here to visit Godricβs Hollow\"},\"clickEvent\":{\"action\":\"run_command\",\"value\":\"/tp 690 72 -964 7 -12\"}},{\"text\":\"Malfoy Manor\\n\\n\",\"color\":\"dark_gray\",\"bold\":\"false\",\"italic\":\"true\",\"hoverEvent\":{\"action\":\"show_text\",\"value\":\"Click here to visit Malfoy Manor\"},\"clickEvent\":{\"action\":\"run_command\",\"value\":\"/tp -265 83 -1627 14 2\"}},{\"text\":\"The Burrow\\n\\n\",\"color\":\"dark_gray\",\"bold\":\"false\",\"italic\":\"true\",\"hoverEvent\":{\"action\":\"show_text\",\"value\":\"Click here to visit the Burrow\"},\"clickEvent\":{\"action\":\"run_command\",\"value\":\"/tp -378 18 -779 -31 -3\"}}]}","{\"text\":\"You can use the buttons below to change the time of day or the weather.\\n\",\"color\":\"dark_gray\",\"bold\":\"false\",\"extra\":[{\"text\":\"Dawn\\n\",\"color\":\"gold\",\"bold\":\"true\",\"hoverEvent\":{\"action\":\"show_text\",\"value\":\"Click to change the time to dawn\"},\"clickEvent\":{\"action\":\"run_command\",\"value\":\"/time set 23250\"}},{\"text\":\"Morning\\n\",\"color\":\"gold\",\"bold\":\"true\",\"hoverEvent\":{\"action\":\"show_text\",\"value\":\"Click to change the time to morning\"},\"clickEvent\":{\"action\":\"run_command\",\"value\":\"/time set 0\"}},{\"text\":\"Day\\n\",\"color\":\"gold\",\"bold\":\"true\",\"hoverEvent\":{\"action\":\"show_text\",\"value\":\"Click to change the time to day\"},\"clickEvent\":{\"action\":\"run_command\",\"value\":\"/time set 6000\"}},{\"text\":\"Evening\\n\",\"color\":\"gold\",\"bold\":\"true\",\"hoverEvent\":{\"action\":\"show_text\",\"value\":\"Click to change the time to evening\"},\"clickEvent\":{\"action\":\"run_command\",\"value\":\"/time set 12250\"}},{\"text\":\"Dusk\\n\",\"color\":\"gold\",\"bold\":\"true\",\"hoverEvent\":{\"action\":\"show_text\",\"value\":\"Click to change the time to dusk\"},\"clickEvent\":{\"action\":\"run_command\",\"value\":\"/time set 13500\"}},{\"text\":\"Night\\n\\n\",\"color\":\"gold\",\"bold\":\"true\",\"hoverEvent\":{\"action\":\"show_text\",\"value\":\"Click to change the time to night\"},\"clickEvent\":{\"action\":\"run_command\",\"value\":\"/time set 15000\"}},{\"text\":\"Clear\\n\",\"color\":\"gold\",\"bold\":\"true\",\"hoverEvent\":{\"action\":\"show_text\",\"value\":\"Click to clear the weather\"},\"clickEvent\":{\"action\":\"run_command\",\"value\":\"/weather clear\"}},{\"text\":\"Rain\\n\",\"color\":\"gold\",\"bold\":\"true\",\"hoverEvent\":{\"action\":\"show_text\",\"value\":\"Click to make it rain\"},\"clickEvent\":{\"action\":\"run_command\",\"value\":\"/weather rain\"}},{\"text\":\"Thunder\",\"color\":\"gold\",\"bold\":\"true\",\"hoverEvent\":{\"action\":\"show_text\",\"value\":\"Click to start a thunderstorm\"},\"clickEvent\":{\"action\":\"run_command\",\"value\":\"/weather thunder\"}}]}","{\"text\":\"You can chose to play the map in Creative Mode, by pressing the button below. Be advised, that not all the locations have been build to be viewed from the air. \\n\\n\",\"color\":\"dark_gray\",\"bold\":\"false\",\"extra\":[{\"text\":\"Grab a broomstick\\n\\n\",\"color\":\"gold\",\"bold\":\"true\",\"hoverEvent\":{\"action\":\"show_text\",\"value\":\"Click to switch to Creative Mode\"},\"clickEvent\":{\"action\":\"run_command\",\"value\":\"/gamemode 1\"}},{\"text\":\"Drop broomstick\\n\\n\",\"color\":\"gold\",\"bold\":\"true\",\"hoverEvent\":{\"action\":\"show_text\",\"value\":\"Click to Switch to Adventure Mode\"},\"clickEvent\":{\"action\":\"run_command\",\"value\":\"/gamemode 2\"}}]}","{\"text\":\"Best of Luck!\",\"color\":\"gold\",\"bold\":\"true\"}","{\"text\":\"All rights reserved. This map or any portion thereof may not be used or re-released in any way without the permission of The Floo Network. You may also not use this map for a public server, or the like.\",\"color\":\"gray\",\"italic\":\"true\"}","{\"text\":\"If you desire to make any kind of gameplay recording within the map, please do credit The Floo Network, and provide \",\"color\":\"gray\",\"bold\":\"false\",\"italic\":\"true\",\"extra\":[{\"text\":\"this link: \\n\\n\",\"color\":\"gray\",\"bold\":\"true\",\"italic\":\"true\",\"hoverEvent\":{\"action\":\"show_text\",\"value\":\"Click to open link\"},\"clickEvent\":{\"action\":'open_url',\"value\":\"http://www.planetminecraft.com/project/harry-potter-adventure-map-3347878/\"}},{\"text\":\"By downloading this map, you have agreed to these terms and conditions.\",\"color\":\"gray\",\"bold\":\"false\",\"italic\":\"false\"}]}"]}
As for the output file being blank, I believe this was an operator defect. I've seen this issue reported a lot; and every time, so far, it has been a misunderstanding of where to place the Input file.
There are 4 points to note about how to use this thing properly in this case specifically...
1. Make sure you use the "1.12 to 1.13 Command Converter.bat" file (the one suited for 100 commands). This will be able to hold the shear size of the command (unlike the Lite) while being faster than the Mega version.
2. Make sure that the setting "Input Mode" is set to "One-Command."
3. Consequently, make sure that your Input file only has 1 line. This is required when using One-Command Mode.
4. The issue with many is file placement. Ensure that you have your Input file located in the same folder as the batch files themselves. An image will be included for clarity.
It should also be noted that, in certain cases (I believe One-Command mode), for some reason, it cannot support Input/Output file names with spaces. It works in some cases and doesn't work in others. I'll look into this sometime soon.
And that should be all for now. Tell me how the conversion goes with the repaired command in addition with the insight.
I used , MCEdit to copy that command out of the command block , but I used windows notepad with out thinking . This time I used Notepad ++ and kept all names 8 letters . That command was working in 1.12.2 , maybe something changed while copying using command block copy in MCEdit . Thanks .
This command conversion does not work . Since @s will only work if the player types it . If @s is executed by a command block or from a entity , it will do nothing
teleport @s 758 66 350 45 0\
i needed to put /teleport @s in the book for it to work
Will you be making a converter to Mincraft Windows 10 , i used this converted command in a command block . it works in Java but not in The Windows 10 version
I had to put a , / , in front of all commands in 1.13.1 converted file
I used , MCEdit to copy that command out of the command block , but I used windows notepad with out thinking . This time I used Notepad ++ and kept all names 8 letters . That command was working in 1.12.2 , maybe something changed while copying using command block copy in MCEdit . Thanks .
This command conversion does not work . Since @s will only work if the player types it . If @s is executed by a command block or from a entity , it will do nothing
teleport @s 758 66 350 45 0\
i needed to put /teleport @s in the book for it to work
Will you be making a converter to Mincraft Windows 10 , i used this converted command in a command block . it works in Java but not in The Windows 10 version
I had to put a , / , in front of all commands in 1.13.1 converted file
I have just released the latest version, 1.5.6, containing a number of bug fixes described by you and someone private messaging me.
The slash issue that you described has been corrected. Before, the sub-levels didn't put a slash on their commands (I figured it that way for consistency). But I was recently reminded that, when using run_command under clickEvent, a slash must be present in order for it to work. Easiest solution was to have the sub-levels always slap a slash at the beginning of each command that they send up a level.
Your point concerning @s is interesting...
"If @s is executed by a command block or from a entity , it will do nothing"
This is true.
"If @s is executed by a command block or from a entity , it will do nothing"
This is incorrect, I do this with nearly every command creation of mine.
I did some ctrl+H on that revised command that I featured last time to convert it to 1.13 (to save time, since it was mostly JSON text, the vast majority of it didn't change). And it does work in 1.13 perfectly:
/give @p written_book{display:{Name:"\"Locations\"",Lore:["Apparate to the location of your choice"]},title:"Locations",author:"The Floo Network",generation:0,pages:["{\"text\":\"-------------------\",\"color\":\"gray\",\"bold\":\"false\",\"extra\":[{\"text\":\" Harry Potter in Minecraft\\n\",\"color\":\"gold\",\"bold\":\"true\"},{\"text\":\" by The Floo Network\\n\",\"color\":\"gray\",\"bold\":\"false\"},{\"text\":\"-------------------\\n\\n\",\"color\":\"gray\",\"bold\":\"false\"},{\"text\":\"Welcome to the wondrous world of Harry Potter. Using the furnaces in the Ministry of Magic, you can travel to a location through the floo network. \",\"color\":\"dark_gray\",\"bold\":\"false\"}]}","{\"text\":\"Alternatively, you can apparate around the map using this book. Simply click the location of your choice.\\n\\n\",\"color\":\"dark_gray\",\"bold\":\"false\",\"extra\":[{\"text\":\"To get back to the Ministry of magic, click \",\"color\":\"dark_gray\",\"bold\":\"false\"},{\"text\":\"here.\\n\\n\",\"color\":\"gold\",\"bold\":\"true\",\"hoverEvent\":{\"action\":\"show_text\",\"value\":\"Click here to visit the Ministry of Magic\"},\"clickEvent\":{\"action\":\"run_command\",\"value\":\"/teleport @s 1032 14 1489 -90 0\"}}]}","{\"text\":\"Hogwarts\\n\",\"color\":\"gold\",\"bold\":\"true\",\"italic\":\"false\",\"extra\":[{\"text\":\"The locations in and around Hogwarts Castle:\\n\\n\",\"color\":\"gray\",\"bold\":\"false\",\"italic\":\"true\"},{\"text\":\"The Boat House\\n\\n\",\"color\":\"dark_gray\",\"bold\":\"false\",\"italic\":\"true\",\"hoverEvent\":{\"action\":\"show_text\",\"value\":\"Click here to visit the boat house.\"},\"clickEvent\":{\"action\":\"run_command\",\"value\":\"/teleport @s 913 28 328 -119 -5\"}},{\"text\":\"The Great Hall\\n\\n\",\"color\":\"dark_gray\",\"bold\":\"false\",\"italic\":\"true\",\"hoverEvent\":{\"action\":\"show_text\",\"value\":\"Click here to visit the Great Hall\"},\"clickEvent\":{\"action\":\"run_command\",\"value\":\"/teleport @s 758 66 350 45 0\"}},{\"text\":\"The Grand Staircase \\n\\n\",\"color\":\"dark_gray\",\"bold\":\"false\",\"italic\":\"true\",\"hoverEvent\":{\"action\":\"show_text\",\"value\":\"Click here to visit the Grand Staircase\"},\"clickEvent\":{\"action\":\"run_command\",\"value\":\"/teleport @s 726 87 322 -135 -54\"}},{\"text\":\"The Library\\n\\n\",\"color\":\"dark_gray\",\"bold\":\"false\",\"italic\":\"true\",\"hoverEvent\":{\"action\":\"show_text\",\"value\":\"Click here to visit the library\"},\"clickEvent\":{\"action\":\"run_command\",\"value\":\"/teleport @s 719 75 316 53 0\"}},{\"text\":\"The Hospital Wing\\n\\n\",\"color\":\"dark_gray\",\"bold\":\"false\",\"italic\":\"true\",\"hoverEvent\":{\"action\":\"show_text\",\"value\":\"Click here to visit the hospital wing\"},\"clickEvent\":{\"action\":\"run_command\",\"value\":\"/teleport @s 659 91 263 90 0\"}}]}","{\"text\":\"The Gryffindor Common Room\\n\\n\",\"color\":\"dark_gray\",\"italic\":\"true\",\"hoverEvent\":{\"action\":\"show_text\",\"value\":\"Click here to visit the Gryffindor Common Room\"},\"clickEvent\":{\"action\":\"run_command\",\"value\":\"/teleport @s 736 134 320 26 2\"},\"extra\":[{\"text\":\"Harry's Bedroom \\n\\n\",\"color\":\"dark_gray\",\"italic\":\"true\",\"hoverEvent\":{\"action\":\"show_text\",\"value\":\"Click here to visit Harry's bedroom\"},\"clickEvent\":{\"action\":\"run_command\",\"value\":\"/teleport @s 738 162 311 -143 11\"}},{\"text\":\"The Slytherin Common Room\\n\\n\",\"color\":\"dark_gray\",\"italic\":\"true\",\"hoverEvent\":{\"action\":\"show_text\",\"value\":\"Click here to visit the Slytherin Common Room\"},\"clickEvent\":{\"action\":\"run_command\",\"value\":\"/teleport @s 743 30 252 180 0\"}},{\"text\":\"The Hufflepuff Common Room\\n\\n\",\"color\":\"dark_gray\",\"italic\":\"true\",\"hoverEvent\":{\"action\":\"show_text\",\"value\":\"Click here to visit the Hufflepuff Common Room\"},\"clickEvent\":{\"action\":\"run_command\",\"value\":\"/teleport @s 782 53 175 90 -8\"}},{\"text\":\"The Ravenclaw common room\\n\\n\",\"color\":\"dark_gray\",\"italic\":\"true\",\"hoverEvent\":{\"action\":\"show_text\",\"value\":\"Click here to visit the Ravenclaw Common Room\"},\"clickEvent\":{\"action\":\"run_command\",\"value\":\"/teleport @s 771 129 163 -135 -15\"}}]}","{\"text\":\"The Owlery\\n\\n\",\"color\":\"dark_gray\",\"italic\":\"true\",\"hoverEvent\":{\"action\":\"show_text\",\"value\":\"Click here to visit the Owlery\"},\"clickEvent\":{\"action\":\"run_command\",\"value\":\"/teleport @s 419 117 137 108 -40\"},\"extra\":[{\"text\":\"The Wooden Bridge\\n\\n\",\"color\":\"dark_gray\",\"italic\":\"true\",\"hoverEvent\":{\"action\":\"show_text\",\"value\":\"Click here to visit the Wooden Bridge\"},\"clickEvent\":{\"action\":\"run_command\",\"value\":\"/teleport @s 571 64 242 64 6\"}},{\"text\":\"The Greenhouses\\n\\n\",\"color\":\"dark_gray\",\"italic\":\"true\",\"hoverEvent\":{\"action\":\"show_text\",\"value\":\"Click here to visit the greenhouses\"},\"clickEvent\":{\"action\":\"run_command\",\"value\":\"/teleport @s 703 55 59 -90 0\"}},{\"text\":\"The Whomping Willow\\n\\n\",\"color\":\"dark_gray\",\"italic\":\"true\",\"hoverEvent\":{\"action\":\"show_text\",\"value\":\"Click here to visit the the Whomping Willow\"},\"clickEvent\":{\"action\":\"run_command\",\"value\":\"/teleport @s 599 77 9 153 -6\"}},{\"text\":\"The Forbidden Forrest\\n\\n\",\"color\":\"dark_gray\",\"italic\":\"true\",\"hoverEvent\":{\"action\":\"show_text\",\"value\":\"Click here to visit the Forbidden Forrest\"},\"clickEvent\":{\"action\":\"run_command\",\"value\":\"/teleport @s 375 47 351 16 -2\"}},{\"text\":\"Hagrid's Hut\\n\\n\",\"color\":\"dark_gray\",\"italic\":\"true\",\"hoverEvent\":{\"action\":\"show_text\",\"value\":\"Click here to visit hagrid's Hut\"},\"clickEvent\":{\"action\":\"run_command\",\"value\":\"/teleport @s 382 47 317 -36 2\"}},{\"text\":\"The Quidditch Pitch\\n\\n\",\"color\":\"dark_gray\",\"italic\":\"true\",\"hoverEvent\":{\"action\":\"show_text\",\"value\":\"Click here to visit the Quidditch Pitch\"},\"clickEvent\":{\"action\":\"run_command\",\"value\":\"/teleport @s 250 109 191 68 22\"}}]}","{\"text\":\"The Headmaster's Office\\n\\n\",\"color\":\"dark_gray\",\"italic\":\"true\",\"hoverEvent\":{\"action\":\"show_text\",\"value\":\"Click here to visit the Headmaster's office\"},\"clickEvent\":{\"action\":\"run_command\",\"value\":\"/teleport @s 704 41 347 -90 0\"},\"extra\":[{\"text\":\"Potions Classroom\\n\\n\",\"color\":\"dark_gray\",\"italic\":\"true\",\"hoverEvent\":{\"action\":\"show_text\",\"value\":\"Click here to visit the Potions Classroom\"},\"clickEvent\":{\"action\":\"run_command\",\"value\":\"/teleport @s 767 54 316 -90 0\"}},{\"text\":\"Defence Against the Dark Arts Classroom\\n\\n\",\"color\":\"dark_gray\",\"italic\":\"true\",\"hoverEvent\":{\"action\":\"show_text\",\"value\":\"Click here to visit the Defence Against the Dark Arts Classroom\"},\"clickEvent\":{\"action\":\"run_command\",\"value\":\"/teleport @s 715 96 319 0 11\"}},{\"text\":\"Charms Classroom\\n\\n\",\"color\":\"dark_gray\",\"italic\":\"true\",\"hoverEvent\":{\"action\":\"show_text\",\"value\":\"Click here to visit the charms classroom\"},\"clickEvent\":{\"action\":\"run_command\",\"value\":\"/teleport @s 721 56 104 18 4\"}},{\"text\":\"Roof\\n\\n\",\"color\":\"dark_gray\",\"italic\":\"true\",\"hoverEvent\":{\"action\":\"show_text\",\"value\":\"Click here to visit the roof\"},\"clickEvent\":{\"action\":\"run_command\",\"value\":\"/teleport @s 718 102 301 179 1.4\"}},{\"text\":\"Moaning Myrtle's Bathroom \\n\\n\",\"color\":\"dark_gray\",\"italic\":\"true\",\"hoverEvent\":{\"action\":\"show_text\",\"value\":\"Click here to visit Moaning Myrtle's bathroom \"},\"clickEvent\":{\"action\":\"run_command\",\"value\":\"/teleport @s 701 66 224 -180 0\"}}]}","{\"text\":\"The Fifth Floor\\n\\n\",\"color\":\"dark_gray\",\"italic\":\"true\",\"hoverEvent\":{\"action\":\"show_text\",\"value\":\"Click here to visit the Mirror of Erised\"},\"clickEvent\":{\"action\":\"run_command\",\"value\":\"/teleport @s 721 94 299 157 5\"},\"extra\":[{\"text\":\"The Chamber of Secrets\\n\\n\",\"color\":\"dark_gray\",\"italic\":\"true\",\"hoverEvent\":{\"action\":\"show_text\",\"value\":\"Click here to visit the Mirror of Erised\"},\"clickEvent\":{\"action\":\"run_command\",\"value\":\"/teleport @s 630 4 257 90 0\"}},{\"text\":\"The Room of Requirement - 1\\n\\n\",\"color\":\"dark_gray\",\"italic\":\"true\",\"hoverEvent\":{\"action\":\"show_text\",\"value\":\"Click here to visit the Room of Requirement - 1\"},\"clickEvent\":{\"action\":\"run_command\",\"value\":\"/teleport @s 434 86 -1403 11.6 8.8\"}},{\"text\":\"The Room of requitement - 2\\n\\n\",\"color\":\"dark_gray\",\"italic\":\"true\",\"hoverEvent\":{\"action\":\"show_text\",\"value\":\"Click here to visit the Room of Requirement - 2\"},\"clickEvent\":{\"action\":\"run_command\",\"value\":\"/teleport @s 404 74 -1526 -180 0\"}}]}","{\"text\":\"London\\n\",\"color\":\"gold\",\"bold\":\"true\",\"italic\":\"false\",\"extra\":[{\"text\":\"The locations around in and London\\n\\n\",\"color\":\"gray\",\"bold\":\"false\",\"italic\":\"true\"},{\"text\":\"Privet drive\\n\\n\",\"color\":\"dark_gray\",\"bold\":\"false\",\"italic\":\"true\",\"hoverEvent\":{\"action\":\"show_text\",\"value\":\"Click here to visit Privet Drive\"},\"clickEvent\":{\"action\":\"run_command\",\"value\":\"/teleport @s 2519 61 -250 110 2\"}},{\"text\":\"King's Cross Station\\n\\n\",\"color\":\"dark_gray\",\"bold\":\"false\",\"italic\":\"true\",\"hoverEvent\":{\"action\":\"show_text\",\"value\":\"Click here to visit King's Cross Station\"},\"clickEvent\":{\"action\":\"run_command\",\"value\":\"/teleport @s 2789 61 -32 -61 -31\"}},{\"text\":\"Platform 9 3/4\\n\\n\",\"color\":\"dark_gray\",\"bold\":\"false\",\"italic\":\"true\",\"hoverEvent\":{\"action\":\"show_text\",\"value\":\"Click here to visit Platform 9 3/4\"},\"clickEvent\":{\"action\":\"run_command\",\"value\":\"/teleport @s 2894 60 -246 -3 -5 \"}},{\"tex
t\":\"Diagon Alley\\n\\n\",\"color\":\"dark_gray\",\"bold\":\"false\",\"italic\":\"true\",\"hoverEvent\":{\"action\":\"show_text\",\"value\":\"Click here to visit Diagon Alley\"},\"clickEvent\":{\"action\":\"run_command\",\"value\":\"/teleport @s 2868 59 -1034 -154 3 \"}},{\"text\":\"The Leaky Cauldron \\n\\n\",\"color\":\"dark_gray\",\"bold\":\"false\",\"italic\":\"true\",\"hoverEvent\":{\"action\":\"show_text\",\"value\":\"Click here to visit The Leaky Cauldron \"},\"clickEvent\":{\"action\":\"run_command\",\"value\":\"/teleport @s 2868 61 106 110 0\"}}]}","{\"text\":\"Gringotts Wizarding Bank\\n\\n\",\"color\":\"dark_gray\",\"italic\":\"true\",\"hoverEvent\":{\"action\":\"show_text\",\"value\":\"Click here to visit Gringotts Wizarding Bank\"},\"clickEvent\":{\"action\":\"run_command\",\"value\":\"/teleport @s 2874 50 -1207 180 0\"},\"extra\":[{\"text\":\"Ollivander's Wand Shop\\n\\n\",\"color\":\"dark_gray\",\"italic\":\"true\",\"hoverEvent\":{\"action\":\"show_text\",\"value\":\"Click here to visit Ollivander's Wand Shop\"},\"clickEvent\":{\"action\":\"run_command\",\"value\":\"/teleport @s 2870 49 -1197 -90 -11\"}},{\"text\":\"Madam Malkin's Robe Shop\\n\\n\",\"color\":\"dark_gray\",\"italic\":\"true\",\"hoverEvent\":{\"action\":\"show_text\",\"value\":\"Click here to visit Madam Malkin's Robe Shop\"},\"clickEvent\":{\"action\":\"run_command\",\"value\":\"/teleport @s 2863 57 -1087 90 -11\"}},{\"text\":\"Eeylopβs Owl Emporium\\n\\n\",\"color\":\"dark_gray\",\"italic\":\"true\",\"hoverEvent\":{\"action\":\"show_text\",\"value\":\"Click here to visit Eeylopβs Owl Emporium\"},\"clickEvent\":{\"action\":\"run_command\",\"value\":\"/teleport @s 2870 50 -1169 -90 -5\"}}]}","{\"text\":\"Various other locations\\n\",\"color\":\"gold\",\"bold\":\"true\",\"italic\":\"false\",\"extra\":[{\"text\":\"From the world of Harry Potter\\n\\n\",\"color\":\"gray\",\"bold\":\"false\",\"italic\":\"false\"},{\"text\":\"Hogsmeade\\n\\n\",\"color\":\"dark_gray\",\"bold\":\"false\",\"italic\":\"true\",\"hoverEvent\":{\"action\":\"show_text\",\"value\":\"Click here to visit Hogsmeade\"},\"clickEvent\":{\"action\":\"run_command\",\"value\":\"/teleport @s 1114 44 -1329 -115 0\"}},{\"text\":\"The Shrieking Shack\\n\\n\",\"color\":\"dark_gray\",\"bold\":\"false\",\"italic\":\"true\",\"hoverEvent\":{\"action\":\"show_text\",\"value\":\"Click here to visit The Shrieking Shack\"},\"clickEvent\":{\"action\":\"run_command\",\"value\":\"/teleport @s 1334 48 -1228 42 1\"}},{\"text\":\"Godricβs Hollow\\n\\n\",\"color\":\"dark_gray\",\"bold\":\"false\",\"italic\":\"true\",\"hoverEvent\":{\"action\":\"show_text\",\"value\":\"Click here to visit Godricβs Hollow\"},\"clickEvent\":{\"action\":\"run_command\",\"value\":\"/teleport @s 690 72 -964 7 -12\"}},{\"text\":\"Malfoy Manor\\n\\n\",\"color\":\"dark_gray\",\"bold\":\"false\",\"italic\":\"true\",\"hoverEvent\":{\"action\":\"show_text\",\"value\":\"Click here to visit Malfoy Manor\"},\"clickEvent\":{\"action\":\"run_command\",\"value\":\"/teleport @s -265 83 -1627 14 2\"}},{\"text\":\"The Burrow\\n\\n\",\"color\":\"dark_gray\",\"bold\":\"false\",\"italic\":\"true\",\"hoverEvent\":{\"action\":\"show_text\",\"value\":\"Click here to visit the Burrow\"},\"clickEvent\":{\"action\":\"run_command\",\"value\":\"/teleport @s -378 18 -779 -31 -3\"}}]}","{\"text\":\"You can use the buttons below to change the time of day or the weather.\\n\",\"color\":\"dark_gray\",\"bold\":\"false\",\"extra\":[{\"text\":\"Dawn\\n\",\"color\":\"gold\",\"bold\":\"true\",\"hoverEvent\":{\"action\":\"show_text\",\"value\":\"Click to change the time to dawn\"},\"clickEvent\":{\"action\":\"run_command\",\"value\":\"/time set 23250\"}},{\"text\":\"Morning\\n\",\"color\":\"gold\",\"bold\":\"true\",\"hoverEvent\":{\"action\":\"show_text\",\"value\":\"Click to change the time to morning\"},\"clickEvent\":{\"action\":\"run_command\",\"value\":\"/time set 0\"}},{\"text\":\"Day\\n\",\"color\":\"gold\",\"bold\":\"true\",\"hoverEvent\":{\"action\":\"show_text\",\"value\":\"Click to change the time to day\"},\"clickEvent\":{\"action\":\"run_command\",\"value\":\"/time set 6000\"}},{\"text\":\"Evening\\n\",\"color\":\"gold\",\"bold\":\"true\",\"hoverEvent\":{\"action\":\"show_text\",\"value\":\"Click to change the time to evening\"},\"clickEvent\":{\"action\":\"run_command\",\"value\":\"/time set 12250\"}},{\"text\":\"Dusk\\n\",\"color\":\"gold\",\"bold\":\"true\",\"hoverEvent\":{\"action\":\"show_text\",\"value\":\"Click to change the time to dusk\"},\"clickEvent\":{\"action\":\"run_command\",\"value\":\"/time set 13500\"}},{\"text\":\"Night\\n\\n\",\"color\":\"gold\",\"bold\":\"true\",\"hoverEvent\":{\"action\":\"show_text\",\"value\":\"Click to change the time to night\"},\"clickEvent\":{\"action\":\"run_command\",\"value\":\"/time set 15000\"}},{\"text\":\"Clear\\n\",\"color\":\"gold\",\"bold\":\"true\",\"hoverEvent\":{\"action\":\"show_text\",\"value\":\"Click to clear the weather\"},\"clickEvent\":{\"action\":\"run_command\",\"value\":\"/weather clear\"}},{\"text\":\"Rain\\n\",\"color\":\"gold\",\"bold\":\"true\",\"hoverEvent\":{\"action\":\"show_text\",\"value\":\"Click to make it rain\"},\"clickEvent\":{\"action\":\"run_command\",\"value\":\"/weather rain\"}},{\"text\":\"Thunder\",\"color\":\"gold\",\"bold\":\"true\",\"hoverEvent\":{\"action\":\"show_text\",\"value\":\"Click to start a thunderstorm\"},\"clickEvent\":{\"action\":\"run_command\",\"value\":\"/weather thunder\"}}]}","{\"text\":\"You can chose to play the map in Creative Mode, by pressing the button below. Be advised, that not all the locations have been build to be viewed from the air. \\n\\n\",\"color\":\"dark_gray\",\"bold\":\"false\",\"extra\":[{\"text\":\"Grab a broomstick\\n\\n\",\"color\":\"gold\",\"bold\":\"true\",\"hoverEvent\":{\"action\":\"show_text\",\"value\":\"Click to switch to Creative Mode\"},\"clickEvent\":{\"action\":\"run_command\",\"value\":\"/gamemode creative\"}},{\"text\":\"Drop broomstick\\n\\n\",\"color\":\"gold\",\"bold\":\"true\",\"hoverEvent\":{\"action\":\"show_text\",\"value\":\"Click to Switch to Adventure Mode\"},\"clickEvent\":{\"action\":\"run_command\",\"value\":\"/gamemode adventure\"}}]}","{\"text\":\"Best of Luck!\",\"color\":\"gold\",\"bold\":\"true\"}","{\"text\":\"All rights reserved. This map or any portion thereof may not be used or re-released in any way without the permission of The Floo Network. You may also not use this map for a public server, or the like.\",\"color\":\"gray\",\"italic\":\"true\"}","{\"text\":\"If you desire to make any kind of gameplay recording within the map, please do credit The Floo Network, and provide \",\"color\":\"gray\",\"bold\":\"false\",\"italic\":\"true\",\"extra\":[{\"text\":\"this link: \\n\\n\",\"color\":\"gray\",\"bold\":\"true\",\"italic\":\"true\",\"hoverEvent\":{\"action\":\"show_text\",\"value\":\"Click to open link\"},\"clickEvent\":{\"action\":'open_url',\"value\":\"http://www.planetminecraft.com/project/harry-potter-adventure-map-3347878/\"}},{\"text\":\"By downloading this map, you have agreed to these terms and conditions.\",\"color\":\"gray\",\"bold\":\"false\",\"italic\":\"false\"}]}"]} 1
As for your question about Windows 10 Edition: I am unsure, it is Bedrock Edition, and that is a totally different ballgame from Java Edition. Since it was requested, I will take it into consideration; but because I don't personally haveBedrock Edition in any form, it may be difficult to craft the program.
And that pretty much wraps things up for now.
If you have any further issues, please tell me of them right away, it helps quite a bit in fixing this thing!
Is there a way to parse a map extract the commands from all the command blocks and write the new 1.13 commands back to the map ?
Oh man, that seems really hard! Wouldn't that have to scan the entire map for command blocks, their type, and rotation, and then grab all of the commands from the command blocks, convert them, and then place them back into the blocks. Also, if it does get implemented, wouldn't it be best to select a region?
One suggestion, could you code the .bat files to open in the background instead of grabbing windows focus every time a new window is created? Makes it damn near impossible to do anything on your computer while the program is running, since it is constantly opening new windows, especially for the mega. Just typing this message I have had to click on this window about a hundred times to pull focus away from the program windows that pop up.
I am currently working on the 1.6.0. It will contain a lot of the stuff spoken here, along with some bug fixes that I have been researching for a while.
It may take a few days for how massive this update is, but it will fix a lot of issues.
It will also contain a feature that was suggested to me by a private messenger, it will be able to convert every file in a specific folder instead of having to convert every single one individually, or at least that's the plan anyway.
Sorry for the lack of explanation and personal address, but my time is a little tight right now. But I will have more time later on after the 1.6.0 is done to explain everything.
If you try to convert certain give commands (I haven't messed around all too much, but I know it works with my example) they don't always convert correctly, with everything having its own ID nowadays.
For example: Converting a custom banned give command.
give @p black_banner{BlockEntityTag:{Base:5,Patterns:[{Pattern:ss,Color:1},{Pattern:ss,Color:9},{Pattern:flo,Color:1},{Pattern:flo,Color:9},{Pattern:cbo,Color:13},{Pattern:cbo,Color:5},{Pattern:sc,Color:1},{Pattern:sc,Color:5},{Pattern:bo,Color:1},{Pattern:bo,Color:9},{Pattern:mc,Color:13},{Pattern:mc,Color:5}]}} 1
which isn't correct, because the base should be yellow, but it's black.
I am sure this is the same for many other things, such as stained glass or wool, so it would perhaps be good to fix it.
If you try to convert certain give commands (I haven't messed around all too much, but I know it works with my example) they don't always convert correctly, with everything having its own ID nowadays.
For example: Converting a custom banned give command.
give @p black_banner{BlockEntityTag:{Base:5,Patterns:[{Pattern:ss,Color:1},{Pattern:ss,Color:9},{Pattern:flo,Color:1},{Pattern:flo,Color:9},{Pattern:cbo,Color:13},{Pattern:cbo,Color:5},{Pattern:sc,Color:1},{Pattern:sc,Color:5},{Pattern:bo,Color:1},{Pattern:bo,Color:9},{Pattern:mc,Color:13},{Pattern:mc,Color:5}]}} 1
which isn't correct, because the base should be yellow, but it's black.
I am sure this is the same for many other things, such as stained glass or wool, so it would perhaps be good to fix it.
Thank you so much for the bug report!
I am currently implementing this into the 1.6.0, along with all of the other things. Based on how things are going, the 1.6.0 should be released either tonight or sometime tomorrow.
Happy to help!
Hey everyone! I know this is a late reply but... I have a function that is 6 google doc pages long filled with execute cmds that contain up to 3 more execute cmds. ππ will this engine be able to cope with this?
Most certainly!
Unless of course there are weird syntax thingamajigs that I have not yet considered. But considering how old this thing is, and how long it's been since the last bug report, that shouldn't be an issue.
And for the sake of clarity and demonstration, I typed out an unnecessarily long /execute chain (containing 3, as you said yours had) just for the purposes of conversion.
Input:
execute @a[r=3] ~ ~ ~ execute @s[score_Variable=30,l=30,score_Variable_min=25] ~ ~ ~ detect 1 2 3 wool 9 execute @r[type=Creeper,r=50,rm=37] ~ ~ ~ setblock ~ ~ ~ command_block 3 replace {Command:"/execute @e[type=Chicken,r=40] ~ ~ ~ summon armor_stand ~ ~5 ~ {CustomName:\"Random Armor Stand\",CustomNameVisible:1}"}
Output:
execute as @a[distance=..3] at @s positioned ~ ~ ~ run execute as @s[level=..30,scores={Variable=25..30}] at @s positioned ~ ~ ~ if block 1 2 3 cyan_wool run execute as @e[type=creeper,distance=37..50,sort=random,limit=1] at @s positioned ~ ~ ~ run setblock ~ ~ ~ command_block[facing=south]{Command:"execute as @e[type=chicken,distance=..40] at @s positioned ~ ~ ~ run summon armor_stand ~ ~5 ~ {CustomName:\"\\\"Random Armor Stand\\\"\",CustomNameVisible:1}"} replace
And as a last note, make sure that you use the appropriate version for your quantity of commands (the absolute limit being 1000 in one go).
'Til next time!
Thank you so much!! This will save me many many hours of hard labor
This just in: the Command Converter has exceeded 3000 downloads!
3177 to be precise.
This makes me happy.
Thank you so much for the response! I likely wouldn't have found this if it wasn't for it.
I discovered that it didn't even consider the exclamation point at the beginning at all (I find it odd that something that significant wasn't found until now).
Here is the Input/Output from the new 1.5.4:
Input:
setblock ~ ~ ~ command_block 2 replace {Command:"/execute @e[type=!Player,type=!Creeper] ~ ~ ~ /say Hello!"}
Output:
setblock ~ ~ ~ command_block[facing=north]{Command:"execute as @e[type=!player,type=!creeper] at @s positioned ~ ~ ~ run say Hello!"} replace
Again, I cannot thank you enough for finding this.
'Til next time!
Interesting, this never happens with me (likely because it was created on my PC).
I did some Googling, and two links that stood out were these...
Add an exclusion to Windows Defender Antivirus - Microsoft Support
windows - How to disable SmartScreen for a specific .cmd file? - Stack Overflow
I haven't tested these methods (due to the fact that I don't how I could go about replicating these results), but they should work. If they don't, some Googling around should bring the answer out. After all, you know more about your PC than I do.
Now, going through all of the links and sub-links, one is able to find instructions for Windows 7, 8, and 10.
P.S. I did some Googling about specifying a publisher identity onto the batch files. Apparently, it is impossible for batch files; but the link that I found gives some interesting insight...
How to sign a Windows batch (.bat) file? - Super User
'Til next time!
I ran the contents of a 1.12 command block and after 10 minutes it created a output file , that was blank
Input
/give @p minecraft:written_book 1 0 {display:{Name:"Locations",Lore:[Apparate to the location of your choice]},title:"Locations",author:"The Floo Network",generation:0,pages:["{text:\"-------------------\",color:gray,bold:false,extra:[{text:\" Harry Potter in Minecraft\n\",color:gold,bold:true},{text:\" by The Floo Network\n\",color:gray,bold:false},{text:\"-------------------\n\n\",color:gray,bold:false},{text:\"Welcome to the wondrous world of Harry Potter. Using the furnaces in the Ministry of Magic, you can travel to a location through the floo network. \",color:dark_gray,bold:false}]}","{text:\"Alternatively, you can apparate around the map using this book. Simply click the location of your choice.\n\n\",color:dark_gray,bold:false,extra:[{text:\"To get back to the Ministry of magic, click \",color:dark_gray,bold:false},{text:\"here.\n\n\",color:gold,bold:true,hoverEvent:{action:'show_text',value:\"Click here to visit the Ministry of Magic\"},clickEvent:{action:'run_command',value:\"/tp 1032 14 1489 -90 0\"}}]}","{text:\"Hogwarts\n\",color:gold,bold:true,italic:false,extra:[{text:\"The locations in and around Hogwarts Castle:\n\n\",color:gray,bold:false,italic:true},{text:\"The Boat House\n\n\",color:dark_gray,bold:false,italic:true,hoverEvent:{action:'show_text',value:\"Click here to visit the boat house.\"},clickEvent:{action:'run_command',value:\"/tp 913 28 328 -119 -5\"}},{text:\"The Great Hall\n\n\",color:dark_gray,bold:false,italic:true,hoverEvent:{action:'show_text',value:\"Click here to visit the Great Hall\"},clickEvent:{action:'run_command',value:\"/tp 758 66 350 45 0\"}},{text:\"The Grand Staircase \n\n\",color:dark_gray,bold:false,italic:true,hoverEvent:{action:'show_text',value:\"Click here to visit the Grand Staircase\"},clickEvent:{action:'run_command',value:\"/tp 726 87 322 -135 -54\"}},{text:\"The Library\n\n\",color:dark_gray,bold:false,italic:true,hoverEvent:{action:'show_text',value:\"Click here to visit the library\"},clickEvent:{action:'run_command',value:\"/tp 719 75 316 53 0\"}},{text:\"The Hospital Wing\n\n\",color:dark_gray,bold:false,italic:true,hoverEvent:{action:'show_text',value:\"Click here to visit the hospital wing\"},clickEvent:{action:'run_command',value:\"/tp 659 91 263 90 0\"}}]}","{text:\"The Gryffindor Common Room\n\n\",color:dark_gray,italic:true,hoverEvent:{action:'show_text',value:\"Click here to visit the Gryffindor Common Room\"},clickEvent:{action:'run_command',value:\"/tp 736 134 320 26 2\"},extra:[{text:\"Harry's Bedroom \n\n\",color:dark_gray,italic:true,hoverEvent:{action:'show_text',value:\"Click here to visit Harry's bedroom\"},clickEvent:{action:'run_command',value:\"/tp 738 162 311 -143 11\"}},{text:\"The Slytherin Common Room\n\n\",color:dark_gray,italic:true,hoverEvent:{action:'show_text',value:\"Click here to visit the Slytherin Common Room\"},clickEvent:{action:'run_command',value:\"/tp 743 30 252 180 0\"}},{text:\"The Hufflepuff Common Room\n\n\",color:dark_gray,italic:true,hoverEvent:{action:'show_text',value:\"Click here to visit the Hufflepuff Common Room\"},clickEvent:{action:'run_command',value:\"/tp 782 53 175 90 -8\"}},{text:\"The Ravenclaw common room\n\n\",color:dark_gray,italic:true,hoverEvent:{action:'show_text',value:\"Click here to visit the Ravenclaw Common Room\"},clickEvent:{action:'run_command',value:\"/tp 771 129 163 -135 -15\"}}]}","{text:\"The Owlery\n\n\",color:dark_gray,italic:true,hoverEvent:{action:'show_text',value:\"Click here to visit the Owlery\"},clickEvent:{action:'run_command',value:\"/tp 419 117 137 108 -40\"},extra:[{text:\"The Wooden Bridge\n\n\",color:dark_gray,italic:true,hoverEvent:{action:'show_text',value:\"Click here to visit the Wooden Bridge\"},clickEvent:{action:'run_command',value:\"/tp 571 64 242 64 6\"}},{text:\"The Greenhouses\n\n\",color:dark_gray,italic:true,hoverEvent:{action:'show_text',value:\"Click here to visit the greenhouses\"},clickEvent:{action:'run_command',value:\"/tp 703 55 59 -90 0\"}},{text:\"The Whomping Willow\n\n\",color:dark_gray,italic:true,hoverEvent:{action:'show_text',value:\"Click here to visit the the Whomping Willow\"},clickEvent:{action:'run_command',value:\"/tp 599 77 9 153 -6\"}},{text:\"The Forbidden Forrest\n\n\",color:dark_gray,italic:true,hoverEvent:{action:'show_text',value:\"Click here to visit the Forbidden Forrest\"},clickEvent:{action:'run_command',value:\"/tp 375 47 351 16 -2\"}},{text:\"Hagrid's Hut\n\n\",color:dark_gray,italic:true,hoverEvent:{action:'show_text',value:\"Click here to visit hagrid's Hut\"},clickEvent:{action:'run_command',value:\"/tp 382 47 317 -36 2\"}},{text:\"The Quidditch Pitch\n\n\",color:dark_gray,italic:true,hoverEvent:{action:'show_text',value:\"Click here to visit the Quidditch Pitch\"},clickEvent:{action:'run_command',value:\"/tp 250 109 191 68 22\"}}]}","{text:\"The Headmaster's Office\n\n\",color:dark_gray,italic:true,hoverEvent:{action:'show_text',value:\"Click here to visit the Headmaster's office\"},clickEvent:{action:'run_command',value:\"/tp 704 41 347 -90 0\"},extra:[{text:\"Potions Classroom\n\n\",color:dark_gray,italic:true,hoverEvent:{action:'show_text',value:\"Click here to visit the Potions Classroom\"},clickEvent:{action:'run_command',value:\"/tp 767 54 316 -90 0\"}},{text:\"Defence Against the Dark Arts Classroom\n\n\",color:dark_gray,italic:true,hoverEvent:{action:'show_text',value:\"Click here to visit the Defence Against the Dark Arts Classroom\"},clickEvent:{action:'run_command',value:\"/tp 715 96 319 0 11\"}},{text:\"Charms Classroom\n\n\",color:dark_gray,italic:true,hoverEvent:{action:'show_text',value:\"Click here to visit the charms classroom\"},clickEvent:{action:'run_command',value:\"/tp 721 56 104 18 4\"}},{text:\"Roof\n\n\",color:dark_gray,italic:true,hoverEvent:{action:'show_text',value:\"Click here to visit the roof\"},clickEvent:{action:'run_command',value:\"/tp 718 102 301 179 1.4\"}},{text:\"Moaning Myrtle's Bathroom \n\n\",color:dark_gray,italic:true,hoverEvent:{action:'show_text',value:\"Click here to visit Moaning Myrtle's bathroom \"},clickEvent:{action:'run_command',value:\"/tp 701 66 224 -180 0\"}}]}","{text:\"The Fifth Floor\n\n\",color:dark_gray,italic:true,hoverEvent:{action:'show_text',value:\"Click here to visit the Mirror of Erised\"},clickEvent:{action:'run_command',value:\"/tp 721 94 299 157 5\"},extra:[{text:\"The Chamber of Secrets\n\n\",color:dark_gray,italic:true,hoverEvent:{action:'show_text',value:\"Click here to visit the Mirror of Erised\"},clickEvent:{action:'run_command',value:\"/tp 630 4 257 90 0\"}},{text:\"The Room of Requirement - 1\n\n\",color:dark_gray,italic:true,hoverEvent:{action:'show_text',value:\"Click here to visit the Room of Requirement - 1\"},clickEvent:{action:'run_command',value:\"/tp 434 86 -1403 11.6 8.8\"}},{text:\"The Room of requitement - 2\n\n\",color:dark_gray,italic:true,hoverEvent:{action:'show_text',value:\"Click here to visit the Room of Requirement - 2\"},clickEvent:{action:'run_command',value:\"/tp 404 74 -1526 -180 0\"}}]}","{text:\"London\n\",color:gold,bold:true,italic:false,extra:[{text:\"The locations around in and London\n\n\",color:gray,bold:false,italic:true},{text:\"Privet drive\n\n\",color:dark_gray,bold:false,italic:true,hoverEvent:{action:'show_text',value:\"Click here to visit Privet Drive\"},clickEvent:{action:'run_command',value:\"/tp 2519 61 -250 110 2\"}},{text:\"King's Cross Station\n\n\",color:dark_gray,bold:false,italic:true,hoverEvent:{action:'show_text',value:\"Click here to visit King's Cross Station\"},clickEvent:{action:'run_command',value:\"/tp 2789 61 -32 -61 -31\"}},{text:\"Platform 9 3/4\n\n\",color:dark_gray,bold:false,italic:true,hoverEvent:{action:'show_text',value:\"Click here to visit Platform 9 3/4\"},clickEvent:{action:'run_command',value:\"/tp 2894 60 -246 -3 -5 \"}},{text:\"Diagon Alley\n\n\",color:dark_gray,bold:false,italic:true,hoverEvent:{action:'show_text',value:\"Click here to visit Diagon Alley\"},clickEvent:{action:'run_command',value:\"/tp 2868 59 -1034 -154 3 \"}},{text:\"The Leaky Cauldron \n\n\",color:dark_gray,bold:false,italic:true,hoverEvent:{action:'show_text',value:\"Click here to visit The Leaky Cauldron \"},clickEvent:{action:'run_command',value:\"/tp 2868 61 106 110 0\"}}]}","{text:\"Gringotts Wizarding Bank\n\n\",color:dark_gray,italic:true,hoverEvent:{action:'show_text',value:\"Click here to visit Gringotts Wizarding Bank\"},clickEvent:{action:'run_command',value:\"/tp 2874 50 -1207 180 0\"},extra:[{text:\"Ollivander's Wand Shop\n\n\",color:dark_gray,italic:true,hoverEvent:{action:'show_text',value:\"Click here to visit Ollivander's Wand Shop\"},clickEvent:{action:'run_command',value:\"/tp 2870 49 -1197 -90 -11\"}},{text:\"Madam Malkin's Robe Shop\n\n\",color:dark_gray,italic:true,hoverEvent:{action:'show_text',value:\"Click here to visit Madam Malkin's Robe Shop\"},clickEvent:{action:'run_command',value:\"/tp 2863 57 -1087 90 -11\"}},{text:\"Eeylopβs Owl Emporium\n\n\",color:dark_gray,italic:true,hoverEvent:{action:'show_text',value:\"Click here to visit Eeylopβs Owl Emporium\"},clickEvent:{action:'run_command',value:\"/tp 2870 50 -1169 -90 -5\"}}]}","{text:\"Various other locations\n\",color:gold,bold:true,italic:false,extra:[{text:\"From the world of Harry Potter\n\n\",color:gray,bold:false,italic:false},{text:\"Hogsmeade\n\n\",color:dark_gray,bold:false,italic:true,hoverEvent:{action:'show_text',value:\"Click here to visit Hogsmeade\"},clickEvent:{action:'run_command',value:\"/tp 1114 44 -1329 -115 0\"}},{text:\"The Shrieking Shack\n\n\",color:dark_gray,bold:false,italic:true,hoverEvent:{action:'show_text',value:\"Click here to visit The Shrieking Shack\"},clickEvent:{action:'run_command',value:\"/tp 1334 48 -1228 42 1\"}},{text:\"Godricβs Hollow\n\n\",color:dark_gray,bold:false,italic:true,hoverEvent:{action:'show_text',value:\"Click here to visit Godricβs Hollow\"},clickEvent:{action:'run_command',value:\"/tp 690 72 -964 7 -12\"}},{text:\"Malfoy Manor\n\n\",color:dark_gray,bold:fals
e,italic:true,hoverEvent:{action:'show_text',value:\"Click here to visit Malfoy Manor\"},clickEvent:{action:'run_command',value:\"/tp -265 83 -1627 14 2\"}},{text:\"The Burrow\n\n\",color:dark_gray,bold:false,italic:true,hoverEvent:{action:'show_text',value:\"Click here to visit the Burrow\"},clickEvent:{action:'run_command',value:\"/tp -378 18 -779 -31 -3\"}}]}","{text:\"You can use the buttons below to change the time of day or the weather.\n\",color:dark_gray,bold:false,extra:[{text:\"Dawn\n\",color:gold,bold:true,hoverEvent:{action:'show_text',value:\"Click to change the time to dawn\"},clickEvent:{action:'run_command',value:\"/time set 23250\"}},{text:\"Morning\n\",color:gold,bold:true,hoverEvent:{action:'show_text',value:\"Click to change the time to morning\"},clickEvent:{action:'run_command',value:\"/time set 0\"}},{text:\"Day\n\",color:gold,bold:true,hoverEvent:{action:'show_text',value:\"Click to change the time to day\"},clickEvent:{action:'run_command',value:\"/time set 6000\"}},{text:\"Evening\n\",color:gold,bold:true,hoverEvent:{action:'show_text',value:\"Click to change the time to evening\"},clickEvent:{action:'run_command',value:\"/time set 12250\"}},{text:\"Dusk\n\",color:gold,bold:true,hoverEvent:{action:'show_text',value:\"Click to change the time to dusk\"},clickEvent:{action:'run_command',value:\"/time set 13500\"}},{text:\"Night\n\n\",color:gold,bold:true,hoverEvent:{action:'show_text',value:\"Click to change the time to night\"},clickEvent:{action:'run_command',value:\"/time set 15000\"}},{text:\"Clear\n\",color:gold,bold:true,hoverEvent:{action:'show_text',value:\"Click to clear the weather\"},clickEvent:{action:'run_command',value:\"/weather clear\"}},{text:\"Rain\n\",color:gold,bold:true,hoverEvent:{action:'show_text',value:\"Click to make it rain\"},clickEvent:{action:'run_command',value:\"/weather rain\"}},{text:\"Thunder\",color:gold,bold:true,hoverEvent:{action:'show_text',value:\"Click to start a thunderstorm\"},clickEvent:{action:'run_command',value:\"/weather thunder\"}}]}","{text:\"You can chose to play the map in Creative Mode, by pressing the button below. Be advised, that not all the locations have been build to be viewed from the air. \n\n\",color:dark_gray,bold:false,extra:[{text:\"Grab a broomstick\n\n\",color:gold,bold:true,hoverEvent:{action:'show_text',value:\"Click to switch to Creative Mode\"},clickEvent:{action:'run_command',value:\"/gamemode 1\"}},{text:\"Drop broomstick\n\n\",color:gold,bold:true,hoverEvent:{action:'show_text',value:\"Click to Switch to Adventure Mode\"},clickEvent:{action:'run_command',value:\"/gamemode 2\"}}]}","{text:\"Best of Luck!\",color:gold,bold:true}","{text:\"All rights reserved. This map or any portion thereof may not be used or re-released in any way without the permission of The Floo Network. You may also not use this map for a public server, or the like.\",color:gray,italic:true}","{text:\"If you desire to make any kind of gameplay recording within the map, please do credit The Floo Network, and provide \",color:gray,bold:false,italic:true,extra:[{text:\"this link: \n\n\",color:gray,bold:true,italic:true,hoverEvent:{action:'show_text',value:\"Click to open link\"},clickEvent:{action:'open_url',value:\"http://www.planetminecraft.com/project/harry-potter-adventure-map-3347878/\"}},{text:\"By downloading this map, you have agreed to these terms and conditions.\",color:gray,bold:false,italic:false}]}"]}
There's a lot to tackle here. Let's get started!
Firstly, let's get this out of the way. Like the last bug fix, I noticed a small (unrelated) bug involving target selectors and exclamation points. And I believe it will also be the last one involving those things. I fixed it with the new 1.5.5.
To the command...
Okay, let's be honest here. I tried to run it through a command block in 1.12.2, and it came back at me with several JSON text formatting errors, as I expected based upon the look of things. Most of the details like text, color, and clickEvent to name a few were completely without quotes. JSON text formatting demands quotes around everything. Also, run_command was surrounded with apostrophes rather than quotes, which Minecraft and I saw as odd collectively.
I took the liberty to use some ctrl+H in good ol' Notepad++ to correct all of these syntax errors to make the command usable in 1.12.2, and I was successful. The command became a little longer, but nothing deal-breaking.
Repaired command:
/give @p minecraft:written_book 1 0 {display:{Name:"Locations",Lore:["Apparate to the location of your choice"]},title:"Locations",author:"The Floo Network",generation:0,pages:["{\"text\":\"-------------------\",\"color\":\"gray\",\"bold\":\"false\",\"extra\":[{\"text\":\" Harry Potter in Minecraft\\n\",\"color\":\"gold\",\"bold\":\"true\"},{\"text\":\" by The Floo Network\\n\",\"color\":\"gray\",\"bold\":\"false\"},{\"text\":\"-------------------\\n\\n\",\"color\":\"gray\",\"bold\":\"false\"},{\"text\":\"Welcome to the wondrous world of Harry Potter. Using the furnaces in the Ministry of Magic, you can travel to a location through the floo network. \",\"color\":\"dark_gray\",\"bold\":\"false\"}]}","{\"text\":\"Alternatively, you can apparate around the map using this book. Simply click the location of your choice.\\n\\n\",\"color\":\"dark_gray\",\"bold\":\"false\",\"extra\":[{\"text\":\"To get back to the Ministry of magic, click \",\"color\":\"dark_gray\",\"bold\":\"false\"},{\"text\":\"here.\\n\\n\",\"color\":\"gold\",\"bold\":\"true\",\"hoverEvent\":{\"action\":\"show_text\",\"value\":\"Click here to visit the Ministry of Magic\"},\"clickEvent\":{\"action\":\"run_command\",\"value\":\"/tp 1032 14 1489 -90 0\"}}]}","{\"text\":\"Hogwarts\\n\",\"color\":\"gold\",\"bold\":\"true\",\"italic\":\"false\",\"extra\":[{\"text\":\"The locations in and around Hogwarts Castle:\\n\\n\",\"color\":\"gray\",\"bold\":\"false\",\"italic\":\"true\"},{\"text\":\"The Boat House\\n\\n\",\"color\":\"dark_gray\",\"bold\":\"false\",\"italic\":\"true\",\"hoverEvent\":{\"action\":\"show_text\",\"value\":\"Click here to visit the boat house.\"},\"clickEvent\":{\"action\":\"run_command\",\"value\":\"/tp 913 28 328 -119 -5\"}},{\"text\":\"The Great Hall\\n\\n\",\"color\":\"dark_gray\",\"bold\":\"false\",\"italic\":\"true\",\"hoverEvent\":{\"action\":\"show_text\",\"value\":\"Click here to visit the Great Hall\"},\"clickEvent\":{\"action\":\"run_command\",\"value\":\"/tp 758 66 350 45 0\"}},{\"text\":\"The Grand Staircase \\n\\n\",\"color\":\"dark_gray\",\"bold\":\"false\",\"italic\":\"true\",\"hoverEvent\":{\"action\":\"show_text\",\"value\":\"Click here to visit the Grand Staircase\"},\"clickEvent\":{\"action\":\"run_command\",\"value\":\"/tp 726 87 322 -135 -54\"}},{\"text\":\"The Library\\n\\n\",\"color\":\"dark_gray\",\"bold\":\"false\",\"italic\":\"true\",\"hoverEvent\":{\"action\":\"show_text\",\"value\":\"Click here to visit the library\"},\"clickEvent\":{\"action\":\"run_command\",\"value\":\"/tp 719 75 316 53 0\"}},{\"text\":\"The Hospital Wing\\n\\n\",\"color\":\"dark_gray\",\"bold\":\"false\",\"italic\":\"true\",\"hoverEvent\":{\"action\":\"show_text\",\"value\":\"Click here to visit the hospital wing\"},\"clickEvent\":{\"action\":\"run_command\",\"value\":\"/tp 659 91 263 90 0\"}}]}","{\"text\":\"The Gryffindor Common Room\\n\\n\",\"color\":\"dark_gray\",\"italic\":\"true\",\"hoverEvent\":{\"action\":\"show_text\",\"value\":\"Click here to visit the Gryffindor Common Room\"},\"clickEvent\":{\"action\":\"run_command\",\"value\":\"/tp 736 134 320 26 2\"},\"extra\":[{\"text\":\"Harry's Bedroom \\n\\n\",\"color\":\"dark_gray\",\"italic\":\"true\",\"hoverEvent\":{\"action\":\"show_text\",\"value\":\"Click here to visit Harry's bedroom\"},\"clickEvent\":{\"action\":\"run_command\",\"value\":\"/tp 738 162 311 -143 11\"}},{\"text\":\"The Slytherin Common Room\\n\\n\",\"color\":\"dark_gray\",\"italic\":\"true\",\"hoverEvent\":{\"action\":\"show_text\",\"value\":\"Click here to visit the Slytherin Common Room\"},\"clickEvent\":{\"action\":\"run_command\",\"value\":\"/tp 743 30 252 180 0\"}},{\"text\":\"The Hufflepuff Common Room\\n\\n\",\"color\":\"dark_gray\",\"italic\":\"true\",\"hoverEvent\":{\"action\":\"show_text\",\"value\":\"Click here to visit the Hufflepuff Common Room\"},\"clickEvent\":{\"action\":\"run_command\",\"value\":\"/tp 782 53 175 90 -8\"}},{\"text\":\"The Ravenclaw common room\\n\\n\",\"color\":\"dark_gray\",\"italic\":\"true\",\"hoverEvent\":{\"action\":\"show_text\",\"value\":\"Click here to visit the Ravenclaw Common Room\"},\"clickEvent\":{\"action\":\"run_command\",\"value\":\"/tp 771 129 163 -135 -15\"}}]}","{\"text\":\"The Owlery\\n\\n\",\"color\":\"dark_gray\",\"italic\":\"true\",\"hoverEvent\":{\"action\":\"show_text\",\"value\":\"Click here to visit the Owlery\"},\"clickEvent\":{\"action\":\"run_command\",\"value\":\"/tp 419 117 137 108 -40\"},\"extra\":[{\"text\":\"The Wooden Bridge\\n\\n\",\"color\":\"dark_gray\",\"italic\":\"true\",\"hoverEvent\":{\"action\":\"show_text\",\"value\":\"Click here to visit the Wooden Bridge\"},\"clickEvent\":{\"action\":\"run_command\",\"value\":\"/tp 571 64 242 64 6\"}},{\"text\":\"The Greenhouses\\n\\n\",\"color\":\"dark_gray\",\"italic\":\"true\",\"hoverEvent\":{\"action\":\"show_text\",\"value\":\"Click here to visit the greenhouses\"},\"clickEvent\":{\"action\":\"run_command\",\"value\":\"/tp 703 55 59 -90 0\"}},{\"text\":\"The Whomping Willow\\n\\n\",\"color\":\"dark_gray\",\"italic\":\"true\",\"hoverEvent\":{\"action\":\"show_text\",\"value\":\"Click here to visit the the Whomping Willow\"},\"clickEvent\":{\"action\":\"run_command\",\"value\":\"/tp 599 77 9 153 -6\"}},{\"text\":\"The Forbidden Forrest\\n\\n\",\"color\":\"dark_gray\",\"italic\":\"true\",\"hoverEvent\":{\"action\":\"show_text\",\"value\":\"Click here to visit the Forbidden Forrest\"},\"clickEvent\":{\"action\":\"run_command\",\"value\":\"/tp 375 47 351 16 -2\"}},{\"text\":\"Hagrid's Hut\\n\\n\",\"color\":\"dark_gray\",\"italic\":\"true\",\"hoverEvent\":{\"action\":\"show_text\",\"value\":\"Click here to visit hagrid's Hut\"},\"clickEvent\":{\"action\":\"run_command\",\"value\":\"/tp 382 47 317 -36 2\"}},{\"text\":\"The Quidditch Pitch\\n\\n\",\"color\":\"dark_gray\",\"italic\":\"true\",\"hoverEvent\":{\"action\":\"show_text\",\"value\":\"Click here to visit the Quidditch Pitch\"},\"clickEvent\":{\"action\":\"run_command\",\"value\":\"/tp 250 109 191 68 22\"}}]}","{\"text\":\"The Headmaster's Office\\n\\n\",\"color\":\"dark_gray\",\"italic\":\"true\",\"hoverEvent\":{\"action\":\"show_text\",\"value\":\"Click here to visit the Headmaster's office\"},\"clickEvent\":{\"action\":\"run_command\",\"value\":\"/tp 704 41 347 -90 0\"},\"extra\":[{\"text\":\"Potions Classroom\\n\\n\",\"color\":\"dark_gray\",\"italic\":\"true\",\"hoverEvent\":{\"action\":\"show_text\",\"value\":\"Click here to visit the Potions Classroom\"},\"clickEvent\":{\"action\":\"run_command\",\"value\":\"/tp 767 54 316 -90 0\"}},{\"text\":\"Defence Against the Dark Arts Classroom\\n\\n\",\"color\":\"dark_gray\",\"italic\":\"true\",\"hoverEvent\":{\"action\":\"show_text\",\"value\":\"Click here to visit the Defence Against the Dark Arts Classroom\"},\"clickEvent\":{\"action\":\"run_command\",\"value\":\"/tp 715 96 319 0 11\"}},{\"text\":\"Charms Classroom\\n\\n\",\"color\":\"dark_gray\",\"italic\":\"true\",\"hoverEvent\":{\"action\":\"show_text\",\"value\":\"Click here to visit the charms classroom\"},\"clickEvent\":{\"action\":\"run_command\",\"value\":\"/tp 721 56 104 18 4\"}},{\"text\":\"Roof\\n\\n\",\"color\":\"dark_gray\",\"italic\":\"true\",\"hoverEvent\":{\"action\":\"show_text\",\"value\":\"Click here to visit the roof\"},\"clickEvent\":{\"action\":\"run_command\",\"value\":\"/tp 718 102 301 179 1.4\"}},{\"text\":\"Moaning Myrtle's Bathroom \\n\\n\",\"color\":\"dark_gray\",\"italic\":\"true\",\"hoverEvent\":{\"action\":\"show_text\",\"value\":\"Click here to visit Moaning Myrtle's bathroom \"},\"clickEvent\":{\"action\":\"run_command\",\"value\":\"/tp 701 66 224 -180 0\"}}]}","{\"text\":\"The Fifth Floor\\n\\n\",\"color\":\"dark_gray\",\"italic\":\"true\",\"hoverEvent\":{\"action\":\"show_text\",\"value\":\"Click here to visit the Mirror of Erised\"},\"clickEvent\":{\"action\":\"run_command\",\"value\":\"/tp 721 94 299 157 5\"},\"extra\":[{\"text\":\"The Chamber of Secrets\\n\\n\",\"color\":\"dark_gray\",\"italic\":\"true\",\"hoverEvent\":{\"action\":\"show_text\",\"value\":\"Click here to visit the Mirror of Erised\"},\"clickEvent\":{\"action\":\"run_command\",\"value\":\"/tp 630 4 257 90 0\"}},{\"text\":\"The Room of Requirement - 1\\n\\n\",\"color\":\"dark_gray\",\"italic\":\"true\",\"hoverEvent\":{\"action\":\"show_text\",\"value\":\"Click here to visit the Room of Requirement - 1\"},\"clickEvent\":{\"action\":\"run_command\",\"value\":\"/tp 434 86 -1403 11.6 8.8\"}},{\"text\":\"The Room of requitement - 2\\n\\n\",\"color\":\"dark_gray\",\"italic\":\"true\",\"hoverEvent\":{\"action\":\"show_text\",\"value\":\"Click here to visit the Room of Requirement - 2\"},\"clickEvent\":{\"action\":\"run_command\",\"value\":\"/tp 404 74 -1526 -180 0\"}}]}","{\"text\":\"London\\n\",\"color\":\"gold\",\"bold\":\"true\",\"italic\":\"false\",\"extra\":[{\"text\":\"The locations around in and London\\n\\n\",\"color\":\"gray\",\"bold\":\"false\",\"italic\":\"true\"},{\"text\":\"Privet drive\\n\\n\",\"color\":\"dark_gray\",\"bold\":\"false\",\"italic\":\"true\",\"hoverEvent\":{\"action\":\"show_text\",\"value\":\"Click here to visit Privet Drive\"},\"clickEvent\":{\"action\":\"run_command\",\"value\":\"/tp 2519 61 -250 110 2\"}},{\"text\":\"King's Cross Station\\n\\n\",\"color\":\"dark_gray\",\"bold\":\"false\",\"italic\":\"true\",\"hoverEvent\":{\"action\":\"show_text\",\"value\":\"Click here to visit King's Cross Station\"},\"clickEvent\":{\"action\":\"run_command\",\"value\":\"/tp 2789 61 -32 -61 -31\"}},{\"text\":\"Platform 9 3/4\\n\\n\",\"color\":\"dark_gray\",\"bold\":\"false\",\"italic\":\"true\",\"hoverEvent\":{\"action\":\"show_text\",\"value\":\"Click here to visit Platform 9 3/4\"},\"clickEvent\":{\"action\":\"run_command\",\"value\":\"/tp 2894 60 -246 -3 -5 \"}},{\"text\":\"Diagon Alley\\n\\n\",\"color\":\"dark_gray\",\"bold\":\"false\",\"italic\":\"true\",\"hoverEvent\":{\"action\":\"show_text\",\"value\":\"Click here to visit Diagon Alley\"},\"clickEvent\":{\"action\":\"run_command\",\"value\":\"/tp 2868 59 -1034 -154 3 \"}},{\"t
ext\":\"The Leaky Cauldron \\n\\n\",\"color\":\"dark_gray\",\"bold\":\"false\",\"italic\":\"true\",\"hoverEvent\":{\"action\":\"show_text\",\"value\":\"Click here to visit The Leaky Cauldron \"},\"clickEvent\":{\"action\":\"run_command\",\"value\":\"/tp 2868 61 106 110 0\"}}]}","{\"text\":\"Gringotts Wizarding Bank\\n\\n\",\"color\":\"dark_gray\",\"italic\":\"true\",\"hoverEvent\":{\"action\":\"show_text\",\"value\":\"Click here to visit Gringotts Wizarding Bank\"},\"clickEvent\":{\"action\":\"run_command\",\"value\":\"/tp 2874 50 -1207 180 0\"},\"extra\":[{\"text\":\"Ollivander's Wand Shop\\n\\n\",\"color\":\"dark_gray\",\"italic\":\"true\",\"hoverEvent\":{\"action\":\"show_text\",\"value\":\"Click here to visit Ollivander's Wand Shop\"},\"clickEvent\":{\"action\":\"run_command\",\"value\":\"/tp 2870 49 -1197 -90 -11\"}},{\"text\":\"Madam Malkin's Robe Shop\\n\\n\",\"color\":\"dark_gray\",\"italic\":\"true\",\"hoverEvent\":{\"action\":\"show_text\",\"value\":\"Click here to visit Madam Malkin's Robe Shop\"},\"clickEvent\":{\"action\":\"run_command\",\"value\":\"/tp 2863 57 -1087 90 -11\"}},{\"text\":\"Eeylopβs Owl Emporium\\n\\n\",\"color\":\"dark_gray\",\"italic\":\"true\",\"hoverEvent\":{\"action\":\"show_text\",\"value\":\"Click here to visit Eeylopβs Owl Emporium\"},\"clickEvent\":{\"action\":\"run_command\",\"value\":\"/tp 2870 50 -1169 -90 -5\"}}]}","{\"text\":\"Various other locations\\n\",\"color\":\"gold\",\"bold\":\"true\",\"italic\":\"false\",\"extra\":[{\"text\":\"From the world of Harry Potter\\n\\n\",\"color\":\"gray\",\"bold\":\"false\",\"italic\":\"false\"},{\"text\":\"Hogsmeade\\n\\n\",\"color\":\"dark_gray\",\"bold\":\"false\",\"italic\":\"true\",\"hoverEvent\":{\"action\":\"show_text\",\"value\":\"Click here to visit Hogsmeade\"},\"clickEvent\":{\"action\":\"run_command\",\"value\":\"/tp 1114 44 -1329 -115 0\"}},{\"text\":\"The Shrieking Shack\\n\\n\",\"color\":\"dark_gray\",\"bold\":\"false\",\"italic\":\"true\",\"hoverEvent\":{\"action\":\"show_text\",\"value\":\"Click here to visit The Shrieking Shack\"},\"clickEvent\":{\"action\":\"run_command\",\"value\":\"/tp 1334 48 -1228 42 1\"}},{\"text\":\"Godricβs Hollow\\n\\n\",\"color\":\"dark_gray\",\"bold\":\"false\",\"italic\":\"true\",\"hoverEvent\":{\"action\":\"show_text\",\"value\":\"Click here to visit Godricβs Hollow\"},\"clickEvent\":{\"action\":\"run_command\",\"value\":\"/tp 690 72 -964 7 -12\"}},{\"text\":\"Malfoy Manor\\n\\n\",\"color\":\"dark_gray\",\"bold\":\"false\",\"italic\":\"true\",\"hoverEvent\":{\"action\":\"show_text\",\"value\":\"Click here to visit Malfoy Manor\"},\"clickEvent\":{\"action\":\"run_command\",\"value\":\"/tp -265 83 -1627 14 2\"}},{\"text\":\"The Burrow\\n\\n\",\"color\":\"dark_gray\",\"bold\":\"false\",\"italic\":\"true\",\"hoverEvent\":{\"action\":\"show_text\",\"value\":\"Click here to visit the Burrow\"},\"clickEvent\":{\"action\":\"run_command\",\"value\":\"/tp -378 18 -779 -31 -3\"}}]}","{\"text\":\"You can use the buttons below to change the time of day or the weather.\\n\",\"color\":\"dark_gray\",\"bold\":\"false\",\"extra\":[{\"text\":\"Dawn\\n\",\"color\":\"gold\",\"bold\":\"true\",\"hoverEvent\":{\"action\":\"show_text\",\"value\":\"Click to change the time to dawn\"},\"clickEvent\":{\"action\":\"run_command\",\"value\":\"/time set 23250\"}},{\"text\":\"Morning\\n\",\"color\":\"gold\",\"bold\":\"true\",\"hoverEvent\":{\"action\":\"show_text\",\"value\":\"Click to change the time to morning\"},\"clickEvent\":{\"action\":\"run_command\",\"value\":\"/time set 0\"}},{\"text\":\"Day\\n\",\"color\":\"gold\",\"bold\":\"true\",\"hoverEvent\":{\"action\":\"show_text\",\"value\":\"Click to change the time to day\"},\"clickEvent\":{\"action\":\"run_command\",\"value\":\"/time set 6000\"}},{\"text\":\"Evening\\n\",\"color\":\"gold\",\"bold\":\"true\",\"hoverEvent\":{\"action\":\"show_text\",\"value\":\"Click to change the time to evening\"},\"clickEvent\":{\"action\":\"run_command\",\"value\":\"/time set 12250\"}},{\"text\":\"Dusk\\n\",\"color\":\"gold\",\"bold\":\"true\",\"hoverEvent\":{\"action\":\"show_text\",\"value\":\"Click to change the time to dusk\"},\"clickEvent\":{\"action\":\"run_command\",\"value\":\"/time set 13500\"}},{\"text\":\"Night\\n\\n\",\"color\":\"gold\",\"bold\":\"true\",\"hoverEvent\":{\"action\":\"show_text\",\"value\":\"Click to change the time to night\"},\"clickEvent\":{\"action\":\"run_command\",\"value\":\"/time set 15000\"}},{\"text\":\"Clear\\n\",\"color\":\"gold\",\"bold\":\"true\",\"hoverEvent\":{\"action\":\"show_text\",\"value\":\"Click to clear the weather\"},\"clickEvent\":{\"action\":\"run_command\",\"value\":\"/weather clear\"}},{\"text\":\"Rain\\n\",\"color\":\"gold\",\"bold\":\"true\",\"hoverEvent\":{\"action\":\"show_text\",\"value\":\"Click to make it rain\"},\"clickEvent\":{\"action\":\"run_command\",\"value\":\"/weather rain\"}},{\"text\":\"Thunder\",\"color\":\"gold\",\"bold\":\"true\",\"hoverEvent\":{\"action\":\"show_text\",\"value\":\"Click to start a thunderstorm\"},\"clickEvent\":{\"action\":\"run_command\",\"value\":\"/weather thunder\"}}]}","{\"text\":\"You can chose to play the map in Creative Mode, by pressing the button below. Be advised, that not all the locations have been build to be viewed from the air. \\n\\n\",\"color\":\"dark_gray\",\"bold\":\"false\",\"extra\":[{\"text\":\"Grab a broomstick\\n\\n\",\"color\":\"gold\",\"bold\":\"true\",\"hoverEvent\":{\"action\":\"show_text\",\"value\":\"Click to switch to Creative Mode\"},\"clickEvent\":{\"action\":\"run_command\",\"value\":\"/gamemode 1\"}},{\"text\":\"Drop broomstick\\n\\n\",\"color\":\"gold\",\"bold\":\"true\",\"hoverEvent\":{\"action\":\"show_text\",\"value\":\"Click to Switch to Adventure Mode\"},\"clickEvent\":{\"action\":\"run_command\",\"value\":\"/gamemode 2\"}}]}","{\"text\":\"Best of Luck!\",\"color\":\"gold\",\"bold\":\"true\"}","{\"text\":\"All rights reserved. This map or any portion thereof may not be used or re-released in any way without the permission of The Floo Network. You may also not use this map for a public server, or the like.\",\"color\":\"gray\",\"italic\":\"true\"}","{\"text\":\"If you desire to make any kind of gameplay recording within the map, please do credit The Floo Network, and provide \",\"color\":\"gray\",\"bold\":\"false\",\"italic\":\"true\",\"extra\":[{\"text\":\"this link: \\n\\n\",\"color\":\"gray\",\"bold\":\"true\",\"italic\":\"true\",\"hoverEvent\":{\"action\":\"show_text\",\"value\":\"Click to open link\"},\"clickEvent\":{\"action\":'open_url',\"value\":\"http://www.planetminecraft.com/project/harry-potter-adventure-map-3347878/\"}},{\"text\":\"By downloading this map, you have agreed to these terms and conditions.\",\"color\":\"gray\",\"bold\":\"false\",\"italic\":\"false\"}]}"]}
As for the output file being blank, I believe this was an operator defect. I've seen this issue reported a lot; and every time, so far, it has been a misunderstanding of where to place the Input file.
There are 4 points to note about how to use this thing properly in this case specifically...
1. Make sure you use the "1.12 to 1.13 Command Converter.bat" file (the one suited for 100 commands). This will be able to hold the shear size of the command (unlike the Lite) while being faster than the Mega version.
2. Make sure that the setting "Input Mode" is set to "One-Command."
3. Consequently, make sure that your Input file only has 1 line. This is required when using One-Command Mode.
4. The issue with many is file placement. Ensure that you have your Input file located in the same folder as the batch files themselves. An image will be included for clarity.
It should also be noted that, in certain cases (I believe One-Command mode), for some reason, it cannot support Input/Output file names with spaces. It works in some cases and doesn't work in others. I'll look into this sometime soon.
And that should be all for now. Tell me how the conversion goes with the repaired command in addition with the insight.
'Til next time!
I used , MCEdit to copy that command out of the command block , but I used windows notepad with out thinking . This time I used Notepad ++ and kept all names 8 letters . That command was working in 1.12.2 , maybe something changed while copying using command block copy in MCEdit . Thanks .
This command conversion does not work . Since @s will only work if the player types it . If @s is executed by a command block or from a entity , it will do nothing
teleport @s 758 66 350 45 0\
i needed to put /teleport @s in the book for it to work
Will you be making a converter to Mincraft Windows 10 , i used this converted command in a command block . it works in Java but not in The Windows 10 version
I had to put a , / , in front of all commands in 1.13.1 converted file
I have just released the latest version, 1.5.6, containing a number of bug fixes described by you and someone private messaging me.
The slash issue that you described has been corrected. Before, the sub-levels didn't put a slash on their commands (I figured it that way for consistency). But I was recently reminded that, when using run_command under clickEvent, a slash must be present in order for it to work. Easiest solution was to have the sub-levels always slap a slash at the beginning of each command that they send up a level.
Your point concerning @s is interesting...
"If @s is executed by a command block or from a entity , it will do nothing"
This is true.
"If @s is executed by a command block or from a entity , it will do nothing"
This is incorrect, I do this with nearly every command creation of mine.
I did some ctrl+H on that revised command that I featured last time to convert it to 1.13 (to save time, since it was mostly JSON text, the vast majority of it didn't change). And it does work in 1.13 perfectly:
/give @p written_book{display:{Name:"\"Locations\"",Lore:["Apparate to the location of your choice"]},title:"Locations",author:"The Floo Network",generation:0,pages:["{\"text\":\"-------------------\",\"color\":\"gray\",\"bold\":\"false\",\"extra\":[{\"text\":\" Harry Potter in Minecraft\\n\",\"color\":\"gold\",\"bold\":\"true\"},{\"text\":\" by The Floo Network\\n\",\"color\":\"gray\",\"bold\":\"false\"},{\"text\":\"-------------------\\n\\n\",\"color\":\"gray\",\"bold\":\"false\"},{\"text\":\"Welcome to the wondrous world of Harry Potter. Using the furnaces in the Ministry of Magic, you can travel to a location through the floo network. \",\"color\":\"dark_gray\",\"bold\":\"false\"}]}","{\"text\":\"Alternatively, you can apparate around the map using this book. Simply click the location of your choice.\\n\\n\",\"color\":\"dark_gray\",\"bold\":\"false\",\"extra\":[{\"text\":\"To get back to the Ministry of magic, click \",\"color\":\"dark_gray\",\"bold\":\"false\"},{\"text\":\"here.\\n\\n\",\"color\":\"gold\",\"bold\":\"true\",\"hoverEvent\":{\"action\":\"show_text\",\"value\":\"Click here to visit the Ministry of Magic\"},\"clickEvent\":{\"action\":\"run_command\",\"value\":\"/teleport @s 1032 14 1489 -90 0\"}}]}","{\"text\":\"Hogwarts\\n\",\"color\":\"gold\",\"bold\":\"true\",\"italic\":\"false\",\"extra\":[{\"text\":\"The locations in and around Hogwarts Castle:\\n\\n\",\"color\":\"gray\",\"bold\":\"false\",\"italic\":\"true\"},{\"text\":\"The Boat House\\n\\n\",\"color\":\"dark_gray\",\"bold\":\"false\",\"italic\":\"true\",\"hoverEvent\":{\"action\":\"show_text\",\"value\":\"Click here to visit the boat house.\"},\"clickEvent\":{\"action\":\"run_command\",\"value\":\"/teleport @s 913 28 328 -119 -5\"}},{\"text\":\"The Great Hall\\n\\n\",\"color\":\"dark_gray\",\"bold\":\"false\",\"italic\":\"true\",\"hoverEvent\":{\"action\":\"show_text\",\"value\":\"Click here to visit the Great Hall\"},\"clickEvent\":{\"action\":\"run_command\",\"value\":\"/teleport @s 758 66 350 45 0\"}},{\"text\":\"The Grand Staircase \\n\\n\",\"color\":\"dark_gray\",\"bold\":\"false\",\"italic\":\"true\",\"hoverEvent\":{\"action\":\"show_text\",\"value\":\"Click here to visit the Grand Staircase\"},\"clickEvent\":{\"action\":\"run_command\",\"value\":\"/teleport @s 726 87 322 -135 -54\"}},{\"text\":\"The Library\\n\\n\",\"color\":\"dark_gray\",\"bold\":\"false\",\"italic\":\"true\",\"hoverEvent\":{\"action\":\"show_text\",\"value\":\"Click here to visit the library\"},\"clickEvent\":{\"action\":\"run_command\",\"value\":\"/teleport @s 719 75 316 53 0\"}},{\"text\":\"The Hospital Wing\\n\\n\",\"color\":\"dark_gray\",\"bold\":\"false\",\"italic\":\"true\",\"hoverEvent\":{\"action\":\"show_text\",\"value\":\"Click here to visit the hospital wing\"},\"clickEvent\":{\"action\":\"run_command\",\"value\":\"/teleport @s 659 91 263 90 0\"}}]}","{\"text\":\"The Gryffindor Common Room\\n\\n\",\"color\":\"dark_gray\",\"italic\":\"true\",\"hoverEvent\":{\"action\":\"show_text\",\"value\":\"Click here to visit the Gryffindor Common Room\"},\"clickEvent\":{\"action\":\"run_command\",\"value\":\"/teleport @s 736 134 320 26 2\"},\"extra\":[{\"text\":\"Harry's Bedroom \\n\\n\",\"color\":\"dark_gray\",\"italic\":\"true\",\"hoverEvent\":{\"action\":\"show_text\",\"value\":\"Click here to visit Harry's bedroom\"},\"clickEvent\":{\"action\":\"run_command\",\"value\":\"/teleport @s 738 162 311 -143 11\"}},{\"text\":\"The Slytherin Common Room\\n\\n\",\"color\":\"dark_gray\",\"italic\":\"true\",\"hoverEvent\":{\"action\":\"show_text\",\"value\":\"Click here to visit the Slytherin Common Room\"},\"clickEvent\":{\"action\":\"run_command\",\"value\":\"/teleport @s 743 30 252 180 0\"}},{\"text\":\"The Hufflepuff Common Room\\n\\n\",\"color\":\"dark_gray\",\"italic\":\"true\",\"hoverEvent\":{\"action\":\"show_text\",\"value\":\"Click here to visit the Hufflepuff Common Room\"},\"clickEvent\":{\"action\":\"run_command\",\"value\":\"/teleport @s 782 53 175 90 -8\"}},{\"text\":\"The Ravenclaw common room\\n\\n\",\"color\":\"dark_gray\",\"italic\":\"true\",\"hoverEvent\":{\"action\":\"show_text\",\"value\":\"Click here to visit the Ravenclaw Common Room\"},\"clickEvent\":{\"action\":\"run_command\",\"value\":\"/teleport @s 771 129 163 -135 -15\"}}]}","{\"text\":\"The Owlery\\n\\n\",\"color\":\"dark_gray\",\"italic\":\"true\",\"hoverEvent\":{\"action\":\"show_text\",\"value\":\"Click here to visit the Owlery\"},\"clickEvent\":{\"action\":\"run_command\",\"value\":\"/teleport @s 419 117 137 108 -40\"},\"extra\":[{\"text\":\"The Wooden Bridge\\n\\n\",\"color\":\"dark_gray\",\"italic\":\"true\",\"hoverEvent\":{\"action\":\"show_text\",\"value\":\"Click here to visit the Wooden Bridge\"},\"clickEvent\":{\"action\":\"run_command\",\"value\":\"/teleport @s 571 64 242 64 6\"}},{\"text\":\"The Greenhouses\\n\\n\",\"color\":\"dark_gray\",\"italic\":\"true\",\"hoverEvent\":{\"action\":\"show_text\",\"value\":\"Click here to visit the greenhouses\"},\"clickEvent\":{\"action\":\"run_command\",\"value\":\"/teleport @s 703 55 59 -90 0\"}},{\"text\":\"The Whomping Willow\\n\\n\",\"color\":\"dark_gray\",\"italic\":\"true\",\"hoverEvent\":{\"action\":\"show_text\",\"value\":\"Click here to visit the the Whomping Willow\"},\"clickEvent\":{\"action\":\"run_command\",\"value\":\"/teleport @s 599 77 9 153 -6\"}},{\"text\":\"The Forbidden Forrest\\n\\n\",\"color\":\"dark_gray\",\"italic\":\"true\",\"hoverEvent\":{\"action\":\"show_text\",\"value\":\"Click here to visit the Forbidden Forrest\"},\"clickEvent\":{\"action\":\"run_command\",\"value\":\"/teleport @s 375 47 351 16 -2\"}},{\"text\":\"Hagrid's Hut\\n\\n\",\"color\":\"dark_gray\",\"italic\":\"true\",\"hoverEvent\":{\"action\":\"show_text\",\"value\":\"Click here to visit hagrid's Hut\"},\"clickEvent\":{\"action\":\"run_command\",\"value\":\"/teleport @s 382 47 317 -36 2\"}},{\"text\":\"The Quidditch Pitch\\n\\n\",\"color\":\"dark_gray\",\"italic\":\"true\",\"hoverEvent\":{\"action\":\"show_text\",\"value\":\"Click here to visit the Quidditch Pitch\"},\"clickEvent\":{\"action\":\"run_command\",\"value\":\"/teleport @s 250 109 191 68 22\"}}]}","{\"text\":\"The Headmaster's Office\\n\\n\",\"color\":\"dark_gray\",\"italic\":\"true\",\"hoverEvent\":{\"action\":\"show_text\",\"value\":\"Click here to visit the Headmaster's office\"},\"clickEvent\":{\"action\":\"run_command\",\"value\":\"/teleport @s 704 41 347 -90 0\"},\"extra\":[{\"text\":\"Potions Classroom\\n\\n\",\"color\":\"dark_gray\",\"italic\":\"true\",\"hoverEvent\":{\"action\":\"show_text\",\"value\":\"Click here to visit the Potions Classroom\"},\"clickEvent\":{\"action\":\"run_command\",\"value\":\"/teleport @s 767 54 316 -90 0\"}},{\"text\":\"Defence Against the Dark Arts Classroom\\n\\n\",\"color\":\"dark_gray\",\"italic\":\"true\",\"hoverEvent\":{\"action\":\"show_text\",\"value\":\"Click here to visit the Defence Against the Dark Arts Classroom\"},\"clickEvent\":{\"action\":\"run_command\",\"value\":\"/teleport @s 715 96 319 0 11\"}},{\"text\":\"Charms Classroom\\n\\n\",\"color\":\"dark_gray\",\"italic\":\"true\",\"hoverEvent\":{\"action\":\"show_text\",\"value\":\"Click here to visit the charms classroom\"},\"clickEvent\":{\"action\":\"run_command\",\"value\":\"/teleport @s 721 56 104 18 4\"}},{\"text\":\"Roof\\n\\n\",\"color\":\"dark_gray\",\"italic\":\"true\",\"hoverEvent\":{\"action\":\"show_text\",\"value\":\"Click here to visit the roof\"},\"clickEvent\":{\"action\":\"run_command\",\"value\":\"/teleport @s 718 102 301 179 1.4\"}},{\"text\":\"Moaning Myrtle's Bathroom \\n\\n\",\"color\":\"dark_gray\",\"italic\":\"true\",\"hoverEvent\":{\"action\":\"show_text\",\"value\":\"Click here to visit Moaning Myrtle's bathroom \"},\"clickEvent\":{\"action\":\"run_command\",\"value\":\"/teleport @s 701 66 224 -180 0\"}}]}","{\"text\":\"The Fifth Floor\\n\\n\",\"color\":\"dark_gray\",\"italic\":\"true\",\"hoverEvent\":{\"action\":\"show_text\",\"value\":\"Click here to visit the Mirror of Erised\"},\"clickEvent\":{\"action\":\"run_command\",\"value\":\"/teleport @s 721 94 299 157 5\"},\"extra\":[{\"text\":\"The Chamber of Secrets\\n\\n\",\"color\":\"dark_gray\",\"italic\":\"true\",\"hoverEvent\":{\"action\":\"show_text\",\"value\":\"Click here to visit the Mirror of Erised\"},\"clickEvent\":{\"action\":\"run_command\",\"value\":\"/teleport @s 630 4 257 90 0\"}},{\"text\":\"The Room of Requirement - 1\\n\\n\",\"color\":\"dark_gray\",\"italic\":\"true\",\"hoverEvent\":{\"action\":\"show_text\",\"value\":\"Click here to visit the Room of Requirement - 1\"},\"clickEvent\":{\"action\":\"run_command\",\"value\":\"/teleport @s 434 86 -1403 11.6 8.8\"}},{\"text\":\"The Room of requitement - 2\\n\\n\",\"color\":\"dark_gray\",\"italic\":\"true\",\"hoverEvent\":{\"action\":\"show_text\",\"value\":\"Click here to visit the Room of Requirement - 2\"},\"clickEvent\":{\"action\":\"run_command\",\"value\":\"/teleport @s 404 74 -1526 -180 0\"}}]}","{\"text\":\"London\\n\",\"color\":\"gold\",\"bold\":\"true\",\"italic\":\"false\",\"extra\":[{\"text\":\"The locations around in and London\\n\\n\",\"color\":\"gray\",\"bold\":\"false\",\"italic\":\"true\"},{\"text\":\"Privet drive\\n\\n\",\"color\":\"dark_gray\",\"bold\":\"false\",\"italic\":\"true\",\"hoverEvent\":{\"action\":\"show_text\",\"value\":\"Click here to visit Privet Drive\"},\"clickEvent\":{\"action\":\"run_command\",\"value\":\"/teleport @s 2519 61 -250 110 2\"}},{\"text\":\"King's Cross Station\\n\\n\",\"color\":\"dark_gray\",\"bold\":\"false\",\"italic\":\"true\",\"hoverEvent\":{\"action\":\"show_text\",\"value\":\"Click here to visit King's Cross Station\"},\"clickEvent\":{\"action\":\"run_command\",\"value\":\"/teleport @s 2789 61 -32 -61 -31\"}},{\"text\":\"Platform 9 3/4\\n\\n\",\"color\":\"dark_gray\",\"bold\":\"false\",\"italic\":\"true\",\"hoverEvent\":{\"action\":\"show_text\",\"value\":\"Click here to visit Platform 9 3/4\"},\"clickEvent\":{\"action\":\"run_command\",\"value\":\"/teleport @s 2894 60 -246 -3 -5 \"}},{\"tex
t\":\"Diagon Alley\\n\\n\",\"color\":\"dark_gray\",\"bold\":\"false\",\"italic\":\"true\",\"hoverEvent\":{\"action\":\"show_text\",\"value\":\"Click here to visit Diagon Alley\"},\"clickEvent\":{\"action\":\"run_command\",\"value\":\"/teleport @s 2868 59 -1034 -154 3 \"}},{\"text\":\"The Leaky Cauldron \\n\\n\",\"color\":\"dark_gray\",\"bold\":\"false\",\"italic\":\"true\",\"hoverEvent\":{\"action\":\"show_text\",\"value\":\"Click here to visit The Leaky Cauldron \"},\"clickEvent\":{\"action\":\"run_command\",\"value\":\"/teleport @s 2868 61 106 110 0\"}}]}","{\"text\":\"Gringotts Wizarding Bank\\n\\n\",\"color\":\"dark_gray\",\"italic\":\"true\",\"hoverEvent\":{\"action\":\"show_text\",\"value\":\"Click here to visit Gringotts Wizarding Bank\"},\"clickEvent\":{\"action\":\"run_command\",\"value\":\"/teleport @s 2874 50 -1207 180 0\"},\"extra\":[{\"text\":\"Ollivander's Wand Shop\\n\\n\",\"color\":\"dark_gray\",\"italic\":\"true\",\"hoverEvent\":{\"action\":\"show_text\",\"value\":\"Click here to visit Ollivander's Wand Shop\"},\"clickEvent\":{\"action\":\"run_command\",\"value\":\"/teleport @s 2870 49 -1197 -90 -11\"}},{\"text\":\"Madam Malkin's Robe Shop\\n\\n\",\"color\":\"dark_gray\",\"italic\":\"true\",\"hoverEvent\":{\"action\":\"show_text\",\"value\":\"Click here to visit Madam Malkin's Robe Shop\"},\"clickEvent\":{\"action\":\"run_command\",\"value\":\"/teleport @s 2863 57 -1087 90 -11\"}},{\"text\":\"Eeylopβs Owl Emporium\\n\\n\",\"color\":\"dark_gray\",\"italic\":\"true\",\"hoverEvent\":{\"action\":\"show_text\",\"value\":\"Click here to visit Eeylopβs Owl Emporium\"},\"clickEvent\":{\"action\":\"run_command\",\"value\":\"/teleport @s 2870 50 -1169 -90 -5\"}}]}","{\"text\":\"Various other locations\\n\",\"color\":\"gold\",\"bold\":\"true\",\"italic\":\"false\",\"extra\":[{\"text\":\"From the world of Harry Potter\\n\\n\",\"color\":\"gray\",\"bold\":\"false\",\"italic\":\"false\"},{\"text\":\"Hogsmeade\\n\\n\",\"color\":\"dark_gray\",\"bold\":\"false\",\"italic\":\"true\",\"hoverEvent\":{\"action\":\"show_text\",\"value\":\"Click here to visit Hogsmeade\"},\"clickEvent\":{\"action\":\"run_command\",\"value\":\"/teleport @s 1114 44 -1329 -115 0\"}},{\"text\":\"The Shrieking Shack\\n\\n\",\"color\":\"dark_gray\",\"bold\":\"false\",\"italic\":\"true\",\"hoverEvent\":{\"action\":\"show_text\",\"value\":\"Click here to visit The Shrieking Shack\"},\"clickEvent\":{\"action\":\"run_command\",\"value\":\"/teleport @s 1334 48 -1228 42 1\"}},{\"text\":\"Godricβs Hollow\\n\\n\",\"color\":\"dark_gray\",\"bold\":\"false\",\"italic\":\"true\",\"hoverEvent\":{\"action\":\"show_text\",\"value\":\"Click here to visit Godricβs Hollow\"},\"clickEvent\":{\"action\":\"run_command\",\"value\":\"/teleport @s 690 72 -964 7 -12\"}},{\"text\":\"Malfoy Manor\\n\\n\",\"color\":\"dark_gray\",\"bold\":\"false\",\"italic\":\"true\",\"hoverEvent\":{\"action\":\"show_text\",\"value\":\"Click here to visit Malfoy Manor\"},\"clickEvent\":{\"action\":\"run_command\",\"value\":\"/teleport @s -265 83 -1627 14 2\"}},{\"text\":\"The Burrow\\n\\n\",\"color\":\"dark_gray\",\"bold\":\"false\",\"italic\":\"true\",\"hoverEvent\":{\"action\":\"show_text\",\"value\":\"Click here to visit the Burrow\"},\"clickEvent\":{\"action\":\"run_command\",\"value\":\"/teleport @s -378 18 -779 -31 -3\"}}]}","{\"text\":\"You can use the buttons below to change the time of day or the weather.\\n\",\"color\":\"dark_gray\",\"bold\":\"false\",\"extra\":[{\"text\":\"Dawn\\n\",\"color\":\"gold\",\"bold\":\"true\",\"hoverEvent\":{\"action\":\"show_text\",\"value\":\"Click to change the time to dawn\"},\"clickEvent\":{\"action\":\"run_command\",\"value\":\"/time set 23250\"}},{\"text\":\"Morning\\n\",\"color\":\"gold\",\"bold\":\"true\",\"hoverEvent\":{\"action\":\"show_text\",\"value\":\"Click to change the time to morning\"},\"clickEvent\":{\"action\":\"run_command\",\"value\":\"/time set 0\"}},{\"text\":\"Day\\n\",\"color\":\"gold\",\"bold\":\"true\",\"hoverEvent\":{\"action\":\"show_text\",\"value\":\"Click to change the time to day\"},\"clickEvent\":{\"action\":\"run_command\",\"value\":\"/time set 6000\"}},{\"text\":\"Evening\\n\",\"color\":\"gold\",\"bold\":\"true\",\"hoverEvent\":{\"action\":\"show_text\",\"value\":\"Click to change the time to evening\"},\"clickEvent\":{\"action\":\"run_command\",\"value\":\"/time set 12250\"}},{\"text\":\"Dusk\\n\",\"color\":\"gold\",\"bold\":\"true\",\"hoverEvent\":{\"action\":\"show_text\",\"value\":\"Click to change the time to dusk\"},\"clickEvent\":{\"action\":\"run_command\",\"value\":\"/time set 13500\"}},{\"text\":\"Night\\n\\n\",\"color\":\"gold\",\"bold\":\"true\",\"hoverEvent\":{\"action\":\"show_text\",\"value\":\"Click to change the time to night\"},\"clickEvent\":{\"action\":\"run_command\",\"value\":\"/time set 15000\"}},{\"text\":\"Clear\\n\",\"color\":\"gold\",\"bold\":\"true\",\"hoverEvent\":{\"action\":\"show_text\",\"value\":\"Click to clear the weather\"},\"clickEvent\":{\"action\":\"run_command\",\"value\":\"/weather clear\"}},{\"text\":\"Rain\\n\",\"color\":\"gold\",\"bold\":\"true\",\"hoverEvent\":{\"action\":\"show_text\",\"value\":\"Click to make it rain\"},\"clickEvent\":{\"action\":\"run_command\",\"value\":\"/weather rain\"}},{\"text\":\"Thunder\",\"color\":\"gold\",\"bold\":\"true\",\"hoverEvent\":{\"action\":\"show_text\",\"value\":\"Click to start a thunderstorm\"},\"clickEvent\":{\"action\":\"run_command\",\"value\":\"/weather thunder\"}}]}","{\"text\":\"You can chose to play the map in Creative Mode, by pressing the button below. Be advised, that not all the locations have been build to be viewed from the air. \\n\\n\",\"color\":\"dark_gray\",\"bold\":\"false\",\"extra\":[{\"text\":\"Grab a broomstick\\n\\n\",\"color\":\"gold\",\"bold\":\"true\",\"hoverEvent\":{\"action\":\"show_text\",\"value\":\"Click to switch to Creative Mode\"},\"clickEvent\":{\"action\":\"run_command\",\"value\":\"/gamemode creative\"}},{\"text\":\"Drop broomstick\\n\\n\",\"color\":\"gold\",\"bold\":\"true\",\"hoverEvent\":{\"action\":\"show_text\",\"value\":\"Click to Switch to Adventure Mode\"},\"clickEvent\":{\"action\":\"run_command\",\"value\":\"/gamemode adventure\"}}]}","{\"text\":\"Best of Luck!\",\"color\":\"gold\",\"bold\":\"true\"}","{\"text\":\"All rights reserved. This map or any portion thereof may not be used or re-released in any way without the permission of The Floo Network. You may also not use this map for a public server, or the like.\",\"color\":\"gray\",\"italic\":\"true\"}","{\"text\":\"If you desire to make any kind of gameplay recording within the map, please do credit The Floo Network, and provide \",\"color\":\"gray\",\"bold\":\"false\",\"italic\":\"true\",\"extra\":[{\"text\":\"this link: \\n\\n\",\"color\":\"gray\",\"bold\":\"true\",\"italic\":\"true\",\"hoverEvent\":{\"action\":\"show_text\",\"value\":\"Click to open link\"},\"clickEvent\":{\"action\":'open_url',\"value\":\"http://www.planetminecraft.com/project/harry-potter-adventure-map-3347878/\"}},{\"text\":\"By downloading this map, you have agreed to these terms and conditions.\",\"color\":\"gray\",\"bold\":\"false\",\"italic\":\"false\"}]}"]} 1
As for your question about Windows 10 Edition: I am unsure, it is Bedrock Edition, and that is a totally different ballgame from Java Edition. Since it was requested, I will take it into consideration; but because I don't personally have Bedrock Edition in any form, it may be difficult to craft the program.
And that pretty much wraps things up for now.
If you have any further issues, please tell me of them right away, it helps quite a bit in fixing this thing!
'Til next time!
Thank You , The windows 10 Edition is free when you have the java edition . There is a redeem page at Mojang
Minecraft: Windows 10 Edition is real, and it is completely free if
you already own the game on PC. You just need to go through a few steps.
Hereβs how to do it:
Now, once you have Windows 10 installed, you should find the game in your apps.
I did not know that. I thank you for the information.
I will look into Bedrock Edition when I get the time. It will take some research to get the hang of the different conversions necessary.
Also, I have released the 1.5.7 to fix some bugs revealed to me by a private messenger.
'Til next time!
Is there a way to parse a map extract the commands from all the command blocks and write the new 1.13 commands back to the map ?
Oh man, that seems really hard! Wouldn't that have to scan the entire map for command blocks, their type, and rotation, and then grab all of the commands from the command blocks, convert them, and then place them back into the blocks. Also, if it does get implemented, wouldn't it be best to select a region?
==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!
One suggestion, could you code the .bat files to open in the background instead of grabbing windows focus every time a new window is created? Makes it damn near impossible to do anything on your computer while the program is running, since it is constantly opening new windows, especially for the mega. Just typing this message I have had to click on this window about a hundred times to pull focus away from the program windows that pop up.
Okay, so...
I am currently working on the 1.6.0. It will contain a lot of the stuff spoken here, along with some bug fixes that I have been researching for a while.
It may take a few days for how massive this update is, but it will fix a lot of issues.
It will also contain a feature that was suggested to me by a private messenger, it will be able to convert every file in a specific folder instead of having to convert every single one individually, or at least that's the plan anyway.
Sorry for the lack of explanation and personal address, but my time is a little tight right now. But I will have more time later on after the 1.6.0 is done to explain everything.
'Til next time!
So I found a bug.
If you try to convert certain give commands (I haven't messed around all too much, but I know it works with my example) they don't always convert correctly, with everything having its own ID nowadays.
For example: Converting a custom banned give command.
/give @p minecraft:banner 1 0 {BlockEntityTag:{Base:11,Patterns:[{Pattern:ss,Color:15},{Pattern:ss,Color:7},{Pattern:flo,Color:15},{Pattern:flo,Color:7},{Pattern:cbo,Color:3},{Pattern:cbo,Color:11},{Pattern:sc,Color:15},{Pattern:sc,Color:11},{Pattern:bo,Color:15},{Pattern:bo,Color:7},{Pattern:mc,Color:3},{Pattern:mc,Color:11}]}}
converts to
give @p black_banner{BlockEntityTag:{Base:5,Patterns:[{Pattern:ss,Color:1},{Pattern:ss,Color:9},{Pattern:flo,Color:1},{Pattern:flo,Color:9},{Pattern:cbo,Color:13},{Pattern:cbo,Color:5},{Pattern:sc,Color:1},{Pattern:sc,Color:5},{Pattern:bo,Color:1},{Pattern:bo,Color:9},{Pattern:mc,Color:13},{Pattern:mc,Color:5}]}} 1
which isn't correct, because the base should be yellow, but it's black.
I am sure this is the same for many other things, such as stained glass or wool, so it would perhaps be good to fix it.
The colors also aren't correct
Thank you so much for the bug report!
I am currently implementing this into the 1.6.0, along with all of the other things. Based on how things are going, the 1.6.0 should be released either tonight or sometime tomorrow.