This command doesn't work, weirdly.

Unbalanced brackets. But my brackets are balanced as far as I can see.

/summon Villager {Profession:3,CustomName:Guiyp the Smith,CustomNameVisible:1,Offers:{Recipes:[{maxUses:1,buy:{id:minecraft:prismarine_crystals,Count:4}sell:{id:minecraft:iron_sword,Count:1,Damage:1,AttributeModifiers:[{Operation:0,UUIDLeast:4,UUIDMost:4,Amount:1.25,AttributeName:generic.MovementSpeed,name:shortswordspeed}],{Name:"Steel Dagger}}}

Posted Aug 3, 2014, 4:42 PM UTC

07
Guy_With_A_Hat•
{Profession:3,CustomName:Guiyp the Smith,CustomNameVisible:1,Offers:
  {Recipes:
    [
      {maxUses:1,buy:
        {id:minecraft:prismarine_crystals,Count:4}
        sell:
        {id:minecraft:iron_sword,Count:1,Damage:1,AttributeModifiers:
          [
            {Operation:0,UUIDLeast:4,UUIDMost:4,Amount:1.25,AttributeName:generic.MovementSpeed,name:shortswordspeed}
          ],
          {Name:"Steel Dagger}
        }
      }

You're still missing a few brackets. Append ]}} to the end of that command and it should work fine.

1
BoardchipOP•

Now it's unbalanced quotation. Sorry if I'm sounding horrible at command blocks.

1
Ryltarr•

EDIT: It was the Steel Dagger part:

{Name:"Steel Dagger}

{Profession:3,CustomName:Guiyp the Smith,CustomNameVisible:1,Offers:
  {Recipes:
    [
      {maxUses:1,buy:
        {id:minecraft:prismarine_crystals,Count:4}
        sell:
        {id:minecraft:iron_sword,Count:1,Damage:1,AttributeModifiers:
          [
            {Operation:0,UUIDLeast:4,UUIDMost:4,Amount:1.25,AttributeName:generic.MovementSpeed,name:shortswordspeed}
          ],
          {Name:"Steel Dagger"}
        }
      }
     ]
    }
   }
1
[deleted]•

[deleted]

1
MidnyteSketch•

Here, I fiddled around with it. It works when I run it in a command block.

/summon Villager ~ ~ ~ {
CustomName:"Guiyp the Smith",
Equipment:[{id:},{id:},{id:},{id:},{id:anvil}],
Attributes:[{Name:"generic.movementSpeed",Base:0.0}],
PersistenceRequired:1,Invulnerable:0,Silent:1b,
Profession:3,Career:1,CareerLevel:999,Offers:{Recipes:[
{buy:{id:prismarine_crystals,Count:4},sell:{id:iron_sword,Count:1,tag:{display:{Name:"Steel Dagger"},AttributeModifiers:[0:{AttributeName:"generic.attackDamage",Name:"generic.attackDamage",Amount:1.5,Operation:0,UUIDLeast:1,UUIDMost:1}]}},rewardExp:0b,maxUses:1},
    ]}}                    
1
BoardchipOP•

Thanks! Works great!

1
MidnyteSketch•

The main thing was that it was missing the tag:{} in the selling part. I thought it wasn't possible to add extra data onto the items they sell but this taught me quite a few useful things :3

1
WildBluntHickok•

missing comma before "sell"

1