The Meaning of Life, the Universe, and Everything.
Join Date:
2/23/2014
Posts:
275
Location:
The Void
Minecraft:
Upsilon
Member Details
I am trying to get a villager to trade a certain item. Whenever I hover over the item in the trade window it crashes my game saying the item is invalid and there was a problem rendering. The item I am giving is:
{id:293,Damage:0,Count:1,tag:{ench:[{id:16,lvl:6},{id:20,lvl:512},{id:19,lvl:20}],AttributeModifiers:[{AttributeName:"generic.maxHealth",Name:"Steel Armor",Amount:30,Operation:0,UUIDLeast:222222,UUIDMost:555555}],display:{Name:"Staff of the Primal"}}}
Well... this is my Sword of Doom code... I used _ instead of spaces in the attribute name... try that maybe?
{Unbreakable:1,AttributeModifiers:[{Operation:0,UUIDLeast:1,UUIDMost:1,Amount:2147483647,AttributeName:generic.attackDamage,Name:Diamond_Sword}],display:{Name:"Sword of Doom"}}
New Skyblock Server! Come check it out!
IP: SkyblockUniverse.beastmc.com
New Skyblock Server! Come check it out!
IP: SkyblockUniverse.beastmc.com
Here's my code:
/summon Villager ~ ~ ~ {
Profession:2,
Attributes:[{Name:generic.maxHealth,Base:50000}],
CustomName:"Villager",
CustomNameVisible:true,
Offers:{Recipes:[
{maxUses:100000,buy:{id:388,Count:10},sell:{id:293,Damage:0,Count:1,tag:{ench:[{id:16,lvl:6},{id:20,lvl:512},{id:19,lvl:20}],AttributeModifiers:[{AttributeName:"generic.maxHealth",Name:"Steel Armor",Amount:30,Operation:0,UUIDLeast:222222,UUIDMost:555555}],display:{Name:"Staff of the Primal"}}}}
]}}
New Skyblock Server! Come check it out!
IP: SkyblockUniverse.beastmc.com
Bukkit messes it up somehow.
New Skyblock Server! Come check it out!
IP: SkyblockUniverse.beastmc.com