Mods
Resource Packs
Data Packs
Modpacks
Shaders
Plugins
Mods Resource Packs Data Packs Plugins Shaders Modpacks
Get Modrinth App Upgrade to Modrinth+
Sign in
ModsPluginsData PacksShadersResource PacksModpacks
Sign in
Settings
Auto Lectern

Auto Lectern

Automatically cycles librarian villager trades for you.

16.2k
64
Utility

Compatibility

Minecraft: Java Edition

1.21.x
1.20.4–1.20.6
1.20.2

Platforms

Fabric

Supported environments

Client-side

90% of ad revenue goes to creators

Support creators and Modrinth ad-free with Modrinth+

Links

Report issues View source Visit wiki

Creators

capthehacker99
capthehacker99 Owner

Details

Licensed CC-BY-NC-SA-4.0
Published last year
Updated last week
DescriptionGalleryChangelogVersions

Auto Lectern (Fabric):


This mod basically breaks and places lecterns to cycle trades for you.

Usage:

Add a goal:
/autolec add [enchant]? [(minLevel, maxLevel)/min/max/any] [(minPrice, maxPrice)/min/max/any]
Look at a lectern
/autolec start
Stop:
/autolec stop
If there isn't any goal Auto Lectern will cycle forever.
If you wish to make Auto Lectern wait for the lectern item to be picked up first, do
/autolec sync item

Quick Start

Add a goal

You may add a goal using the command /autolec add which has the following syntax:
/autolec add [enchant]? (([min_level] [max_level])|min|max|any) (([min_price] [max_price])|min|max|any)

Here's an example of adding mending at lowest price:
/autolec add minecraft:mending max min

Here's an example of adding mending at any price:
/autolec add minecraft:mending max any

Here's an example to add Sharpness V at any price:
/autolec add minecraft:sharpness 5 5 any

Here's an example to add Unbreaking of any level at the price of between 10-32 emeralds:
/autolec add minecraft:unbreaking any 10 32

Here's an example to add ALL enchantments at max level and minimum price.
/autolec add max min

List goals

You may want to know which goals you have already added.
You may do this using the /autolec list command.
image

Prepare a suitable cycling area

Here's an example of a suitable cycling area: image

Prepare lecterns and axe(s)

For faster cycling speed, prepare many lecterns and put them in your offhand while putting the axe in your main hand.
image

Settings for consideration

  • Auto trade /autolec autoTrade (CHEAPEST|ENCHANT|OFF)
    • You may want to use auto trade to automatically trade the enchant or lock the enchant. To do this, you need to first put paper and or books and emeralds in your inventory as the mod with automatically trade those based on the settings:
      • CHEAPEST - this will trade paper first, if there's no such trade or you don't have enough paper in your inventory, it will try to trade the enchant instead otherwise it will fail and won't trade.
      • ENCHANT - this will attempt to trade the enchant book. If it can't it will fail and won't trade.
      • OFF - this means it won't automatically trade for you.
  • Break Cooldown /autolec breakCooldown
    • By default, Minecraft has a break cooldown. You may disable break cooldown while using AutoLectern by toggling Break cooldown to OFF.
  • Logging /autolec log
    • By toggling this on, it will display log of trades in chat.
  • Pre breaking /autolec preBreak
    • By toggling this on, it will make AutoLectern start breaking the lectern while waiting for villager trades, speeding up the cycling speed.
    • IMPORTANT if your tool is instant, you should turn pre breaking OFF since it will CAUSE THE LECTERN TO BREAK WHILE WAITING FOR TRADES.
  • Preserve tool /autolec preserveTool
    • By toggling this on, it will cause AutoLectern to stop if your tool is about to break.
  • Item sync /autolec sync item
    • By toggling this on, AutoLectern won't place a lectern until the broken lectern has been picked up, useful for when you don't have many lecterns.

Start cycling

You may start cycling by LOOKING AT THE LECTERN and run the following command: /autolec start gif

Removing goals

After you got your enchant, you may remove your goal by:

  • Clicking the [REMOVE] button in chat where it says Goal met:
  • Clicking the [REMOVE] button in chat when you do /autolec list
  • Using /autolec remove [index] where [index] is obtained from the number on the left in /autolec list

Modrinth is open source.

app-ads@1633f40

© Rinth, Inc.

Company

TermsPrivacyRulesCareers

Resources

SupportBlogDocsStatus

Interact

Discord X (Twitter) Mastodon Crowdin
Get Modrinth App Settings
NOT AN OFFICIAL MINECRAFT SERVICE. NOT APPROVED BY OR ASSOCIATED WITH MOJANG OR MICROSOFT.