Beginner Command Block Tutorial Part 12 - Introduction to Data Tags

preview_player
Показать описание
Do you want to get started making awesome things with Command Blocks - or are you just curious how they work and would like to experiment for yourself? Then this is the video series for you - we'll go through how command blocks work, step by step - from complete novice to mastering all the complexities of commands!

In this episode we learn how to match data tags to detect when a player is holding a certain item.

Commands covered:
/scoreboard players set
/entitydata

You can find more documentation about the scoreboard system on the "Scoreboard" Minecraft wiki page:

The "Chunk format" wiki page contains information about what data tags for different blocks and entities contain.

You do not need any prior knowledge about command blocks to start following this series - but you need to know the very basics of redstone. Each episode will expand on the knowledge acquired in the previous ones.

Leave me a comment, or find me elsewhere:
Рекомендации по теме
Комментарии
Автор

You rock my world view. Before your series, I could barely summon a mob... Now I'm making War hammers that summon lightning :I You deserve the Nobel Peace Prize.

manuelvarela
Автор

Didn't even know you have a command block series! Thanks for making this man! I've been wanting to learn this for so long. I really wanna try to get into mapmaking :D

sangomalsa
Автор

The new way to test for if you are holding a quartz block is and it goes after the @a

ppoiuyt
Автор

I think Air tag is actually how much breath entity has left. Could be used to keep squids alive outside of water.

mykyta_myronenko
Автор

so I was trying to follow some tutorials about how to set a command block to auto-plant saplings when dropped by a dispenser... I spent 2 days working on it and all i got was random errors. I saw this video on how to get entitydata and I realized I was leaving off the 's' in "Damage:0"
fml... but thanks for the video - it was very helpful

skarsnikswarboss
Автор

I tried the exact same command that you used in the video for making holding the quartz to making the scoreboard say 1, but it didn't work. Help me please.

hablo_papøl
Автор

I night be wrong, but I think you can you just 'true' and 'false' in place of '1b' and '0b'.

A bit easier to remember.

GnaspTV
Автор

im in 1.13 and it does not work, any help?

liamstudent
Автор

With this type of command i can eat a stick. I just have to change its data to food!

rgtchampion
Автор

Hi guys
Pls help
I was playing and testing the command block and i was testing the teleport command
And suddenly i did smth wrong
And now i keep teleporting in one place and i can't escape
Pls help

alit
Автор

explain why this does not work,



/execute @e[type=Player, score_SnowArmor_min=4]~ ~ ~ scoreboard players set @p FreezeShot 1 {SelectedItem:{id:"minecraft:snowball", Inventory:[{tag:{display:{Lore:[Freezes everyone hit by the blast]}}}]}}

rosewarrior