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

Комментарии • 201

  • @Legitimoose
    @Legitimoose  3 года назад +72

    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!

  • @regrettspaghettt
    @regrettspaghettt 3 года назад +65

    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.

    • @Legitimoose
      @Legitimoose  3 года назад +13

      the whole video was an excuse to make that joke

    • @Amms468
      @Amms468 2 года назад +3

      @@Legitimoose i thought it was the “tag your it” joke

  • @BewareB3ar
    @BewareB3ar 3 года назад +3

    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!

  • @yupol_
    @yupol_ 3 года назад +12

    Damn never thought someone could make Datapack videos binge-able. Your tutorials are amazing

    • @Legitimoose
      @Legitimoose  3 года назад +7

      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

  • @ryanrg1545
    @ryanrg1545 3 года назад +3

    dude, you are now my #1 tutorial youtuber

  • @40_4
    @40_4 3 года назад +2

    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!

  • @nimblepuppet3615
    @nimblepuppet3615 3 года назад +1

    Nice timing! I was just using scoreboards for my datapack, but this would make things way easier and less cluttered. Thank you!

  • @vortexventamy
    @vortexventamy 3 года назад +5

    Are you able to do a video about tagging items/armor? Your videos are really helpful, thank you for all of them!!

  • @AshFoxMI
    @AshFoxMI 3 года назад +4

    perfect thanks for your tutorials! :D

  • @shilohwiseman
    @shilohwiseman 3 года назад

    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!

  • @NGNL-tj8su
    @NGNL-tj8su 3 года назад +3

    I know how to use it, but your too entertaining. Stop please I have school

  • @LAisdy
    @LAisdy 3 года назад +1

    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.

    • @markpereira757
      @markpereira757 3 года назад

      Hello I am making the data pack u just mentioned I will get back u to in a minute

    • @LAisdy
      @LAisdy 3 года назад

      @@markpereira757 I guess u won't :'(

  • @deadaccounta5809
    @deadaccounta5809 3 года назад +2

    its currently 10 pm and i didnt expect a great video to appear in my notis

  • @chocolatechipbleach8341
    @chocolatechipbleach8341 3 года назад +23

    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.

    • @Legitimoose
      @Legitimoose  3 года назад +4

      > incomprehensibly helpful tutorial
      🤔

    • @catmilklol8479
      @catmilklol8479 3 года назад

      i love the christian mix

  • @king123nbvnbv
    @king123nbvnbv 3 года назад

    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 =)

  • @disturbedmosquito2411
    @disturbedmosquito2411 3 года назад

    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.

  • @Zkiera
    @Zkiera 6 месяцев назад

    O.O I have definitely found coding Minecraft. To say I’m in over my head is an understatement.

  • @guyusak
    @guyusak 3 года назад +1

    Thank you for making helpful videos like this!

  • @FileTypeJpeg
    @FileTypeJpeg 3 года назад

    Once again a super helpful and informational video from you! Keep up the good work!

  • @bitcoin1532
    @bitcoin1532 3 года назад

    This channel is GOLD

  • @THeunknown_red
    @THeunknown_red 3 года назад +1

    Amazing tutorial man!

    • @THeunknown_red
      @THeunknown_red 3 года назад +1

      Will u make a tutorial for making a boss with commands. Or u can make a plugin tutorial idk i just love ur content

    • @Legitimoose
      @Legitimoose  3 года назад +1

      @@THeunknown_red Both good ideas! I will probably end up doing that at some point!

    • @THeunknown_red
      @THeunknown_red 3 года назад

      @Legitimoose what are u planning to upload next?

    • @Legitimoose
      @Legitimoose  3 года назад +1

      @@THeunknown_red im going to take a world record ;)

  • @ChosenArchitect
    @ChosenArchitect 3 года назад

    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!

  • @FuzzymothGames
    @FuzzymothGames 3 года назад

    Now I want to use the tag command to make a game of tag in minecraft.

  • @mandm6318
    @mandm6318 26 дней назад

    DEFINITELY UNDERRATED

  • @whonovelizesme646
    @whonovelizesme646 Год назад

    I like your style, simple explained 👍

  • @zezgmdedaccount3901
    @zezgmdedaccount3901 Год назад

    Thanks now i can made assasin skill

  • @odde.
    @odde. 3 года назад +2

    can u make tutorial on right click detection?

  • @AK1770
    @AK1770 3 года назад

    you are my fav youtuber

    • @Legitimoose
      @Legitimoose  3 года назад

      😳thanks! glad you're enjoyin' the videos!

    • @AK1770
      @AK1770 3 года назад

      @@Legitimoose yeah i Definately am

  • @MikLPistone
    @MikLPistone Год назад

    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! 😍

  • @incidist493
    @incidist493 3 года назад +2

    NOTICE: COMMAND "REPLACEITEM" HAS BEEN REMOVED IN SNAPSHOT 20W46A

    • @incidist493
      @incidist493 3 года назад +2

      INSTEAD USE THIS FOR THIS TUTORIAL "item modify entity" then carry on with the command as usual

  • @fatmachamkhi7685
    @fatmachamkhi7685 Год назад

    Im thinking of using tags in order to make teams but I think it needs to be more complex than that

  • @skyartknight
    @skyartknight 2 года назад

    For some reason when I try to summon a mob with a tag, it doesn’t work.

  • @Noozu
    @Noozu 3 года назад

    WELL IM GLAD YOU ASKED but I didint ask......TAGS ARE GREAT FOR KEEPING TRACK

  • @rey4860
    @rey4860 3 года назад

    you are the god of commands

    • @Legitimoose
      @Legitimoose  3 года назад

      bow before my army of tagged armorstands

  • @chi_bot8648
    @chi_bot8648 3 года назад

    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?

  • @superlimeapple
    @superlimeapple 3 года назад

    How would you tag a dropped item with data packs? I'm trying to modify items without changing other things like names or enchantments.

  • @benutzerpaul9659
    @benutzerpaul9659 3 года назад

    This may be a bit specific but is there any chance you could do a array or execute store tutorial? :D

    • @Legitimoose
      @Legitimoose  3 года назад +1

      Yep! It's on my todo list (thought it might not be for a bit!)

    • @benutzerpaul9659
      @benutzerpaul9659 3 года назад

      Thanks :DDD

  • @lostyplayz2799
    @lostyplayz2799 2 года назад

    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!

  • @benutzerpaul9659
    @benutzerpaul9659 3 года назад

    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?

    • @Legitimoose
      @Legitimoose  3 года назад +1

      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!

    • @benutzerpaul9659
      @benutzerpaul9659 3 года назад

      @@Legitimoose thanks a lot! That really helped me!

  • @lostinlife2031
    @lostinlife2031 Год назад

    Hello...Nice Work and Tutorials ... Can I Remove tag ( Raider ) From Mobs in Mods?

  • @swidangaming9474
    @swidangaming9474 3 года назад

    can you make a vid how to add your OWN tag into minecraft

  • @manuelcalle6506
    @manuelcalle6506 3 года назад

    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

  • @balazskovacs4126
    @balazskovacs4126 Год назад

    Hi, my question is, is it possible to remove all tags from someone at once?

  • @black_hole_888_yt7
    @black_hole_888_yt7 Год назад

    Tag in command give @s trident {Tags:["mj"]} doesn't work, why

  • @vorpusxee7379
    @vorpusxee7379 3 года назад

    thank god u were born

  • @AliAhmed-jl4kg
    @AliAhmed-jl4kg Год назад

    How to remove raider tag from mobs in mods?

  • @itsyemurk5243
    @itsyemurk5243 Год назад

    how would i remove all tags from a player?

  • @tfolz1351
    @tfolz1351 3 года назад

    make a tutorial about nbt tags

  • @iknow945
    @iknow945 2 года назад

    I say from 00:00 - 00:46 is optional If your trying to create a boss but prove me wrong.

  • @EveninB
    @EveninB 3 года назад

    Wait can you give the tag to items?

  • @ShootemBeautRoblox
    @ShootemBeautRoblox Год назад

    You helped me so much with my command creation I am making!

  • @Robbit_
    @Robbit_ 3 года назад +1

    I knew you before you were cool

    • @Robbit_
      @Robbit_ 3 года назад +1

      good job however

    • @Legitimoose
      @Legitimoose  3 года назад +2

      fake, i have always been cool 😎

    • @Robbit_
      @Robbit_ 3 года назад +1

      @@Legitimoose Dang, who are you again?

  • @fifa5564
    @fifa5564 3 года назад +1

    Can I give myself Iron Golem spawn egg?

    • @blixtt9312
      @blixtt9312 3 года назад

      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 ~

    • @blixtt9312
      @blixtt9312 3 года назад +1

      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 ~

  • @MajesticB_17
    @MajesticB_17 3 года назад

    Tags what, where is the price

  • @-Frosty-
    @-Frosty- 3 года назад

    Thanks

  • @bodyslamer69
    @bodyslamer69 3 года назад +1

    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?

  • @hyrum2
    @hyrum2 2 года назад

    the arrmor stand is hiding

  • @air00990
    @air00990 5 месяцев назад

    Can you tag items rather than just mobs?

  • @tescify
    @tescify 3 месяца назад

    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

  • @LionheartXII
    @LionheartXII 3 года назад

    Nice Video, but you uses the /replaceitem command. So it’s not a 1.17 Tutorial!

  • @alexandergarzadelinde1979
    @alexandergarzadelinde1979 3 года назад

    pog

  • @ryanrg1545
    @ryanrg1545 3 года назад

    0:00
    NOOOOOOOOOOOOOOOO AAAAAAAAAAA
    fine
    >:C

  • @thedoods7000
    @thedoods7000 3 года назад

    Small RUclipsr shoutout? xD

  • @StefthePirate91
    @StefthePirate91 Год назад

    Too complicated

  • @haz7835
    @haz7835 3 года назад

    hi

  • @Unlikekillakay
    @Unlikekillakay 2 года назад

    Simple but confusing as shit

  • @antiyoygame2001
    @antiyoygame2001 3 года назад

    who disliked that?????

  • @devhunt9054
    @devhunt9054 3 года назад

    7th poggg

  • @moodyk.m6080
    @moodyk.m6080 3 года назад

    coding and shit stuff? naaaah i use command blocks

  • @fry_fr
    @fry_fr 3 года назад +5

    /data tutorial?

  • @rifkzzz
    @rifkzzz 3 года назад +20

    Hey! can you make a tutorial about how to make a reset system for a map? that would be nice

    • @ppdeef4765
      @ppdeef4765 3 года назад

      I would love that!

    • @Legitimoose
      @Legitimoose  3 года назад +5

      Good idea! Anything in particular you'd wanna see?

    • @ppdeef4765
      @ppdeef4765 3 года назад +2

      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?

    • @rifkzzz
      @rifkzzz 3 года назад

      @@Legitimoose hmmm i think no

    • @rajuthoppil3393
      @rajuthoppil3393 3 года назад

      I love your question

  • @anuarahmad3081
    @anuarahmad3081 3 года назад +4

    Can you make a tutorial about how to make custom nbt crafting recipe

    • @anuarahmad3081
      @anuarahmad3081 3 года назад +1

      Hi legitimoose i already subscribe you when the latest video is tutorial about scoreboard operation

    • @Legitimoose
      @Legitimoose  3 года назад +1

      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

    • @anuarahmad3081
      @anuarahmad3081 3 года назад +1

      Thank you:) and how to make a custom dimension you say in "execute" tutorial that we can make a custom dimension

    • @anuarahmad3081
      @anuarahmad3081 3 года назад +1

      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

  • @TeeBow_
    @TeeBow_ 3 года назад +3

    this video seems to have no tags hmm
    it would be helpful in the algorithm #legitimoos

  • @markpereira757
    @markpereira757 3 года назад +2

    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

    • @Legitimoose
      @Legitimoose  3 года назад

      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!

    • @markpereira757
      @markpereira757 3 года назад

      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

  • @benjaminadams9607
    @benjaminadams9607 3 года назад +4

    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! 👏

    • @Legitimoose
      @Legitimoose  3 года назад +1

      Ayy, good to hear it! Datapacks are so much fun lol

  • @Hardly_working.
    @Hardly_working. 3 года назад +2

    Is there a way to tag an item?

  • @kermitthefrog975
    @kermitthefrog975 3 года назад +3

    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 😃

  • @greenapple4254
    @greenapple4254 3 года назад +3

    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

  • @KingNidhogg
    @KingNidhogg 3 года назад

    thank you for these tutorials

  • @Theonewhoholdmanynames
    @Theonewhoholdmanynames 2 года назад +1

    Can you put tags on items tho

  • @jacob.rausch
    @jacob.rausch 3 года назад +1

    my cheese just got tagged

  • @RosyEos
    @RosyEos Год назад +1

    This just answered all the questions I'd been googling for an hour. Thank you so much!

  • @MP_santos20
    @MP_santos20 7 месяцев назад

    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?

  • @IcyPickleYT
    @IcyPickleYT 3 года назад +1

    /tag legitermoose add "hair guy"

  • @quantumblur_3145
    @quantumblur_3145 Год назад

    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.

  • @Rowa_n
    @Rowa_n 3 года назад +1

    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.

  • @gamefreakersforlivehupkens6802
    @gamefreakersforlivehupkens6802 3 года назад +1

    how do you not have AT LEAST 10k subs

  • @olafpostma2214
    @olafpostma2214 6 месяцев назад

    /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")

  • @DukkyMC
    @DukkyMC 3 года назад

    Don't say 1.17 when it doesn't work in 1.17 :/

  • @sneakattack1330
    @sneakattack1330 3 года назад +1

    This is a weird question but what shaders do you use also I love your content.

    • @Legitimoose
      @Legitimoose  3 года назад +1

      Heyoo, in my last video I used SEUS Renewed I think. My _favorite_ shader though is Simplicissimus (with pixel shadows enable 0.0)

    • @sneakattack1330
      @sneakattack1330 3 года назад +1

      thanks

  • @WarmProtein
    @WarmProtein 3 года назад

    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

  • @unnameduser6472
    @unnameduser6472 3 года назад

    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???

  • @kl0nos
    @kl0nos 3 года назад +1

    Thx man, ur vids are awesome

  • @docelapohudektypekpodleme8065
    @docelapohudektypekpodleme8065 3 года назад

    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

  • @GlowingAviation
    @GlowingAviation 3 года назад

    How to you make it so you can press tab to complete the command

  • @Mebiamiu
    @Mebiamiu 3 года назад

    I really liked the video until it became Visual Studio code... I just wanted to learn commands not C++

  • @gilded_gaming8307
    @gilded_gaming8307 3 года назад +1

    I HAVE BEEN WAITING FOR FOREVER

  • @finjer5018
    @finjer5018 5 месяцев назад

    Love your videos and the armor stand in the beginning XD

  • @vitalx2371
    @vitalx2371 3 года назад

    I rlly wish he had infinite subs :D

  • @Brickkguy
    @Brickkguy 8 месяцев назад

    Can I make a tag minigame with that? If yes, how can I do it?