[MCPE-20576] Crash when trading potions Created: 25/Mar/17  Updated: 02/Apr/17  Resolved: 02/Apr/17

Status: Resolved
Project: Minecraft (Bedrock codebase)
Component/s: None
Affects Version/s: 1.0.6.0
Fix Version/s: 1.1.0.0

Type: Bug
Reporter: Mark Aranzanso
Resolution: Fixed Votes: 2
Labels: crash, potion, trading, villager

Attachments: File MCPE-20576 Test Pack.mcpack     File MCPE-20576 Test World.mcworld     PNG File Screenshot_2017-03-26-00-36-27.png    
Confirmation Status: Confirmed
Platform: Phone - Android - Samsung Other (Specify in description)
CHK:
ADO: 65043

 Description   

Update by Mega_Spud:

  • Only seems to crash when using Pocket UI

Original Description:

I'm creating an addon using custom villager trades. When I edit the behavior of any of the json files of trading by changing their default item trades to minecraft:potion or minecraft:potion:1, the game crash when I pressed trade.



 Comments   
Comment by Zeb [ 02/Apr/17 ]

Resolving as fixed as of 1.1.0.0!

Comment by Mark Aranzanso [ 01/Apr/17 ]

its fixed now as of 1.1 build 1

Comment by Zeb [ 30/Mar/17 ]

There was a typo in the behavior pack included with the .mcworld that Mega_Spud attached, so I fixed it and reuploaded the test world. I also uploaded the behavior pack separately, for those who want to test the bug in other worlds.

Comment by naara Parsons [ 30/Mar/17 ]

I have found the same issue although i can get the potion trade to work on windows 10/ beta but it crashes on MCPE on our ipads/iphone when potions are listed in the gives section as above. all versions have current updates installed

Comment by [Mojang] Mega_Spud (Jay Wells) [ 27/Mar/17 ]

I can confirm this issue on 1.0.6.0 beta.

Added test world (open trade with the villager, game crashes).

I've also uploaded a copy of the cleric_trades.json.

You are able to use potions in the "wants" section:

"wants": [
            {
              "item": "minecraft:potion:1",

But if you change the "give" section, it crashes.

Generated at Sat Jan 11 15:27:37 UTC 2025 using Jira 9.12.2#9120002-sha1:301bf498dd45d800842af0b84230f1bb58606c13.