Minecraft TAG Command Tutorial [Working 1.19]
HTML-код
- Опубликовано: 28 сен 2024
- 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
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
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!
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
dude, you are now my #1 tutorial youtuber
Wow, thanks!
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!
Nice timing! I was just using scoreboards for my datapack, but this would make things way easier and less cluttered. Thank you!
Are you able to do a video about tagging items/armor? Your videos are really helpful, thank you for all of them!!
Yes please
perfect thanks for your tutorials! :D
Glad you like them!
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!
I know how to use it, but your too entertaining. Stop please I have school
;^)
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 :'(
its currently 10 pm and i didnt expect a great video to appear in my notis
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 RUclips. Amen.
> incomprehensibly helpful tutorial
🤔
i love the christian mix
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 =)
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.
O.O I have definitely found coding Minecraft. To say I’m in over my head is an understatement.
Thank you for making helpful videos like this!
Once again a super helpful and informational video from you! Keep up the good work!
This channel is GOLD
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 ;)
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!
Now I want to use the tag command to make a game of tag in minecraft.
DEFINITELY UNDERRATED
I like your style, simple explained 👍
Thanks now i can made assasin skill
can u make tutorial on right click detection?
yes please
you are my fav youtuber
😳thanks! glad you're enjoyin' the videos!
@@Legitimoose yeah i Definately am
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! 😍
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
Im thinking of using tags in order to make teams but I think it needs to be more complex than that
For some reason when I try to summon a mob with a tag, it doesn’t work.
WELL IM GLAD YOU ASKED but I didint ask......TAGS ARE GREAT FOR KEEPING TRACK
you are the god of commands
bow before my army of tagged armorstands
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 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, 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!
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!
Hello...Nice Work and Tutorials ... Can I Remove tag ( Raider ) From Mobs in Mods?
can you make a vid how to add your OWN tag into minecraft
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
Hi, my question is, is it possible to remove all tags from someone at once?
Tag in command give @s trident {Tags:["mj"]} doesn't work, why
thank god u were born
How to remove raider tag from mobs in mods?
how would i remove all tags from a player?
make a tutorial about nbt tags
I say from 00:00 - 00:46 is optional If your trying to create a boss but prove me wrong.
Wait can you give the tag to items?
You helped me so much with my command creation I am making!
I knew you before you were cool
good job however
fake, i have always been cool 😎
@@Legitimoose Dang, who are you again?
Can I give myself Iron Golem spawn egg?
Yes, create a spawn egg of a mob, lets just use a bat, with the tag "iron_golem", then execute at all bats with the tag iron_golem to /summon an iron golem, Then teleport the bat with the tag into the void using ~ ~-500 ~
so give yourself a spawn egg using:
/give @p bat_spawn_egg{EntityTag:{Tags:["iron_golem"]}} 1
then set up a repeating command block with an execute command to summon an iron golem on it:
execute as @e[tag=iron_golem] at @s run summon minecraft:iron_golem ~ ~ ~
then add a chain command block that teleports it into the void:
execute as @e[tag=iron_golem] run tp @s ~ ~-300 ~
Tags what, where is the price
Thanks
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?
the arrmor stand is hiding
Can you tag items rather than just mobs?
There's an nbt tag for that, like this (tag @e[nbt={Item:{id:"diamond_sword"}}} add tag)
Why doesn't this work?
execute as @e[type=minecraft:item,tag=ld] positioned ^ ^ ^ at @p as @s run give @p minecraft:apple
I throw an item that I got with this command:
summon item ~ ~1 ~ {Item:{id:"nether_star",Count:1b,tag:{EntityTag:{Tags:["ld"]}}}}
I also tried it with this one:
summon item ~ ~1 ~ {Item:{id:"nether_star",Count:1b,tag:{Tags:["ld"]}}}
Somehow none work
Nice Video, but you uses the /replaceitem command. So it’s not a 1.17 Tutorial!
pog
0:00
NOOOOOOOOOOOOOOOO AAAAAAAAAAA
fine
>:C
Small RUclipsr shoutout? xD
Too complicated
hi
Simple but confusing as shit
who disliked that?????
7th poggg
coding and shit stuff? naaaah i use command blocks
/data tutorial?
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
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
this video seems to have no tags hmm
it would be helpful in the algorithm #legitimoos
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
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
Is there a way to tag an item?
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 😃
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
thank you for these tutorials
Can you put tags on items tho
my cheese just got tagged
This just answered all the questions I'd been googling for an hour. Thank you so much!
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?
/tag legitermoose add "hair guy"
oh shi-
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.
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.
how do you not have AT LEAST 10k subs
the illuminati
/execute as @e[type=zombie,tag=RespawnZombie,nbt={Health:0}] run tag @s add DeadZombie
this doesn't work for sum reason PLS help me (yes i tagged the zombie with "RespawnZombie")
Don't say 1.17 when it doesn't work in 1.17 :/
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
me: i dont understand this commnad
wiki: ok heres some in formation. rwfwfewrfwerrfweifwei9fu9erūufre9ūfure9ūfure9cfiuer9fceoiejofcerfuoejroifjeofiurejflerujfjwfldjhweofhwoihjf
me: i dont understand
legitimoose: come i will teach u in 4 3min
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???
Thx man, ur vids are awesome
:D Glad you like them!
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
How to you make it so you can press tab to complete the command
I really liked the video until it became Visual Studio code... I just wanted to learn commands not C++
I HAVE BEEN WAITING FOR FOREVER
THE TIME COMETH
Love your videos and the armor stand in the beginning XD
I rlly wish he had infinite subs :D
Can I make a tag minigame with that? If yes, how can I do it?