Minecraft PC IP: play.cubecraft.net
  • We're running an internal migration of all old players' stats to our new highly advanced statistics tracking backend. This means that stat changes will be a bit delayed while we ingest this huge backlog of data. Nothing is being lost, it'll just take a bit longer to show up in the in-game UIs.

Dan9erTheGamer

Well-Known Member
Jan 3, 2016
124
23
93
Canada
d9r.weebly.com
Hi! If you don't know already this is a series on the forums, called Dissecting Commands! Here I will take super long commands and format them so they become understandable.

First, the obligatory full command:
Code:
/give @p diamond_sword 1 0 {display:{Name:God Sword,Lore:["The best of everything.","\"Mr. Random Crits\" is still better though..."]},ench:[{id:16,lvl:5},{id:19,lvl:2},{id:20,lvl:2},{id:21,lvl:3},{id:34,lvl:3},{id:70,lvl:1}]}

This command simply gives this item to the nearest player:
DissectingGive.PNG


Here is the dissected code.
Code:
/give
    @p    // give to closest player
    diamond_sword     // item is Diamond Sword
    1    // one item
    0    // item has full durablity
    { // start of NBT tags
        display:
        {
            Name:God Sword, // coustom item name
            Lore: // item description
            [
                "The best of everything.",
                "\"Mr. Random Crits\" is still better though..."
            ] // end of "Lore:"
        }, // end of "display:"
        ench: // enchantments
        [
            {
                id:16, // Sharpness
                lvl:5  // V
            },
            {
                id:19, // Knockback
                lvl:2  // II
            },
            {
                id:20, // Fire Aspect
                lvl:2  // II
            },
            {
                id:21, // Looting
                lvl:3  // III
            },
            {
                id:34, // Unbreaking
                lvl:3  // III
            },
            {
                id:70, // Mending
                lvl:1  // I
            }
        ] // end of "ench:"
    } // end of NBT tags
// end of command
 
Last edited:

Skylord_Duck

Well-Known Member
Aug 30, 2016
106
11
93
26
Very nice concept! I used to do similar things to understand commands. It was very helpful =)

I really do not know why I stopped! :eek:

Oh. Oops. It appears this thread is a bit older than I thought!
 
Members Online

Team online

Latest posts

Latest profile posts

HOTROD the 6th wrote on Daanfkyy's profile.
Congrats on bedrock helper, hope you succeed!
ItzJuan wrote on Marta's profile.
🫡 Thank you for all the hard work you've done. We'll never forget you.
HelmutRebew wrote on Alexp192's profile.
Thanks for the follow!
This place got turned into a graveyard! I didn't cause this, I witnessed this. I have 4 kills and most of them didn't happen here
1780484708293.png
Top Bottom