跳到正文

Refresh Trades

作者:ANTINIMUS

Refresh villager and wandering trader offers directly from the trading screen with configurable payment, cooldowns, live button state preview and safer server-side validation.

收藏

介绍

中文介绍正在准备中,下面暂时显示原文。

Refresh Trades adds a dedicated reroll button to the merchant screen so you can refresh current offers without closing the trade UI.

The mod is built around server-side validation, configurable payment rules and clear client feedback. The button updates its state in real time, shows when payment is missing, displays cooldown information and provides a detailed tooltip with merchant info, level, cost and availability.

Current Features

  • Refresh villager trades directly from the merchant screen.
  • Refresh wandering trader trades directly from the same UI.
  • Optional paid refresh with configurable item payment.
  • Configurable payment item for villagers and wandering traders separately.
  • Configurable cooldown for villagers and wandering traders separately.
  • Configurable number of generated villager offers per unlocked level.
  • Configurable number of common and rare wandering trader offers.
  • Live button state preview before pressing.
  • Detailed tooltip with status, merchant name, level, cost and available payment amount.
  • Cooldown tracking that uses both player and merchant state for more predictable multiplayer behavior.
  • Safer reroll generation for modpacks with broken, custom or unusual trade listings.
  • Clear block reasons such as cooldown, missing payment, invalid config item or unavailable offers.

Server Config

Villagers (refresh_trades):

  • paid_refresh enables or disables payment.
  • emerald_cost sets how many items are required for one refresh.
  • payment_item sets which item is consumed as payment.
  • offers_per_level sets how many offers are rolled for each unlocked villager level.
  • cooldown_ticks sets the villager refresh cooldown (20 ticks = 1 second).

Wandering trader (refresh_wandering_trades):

  • enabled enables or disables wandering trader refresh.
  • paid_refresh enables or disables payment.
  • emerald_cost sets how many items are required for one refresh.
  • payment_item sets which item is consumed as payment.
  • common_offers sets how many common offers are rolled.
  • rare_offers sets how many rare offers are rolled.
  • cooldown_ticks sets the wandering trader refresh cooldown (20 ticks = 1 second).

Localization

  • English (en_us)
  • Russian (ru_ru)

常见问题

Refresh Trades 支持哪些 Minecraft 版本?

Refresh Trades 支持 Minecraft Java 版 1.20.1–1.21.1,共 7 个版本,可用的加载器:Forge / NeoForge。下载时注意选择和你游戏版本一致的文件。

Refresh Trades 怎么安装?

先用 PCL2 或 HMCL 启动器安装对应版本的 Forge / NeoForge,再把下载的 .jar 文件放进游戏目录的 mods 文件夹,重新启动游戏即可。开启了版本隔离的,mods 文件夹在 versions/版本名 下面。运行环境:客户端和服务端都要装。

评论

登录后评论和评分

ANTINIMUS 的其他作品

查看全部 →