Minecraft Data Command [1.19] Tutorial

  Рет қаралды 166,576

Legitimoose

Legitimoose

Күн бұрын

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 ]

Пікірлер
@Legitimoose
@Legitimoose 2 жыл бұрын
mbt data
@heavenlymessiah8692
@heavenlymessiah8692 2 жыл бұрын
moose binary tag
@wbrim
@wbrim 2 жыл бұрын
legitimoose officially stupit :P
@brixfrancisco4707
@brixfrancisco4707 2 жыл бұрын
how to change the nbt tag on the item when holding the item?
@heavenlymessiah8692
@heavenlymessiah8692 2 жыл бұрын
@@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
@heavenlymessiah8692
@heavenlymessiah8692 2 жыл бұрын
@@Waradu you can’t use /data but you can use item modifiers
@xhomiegreninjax137
@xhomiegreninjax137 2 жыл бұрын
Finally, a /Data tutorial that doesn't feel like a literal math lesson. This is why I subscribed 👍
@ultimategames78
@ultimategames78 2 жыл бұрын
I completely agree with this comment.
@nukalex2164
@nukalex2164 2 жыл бұрын
Exactly! His tutorials are always so illuminating compared to most of the other ones on youtube
@pianto8151
@pianto8151 2 жыл бұрын
He's the best for tuts on minecraft commands
@ogayu3469
@ogayu3469 2 жыл бұрын
Yes
@EpicTaarna
@EpicTaarna 2 жыл бұрын
I couldn't agree more! I like how he gives it personality too, instead of going through like a college professor.
@ramok1303
@ramok1303 Жыл бұрын
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
@luc1xn
@luc1xn 5 ай бұрын
no, the super furnace is /data modify block (furnace coords) CookTime set value 199 in a repeating cb or tick function
@enthusiasticbanana6232
@enthusiasticbanana6232 2 жыл бұрын
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.
@osjos2822
@osjos2822 2 жыл бұрын
As someone who was into commands in 2014-2017 but came back after everything changed these tutorials are super helpful
@freeby2312
@freeby2312 2 жыл бұрын
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
@firegodjr8331
@firegodjr8331 2 жыл бұрын
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!
@CodeCreature
@CodeCreature 2 жыл бұрын
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.
@Nick12_45
@Nick12_45 Жыл бұрын
4:56 that cut off "subscribe" lmao
@bco-fm5qu
@bco-fm5qu 2 жыл бұрын
I was always looking for a good /data tutorial. Thanks.
@tootietooter5984
@tootietooter5984 Жыл бұрын
I'm working on a datapack but wasn't quite sure how to make newly spawned mobs effected. Great video! Very concise.
@kurbeisalt4893
@kurbeisalt4893 2 жыл бұрын
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.
@xernas7880
@xernas7880 2 жыл бұрын
Oh , FINALLY A VIDEO ! Please upload more often, your vidéos are incredible
@Log1eI3ear
@Log1eI3ear 2 жыл бұрын
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
@inabyt
@inabyt 2 жыл бұрын
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.
@ygrndy6655
@ygrndy6655 2 жыл бұрын
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.
@Brob3r
@Brob3r 2 жыл бұрын
Pleeeease upload more often!! I love your videos! U r sooooo underrated!
@SkyeB7
@SkyeB7 2 жыл бұрын
wat this bro said
@shinyhero306
@shinyhero306 Жыл бұрын
English is a difficult language
@Saturn_57
@Saturn_57 2 жыл бұрын
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
@heavenlymessiah8692
@heavenlymessiah8692 2 жыл бұрын
other commands for that: /kill (obviously) /tp @e[type=enderdragon] ~ ~-1000000 ~ and theres more that i probably forgot
@Saturn_57
@Saturn_57 2 жыл бұрын
@@heavenlymessiah8692 ender dragons dont die to void but, ye ur right
@heavenlymessiah8692
@heavenlymessiah8692 2 жыл бұрын
@@Saturn_57 but it disappears doesnt it?
@Saturn_57
@Saturn_57 2 жыл бұрын
@@heavenlymessiah8692 idk if its very far away i think yes
@giorgostheodorou8487
@giorgostheodorou8487 2 жыл бұрын
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
@Legitimoose
@Legitimoose 2 жыл бұрын
glad i can help! :D
@Florian1509_
@Florian1509_ 8 ай бұрын
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.
@isdumbkhanh3673
@isdumbkhanh3673 2 жыл бұрын
Omg you're back!! I opened KZbin and suddenly click on your vids XD Nice vids as always!
@Brute-the-Brutality
@Brute-the-Brutality Жыл бұрын
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!!!
@cameronm1231
@cameronm1231 2 жыл бұрын
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!!!
@ΧΡΗΣΤΟΣΤΟΥΜΑΝΙΔΗΣ-φ8μ
@ΧΡΗΣΤΟΣΤΟΥΜΑΝΙΔΗΣ-φ8μ 2 жыл бұрын
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
@veltinius
@veltinius 8 ай бұрын
I was looking for what you said at about 6:09 haha
@TheEnderCore
@TheEnderCore 2 жыл бұрын
Where was this 8 months ago when I was doing datapack. Anyhow thanks for making this more clear :))))).
@magix4630
@magix4630 2 жыл бұрын
I was literally looking for this EXACT video, yesterday... ThanQ
@Squilly4
@Squilly4 2 жыл бұрын
this was such an unexpectedly entertaining video considering the subject of it. what an amazing tutorial dude!
@Ogmoe
@Ogmoe 2 жыл бұрын
The only reason why i somewhat know how command blocks work.
@dndkeg
@dndkeg Жыл бұрын
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...
@Broken-V
@Broken-V 5 ай бұрын
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.
@command49.1game6
@command49.1game6 2 жыл бұрын
This will come in HANDY in the future!
@John-hv9hz
@John-hv9hz 2 ай бұрын
This man has personally fueled all the commands at at least a thousand minecraft maps
@nerdamethyst
@nerdamethyst 2 жыл бұрын
I really like the humor in these tutorials. It makes learning commands fun
@RobertHDPotatoes
@RobertHDPotatoes Жыл бұрын
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.
@mdj5782
@mdj5782 2 жыл бұрын
Very legit tutorial moose thanks
@heavenlymessiah8692
@heavenlymessiah8692 2 жыл бұрын
HOW COINCIDENTAL, i was trying to solve a problem with the data command and look what i've found, thank you legitimoose!
@fry_fr
@fry_fr 2 жыл бұрын
even though i already know how to use /data i’m gonna watch this anyway
@boon8950
@boon8950 2 жыл бұрын
The limits are limiteless
@Nick12_45
@Nick12_45 Жыл бұрын
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
@Zacharias_
@Zacharias_ 2 жыл бұрын
Thanks man. Were looking for a tutorial for the "/data" command. Could you maybe make a tutorial covering the nbt option?
@Coco-vz6eb
@Coco-vz6eb 2 жыл бұрын
if you need a more in depth explanation, I'm pretty sure cloudwolf Made a video on this
@Zacharias_
@Zacharias_ 2 жыл бұрын
@@Coco-vz6eb oh. Okay, gonna check that out. Ty so much
@MacroAggressor
@MacroAggressor Жыл бұрын
Great videos, but please for the love of God invert your playlist order so they play in chronological order xD Thanks for the guides.
@brutexx2
@brutexx2 2 жыл бұрын
You are just the best at command’s tutorials, man. Very good stuff.
@tinobiushecht-4205
@tinobiushecht-4205 2 жыл бұрын
Out of any command block tutorials, these ones are definitely the best ones
@alvahisok
@alvahisok 2 жыл бұрын
I am learning /data these days and this video is really helpful!!
@lexmolasko
@lexmolasko Жыл бұрын
Can you show how to copy a player's inventory into a chest?
@wdns
@wdns 2 жыл бұрын
after 1 million years you're back now dont dip for another 5 months
@skrumb
@skrumb 2 жыл бұрын
I've been waiting for this video my entire life
@phairz1168
@phairz1168 2 жыл бұрын
i love you so much please post more frequently i love the humor and the education combination
@CharlieLiu-b3l
@CharlieLiu-b3l 2 ай бұрын
Dude you are soooo good at commands!
@BlackFenix-jz5rs
@BlackFenix-jz5rs Жыл бұрын
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
@AcornGR
@AcornGR 2 жыл бұрын
i would really love a comprehensive minecraft plugin tutorial from you. you make everything super easy to learn
@Serioustar
@Serioustar 2 жыл бұрын
When the NBT is spelled with an M 0:20 (thank you for the tutorial btw)
@Legitimoose
@Legitimoose 2 жыл бұрын
hehe whoops (you're welcome btw
@susii3398
@susii3398 2 жыл бұрын
Used this to make a no gravity mod, friends had a lot of fun, thank you.
@MCB4K
@MCB4K 2 жыл бұрын
:0 you uploaded??? jk i really like your videos and it inspired me to make my own videos and your like my role modle
@akhen0950
@akhen0950 Жыл бұрын
how is this channel only have 80k subs and have suprb quality, helpful, entertaining vids
@GKforce12
@GKforce12 2 жыл бұрын
NBT can also stand for "Non Binary Tag"
@GKforce12
@GKforce12 2 жыл бұрын
Fun Fact!
@Kruize
@Kruize 4 ай бұрын
Awesome! Now I can reset Trial Vaults with "/data remove block server_data.rewarded_players"
@mindthemoods
@mindthemoods 2 жыл бұрын
Loving the Tazmilly music in the background
@corbin_fishing
@corbin_fishing 2 жыл бұрын
I’m pretty experienced with nbt data but I still have no idea how modify works lol
@bananatheo3796
@bananatheo3796 2 жыл бұрын
whenever I use modify I always end up with "expected object, got:(whatever I tried to use that didn't work)"
@cubic42_
@cubic42_ 2 жыл бұрын
gotta love the mother 3 soundtrack in the background
@lexyevil9330
@lexyevil9330 2 жыл бұрын
that mario 3d world music was so calming ^_^
@armindorenato69
@armindorenato69 Жыл бұрын
I just watch this to not forget everything I learned from you 👍
@Salatifi99
@Salatifi99 2 жыл бұрын
Minecraft commands can be extremely confusing this helped alot
@jacobh1251
@jacobh1251 Жыл бұрын
10/10 as commanded I shall su
@priyanshharjpal
@priyanshharjpal 2 жыл бұрын
Finally a video after months
@cones914
@cones914 Жыл бұрын
This was very helpful, thank you!
@EnderKSRAnimates
@EnderKSRAnimates 2 жыл бұрын
**the limit is limitless** made me laugh! Great content bro! you'r the best!
@emma_stuart
@emma_stuart Жыл бұрын
This is the best tutorial I have ever watched.
@evank3718
@evank3718 2 жыл бұрын
It’s possible to copy an inventory into test but can you do vice versa
@Jerotero
@Jerotero Жыл бұрын
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
@xViaOnYoutube
@xViaOnYoutube Жыл бұрын
I found a mod that lets me modify player nbt. *INFINITE POWER*
@gandalfthemagenta7364
@gandalfthemagenta7364 Жыл бұрын
where? do you also know how to get nbt data form a block that is not a block entity?
@TheeFlashbackMan
@TheeFlashbackMan 2 жыл бұрын
the return of the king
@dksider9875
@dksider9875 2 жыл бұрын
i love your vids, this is what i did CS a-level for
@ella8324
@ella8324 2 жыл бұрын
Omg finally. I cant rear for shit, so videos explain a lot more :)
@SoftPankekULTRA
@SoftPankekULTRA 4 ай бұрын
FINALLY you can make a pig as strong as the warden lol
@EmdyMC
@EmdyMC 2 жыл бұрын
The legend graces us with another gift
@Kwinntar
@Kwinntar 2 жыл бұрын
YO THE MUSIC I LOVE IT.
@BarbaraAzeroth-uj1kp
@BarbaraAzeroth-uj1kp 8 ай бұрын
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?)
@ErreGamer
@ErreGamer 2 жыл бұрын
Tutorial of player respawn with specifics items in the inventory after death! pls >,
@Garfield_Minecraft
@Garfield_Minecraft Жыл бұрын
You killed the pig
@neevasken6054
@neevasken6054 2 жыл бұрын
Please do a data storage array tutorial
@daringhaarek
@daringhaarek Жыл бұрын
are you ever gonna make a custom world gen tutorial or custom structure
@mikestorm1598
@mikestorm1598 Жыл бұрын
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.
@s00sy23
@s00sy23 2 жыл бұрын
this guy , just toooo gud content
@Sl1mb
@Sl1mb 2 жыл бұрын
After learning something new... yeah I'm hungry too
@SargeCharge
@SargeCharge 2 жыл бұрын
So if NBT stands for "named binary tag", and people often say "NBT tag," does that mean they're really "named binary tag tags"?!?;
@Melman_301
@Melman_301 2 жыл бұрын
how to make a space in datapack? for example, enter the command /summon sheep and wait 2 s then there is another command pls answer
@Legitimoose
@Legitimoose 2 жыл бұрын
Use the /schedule command!
@Melman_301
@Melman_301 2 жыл бұрын
thx
@ΧΡΗΣΤΟΣΤΟΥΜΑΝΙΔΗΣ-φ8μ
@ΧΡΗΣΤΟΣΤΟΥΜΑΝΙΔΗΣ-φ8μ 2 жыл бұрын
Items in chest: /data modify block ~x ~y ~z Items set from entity [player name/properties] Inventory Fast furnace: /data modify block ~x ~y ~z CookTimeTotal set value [number] @Legitimoose I did it :)
@raeconner3405
@raeconner3405 2 жыл бұрын
THANK YOU SO MUCH I NEEDED THIS
@Pigiii
@Pigiii 2 жыл бұрын
Question: can i make a pigchest. When i click or hit the pig it opens a chest inventory. Like the pig is a chest?
@bananasplitd006a5
@bananasplitd006a5 4 ай бұрын
i would tp an armour stand to the pig, which detects when you click it, but i dont know about the chest part
@Pigiii
@Pigiii 4 ай бұрын
@@bananasplitd006a5 hey! Thanks. It was two years ago, and I kept thinking about how to do it, and the only answer I found was programming a plugin. But never did it at the end.
@bananasplitd006a5
@bananasplitd006a5 4 ай бұрын
@Pigiii I thought about it more and if you play recent versions, it's better to tp an interaction entity.
@bananasplitd006a5
@bananasplitd006a5 4 ай бұрын
I'm currently trying to learn more about commands, so if I figure out the chest part, I'll come back to your comment 😊
@Pigiii
@Pigiii 4 ай бұрын
@@bananasplitd006a5 Thanks a lot! That would be amazing ;)
@KingNidhogg
@KingNidhogg 2 жыл бұрын
whats the background track? i swear i recognize this from a game or something
@Legitimoose
@Legitimoose 2 жыл бұрын
At the beginning? Good ol' Gerudo Valley from one of them zelda games ;)
@KingNidhogg
@KingNidhogg 2 жыл бұрын
@@Legitimoose dank bro
@miguelgoldberg
@miguelgoldberg 2 жыл бұрын
You can /data get a block or entity just by pressing f3+i
@miguelgoldberg
@miguelgoldberg 7 ай бұрын
in creative
@justkriss154
@justkriss154 Жыл бұрын
i gor op thenks to this.
@georgekravec
@georgekravec 7 ай бұрын
How
@Athivale
@Athivale 2 жыл бұрын
underrated
@rsoara.roseorsmth
@rsoara.roseorsmth 5 ай бұрын
ok, i get this video is a tad old, but does anyone know if you can untame wolves with this command?
@inkompetent08
@inkompetent08 2 жыл бұрын
Nice video
@flyh1ghgd182
@flyh1ghgd182 2 жыл бұрын
Omg omg omg omg yes yes yes yes yes you finally did this tutorial
@wallnutwastaken
@wallnutwastaken 2 жыл бұрын
finally new tutorial!
@Rissoe_Really
@Rissoe_Really Жыл бұрын
i have been suffering trying to get a shop system to work (like slot 1 has an item, right click a carrot stick, it gets duped to slot 2) and just gave up and began working on the next thing, then i find this.
@aarnavrawat2357
@aarnavrawat2357 2 жыл бұрын
Legitimoose IS NOT DED!...okay everyone stay calm its happening
How Speedrunners BROKE Slime Blocks
13:57
Legitimoose
Рет қаралды 449 М.
Noodles Eating Challenge, So Magical! So Much Fun#Funnyfamily #Partygames #Funny
00:33
Twin Telepathy Challenge!
00:23
Stokes Twins
Рет қаралды 132 МЛН
Yay😃 Let's make a Cute Handbag for me 👜 #diycrafts #shorts
00:33
LearnToon - Learn & Play
Рет қаралды 117 МЛН
Minecraft's Forgotten Mechanics
25:28
Legitimoose
Рет қаралды 42 М.
Minecraft has WEIRD Secret Cheats...
10:30
mysticat
Рет қаралды 1,7 МЛН
61 Minecraft Hacks to Make Your Friends Jealous
29:36
Skip the Tutorial
Рет қаралды 2,1 МЛН
Was Pandoras Vault Really Made in Survival?
8:21
Kenadian The Cat
Рет қаралды 16 М.
I Build Your DUMB Redstone Ideas #6
11:50
Purplers
Рет қаралды 649 М.
How to use the EXECUTE Command in Minecraft! || 1.20+
9:37
Can you make 2 Million Cookies in 100 Minecraft Days?
15:56
Player made Command Block Creations are Next Level...
11:39
TheDerpyWhale
Рет қаралды 625 М.
Minecraft Team Command [1.19] Tutorial
11:39
Legitimoose
Рет қаралды 322 М.
Can YOU Guess what's wrong with these Minecraft Images?
25:47
Havenhand
Рет қаралды 549 М.