mojira.dev

when I summon a villgaer whit a custom trade like this comment

/summon Villager ~ ~1 ~ {Profession:4,Attributes:[{Name:generic.followRange,Base:1.0},{Name:generic.movementSpeed,Base:0.001}],PersistenceRequired:1,Invulnerable:1,Offers:{Recipes:[{maxUses:1,buy:{id:266,Count:3,tag:{display:{Name:"Gold"},HideFlags:1,ench:[{id:0,lvl:1}]}},sell:{id:258,Count:1,tag:{display:{Name:Battle Axe}}}},{maxUses:1,buy:{id:0,Count:1},sell:{id:0,Count:1}}]}}

I summon It and log of my minecraft map I open the map again and the villager is gone and the command block is back, i don't now what the do about it.

Attachments

Comments 2

The problem here is that you're using numeric item IDs. Use name IDs instead.

Using numeric IDs in villager trades cause some strange things to happen, such as crashes or chunk corruption.

yander wijnants

(Unassigned)

Unconfirmed

Minecraft 14w33c

Retrieved