Solved Give commandblock

  • Welcome to skUnity!

    Welcome to skUnity! This is a forum where members of the Skript community can communicate and interact. Skript Resource Creators can post their Resources for all to see and use.

    If you haven't done so already, feel free to join our official Discord server to expand your level of interaction with the comminuty!

    Now, what are you waiting for? Join the community now!

  • LOOKING FOR A VERSION OF SKRIPT?

    You can always check out skUnity Downloads for downloads and any other information about Skript!

Status
Not open for further replies.

Ardno

Member
Mar 11, 2019
38
0
0
24
Hello,
I don't know how to give commandblock with command.

I use :
Code:
command /vajicka:
    trigger:
        add 1 egg named "&eVyfouklé &d&lVajíčko" with lore "&dV&ce&al&ei&3k&9o&en&ao&cc&de &22019" to player's inventory
        add 1 commandblock with ntb "Command:"/summon minecraft:villager ~ ~ ~ {Silent:1b,Profession:0,Career:1,CareerLevel:4,Offers:{Recipes:[{buy:{id:"egg",Count:1b,tag:{display:{Name:"§d§lVajíčko",Lore:["§dV§ce§al§ei§3k§9o§en§ao§cc§de §22019"]}}},sell:{id:"egg",Count:1b,tag:{display:{Name:"§eVyfouklé §d§lVajíčko",Lore:["kks"]}},maxUses:999999999,rewardExp:0b}}]}}""
,but minecraft report mistake.

I using skript version 1.13 and some addons.
 
Ehmm, but minecraft report mistake:
Code:
1 command block with nbt "{Blash:""test""}" can't be added to an inventory because the former is neither an item type or an inventory
with enrolment:
Code:
command /vajicka:
    trigger:
        add 1 egg named "&eVyfouklé &d&lVajíčko" with lore "&dV&ce&al&ei&3k&9o&en&ao&cc&de &22019" to player's inventory
        give 1 command block with nbt "{Blah:""test""}" to player's inventory
 
Status
Not open for further replies.