Minecraft Data Command [1.19] Tutorial
Вставка
- Опубліковано 10 лют 2025
- In this tutorial, learn the /data command and all it's many subcommands. The data command is used to modify NBT data in a block, entity, or storage. This tutorial is working as of 1.19 (Java edition), and works in all versions after 1.13 when /blockdata and /entitydata were merged into /data.
Commands:
/data merge entity @e[type=pig,limit=1,sort=nearest] {Motion:[0d,1d,0d],Invulnerable:1}
/data modify entity @e[type=pig,limit=1] Health set from entity @s foodLevel
=== l o n k s ===
Discord Server [ / discord ]
Twitter [ / legitimoose ]
Twitch [ / legitimoose ]
Edited by [ my girlfriend ]
mbt data
moose binary tag
legitimoose officially stupit :P
how to change the nbt tag on the item when holding the item?
@@brixfrancisco4707 just make a datapack, then use /execute to check if the player is holding the item, then after the check in the /execute command, make it run a function to do an nbt change to the tag
@@Waradu you can’t use /data but you can use item modifiers
Finally, a /Data tutorial that doesn't feel like a literal math lesson. This is why I subscribed 👍
I completely agree with this comment.
Exactly! His tutorials are always so illuminating compared to most of the other ones on youtube
He's the best for tuts on minecraft commands
Yes
I couldn't agree more! I like how he gives it personality too, instead of going through like a college professor.
I already knew how to use the /data command and this video was still a delight to watch. A true testament to the sheer quality of your videos.
I did the homework:
super furnace: /data modify block ~ ~ ~-2 CookTimeTotal set value 1 (in repeating CB)
copying inventory: /data modify block ~ ~ ~2 Items set from entity @p Inventory
no, the super furnace is /data modify block (furnace coords) CookTime set value 199 in a repeating cb or tick function
As someone who was into commands in 2014-2017 but came back after everything changed these tutorials are super helpful
Every tutorial isn't perfect, but this, this is a masterpiece made by a moose, very legit I know
Can't spell so I edited
You explain things so well! This is an absurdly understandable video for such a technical concept. I love that you don't skip anything, like some other youtubers do, because they expect the audience to be bored. Subbed!
I'm working on a datapack but wasn't quite sure how to make newly spawned mobs effected. Great video! Very concise.
I was always looking for a good /data tutorial. Thanks.
Great video! I've learned most of what I know about command blocks from you!
You might actually need to do a part 2 just go over blocks and storage more in depth. Those are some more complicated actions that I think a lot of people could get some use out of when they get further into datapacks.
Thank you for another absolute banger Legitimoose. You continue to provide high quality tutorials that are also fun for the viewer to experience. It’s very clear how much effort goes into these.
I am not going to lie to you, you are the only youtuber who I rave over when you upload. Please release more of these tutorials more often, like the replaceitem command. PLLLLLLLSSSSSS
4:56 that cut off "subscribe" lmao
This helps a lot, A while ago I was trying to copy banner patterns from other banners and now I see why the command wasn't working. Thank you so much.
Finally an honest and direct-to-the-point tutorial unlike others who just tells their knowledge of commands and make it complicated. Thanks man I really appreciate this. More views guys come on!!!
Oh , FINALLY A VIDEO ! Please upload more often, your vidéos are incredible
I literally needed this last week XD. Though I can still pick up good tips and trix. I was watching your execute store walkthrough and you just breezed over how to get your player cords and I was like But how!!!? But I got it after some time.
Pleeeease upload more often!! I love your videos! U r sooooo underrated!
wat this bro said
English is a difficult language
I was looking for what you said at about 6:09 haha
I just found this video trying to learn a /setblock command that makes a piston face up. But still… FINALLY!!! A /data video that actually MAKES SENCE!!!
EVERY TIME i need something and i struggle on it a few weeks ... THERE IT IS somehow you magically post it. Dude if it wasnt for you my project would be in rubles :P
glad i can help! :D
Where was this 8 months ago when I was doing datapack. Anyhow thanks for making this more clear :))))).
This was a very useful tutorial and explained the difference between the two commands. Now I gotta figure out how to modify an existing villager's specific trades with the modify command...
I really like the humor in these tutorials. It makes learning commands fun
Omg you're back!! I opened UA-cam and suddenly click on your vids XD
Nice vids as always!
its quite funny. i watched your videos about this when 1.19 and the data and execute command came out. now a few years later i made it into my dreamjob apprenticeship as software developer. kinda helps that i leared data types at some point aswell haha.
Out of any command block tutorials, these ones are definitely the best ones
yes a new tutorial, I am a big fan of you and you have learned me all I know about minecraft commands. I really like your work
The only reason why i somewhat know how command blocks work.
this was such an unexpectedly entertaining video considering the subject of it. what an amazing tutorial dude!
This man has personally fueled all the commands at at least a thousand minecraft maps
I was literally looking for this EXACT video, yesterday... ThanQ
Everyone:kills the ender dragon with sword and bow
Speedrunners: kills the ender dragon with beds
Legitimoose: kills the enderdragon with /data modify entity @e[type=ender_dragon,limit=1,sort=nearest] health set value 0
other commands for that: /kill (obviously) /tp @e[type=enderdragon] ~ ~-1000000 ~ and theres more that i probably forgot
@@heavenlymessiah8692 ender dragons dont die to void but, ye ur right
@@Saturn_57 but it disappears doesnt it?
@@heavenlymessiah8692 idk if its very far away i think yes
even though i already know how to use /data i’m gonna watch this anyway
I've been waiting for this video my entire life
HOW COINCIDENTAL, i was trying to solve a problem with the data command and look what i've found, thank you legitimoose!
Very legit tutorial moose thanks
I am learning /data these days and this video is really helpful!!
Great videos, but please for the love of God invert your playlist order so they play in chronological order xD Thanks for the guides.
i would really love a comprehensive minecraft plugin tutorial from you. you make everything super easy to learn
This is the best tutorial I have ever watched.
You are just the best at command’s tutorials, man. Very good stuff.
Used this to make a no gravity mod, friends had a lot of fun, thank you.
Great tutorial. Not sure if anyone else will see this comment, but just in case I could possibly save someone some sanity I will be mentioning that you currently cannot merge/modifiy NBT data relating to Passengers, although this might be changing in 1.20. In 1.19.4 and versions below, it is not possible to change the passengers as it is something that the game has basically decided upon the entity spawning in the world.
after 1 million years you're back now dont dip for another 5 months
i love you so much please post more frequently i love the humor and the education combination
This will come in HANDY in the future!
Loving the Tazmilly music in the background
that mario 3d world music was so calming ^_^
Omg finally. I cant rear for shit, so videos explain a lot more :)
gotta love the mother 3 soundtrack in the background
Finally a video after months
Thanks man. Were looking for a tutorial for the "/data" command. Could you maybe make a tutorial covering the nbt option?
if you need a more in depth explanation, I'm pretty sure cloudwolf Made a video on this
@@Coco-vz6eb oh. Okay, gonna check that out. Ty so much
how is this channel only have 80k subs and have suprb quality, helpful, entertaining vids
Awesome! Now I can reset Trial Vaults with "/data remove block server_data.rewarded_players"
Fast furnace:
/data merge block ~ ~ ~ {"CookTimeTotal":20s}
it only seems to be working when the furnace is *constantly* getting that command applied to it, eg have to use a repeating command block or your tick data pack function
still not sure how to do the inventory clone though
Dude you are soooo good at commands!
I just watch this to not forget everything I learned from you 👍
for some reason i understood how to use the command by myself the first time that i used the /data... Idk how, but i did it
10/10 as commanded I shall su
Can you believe it, a use for /data modify merge, had to give an item tag to a players item when shift rightclicking with a book in your offhand.
Omg omg omg omg yes yes yes yes yes you finally did this tutorial
:0 you uploaded???
jk i really like your videos and it inspired me to make my own videos and your like my role modle
When the NBT is spelled with an M 0:20
(thank you for the tutorial btw)
hehe whoops
(you're welcome btw
Minecraft commands can be extremely confusing this helped alot
Can you show how to copy a player's inventory into a chest?
the return of the king
**the limit is limitless** made me laugh! Great content bro! you'r the best!
This was very helpful, thank you!
FINALLY you can make a pig as strong as the warden lol
YO THE MUSIC I LOVE IT.
i gor op thenks to this.
How
After learning something new... yeah I'm hungry too
i love your vids, this is what i did CS a-level for
let's go legitimoose is backk :D
The legend graces us with another gift
7:18 thanks I came for this ❤❤
this guy , just toooo gud content
Nice video
The OG is back!
finally new tutorial!
4:44 I remember I had an idea of what if two players heath and hunger were synced annoying I couldn't find anything online about it for some reason
Legitimoose, love your vids
Usefull 👍👍
Hi! Love your video! Is there any way to reset the pig data to what it had in the beginning? (reset te health to the standard or something?)
Thank you Legitimoose!!
finally you uploaded something
thanks, i'm now learn data
I’m pretty experienced with nbt data but I still have no idea how modify works lol
whenever I use modify I always end up with "expected object, got:(whatever I tried to use that didn't work)"
Finally, new video
It’s possible to copy an inventory into test but can you do vice versa
underrated
legitimoose yessss new vid
yo this guy mad funny
are you ever gonna make a custom world gen tutorial or custom structure
omg i've needed this xd
NBT can also stand for "Non Binary Tag"
Fun Fact!
ur tutorial is sooo helpfull
HIM BACK!!!
Can you make a video about making mob spawn naturally? I wanna make blaze spawn in the lava but every videos I've watched is replacing other mob that exist.