Mojira Archive
MC-109635

Trying to make a villager give a custom potion, while I was on the realm.

Put the summary of the bug you're having here

What I expected to happen was...:
I expected the villager to give the potion

What actually happened was...:
The game crashed

Steps to Reproduce:
1.Input command
2. /summon Villager ~1 ~ ~ {Profession:2,CustomName:"Phoenix Ashen",CustomNameVisible:1,Career:1,CareerLevel:42,CanPickUpLoot:0,PersistenceRequired:1,NoAI:1,Silent:1,Invulnerable:1,Attributes:[

{Name:"generic.knockbackResistance",Base:"1f"}

],Offers:{Recipes:[{buy:{buy:

{id:"gold_nugget",Count:10}

,maxUses:100000000000000000000,sell:{id:373,Count:1,Damage:0,tag:{CustomPotionEffects:[

{Id:6, Amplifier:0, Duration:20}

,

{Id:9, Amplifier:0, Duration:600}

],display:{Name:"Weak Healing Potion",Lore:[ "Heals for 4 hearts", "Feels bad to drink (Unrefined Potion)"]}},MaxUses:100000000000000000000},rewardExp:false},{buy:

{id:"gold_ingot",Count:3}

,maxUses:9999999,sell:{id:373,Count:1,Damage:0,tag:{CustomPotionEffects:[

{Id:6, Amplifier:1, Duration:1}

],display:{Name:"(Refined) Weak Healing Potion",Lore:[ "Heals 8 Hearts", "Makes you feel great!"]}},MaxUses:9999999},rewardExp:false}]}}
3. Summon Villager
4. Trade for potion

Invalid

Robert Dumford

2016-11-04, 04:55 PM

2016-11-04, 05:41 PM

2016-11-04, 05:04 PM

0

1

Unconfirmed

Minecraft 1.10.2

-