HomeJavaModsVillagerBarter [1.14 - 1.21.x]
VillagerBarter [1.14 - 1.21.x]
VillagerBarter

VillagerBarter is a Bukkit plugin that enables villagers to automatically barter with nearby dropped items based on their trading recipes. This plugin simulates the experience of bartering like how you do with Piglins.

Features

Version Support

VillagerBarter is designed for Minecraft 1.21.x and has been tested against Spigot and Paper for this version series. While it may work on earlier or later versions, compatibility is not guaranteed. For best results, use with Minecraft 1.21.4 or later within the 1.21 series.

Supported Professions

The following professions are allowed to perform barters:


Configuration

The plugin generates a configuration file on first run. You can control behavior per-world and per-profession. Below is an example configuration:

Code (Text):
worlds:
  world:
    armorer:
      enabled: true
      search_radius: 3
      delay_ticks: 60
      min_level: 1
      max_level: 5
How It Works

  1. Every 5 seconds, the plugin scans all villagers in loaded worlds.
  2. If a villager is within the allowed professions and level range, it scans for nearby dropped items.
  3. If the dropped items match a valid recipe:
    • Items are consumed.
    • The villager simulates pickup behavior.
    • The trade is performed and the result is dropped.
    • The villager may face the nearest player.
  4. Recipes are updated to reflect usage.

Notes

Plugin details

Read from the plugin's own plugin.yml.

Quick facts

Install steps are the general flow for this file type — How to install Minecraft Java mods & modpacks walks through it step by step.

VillagerBarter [1.14 - 1.21.x] is a free Minecraft Java mod. Compatible with Minecraft 1.21. Downloaded 155 times (via Spigot). Download it and open it directly in the game.

Explore more