Перейти к содержимому
Mineforgian

Villager Trade Reroll

Reroll villager trades directly from the vanilla trading UI without breaking job site blocks, using true vanilla trade generation.

Загрузки
4K
Подписчики
3
Обновлён
5 апреля 2026 г.
Лицензия
All-Rights-Reserved

Опубликован 16 января 2026 г.

Villager Trade Reroll

Villager Trade Reroll allows players to reroll villager trades directly from the vanilla trading UI, without breaking job site blocks.

✨ Features

  • Reroll villager trades directly from the trade screen
  • No job site block breaking or replacement
  • Uses Mojang’s native trade generation (no hardcoded trades)
  • Reroll option appears as a villager trade for a vanilla feel
  • No commands or custom GUIs
  • No NMS or packet hacks (future-proof)

❓ How It Works

Open a villager’s trade UI

  • Scroll to the bottom
  • Use the trade:
  • 1 Emerald → 🔁 Reroll Trades
  • The villager’s trades are regenerated using vanilla logic
  • The trade UI refreshes automatically

🔴 Keep in Mind ❗❗

  • This needs atleast one emerald to work
  • Reroll does not consume any emeralds

🧠 Why a Trade-Based Reroll?

  • Minecraft does not allow:
  • Buttons inside the villager UI
  • Zero-ingredient trades
  • Client-side override of merchant validation

To remain fully vanilla-safe and cross-version compatible, rerolling is triggered through a real villager trade. This is the only reliable and future-proof method supported by the game.

📦 Compatibility

Supported loaders

  • Paper,
  • Purpur,
  • Supported Minecraft versions -
  • 1.21.4 - 1.21.11 (Latest release)

⚠️ Known Behavior

  • After rerolling, the mouse cursor may reset to the center.
  • This is vanilla client behavior caused by reopening the trade UI and cannot be controlled by plugins.

📁 Designed for Stability

  • VillagerTradeReroll:
  • Does not replace villagers
  • Does not modify job site blocks
  • Does not fake enchantments
  • Automatically adapts to future trade changes

🔮 Planned Improvements

  • Configurable reroll cost
  • Cooldowns per villager
  • Permission-based access
  • Config.yml support
  • Expanded version support when stable

Ченджлог

1.1Релиз1.21.9, 1.21.10, 1.21.11 · 5 апреля 2026 г.

c leveling breaking after reroll — Villagers now correctly level up after trading when their job block is broken and replaced. Previously, internal XP/level state was left out of sync after rerolling, silently preventing level-ups.

Fixed trades generating empty after reroll — Fresh vanilla trades are now read correctly from a temporary villager after the required server tick, preventing cases where rerolled trades would appear blank.

Fixed exploit: reroll trade persisting after plugin removal — The custom "Reroll Trades" slot is now automatically stripped from all loaded villagers when the plugin is disabled or removed, preventing players from trading a Nether Star for 1 Emerald.

1.0Релиз1.21.9, 1.21.10, 1.21.11 · 17 января 2026 г.

**Initial release of VillagerTradeReroll **

  • Reroll villager trades directly from the vanilla trade UI
  • Uses true vanilla trade generation (no hardcoded trades)
  • Job site blocks are not broken or replaced
  • Adds a native reroll option as a villager trade
  • No commands or custom GUIs required
  • Safe and future-proof (no NMS or packet hacks)

Tested on:

  • Paper 1.21.4 – 1.21.11 (latest)

Комментарии

Загружаем…