Ok, so this is my THIRD time trying to get help with this.
I am trying to make mobs that only attack people on a certain team VIA the scoreboard functions. I figure I could use Dragnoz's Agro mob programming to make the mobs only be agro if a player from the specified team is within the range. I'm hoping to do this with skeltons in leather Armor, Zombies in leather armor with Stone swords, and spiders. I am also trying to make it so you can summon theses by purchasing them with Xp (a completely different story, but relevant.) I feel like I was close today with this code.
when I plug that bad boy into the command block it gives me an error message. something like UNBALANCED BRACKETS.
if you could help, that would be great. if I left out any important details that would help ya'll figure this out let me know. again, please help.
Ok, so this is my THIRD time trying to get help with this.
I am trying to make mobs that only attack people on a certain team VIA the scoreboard functions. I figure I could use Dragnoz's Agro mob programming to make the mobs only be agro if a player from the specified team is within the range. I'm hoping to do this with skeltons in leather Armor, Zombies in leather armor with Stone swords, and spiders. I am also trying to make it so you can summon theses by purchasing them with Xp (a completely different story, but relevant.) I feel like I was close today with this code.
when I plug that bad boy into the command block it gives me an error message. something like UNBALANCED BRACKETS.
if you could help, that would be great. if I left out any important details that would help ya'll figure this out let me know. again, please help.
First, here is your command indented for proper debugging (BTW, encase any commands in the 'code' BBCode in the future to avoid formatting errors):
What was likely causing your error was some spaces you inserted. You should avoid spaces unless they are part of string tags such as the CustomName, name, author, or Lore tags. However, you'll notice that above you have a "tag" tag at the very end that isn't opening. This causes another error, and removing it will fix that issue. Another thing: you do not need to set Invulnerable any higher than 1.
Yes. The "teams" tag does not exist in vanilla, nor does any capability of forcing a mob to be friendly towards players on a specific team and hostile towards players on another team. You will have to experiment on your own if you're using mods.
I am trying to make mobs that only attack people on a certain team VIA the scoreboard functions. I figure I could use Dragnoz's Agro mob programming to make the mobs only be agro if a player from the specified team is within the range. I'm hoping to do this with skeltons in leather Armor, Zombies in leather armor with Stone swords, and spiders. I am also trying to make it so you can summon theses by purchasing them with Xp (a completely different story, but relevant.) I feel like I was close today with this code.
/summon Skeleton -614 81 -570 {Attributes:[{Name:generic.followRange,Base:20.0},{Name:generic.movementSpeed,Base:1}], Equipment:[{id:261,tag:{ench:[{id:50,lvl:1}]}},{id:301,tag:{display:{color:9843760}}},{id:300,tag:{display:{color:9843760}}},{id:299,tag:{display:{color:9843760}}},{Damage:3,id:397,tag}],CustomNameVisible:1,CustomName:"Remembrance",PersistenceRequired:1,Invulnerable:5}
when I plug that bad boy into the command block it gives me an error message. something like UNBALANCED BRACKETS.
if you could help, that would be great. if I left out any important details that would help ya'll figure this out let me know. again, please help.
First, here is your command indented for proper debugging (BTW, encase any commands in the 'code' BBCode in the future to avoid formatting errors):
What was likely causing your error was some spaces you inserted. You should avoid spaces unless they are part of string tags such as the CustomName, name, author, or Lore tags. However, you'll notice that above you have a "tag" tag at the very end that isn't opening. This causes another error, and removing it will fix that issue. Another thing: you do not need to set Invulnerable any higher than 1.
Here is the fixed command:
Condensed:
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/
[teams=Inquisition]
if i put this in the right place would this make it so the mobs would only attack if that team is withing the attack/ detection range?
I can't answer that if you're using a mod, since that sort of capability isn't possible in vanilla.
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/
Yes. The "teams" tag does not exist in vanilla, nor does any capability of forcing a mob to be friendly towards players on a specific team and hostile towards players on another team. You will have to experiment on your own if you're using mods.
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/