AutoTrade-fabric
Description
This mod allows you to automate trading with Minecraft villagers, enabling you to focus on other activities while your character engages in commerce. The mod does not handle player movement - you need to organize transportation between villagers and containers using minecarts, water streams, or other methods.
To maintain stable prices, it's recommended to use a daylight sensor so that trading with each villager occurs only once per day.
Controls and Settings
By default, the settings menu opens with the Right-Shift+T key combination. Starting from version v0.0.10, you can select items for selling and buying using named items in item frames, and specify input and output containers by placing colored glass blocks nearby.
If accessing settings through hotkeys is not possible, use the ModMenu mod.
Compatibility
- Minecraft versions: 1.19.4 - 1.20.4
- Requires malilib installation
Known Issues
- ItemScroller's favorite trades feature may interfere with trading functionality.
Setup Examples
- Use shulker unloader for input containers
- Shulker loader for output containers
- Create a circulating water stream to move the player between villagers and containers
To limit trading to once per day, block the water stream appropriately.
On the 2b2t server, water streams for player movement may not work - in this case, use minecart circuits or the EssentialClient script.
Void Trading Settings
- selectUsingGlassBlock: true
- selectionOffset: -3
- voidTradingDelay: 50
- delayAfterTeleport: true
Video Demonstration
Additional Resources
Downloadable files with building examples and demonstration world are available.