1. The forums will be archived and moved to a read only mode in about 2 weeks (mid march).

some json tag in "give command" doesn't work

Discussion in 'Help' started by DDade, Jan 22, 2019.

  1. DDade

    DDade Creeper

    Messages:
    1
    GitHub:
    DDade
    Sorry for not being good at English. (Google Translate)
    I looked at that article and tried to execute the commands about the chest, but it didn't work.
    https://forums.pmmp.io/threads/item-nbt-tag-in-give-command.326/

    Commands of the Error
    Code:
    /give sho chest 1 {display:{Name:"§lLocked Chest"},BlockEntityTag:{Lock:"My Secret Key",Items:[{id:264,Count:64,Slot:0}]}}
    
    Code:
    /give sho chest 1 {display:{Name:"§rSuspicious Chest"},BlockEntityTag:{Items:[{id:7,Count:64,Slot:0,display:{Name:"FEEL THE POWER!"}}]}}
    Code:
    /give sho chest 1 {display:{Name:"§rHeavy Chest"},BlockEntityTag:{Items:[{id:54,Count:1,Slot:0,tag:{BlockEntityTag:{Items:[{id:54,Count:1,Slot:0,tag:{BlockEntityTag:{Items:[{id:54,Count:1,Slot:0,tag:{BlockEntityTag:{Items:[{id:54,Count:1,Slot:0,tag:{BlockEntityTag:{Items:[{id:54,Count:1,Slot:0,tag:{BlockEntityTag:{Items:[{id:54,Count:1,Slot:0,tag:{BlockEntityTag:{Items:[{id:54,Count:1,Slot:0,tag:{BlockEntityTag:{Items:[{id:54,Count:1,Slot:0,tag:{BlockEntityTag:{Items:[{id:54,Count:1,Slot:0,tag:{BlockEntityTag:{Items:[{id:54,Count:1,Slot:0,tag:{BlockEntityTag:{Items:[{id:54,Count:1,Slot:0,tag:{BlockEntityTag:{Items:[{id:54,Count:1,Slot:0,tag:{BlockEntityTag:{Items:[{id:54,Count:1,Slot:0,tag:{BlockEntityTag:{Items:[{id:54,Count:1,Slot:0,tag:{BlockEntityTag:{Items:[{id:54,Count:1,Slot:0,tag:{BlockEntityTag:{Items:[{id:54,Count:1,Slot:0,tag:{BlockEntityTag:{Items:[{id:54,Count:1,Slot:0,tag:{BlockEntityTag:{Items:[{id:54,Count:1,Slot:0,tag:{BlockEntityTag:{Items:[{id:54,Count:1,Slot:0,tag:{BlockEntityTag:{Items:[{id:54,Count:1,Slot:0,tag:{BlockEntityTag:{Items:[{id:54,Count:1,Slot:0,tag:{BlockEntityTag:{Items:[{id:54,Count:1,Slot:0,tag:{BlockEntityTag:{Items:[{id:54,Count:1,Slot:0,tag:{BlockEntityTag:{Items:[{id:54,Count:1,Slot:0,tag:{BlockEntityTag:{Items:[{id:54,Count:1,Slot:0,tag:{BlockEntityTag:{Items:[{id:54,Count:1,Slot:0,tag:{BlockEntityTag:{Items:[{id:54,Count:1,Slot:0,tag:{BlockEntityTag:{Items:[{id:54,Count:1,Slot:0,tag:{BlockEntityTag:{Items:[{id:54,Count:1,Slot:0,tag:{BlockEntityTag:{Items:[{id:54,Count:1,Slot:0,tag:{BlockEntityTag:{Items:[{id:54,Count:1,Slot:0,tag:{BlockEntityTag:{Items:[{id:54,Count:1,Slot:0,tag:{BlockEntityTag:{Items:[{id:54,Count:1,Slot:0,tag:{BlockEntityTag:{Items:[{id:54,Count:1,Slot:0,tag:{BlockEntityTag:{Items:[{id:54,Count:1,Slot:0,tag:{BlockEntityTag:{Items:[{id:54,Count:1,Slot:0,tag:{BlockEntityTag:{Items:[{id:54,Count:1,Slot:0,tag:{BlockEntityTag:{Items:[{id:54,Count:1,Slot:0,tag:{BlockEntityTag:{Items:[{id:54,Count:1,Slot:0,tag:{BlockEntityTag:{Items:[{id:54,Count:1,Slot:0,tag:{BlockEntityTag:{Items:[{id:54,Count:1,Slot:0,tag:{BlockEntityTag:{Items:[{id:54,Count:1,Slot:0,tag:{BlockEntityTag:{Items:[{id:54,Count:1,Slot:0,tag:{BlockEntityTag:{Items:[{id:54,Count:1,Slot:0,tag:{BlockEntityTag:{Items:[{id:54,Count:1,Slot:0,tag:{BlockEntityTag:{Items:[{id:54,Count:1,Slot:0,tag:{BlockEntityTag:{Items:[{id:54,Count:1,Slot:0,tag:{BlockEntityTag:{Items:[{id:54,Count:1,Slot:0,tag:{BlockEntityTag:{Items:[{id:54,Count:1,Slot:0,tag:{BlockEntityTag:{Items:[{id:54,Count:1,Slot:0,tag:{BlockEntityTag:{Items:[{id:54,Count:1,Slot:0,tag:{BlockEntityTag:{Items:[{id:54,Count:1,Slot:0,tag:{BlockEntityTag:{Items:[{id:54,Count:1,Slot:0,tag:{BlockEntityTag:{Items:[{id:54,Count:1,Slot:0,tag:{BlockEntityTag:{Items:[{id:54,Count:1,Slot:0,tag:{BlockEntityTag:{Items:[{id:54,Count:1,Slot:0,tag:{BlockEntityTag:{Items:[{id:54,Count:1,Slot:0,tag:{BlockEntityTag:{Items:[{id:54,Count:1,Slot:0,tag:{BlockEntityTag:{Items:[{id:54,Count:1,Slot:0,tag:{BlockEntityTag:{Items:[{id:54,Count:1,Slot:0,tag:{BlockEntityTag:{Items:[{id:54,Count:1,Slot:0,tag:{BlockEntityTag:{Items:[{id:54,Count:1,Slot:0,tag:{BlockEntityTag:{Items:[{id:54,Count:1,Slot:0,tag:{BlockEntityTag:{Items:[{id:54,Count:1,Slot:0,tag:{BlockEntityTag:{Items:[{id:54,Count:1,Slot:0,tag:{BlockEntityTag:{Items:[{id:54,Count:1,Slot:0,tag:{BlockEntityTag:{Items:[{id:54,Count:1,Slot:0,tag:{BlockEntityTag:{Items:[{id:54,Count:1,Slot:0,tag:{BlockEntityTag:{Items:[{id:54,Count:1,Slot:0,tag:{BlockEntityTag:{Items:[{id:54,Count:1,Slot:0,tag:{BlockEntityTag:{Items:[{id:54,Count:1,Slot:0,tag:{BlockEntityTag:{Items:[{id:7,Count:1,Slot:0,tag:{display:{Name:"I can only be placed on bedrock"},CanPlaceOn:["bedrock"]}}]}}}]}}}]}}}]}}}]}}}]}}}]}}}]}}}]}}}]}}}]}}}]}}}]}}}]}}}]}}}]}}}]}}}]}}}]}}}]}}}]}}}]}}}]}}}]}}}]}}}]}}}]}}}]}}}]}}}]}}}]}}}]}}}]}}}]}}}]}}}]}}}]}}}]}}}]}}}]}}}]}}}]}}}]}}}]}}}]}}}]}}}]}}}]}}}]}}}]}}}]}}}]}}}]}}}]}}}]}}}]}}}]}}}]}}}]}}}]}}}]}}}]}}}]}}}]}}}]}}}]}}}]}}}]}}}]}}}]}}}]}}}]}}
    The errors were all the same.
    [Server thread/CRITICAL]: RuntimeException: "Expected a tag of type pocketmine\nbt\tag\ByteTag, got pocketmine\nbt\tag\IntTag" (EXCEPTION) in "vendor/pocketmine/nbt/src/tag/CompoundTag" at line 99

    And the ones below were error free, but they didn't work. (Item has been given but does tag not apply.)
    Code:
    /give sho diamond_shovel 1 {CanDestroy:["grass"]}
    Code:
    /give sho wool:6 64 {CanPlaceOn:["dirt"]}
     
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.