Picking Up and Putting Down Villagers: To pick up a villager, simply shift right-click on them with nothing in your hand. This will cause them to enter a "carried" state, allowing you to move them around freely. To place a carried villager, shift right-click on a block with an empty hand. The villager will be placed on top of the block.
Rerolling Trades: To reroll a villager's trades, hold a stick and shift-right click on the villager. This will cause their trades to change randomly.
Undoing Rerolls: If you make a mistake while rerolling trades, you can undo the last reroll by shift-left clicking on the villager with the stick.
Enchantment Books Customization
Max Level Enchantment Books: The server can now automatically set enchantment books to their maximum level.
Locking Enchantments: Players can lock a specific enchantment to ensure it won't be skipped doing a reroll. Use the command /villagerenchantments lock, and follow the autocomplete suggestions provided by the plugin.
Server Commands
Reloading the Plugin: The plugin can be reloaded with the command /villagerenchantments reload.
Default Config
Code (YAML):
#Villager Enchantments Config
# The item used to reroll the villager's trades. item-used-to-reroll: STICK
# Allows the player to reroll the villager's trades. allow-reroll: true
# Allows the player to lock a specific enchantment on the villager, so they don't reroll past it. allow-lock: true
# Allow the player to pick up the villager. allow-villager-pickup: true
# Forces the maximum enchantment level on enchantment books from villagers. force-max-enchant: true