Mojira Archive
MC-222462

Villager cure discount resets

Issue:
Villager cure discount resets

My guess what is cause of issue:
Villager cure discount is not preserved on zombie villager (or zobie villager being currently cured) on chunk unloading.

How to replicate issue:
1. Spawn Villager and put composter so that he becomes farmer.
2. Trade with him so that his trades becomes locked.
3. Spawn zombie, let it turn villager into zombie villager and dispose zombie.
4. Cure zombie villager (with being close to him) and verify cure discount.
5. Spawn zombie, let it turn villager into zombie villager and dispose zombie.
6. Cure zombie villager (with being close to him) and verify double cure discount.
7. Spawn zombie, let it turn villager into zombie villager and dispose zombie.
8. Start curing zombie villager (apply weakness and give golden apple) and go 2000+ blocks away before curing ends.
9. Go back to zombi villager and wait for him to transform back to being villager.
10. Verify that cure discount is applied only once instead of 3 times.

Duplicate

xbelphegorx

2021-04-07, 04:07 AM

2022-11-13, 08:44 AM

2022-05-15, 07:26 AM

8

7

Community Consensus

(Unassigned)

villager-trade

1.16.5, 1.17, 1.17.1, 1.18.1

-