Minecraft TAG Command Tutorial [Working 1.19]
Vložit
- čas přidán 3. 02. 2021
- Learn how to use the Minecraft tag command in Minecraft 1.16/1.17/1.18/1.19 and above! You'll learn how to spawn entities with a tag using spawn eggs or /summon, how to select all other players EXCECPT you, and how to make mobs spawn with certain attributes (such as holding an iron sword!) The /tag command is one of the most important commands for detecting entities in datapacks and command creations. It's used to tag entities so you can refer to them later.
Mentioned commands:
/summon armor_stand ~ ~ ~ {Tags:["tag1","tag2",”tag3"]}
/give @p chicken_spawn_egg{EntityTag:{Tags:["test"]}}
===l o n k s===
Discord Server [ / discord ]
Twitter [ / legitimoose ]
Twitch [ / legitimoose ]
My Editor [ / ciara_millinery ]
Business Email [ legitimoose at gmail dot com]
In this Minecraft tag command tutorial, you'll learn how to use tag command in minecraft 1.16 java! The /tag command in Minecraft is extremely important for datapack creation, and is used for almost anything involving detecting entities/entity/mobs. If you want to detect all players except yourself, or give everyone else an item, or assign all other players to a team, you can use /tag with a datapack function! I'll also show you how to make a mob spawn with a certain item, or how to make mobs/zombies spawn with attributes such as more health, or increased follow range (this can be done with /data merge or /attribute if you were wondering.) This is one of the most useful minecraft commands for using in data packs, so if you've ever wondered how minecraft tags work, now you know! ~Metadata soupsmith - Hry
NOTE: Tags can't be changed for offline players. If you need to tag or untag a player who's not online you can use scoreboards instead!
Your videos are awesome! I love how you mix in humour so the video doesn't get boring. Also the armour stand running away joke was pure comedy gold.
the whole video was an excuse to make that joke
@@Legitimoose i thought it was the “tag your it” joke
This just answered all the questions I'd been googling for an hour. Thank you so much!
Nice timing! I was just using scoreboards for my datapack, but this would make things way easier and less cluttered. Thank you!
Damn never thought someone could make Datapack videos binge-able. Your tutorials are amazing
Yesssss, this is the most validating comment of the day thank you. Much effort has gone into making them binge-able! So glad to hear it's paying off :DDDDD
Love your videos man, keep up the outstanding work! I now know the very basics of command blocks by watching a few of your videos, and I knew barely anything about them earlier today.
I Just got minecraft education edition on my laptop from coding school. And next year we Will be focusing on commands. So i Just wanted to say how Great tutorials you make!
Just when I figured out how to use tags myself, this video dropped lmao. But in all serious, thanks to you I've started getting into data packs recently and you've made it a lot easier to understand! Subbed! 👏
Ayy, good to hear it! Datapacks are so much fun lol
Love your videos and the armor stand in the beginning XD
I think it would be neat if you did a tutorial on how to use the /playsound command. I get the basics of it but there's quite a few things about it I don't understand. I find your videos really entertaining while also being packed with useful information, and would love to see one done for even more commands!
First of all man i learned so much code and all that beacuse of you! you make people learn while being funny not like the other tutorials so thank you sooo much!
you are the best command explain I have ever seen and the funniest. I've seen all your totorials and you've taught me almost everything I know. I just wanted to say thank you
Once again a super helpful and informational video from you! Keep up the good work!
You helped me so much with my command creation I am making!
I just found you channel and I LOVE IT!!!!!
Thank you for making helpful videos like this!
dude, you are now my #1 tutorial youtuber
Wow, thanks!
Your tutorials are so helpful! Can you please upload more because these tutorials are honestly really good. I hope you respond and make more videos. stay safe during this time 😃
I like your style, simple explained 👍
EPIC video keep up the good work
The moment he said "Necromancer" I smiled.
That's exactly what I used it for the first time I discovered it and "teams", I've setup a scheme that would convert nearby zombies to be on my side when they come too close and some other stuffs. They would only convert if I had an appropriate tag, and I could only apply this tag to myself temporarily by pressing a button, so it had some limitations. I just designed that as an "altar" of sorts to make it aesthetically pleasing and to make it make at least some semblance of sense.
Currently trying to figure out how to step up my game by tracking use of items with scoreboard. I want to come back to this necromancy idea and make it so if I use very specific item (I really wish it could be something without durability and in-game use, such as stick for example with a specific name) so whenever I right click with this item it removes it from my inventory and triggers use of the gimmick, although if it's instantaneous it no longer needs tag on entities.
perfect thanks for your tutorials! :D
Glad you like them!
Thx man, ur vids are awesome
:D Glad you like them!
thank you for these tutorials
Nice tutorial!
Can you make a tutorial on how to move, rotate,give an item, move their heads or hands and... For armor stands?
And how to control mobs. Like in horror maps, the boss move or stops ro moving their head
This channel is GOLD
Are you able to do a video about tagging items/armor? Your videos are really helpful, thank you for all of them!!
Yes please
Tag commands helps to group a certain or random mob into one. has a similarity along with scoreboard and teams command.
anyways, thanks for the tutorial
Blessed are we, the children of the promised land that is Minecraft, for god hath descended upon this mortal plane. The lord has shown a glimpse of his infinite wisdom, sharing his power with those who need salvation. We pay our thanks to the God who has finally made the incomprehensibly helpful Minecraft tag tutorial on CZcams. Amen.
> incomprehensibly helpful tutorial
🤔
i love the christian mix
Amazing tutorial man!
Will u make a tutorial for making a boss with commands. Or u can make a plugin tutorial idk i just love ur content
@@THeunknown_red Both good ideas! I will probably end up doing that at some point!
@Legitimoose what are u planning to upload next?
@@THeunknown_red im going to take a world record ;)
Might not be seen, but if it helps anyone, you can also add custom tags with a value to items.
For example, a give command with an item tagged (not with custom name), would look like
/give @p minecraft:carrot{epictag:1}
And just like that you got a custom nbt tag with a value of 1 on a carrot.
its currently 10 pm and i didnt expect a great video to appear in my notis
I HAVE BEEN WAITING FOR FOREVER
THE TIME COMETH
Nice video, BTW what vs code extension do you use? It seems like a other one that you used in your pack tut
It's the same ones from that video, datapack helper+ and language-mcfunction!
great video!
but i still have a question, how can i tag a specific item. for example lets say i want a bow to have a tag named "tag1" how do i add it?
I faced a problem while I was trying to make some kinda mini game for me and my friends. The aim was to made arrows broke blocks inside of the arena. And I did it, but there are some troubles, like sometimes the arrow destroy the block next to the one it hit. Would be realy interesting to see how to bring this idea to life with no bugs.
Thank you for wonderful and so usefull content.
Hello I am making the data pack u just mentioned I will get back u to in a minute
@@markpereira757 I guess u won't :'(
I know how to use it, but your too entertaining. Stop please I have school
;^)
As someone who was interested in command blocks when they were younger until they lost interest, I'm glad I'm just getting into them now. All the nice /execute features make the question of "how do I do this" so much easier and straightforward. Something I am a little curious about is ,why do you use block detection for testing if something is midair instead of {OnGround}?
You know, that's a good question. The real reason is that I forgot OnGround existed lol but I could see some advantages. Testing is obviously good for detecting _what_ block you're standing on, and if you're planning to place blocks below you it could be useful for making sure you do it in the right spot? Ok that's the best excuse I got sjdksjdksjkd
I had a similar thing with command blocks too, I actually decided to get back into it after I couldn't find a good /execute tutorial! Thanks for the kind words!
@@Legitimoose No problem, I love these tutorials. Honestly, I didn't expect to learn much, but I watched them for a bit of entertainment. I actually had no clue about the dust and entity effect particles, or whatever the clearly satanic in nature predicates are, so I've learned way more than I thought I would. They really are the best command tutorials on CZcams, and, tbh, they've inspired me to make longer and more elaborate functions.
Now I want to use the tag command to make a game of tag in minecraft.
Do you know if e.g. zombies with replaceitem will despawn as normal if you give them a CustomModelData item? ☺️
Thank you so much for your videos, btw - I love them! 😍
dang it, your so addictive to watch
Hey! can you make a tutorial about how to make a reset system for a map? that would be nice
I would love that!
Good idea! Anything in particular you'd wanna see?
I have watched a few tutorials on how to make a certain area unbreakable (without adventure mode) and most say to save the structure with structure block, and then turn it into a load block and have reds tone constantly feeding it. For some reason, the red stone always makes the block into a save block. Do you know how to fix this?
@@Legitimoose hmmm i think no
I love your question
This channel's tutorials have the power of dragnoz
omg thank you im honored to be considered alongside such a man. people ask me how i learned commands and that's the answer right there. dragnoz.
Sometimes I'll go to /tag remove and it'll say "removed tag from 200+ entities" that I never tagged with it in the first place and if they had been, I would've noticed.
I think it's just the game having a brainfart but still. Also the "tag @s add self" works until you have multiple multi-entity creatures that need to use it.
O.O I have definitely found coding Minecraft. To say I’m in over my head is an understatement.
Hi! Could you tell me how to give yourself an item that already has a tag on it? Thank you very much and amazing video, as always
Thanks now i can made assasin skill
you are my fav youtuber
😳thanks! glad you're enjoyin' the videos!
@@Legitimoose yeah i Definately am
Hello...Nice Work and Tutorials ... Can I Remove tag ( Raider ) From Mobs in Mods?
Awesome videos! One question: Can you tag blocks? Thank you:)
Yes Its Possible I think im not an expetrt
Can you make a tutorial about how to make custom nbt crafting recipe
Hi legitimoose i already subscribe you when the latest video is tutorial about scoreboard operation
I remember you! How could I ever forget ;^) I've got a lot of requests for a crafting recipe tutorial so it's definitely on my todo list :D
Thank you:) and how to make a custom dimension you say in "execute" tutorial that we can make a custom dimension
Oh yeah what do i mean about the custom nbt crafting is using a knowlege book
You know what i mean
The result will be a knowlege book but if you shift+left click i will become a custom item with nbt tags
Hey
If i make a custom snowball to be a bomb for example, wouldnt that need a custom tag that defines the snowball as the bomb, wouldn't that make players to be able to remove or create them modela with nametags on snowballs?
how do you not have AT LEAST 10k subs
the illuminati
you are the god of commands
bow before my army of tagged armorstands
Amazing Video! I already knew everything I leaned but I just enjoy watching anyways! Great Humor :D
Also...
Is there any way how I can display particles only to specific players in a team / with a tag?
Yes! The very last argument in the particle command is a list of players to display your particles to! You can use any selector you want (meaning @a[team=something,tag=something] etc. ) Good question!
@@Legitimoose thanks a lot! That really helped me!
I created an epidemic with a badge, whoever is next to a sick person also gets a sick badge, and whoever with a sick badge walks around himself =)
Is it possible to create a tag and when the player has that tag, it changes the player's attributes?
For example:
I add the tag "warrior" to myself, and then it raises my generic.attackdamage.
(Also, the attributes need to keep changed even after I die and respawn)
Is it possible?
How would you tag a dropped item with data packs? I'm trying to modify items without changing other things like names or enchantments.
This may be a bit specific but is there any chance you could do a array or execute store tutorial? :D
Yep! It's on my todo list (thought it might not be for a bit!)
Thanks :DDD
Hey, do you know, how to detect when is player right clicking? Without the stupid carrot on stick please... Like you have in your hand a feather and when you right click on it you get speed. Thank you
Thanks
This is a weird question but what shaders do you use also I love your content.
Heyoo, in my last video I used SEUS Renewed I think. My _favorite_ shader though is Simplicissimus (with pixel shadows enable 0.0)
thanks
my cheese just got tagged
Tysm
I'm trying to make a map on ps4 based on tag, I don't really know how to use commands.
Do how do I make it say "____ is it!" Every time the tagger hits a runner???
WELL IM GLAD YOU ASKED but I didint ask......TAGS ARE GREAT FOR KEEPING TRACK
Hey man I just have a question, so I am making a command when holding a shulker box in the offhand it will give out effects to the player. The only thing stopping this is that whenever I place down the shulker box and pick it back up again. It changes tags for example. I gave myself a shulker box with a custom text and at first, it was on 1 tag(s) but when I placed it down and picked it back again. It changes into 2 tag(s). Please reply because I will use this commands for a new server :DDDD
Also how do I also identify the tag with the shulker box. Like /execute.. Thanks :DDD
Hi! Tags on a shulker box would be NBT tags, not "/tag" tags, typically. The tags in this video only really apply to entities. If you want to see what NBT tags an item has you can do "/data get entity @s SelectedItem" while holding the item. This would let you check what those "2 tags" are! Good luck!
Okok
Im thinking of using tags in order to make teams but I think it needs to be more complex than that
Kewl I love commands
can you make a vid how to add your OWN tag into minecraft
this video seems to have no tags hmm
it would be helpful in the algorithm #legitimoos
Hey, how can we use it to tell who has clicked on a text? Like I want the name to be displayed when a player clicks on text as a click event. I want it to be displayed like this:-
(Name) is now the speedrunner!
NOTICE: COMMAND "REPLACEITEM" HAS BEEN REMOVED IN SNAPSHOT 20W46A
INSTEAD USE THIS FOR THIS TUTORIAL "item modify entity" then carry on with the command as usual
So... I have tested this and don't know why... but if you spawn a sign in with /give @p oak_sign{BlockEntityTag:{Text1:'{"text":"This"}',Text2:'{"text":"Is"}',Text3:'{"text":"A"}',Text4:'{"text":"Test Sign"}'}} 1
This sign gets a tag that is the Text. So I can place this Sign in the world but only in Creative. If I Place said given items in Survival the sign will be cleared and will pull up the Text prompt. Any suggestions on how to allow a sign to be placed in Survival with the Tagged text? ( I know this is kinda related but anyway lol I am working on custom events for a mod called CCI that allows some crazy Twitch interactions and this is an issue I am running into) Also, Don't even get me started on the lag issue from spawning a player head tagged with a username that is not in the Minecraft account API... Its a mess. Anyways Thanks for the videos!
Hi, my question is, is it possible to remove all tags from someone at once?
Can I make a tag minigame with that? If yes, how can I do it?
good video
please make a video about how to make custom recipes with nbt tags
It's on da list!
@@Legitimoose alright
/data tutorial?
Can you tag items rather than just mobs?
I rlly wish he had infinite subs :D
can u make tutorial on right click detection?
yes please
Can you put tags on items tho
Is there a way to tag an item?
How did you get the mcfunction in VSCode?
Is there a way to tp to a tagged armorstand/entity?
thank god u were born
How to you make it so you can press tab to complete the command
Did anyone notice how the end of the UUID of the armor stand, right before the word "add", said add
I knew you before you were cool
good job however
fake, i have always been cool 😎
@@Legitimoose Dang, who are you again?
make a tutorial about nbt tags
Wait can you give the tag to items?
how do I make a tag visible, for like a server??
Tag in command give @s trident {Tags:["mj"]} doesn't work, why
is there a wat to remove all tags from a player?
For some reason when I try to summon a mob with a tag, it doesn’t work.
how to add a tag to an excisitin item in your inventory?
Hello legitimoose I am a very huge fan of data pack and you also, I am working on a data pack that when a raid comes the villagers tp in a save place It works but I am not at all satisfied with the data pack that I made because every time I start a raid only 4 villagers tp in the safe zone there are in total 7 villagers in the village pls help me out,THen I tried taking every code name of each and every villager just like you did but I used the /effect to find the villagers code name and ofcourse it didn't work pls help me out legitimoose thankyou if you are reading this keep all the good stuff up and I will support you forever
Hi! How have you been detecting the villagers? You could use @e[type=villager,distance=..50] to get all villagers within 50 blocks for example. You could also do what you said and tag each villager, if you don't need it to work 100% automatically. Hope this is helpful!
Hello again I use the execute as @r if entity @s[scores name of the scoreboard, the reason I am using this command is because only when I score then only they tp in the safe zone the safe zone is not too far it is just under the village and then there is a scoreboard reset right after I score to avoid any villagers tping in the same place over and over again you are right I can use the @e[type=villager, distance=50..] and here is the seed I am using 90210 it's an old seed but a village is nearby so that's why I decided to use that seed
how to make a circle with tag command ??
How to remove raider tag from mobs in mods?