Back to mods
Auto Lectern project artwork

Modrinth · Minecraft mod

Auto Lectern

Automatically cycles librarian villager trades for you.

Choose a version Pick your version below, then grab the matching file.

Quick answer

Which Auto Lectern release should I use?

Updated last month
Latest stable file 1.1.1
Game version 26.2
Loader Fabric

Auto Lectern 1.1.1 targets 26.2 with Fabric. It must be installed on the client. Do not install it on the dedicated server. No extra mods listed for this file.

Where it goes

Is Auto Lectern required on the client, server, or both?

It must be installed on the client. Do not install it on the dedicated server.

Client Required
Dedicated server Not supported
Loader for this release Fabric
Required install it here Optional supported, not mandatory Not supported do not install here Source doesn’t say do not assume

This file is marked client-only.

What else does Auto Lectern 1.1.1 need?

1.1.1. Change the file and its required mods may change too.

No extra mods listed for this file

This file does not list any required mods. Do not add a library just because a different file uses it.

This file does not list any required or optional mods.

Before you install it

Add Auto Lectern without breaking your instance.

Built for Auto Lectern 1.1.1. Pick another file and the loader, install side or required mods may change.

  1. 01

    Stick to this file

    Use 1.1.1. It targets 26.2 with Fabric; another release may have different loader, side or dependency requirements.

  2. 02

    Bring the mods it needs

    This file does not list any required mods. Do not add a library just because a different file uses it.

  3. 03

    Put it on the correct side

    It must be installed on the client. Do not install it on the dedicated server.

  4. 04

    Pick the file you checked

    Use the “Get this file” button beside 1.1.1. It opens that exact file at the source.

About this project

What does Auto Lectern add?

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

Project description from Modrinth.

Pick your setup

Auto Lectern by Minecraft version and loader

Choose the version and loader you play, then open the matching release.

18 available setups

Showing the newest 12 of 18 game versions. Older files are in the list below.

Check the dependencies, then try the file in a copied instance before changing a world you care about.

Recent files

Auto Lectern versions and loaders

26 of 26 releases match

Looking for an older file? The official Modrinth project page is in Resources.