All Mods Resource Packs Data Packs Shaders Modpacks Plugins
Auto Lectern

Auto Lectern

by capthehacker99 • Downloads: 0 • Followers: 0
Description
Gallery
Changelog
Versions

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

All Versions

+ Add Version
Name Game version Platforms Published Downloads Actions
26.3
Fabric
29d ago 1
26.2
Fabric
4mo ago 1
26.1.2
Fabric
5mo ago 1
1.21.11
Fabric
9mo ago 1
1.21.10
Fabric
9mo ago 1
1.21.11
Fabric
10mo ago 1
1.21.9
Fabric
last yr. 1
1.21.8
Fabric
last yr. 1
1.21.7
Fabric
last yr. 1
1.21.6
Fabric
last yr. 1
1.21.5
Fabric
last yr. 1
1.21.4
Fabric
last yr. 1
1.21.4
Fabric
last yr. 1
1.21.3
Fabric
last yr. 1
1.21.2
Fabric
last yr. 1
1.21.1
Fabric
last yr. 1
1.21
Fabric
last yr. 1
1.21
Fabric
last yr. 1
1.20.6
Fabric
last yr. 1
1.20.5
Fabric
last yr. 1
1.20.4
Fabric
last yr. 1
1.20.4
Fabric
last yr. 1
1.20.2
Fabric
last yr. 1
1.20.2
Fabric
last yr. 1
1.20.2
Fabric
last yr. 1
1.20.2
Fabric
last yr. 1
1.20.2
Fabric
last yr. 1
[1.1.2] Auto Lectern 1.1.2 by capthehacker99 on Sep 25, 2026
Download
  • Port to Minecraft 26.3
[1.1.1] Auto Lectern 1.1.1 by capthehacker99 on Jun 21, 2026
Download
  • Port to Minecraft 26.2
[1.1.0] Auto Lectern 1.1.0 by capthehacker99 on May 30, 2026
Download
  • fix: Grim AC false positive detection
[1.0.28A] Auto Lectern 1.0.28A by capthehacker99 on Feb 04, 2026
Download
  • fix crashing when interacting with villager
[1.0.27] Auto Lectern 1.0.27 by capthehacker99 on Jan 26, 2026
Download
  • Port to 1.21.10
[1.0.28] Auto Lectern 1.0.28 by capthehacker99 on Dec 22, 2025
Download
  • Port to 1.21.11
[1.0.26] Auto Lectern 1.0.26 by capthehacker99 on Oct 01, 2025
Download
  • Port to 1.21.9
[1.0.25] Auto Lectern 1.0.25 by capthehacker99 on Oct 01, 2025
Download
  • Port to 1.21.8
  • fix auto trade enchants doesn't work for second slot of villager trades
[1.0.24] Auto Lectern 1.0.24 by capthehacker99 on Jul 02, 2025
Download
  • Port to 1.21.7
[1.0.23] Auto Lectern 1.0.23 by capthehacker99 on Jun 18, 2025
Download
  • Port to 1.21.6
  • Added goal auto remove feature
[1.0.22] Auto Lectern 1.0.22 by capthehacker99 on Apr 08, 2025
Download
  • Ported to 1.21.5
[1.0.21] Auto Lectern 1.0.21 by capthehacker99 on Feb 07, 2025
Download
  • Store enchantments as Identifiers
  • Fixed Tags not bound when adding specific enchantment
[1.0.20] Auto Lectern 1.0.20 by capthehacker99 on Jan 28, 2025
Download
Port to 1.21.4
[1.0.19] Auto Lectern 1.0.19 by capthehacker99 on Jan 28, 2025
Download
Port to 1.21.3
[1.0.18] Auto Lectern 1.0.18 by capthehacker99 on Jan 28, 2025
Download
Port to 1.21.2
[1.0.16] Auto Lectern 1.0.16 by capthehacker99 on Aug 10, 2024
Download
  • Port to 1.21.1
[1.0.15A] Auto Lectern 1.0.15A by capthehacker99 on Jun 18, 2024
Download
[1.0.15] Auto Lectern 1.0.15 by capthehacker99 on Jun 14, 2024
Download
  • Port to 1.21
[1.0.14] Auto Lectern 1.0.14 by capthehacker99 on May 29, 2024
Download
  • Port to 1.20.6
  • Update to Java 21
[1.0.13] Auto Lectern 1.0.13 by capthehacker99 on Apr 29, 2024
Download
  • Port to 1.20.5
[1.0.12] Auto Lectern 1.0.12 by capthehacker99 on Apr 04, 2024
Download
  • Fixed a crash when using /autolec start without looking at a lectern.
[1.0.11] Auto Lectern 1.0.11 by capthehacker99 on Dec 13, 2023
Download
  • Port to 1.20.4
[1.0.10A] Auto Lectern 1.0.10A by capthehacker99 on Oct 31, 2023
Download
  • Fixed bug introduced in 1.0.10 that causes breaking slowdown.
[1.0.10] Auto Lectern 1.0.10 by capthehacker99 on Oct 13, 2023
Download
# Auto Trade Locking Update
  • Added new auto trade locking which comes in three modes:
  • enchant - trade for the enchant.
  • cheapest - trade the cheapest trade.
  • off - don't auto lock trades.
  • Changed config file format, will lose old config data.
  • Keyboard input is now disabled while trading, prevent accidentally pressing W and your screen shakes more than an earthquake.
  • /autolec remove now uses O(1) removal method for faster speed.
[1.0.9] Auto Lectern 1.0.9 by capthehacker99 on Oct 09, 2023
Download
# Fast as lightning
## Changes
  • Added logging, which can be turned on/off using:
/autolec log, it is **off** by default.
  • Added pre breaking, which can be turned on/off using:
/autolec preBreak, it is **on** by default.
  • Added tool preserving, which stops *Auto Lectern* if the tool you are using is going to break soon.
It can be turned on/off using:
/autolec preserveTool, it is **on** by default.
## What is '*pre breaking*'?
Pre breaking is when instead of the mod waiting for the villager to take the job and obtain its trade offers, it will instead start breaking the lectern beforehand but it won't break the lectern until it has acknowledged the trades.
This will increase the cycling speed significantly.
[1.0.8] Auto Lectern 1.0.8 by capthehacker99 on Oct 09, 2023
Download
# Extra fixes
  • Prevent getting soft locked when placing lectern on chests or other containers.
  • Added break cooldown option.
/autolec breakCooldown
  • Fixed look spoofing that is broken in previous version.
  • Fixed bad [REMOVE] button removing an index higher than normal.
[1.0.7] Auto Lectern 1.0.7b by capthehacker99 on Oct 04, 2023
Download
# Release 1.0.7b [1.20.2] [Crash Hotfix]
First release version after the **massive** rewrite.
Introducing look spoofing, and config saving and loading.
No more villager gui popping up.
You can chat or manage your inventory while auto lecting!

## Hotfixes
Downgraded compiled java version to 17 (for compatibility)
Included dependencies in jar file to prevent no class def errors.

Auto Lectern Icon
Download Auto Lectern
Select game version
Select platform