Skip to content

Commit

Permalink
feat: make wandering trader trades less expensive
Browse files Browse the repository at this point in the history
  • Loading branch information
Elenterius committed Nov 2, 2023
1 parent 47a8b12 commit 0eb8f80
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,8 @@ public static void onWandererTrades(final WandererTradesEvent event) {
genericTrades.add(buyFromPlayer(ModItems.NUTRIENT_BAR.get(), 2, 8, 5));

List<VillagerTrades.ItemListing> rareTrades = event.getRareTrades();
rareTrades.add(sellToPlayer(ModItems.INSOMNIA_CURE.get(), 20, 8, 20));
rareTrades.add(sellToPlayer(ModItems.CREATOR_MIX.get(), 20, 5, 20));
rareTrades.add(sellToPlayer(ModItems.INSOMNIA_CURE.get(), 10, 8, 20));
rareTrades.add(sellToPlayer(ModItems.CREATOR_MIX.get(), 10, 5, 20));
}

private static BasicItemListing buyFromPlayer(Item item, int emeralds, int maxTrades, int xp) {
Expand Down

0 comments on commit 0eb8f80

Please sign in to comment.