It appears somehow my original post got deleted........ Here it is again:
I'm trying to spawn a horse with specific stats and a name with multiple formats. For example:
Charlie - Community Stables
I can /give myself a weapon with that exact name, but I can't manage to /summon a horse with the second half of the name. I can get a horse with the stats I want but it will only have the name "Charlie".
Here's the code I can use via command block to get the specific horse with the partial name I want:
Here's the code I can use to give myself a sword with the name I want:
/give @p minecraft:golden_sword{display:{Name:"[{\"text\":\"Charlie\",\"color\":\"gold\",\"italic\":false,\"bold\":true},{\"text\":\" - Community Stables - Jumpy\",\"italic\":true,\"bold\":false}]"}}
but I can't for the life of me get a horse with the full multi-formatted name. I either get broken code or code that doesn't summon the horse or ignores the second half of the name
I'd happily accept doing this via /give a name tag, but I can't figure out how to get one with the name formatted already or how to do it via anvil.
Any way of being able to do this and get a horse with specific color and stats with the ability to name it that way would be great.
It appears somehow my original post got deleted........ Here it is again:
I'm trying to spawn a horse with specific stats and a name with multiple formats. For example:
Charlie - Community Stables
I can /give myself a weapon with that exact name, but I can't manage to /summon a horse with the second half of the name. I can get a horse with the stats I want but it will only have the name "Charlie".
Here's the code I can use via command block to get the specific horse with the partial name I want:
Here's the code I can use to give myself a sword with the name I want:
/give @p minecraft:golden_sword{display:{Name:"[{\"text\":\"Charlie\",\"color\":\"gold\",\"italic\":false,\"bold\":true},{\"text\":\" - Community Stables - Jumpy\",\"italic\":true,\"bold\":false}]"}}
but I can't for the life of me get a horse with the full multi-formatted name. I either get broken code or code that doesn't summon the horse or ignores the second half of the name
I'd happily accept doing this via /give a name tag, but I can't figure out how to get one with the name formatted already or how to do it via anvil.
Any way of being able to do this and get a horse with specific color and stats with the ability to name it that way would be great.
Thank you so much!!! That's the one combination of brackets I didn't manage to try apparently. I had tried similar, I think I just reversed the order of brackets. That worked like a charm. Much appreciated!
It appears somehow my original post got deleted........ Here it is again:
I'm trying to spawn a horse with specific stats and a name with multiple formats. For example:
Charlie - Community Stables
I can /give myself a weapon with that exact name, but I can't manage to /summon a horse with the second half of the name. I can get a horse with the stats I want but it will only have the name "Charlie".
Here's the code I can use via command block to get the specific horse with the partial name I want:
Here's the code I can use to give myself a sword with the name I want:
but I can't for the life of me get a horse with the full multi-formatted name. I either get broken code or code that doesn't summon the horse or ignores the second half of the name
I'd happily accept doing this via /give a name tag, but I can't figure out how to get one with the name formatted already or how to do it via anvil.
Any way of being able to do this and get a horse with specific color and stats with the ability to name it that way would be great.
Any help is appreciated!
You might want something like this:
CustomName:"[{\"text\":\"Trash\"},{\"text\":\"Can\"}]"
Thank you so much!!! That's the one combination of brackets I didn't manage to try apparently. I had tried similar, I think I just reversed the order of brackets. That worked like a charm. Much appreciated!