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

Villager Trade

Lets you spawn custom villagers with custom trade options

Загрузки
3K
Подписчики
4
Обновлён
15 декабря 2025 г.
Лицензия
MIT

Опубликован 14 декабря 2025 г.

Villager Tradings

Custom trading villagers with configurable multi-item recipes for Fabric and NeoForge.

Features

  • Spawn persistent custom villagers with /villager spawn <name> <outcome_item> <required_items...>.
  • Multi-input trades (3 inputs per row in UI), custom trade screen with themed background.
  • Default settings for invulnerability and freeze; toggles via /villager settings.
  • Persistent trade and villager data across dimensions.

Commands

  • /villager spawn <name> <outcome_item> <required_items...> — create a trader. Example: /villager spawn bookseller minecraft:enchanted_book:1 minecraft:paper:16 minecraft:emerald:2.
  • /villager delete <name> — remove a trader.
  • /villager find <name> — locate a trader and get a teleport suggestion.
  • /villager list [page] — list tracked traders.
  • /villager settings invulnerable <true|false> [villager] — set default or specific villager invulnerability.
  • /villager settings freeze <true|false> [villager] — set default or specific villager AI/freeze.

Permission: villager_tradings.command.villager (Fabric Permissions API v0/v1 if present), otherwise OP level 3.

Usage Tips

  • Required items are space-separated <item>:<count> tokens; use namespaces (e.g., minecraft:emerald:3).
  • Trades consume all listed inputs; the in-game UI always reflects the full input list even if the merchant offer uses the first two slots.
  • Custom villagers are tracked/persisted; when they die, their trades are cleaned up.

Building

./gradlew build

Artifacts for Fabric and NeoForge are produced under each subproject’s build/libs with the villager_tradings prefix.

Ченджлог

0.13.3-stableРелиз1.21.9, 1.21.10, 1.21.11 · 15 декабря 2025 г.

0.13.3 (since 0.13.0)

  • Added /villager lookatme <name> [auto] to rotate a villager toward you or auto-face the nearest player; state is persisted.
  • Custom villager ambients now mute vanilla sounds and respect the per-villager sound flag; fixed sound event IDs to load bundled .ogg files.
  • Moved all villager_tradings configs under config/VillagerTradings/ with legacy file migration.
  • Added auto-look tick handler and updated sound tick to use stored flags while silencing vanilla output.
  • Version bumped through 0.13.3-stable.
0.13.3-stableРелиз1.21.9, 1.21.10, 1.21.11 · 15 декабря 2025 г.

0.13.3 (since 0.13.0)

  • Added /villager lookatme <name> [auto] to rotate a villager toward you or auto-face the nearest player; state is persisted.
  • Custom villager ambients now mute vanilla sounds and respect the per-villager sound flag; fixed sound event IDs to load bundled .ogg files.
  • Moved all villager_tradings configs under config/VillagerTradings/ with legacy file migration.
  • Added auto-look tick handler and updated sound tick to use stored flags while silencing vanilla output.
  • Version bumped through 0.13.3-stable.

Комментарии

Загружаем…