Whenever i activate a tellraw command in my contrapation, It doubles the tellraw command. I tried doing a different one thats not even connected to my contraption and it still does it DOUBLE TIME. I'm not sure if its a bug or i'm doing something wrong. Please help
One of the commands:
execute @e[type=Zombie,name=Pythagoras] ~ ~ ~ execute @p[r=3] ~ ~ ~ tellraw @p ["",{"text":"The Wizard Pythagoras:","color":"dark_purple","bold":"true"},{"text":" Come with me! We have very important matters to discuss!","color":"gold"}]
EDIT: I think it has something to do with the command because, when i do a regular command without the execute, It only tellraws once.
As well, you really should not be doing a double execute like you are. There's no need to with your command; it only serves to increase the amount of processing the server needs to do. Just use the selector from the second execute as the selector for /tellraw:
execute @e[type=Zombie,name=Pythagoras] ~ ~ ~ tellraw @p[r=3] ["",{"text":"The Wizard Pythagoras:","color":"dark_purple","bold":"true"},{"text":" Come with me! We have very important matters to discuss!","color":"gold"}]
Ohhhh. Thanks i did not realize i had multiple zombies executing. Is there any way to fix that because i need more then one Pythagoras zombie in my world, and i dont want to be naming them stuff like Pythagoras_ or _Pythagoras and i don't understand the UUID and those things so help would be appreciated
Ohhhh. Thanks i did not realize i had multiple zombies executing. Is there any way to fix that because i need more then one Pythagoras zombie in my world, and i dont want to be naming them stuff like Pythagoras_ or _Pythagoras and i don't understand the UUID and those things so help would be appreciated
You can use different parameters such as coordinates (and radius) to mark a specific location. For example, the following executes at a zombie at exactly 100X, 64Y, 100Z (radius of 0):
One of the commands:
execute @e[type=Zombie,name=Pythagoras] ~ ~ ~ execute @p[r=3] ~ ~ ~ tellraw @p ["",{"text":"The Wizard Pythagoras:","color":"dark_purple","bold":"true"},{"text":" Come with me! We have very important matters to discuss!","color":"gold"}]
EDIT: I think it has something to do with the command because, when i do a regular command without the execute, It only tellraws once.
As well, you really should not be doing a double execute like you are. There's no need to with your command; it only serves to increase the amount of processing the server needs to do. Just use the selector from the second execute as the selector for /tellraw:
Minecraft-things: http://skylinerw.com
More Minecraft-things: https://sourceblock.net
Guides for command-related features (eventually moving to Source Block): https://github.com/skylinerw/guides
I primarily hang out in the /r/MinecraftCommands discord, where there's a lot of people that help with commands: https://discord.gg/QAFXFtZ
Their corresponding subreddit: https://www.reddit.com/r/MinecraftCommands/
You can use different parameters such as coordinates (and radius) to mark a specific location. For example, the following executes at a zombie at exactly 100X, 64Y, 100Z (radius of 0):
Minecraft-things: http://skylinerw.com
More Minecraft-things: https://sourceblock.net
Guides for command-related features (eventually moving to Source Block): https://github.com/skylinerw/guides
I primarily hang out in the /r/MinecraftCommands discord, where there's a lot of people that help with commands: https://discord.gg/QAFXFtZ
Their corresponding subreddit: https://www.reddit.com/r/MinecraftCommands/