Gamemode 4 is a collection of modular Minecraft Datapacks that change or expand on the vanilla experience whilst keeping the vanilla feel. Our modules are developed with a focus on usability and efficiency.
Describe the bug
If Balloon Animals is installed on 1.20.5/6, trading with villagers will give 24 emeralds for free. This is the case when trading with a Wandering Trader selling balloon animals, its normal trades, and even regular villagers. This does not happen in 1.21.
To Reproduce
Steps to reproduce the behavior:
Install Balloon Animals
Spawn trader with /function gm4_balloon_animals:debug/summon_trader_with_llamas
Give yourself a stack of emeralds (64)
Purchase balloon animal for 12 emeralds
Observe yourself now having a stack + 12 emeralds in your inventory (78), which is 24 extra minus the cost of the trade
Observe yourself gaining 24 emeralds with regular Villager and Wandering Trader trades
Expected behavior
The player should not be given 24 emeralds upon completing any villager trade.
Fix
Unsure of the fix yet. However, I can confirm that this is not an issue with lib_trades, but instead just with Balloon Animals. I was unsuccessful in reproducing the issue with Mob Curing and Apple Trees on fresh worlds (each), which are the two other modules updated to 1.20.6 that use lib_trades to add trades to Wandering Traders.
Describe the bug If Balloon Animals is installed on 1.20.5/6, trading with villagers will give 24 emeralds for free. This is the case when trading with a Wandering Trader selling balloon animals, its normal trades, and even regular villagers. This does not happen in 1.21.
To Reproduce Steps to reproduce the behavior:
/function gm4_balloon_animals:debug/summon_trader_with_llamas
Expected behavior The player should not be given 24 emeralds upon completing any villager trade.
Fix Unsure of the fix yet. However, I can confirm that this is not an issue with
lib_trades
, but instead just with Balloon Animals. I was unsuccessful in reproducing the issue with Mob Curing and Apple Trees on fresh worlds (each), which are the two other modules updated to 1.20.6 that uselib_trades
to add trades to Wandering Traders.Videos
https://github.com/user-attachments/assets/6cc1e270-fb1c-4385-ad43-fc70a73a4d37
Environment
Additional context Initially reported by ProfElements in the discord server. Confirmed by me, leading to the creation of this issue.