▶️ ЗАБЕРИ СВОИ 8 ПОДАРКОВ 🎁 ПРИ СОЗДАНИИ СВОЕГО МАЙНКРАФТ СЕРВЕРА
Плагины/Villager Refresh
Villager Refresh

Villager Refresh

A plugin to update villager trades that ignores the gamerule doDaylightCycle.

Оцените первым
2.0K
4
Все версииVillager Refresh 1.3

Villager Refresh 1.3

Release04.06.2026

Список изменений

Version 1.3 introduces significant improvements and bug fixes, now requiring Minecraft 1.19+ for full compatibility.

Key Changes

Architecture & Performance:

  • Removed event listener implementation, simplifying the plugin structure
  • Changed from task-based event handling to direct scheduler task management with explicit taskId tracking
  • Optimized villager iteration to use loaded chunks instead of all entities

Trade Refresh Logic:

  • Added check to skip villagers with no trades
  • Implemented proper recipe cloning with support for 1.19+ properties: villagerExperience and priceMultiplier
  • Added try-catch for demand/special price methods (version compatibility)
  • Only refresh trades that have actually been used

Command & Configuration:

  • Added interval validation to prevent invalid values
  • Added permission check in tab completion
  • Removed dependency on Objects.requireNonNull() for cleaner code

Bug Fixes:

  • Fixed task cancellation to properly track and cancel individual tasks
  • Improved error messaging for invalid command arguments

Файлы

villager-refresh-1.3-1.19+.jar(6.77 KiB)
Основной
Скачать

Метаданные

Канал релиза

Release

Номер версии

1.3

Загрузчики

Bukkit
Paper
Purpur
Spigot

Версии игры

1.19–1.21.11

Загрузок

28

Дата публикации

04.06.2026

Загрузил

ID версии

Главная