HomeJavaModsBlock Villager Trades
Block Villager Trades
Block Villager Trades — screenshot 1Block Villager Trades — screenshot 2

Block Villager Trades

Block Villager Trades — a plugin that allows you to block or remove villager trades based on a configurable list of items and enchantments.

Features

Configuration example

# BlockVillagerTrades Config File

# mode property specifies how to handle items from blocked-items. 
# "block" set maxUses for the trade to 0
# "remove" removes the trade completely. WARNING: This will delete trades permanently 
# and not restore them when the item is removed from the blocked-items list.
mode: block

# if true plugin will affect Wandering Traders
block-wandering-trader-items: false

blocked-items:
  # you can block items by their material name
  - EMERALD
  - ENCHANTED_BOOK:
      # you can also block specific enchantments on items
      enchantments:
        # if no level is specified, all levels of the enchantment are blocked
        - MENDING
        # also you can specify levels
        - UNBREAKING: 3
        - EFFICIENCY: 4
        - EFFICIENCY: 5
  - DIAMOND_PICKAXE:
      enchantments:
        - SILK_TOUCH
        - FORTUNE: 3
  - DIAMOND_AXE
  - DIAMOND_SHOVEL
  - DIAMOND_SWORD

Use cases

Links


Feel free to suggest some features or report bugs. My email: nxgr.dev@gmail.com

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.

Verified by MCModsHub

These come from our own check of the pack file, not from the source page.

Explore more