1

1.13 NBT

neikrodent •2/24/19 9:14 am
•
385
•
2/25/2019 9:34 am
I arleady asked about testing if somebody has something in his inventory
How can I test the amount? And better: Has somebody a better "tutorial" than this confusing thingy: minecraft-de.gamepedia.com/NBT
Posted by
neikrodent
Level 15 : Journeyman System
3

  Have something to say?

Join • Sign in

5

BoyrexMacaraya
• 02/24/2019 9:48 am
• Level 1 : New Network
I may also do a better NBT tutorial soon. Hope you are patient enough!
1
BoyrexMacaraya
• 02/24/2019 9:36 am
• Level 1 : New Network
history
For now, you may use this NBT template if you want to:
{Inventory:[{id:"minecraft:<item>",Count:1b}]}

Simply replace <item> with the ID of the item you want to detect. Here are some other tips you may want to use to your advantage:
  • You may modify the amount in the Count tag in order to specify a different amount for that item.
  • You may also add a tag tag after that in order to detect specified data for that item as well.
Here are some examples on how the NBT is used:
  • {Inventory:[{id:"minecraft:crafting_table"}]} detects players who have a Crafting Table in their inventory
  • {Inventory:[{id:"minecraft:diamond_sword",tag:{Enchantments:[{id:"minecraft:sharpness"}]}}]} detects players who have a Wooden Sword with at least the Sharpness enchantment
Hope it helps! You may also want to check out my data packs; so if you want to, click here.
1
neikrodent
• 02/24/2019 2:09 pm
• Level 15 : Journeyman System
Did you write that now or copied from your tutorial? Anyways thank you! I would like if you message me when you have written the tutorial!
1
BoyrexMacaraya
• 02/24/2019 8:13 pm
• Level 1 : New Network
You are welcome! The tutorial I will be writing should hopefully clear the confusion you are having right now. It may take a while, so please be patient once again!
1
neikrodent
• 02/25/2019 9:34 am
• Level 15 : Journeyman System
:)
1

Welcome