Level 1
New Network
30

Forum Posts

1 - 3 of 3

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

1 - 3 of 3

Welcome