You are missing several necessary brackets and commas and also appear to have a duplicate set of closing brackets for the final trade. You also have an incorrect type of quotation mark being used, which is breaking syntax (" is the correct quote, versus “). All tags are case-sensitive; "damage" should instead be "Damage". As well, the value for "Damage" has been marked as a String instead of Short due to the quotes around the value, which invalidates the tag. Item data that is not "id", "Count", "Damage", or "Slot" must be placed within a single "tag" tag. "Amplifier" has a minimum of -128 and maximum of 127. 1e+38 would normally go well above this limit, but that value is seen as a string and is instead ignored by the parser. There is also a misplaced "sell" tag with no corresponding "buy" tag. Fixed command, setting "Amplifier" to 0 and removing the unused "sell" tag:
/summon Villager ~1 ~ ~ {Profession:0,CustomName:"The Summoner",CustomNameVisible:1,Career:1,CareerLevel:42,CanPickUpLoot:0b,PersistenceRequired:1,Invulnerable:1,Offers:{Recipes:[{buy:{id:"diamond",Count:64},maxUses:9999999,sell:{id:"potion",Damage:8197,tag:{CustomPotionEffects:[{Id:1,Amplifier:4,Duration:14000},{Id:3,Amplifier:4,Duration:14000},{Id:5,Amplifier:85,Duration:14000},{Id:6,Amplifier:0,Duration:200},{Id:8,Amplifier:1,Duration:14000},{Id:10,Amplifier:6,Duration:14000},{Id:11,Amplifier:3,Duration:14000},{Id:12,Amplifier:127,Duration:7000},{Id:21,Amplifier:10,Duration:14000},{Id:22,Amplifier:20,Duration:14000},{Id:23,Amplifier:50,Duration:14000}],display:{Name:"The Killer Potion",Lore:["You will need this to","KILL THE KILLER!!! DUN DUN DUN!"]}},Count:1},rewardExp:false},{buy:{id:"diamond_block",Count:15},maxUses:9999999,sell:{id:"mob_spawner",Count:1},rewardExp:false}]}}
The following command:
/summon Villager ~1 ~ ~ {
Profession: 0,
CustomName: "The Summoner",
CustomNameVisible: 1,
Career: 1,
CareerLevel: 42,
CanPickUpLoot: 0,
PersistenceRequired: 1,
Invulnerable: 1,
Offers: Recipes: [
{
buy: {
id: "diamond",
Count: 64
},
maxUses: 9999999,
sell: {
id: "potion",
damage: “8197”
{
CustomPotionEffects: [
{
Id: 1,
Amplifier: 4,
Duration: 14000
},
{
Id: 3,
Amplifier: 4,
Duration: 14000
},
{
Id: 5,
Amplifier: 85,
Duration: 14000
},
{
Id: 6,
Amplifier: 1e+38,
Duration: 200
},
{
Id: 8,
Amplifier: 1,
Duration: 14000
},
{
Id: 10,
Amplifier: 6,
Duration: 14000
},
{
Id: 11,
Amplifier: 3,
Duration: 14000
},
{
Id: 12,
Amplifier: 127,
Duration: 7000
},
{
Id: 21,
Amplifier: 10,
Duration: 14000
},
{
Id: 22,
Amplifier: 20,
Duration: 14000
},
{
Id: 23,
Amplifier: 50,
Duration: 14000
}
],
display: {
Name: "The Killer Potion",
Lore: [
"You will need this to",
"KILL THE KILLER!!! DUN DUN DUN!"
]
}
}
Count: 1
},
rewardExp: false
},
{
buy: {
id: "diamond_block",
Count: 15
},
maxUses: 9999999,
sell: {
id: "mob_spawner",
Count: 1
},
rewardExp: false
}
]
}
}
sell: {
id: "stone",
Count: 1
}
}
]
}
}
Does not work. Can somebody please help me? Whenever I place it in a command block it does nothing. No message or anything.
[img]http://www.minecraftanonymous.com/assets/banners/banner_83
When formatting a command like this please use the correct indentation, I find this very difficult to read.
You are missing several necessary brackets and commas and also appear to have a duplicate set of closing brackets for the final trade. You also have an incorrect type of quotation mark being used, which is breaking syntax (" is the correct quote, versus “). All tags are case-sensitive; "damage" should instead be "Damage". As well, the value for "Damage" has been marked as a String instead of Short due to the quotes around the value, which invalidates the tag. Item data that is not "id", "Count", "Damage", or "Slot" must be placed within a single "tag" tag. "Amplifier" has a minimum of -128 and maximum of 127. 1e+38 would normally go well above this limit, but that value is seen as a string and is instead ignored by the parser. There is also a misplaced "sell" tag with no corresponding "buy" tag. Fixed command, setting "Amplifier" to 0 and removing the unused "sell" tag:
Minecraft-things: http://skylinerw.com
More Minecraft-things: https://sourceblock.net
Guides for command-related features (eventually moving to Source Block): https://github.com/skylinerw/guides
I primarily hang out in the /r/MinecraftCommands discord, where there's a lot of people that help with commands: https://discord.gg/QAFXFtZ
Their corresponding subreddit: https://www.reddit.com/r/MinecraftCommands/