Releases: XPR2014/automatic-replacement-template-1.21.11
Release list
Automatic replacement v1.2.1+mc1.20.1
Version 1.2.1+mc1.20.1 – Changelog
⚠️ Important Announcement
World height extension (Y = -128 ~ 1024) has been removed in this release for Minecraft 1.20.1.
- Why: This feature caused registry synchronisation issues between client and server in multiplayer, leading to corrupted biome data on screen and broken connections.
- What this means: This version fully restores the vanilla world height (Y = -64 ~ 320). It now works reliably in both singleplayer and multiplayer, even when the server does not have the mod installed.
🧪 Want to play with extended world height?
Please use the higher Minecraft version (1.21.x) of this mod.
The 1.21.x versions include the full world height extension (Y = -128 to 1024) and are fully compatible with multiplayer (server must also have the mod installed).
If you still wish to use the extended height on 1.20.1, you can keep using the older 1.2.0+mc1.20.1 release, but remember it is only recommended for singleplayer / beta testing.
📦 Other improvements
- Auto totem refill now works more reliably.
- Button text updates correctly when language changes.
- Stack size tweak mixin is now server‑side only, avoiding registry conflicts.
Thank you for your support. For the best experience with world height extension, upgrade to Minecraft 1.21.x and use the latest version of this mod.
Automatic replacement v1.2.0
Custom Stack Size Mod – Overview
This mod adjusts the maximum stack size of various items in Minecraft to improve inventory management and balance. It works with both vanilla and modded items, using flexible detection methods such as item tags and data components.
✨ Features
-
Vanilla item adjustments
Many vanilla items have their stack sizes changed to more practical values (e.g., boats stack to 8, totems to 8, potions to 16, beds to 16, etc.). -
Automatic detection of modded potions
Any item that behaves like a potion (contains aPotionContentscomponent) automatically gets a stack size of 16 – no extra configuration needed. -
Tag‑based support for modded items
Mod authors can make their items follow the same rules by adding them to existing vanilla tags (e.g.,#minecraft:beds,#minecraft:boats,#minecraft:skulls,#minecraft:buckets,#minecraft:creeper_drop_music_discs). -
Optional default rule for all modded items
(Configurable) All non‑vanilla items can be assigned a default stack size (e.g., 64), with the possibility to exempt tools/armor via type checks.
🎯 Why this mod?
Vanilla Minecraft has inconsistent stack sizes for many items – some are limited to 1 or 16 for no obvious reason. This mod normalises them while respecting game balance:
| Item Category | New Stack Size |
|---|---|
| Potions (all types) | 16 |
| Beds | 16 |
| Boats & Chest Boats | 8 |
| Minecarts | 8 |
| Totems of Undying | 8 |
| Heads | 8 |
| Music Discs | 16 |
| Buckets (all kinds) | 16 |
| Shields | 4 |
| Armor Stands | 4 |
| Elytra | 8 |
| Saddle | 16 |
(Full list in the mod’s documentation)
🔌 Compatibility
- Fabric (Minecraft 1.21.11)
- Works with any mod that uses standard Minecraft systems (tags, components).
- For modded items to be recognised, they only need to be added to the appropriate vanilla tags – no special API required.
🛠️ Usage
Simply install the mod. No configuration is needed for the default behaviour.
If you want to change any stack size value, edit the config file (if provided by the mod) or modify the source code (the mod is open‑source).
📜 License
MIT – free to use, modify, and redistribute.
🙏 Credits
Inspired by the need for better inventory management and consistent item stacking rules.
Developed by Monkey.
Automatic replacement v1.1.2
Automatic Replacement 1.1.2
🔧 Changes
- Fixed some known issues
Automatic replacement beta-v1.2.0+mc26.1
Automatic Replacement – Version beta-1.2.0+mc26.1
🚀 New Features (for 26.1)
- Auto Totem Refill – When your offhand totem is consumed, the mod automatically replaces it with a new totem from your inventory.
- Commands –
/auto true,/auto false,/auto toggle,/auto statusto control the feature globally. - Network Sync – The server synchronises the current state to all connected clients, ensuring buttons display correctly.
❌ Removed Features (for 26.1 only)
- Stack size modifications have been temporarily removed due to API changes in Minecraft 26.1.
All items now use their vanilla stack sizes.
If you need custom stack sizes, please use dedicated stack‑size mods likeSensible Stackables.
🐛 Bug Fixes
- Fixed a rare crash related to registry synchronisation when joining multiplayer servers.
⚙️ Technical Notes
- Requires Fabric API 0.149.1+26.1.2.
- Java 25 is required.
- No mixins are used for this version (only commands, events, and networking).
📦 Full Support
- Singleplayer – fully tested.
- Multiplayer – works on any server (the mod is client‑side only; the server does not need to install it).
🔮 Future Plans
Once Fabric provides a stable API for modifying default item components in 26.1, stack size tweaks will be reintroduced.
📥 Download
Enjoy the mod!
Automatic replacement v1.1.0
Automatic Replacement v1.1.0
✨ What's New
🌍 Multi-Language Support
The mod now automatically adapts to your game language. Supported languages:
| Language | Code |
|---|---|
| English | en_us |
| English (UK) | en_gb |
| Simplified Chinese | zh_cn |
| Traditional Chinese | zh_tw |
| Japanese | ja_jp |
| Korean | ko_kr |
| Swedish | sv_se |
| Russian | ru_ru |
| Classical Chinese | lzh |
Classical Chinese translates "Totem of Undying" as "Life-saving Charm" (保命符).
📝 Localized Content
- Button text (ESC → Options menu)
- Command outputs (
/auto true/false/toggle/status) - Network sync messages
🔧 Technical Improvements
- Replaced hardcoded Chinese text with
Component.translatable() - Added language fallback (Traditional Chinese → Simplified Chinese)
- Optimized language file structure
✅ Compatibility
- Fully backward compatible with v1.0.0
- No API changes
- No new features besides localization
📄 License
CC0-1.0
Automatic replacement v1.0.0
Automatic Replacement Mod
Minecraft 1.21.11 Fabric Mod
✨ Features
- Auto use Totem of Undying
- Modify stack limits of many items
- World height range: -128 ~ 1024
📋 Requirements
- Minecraft: 1.21.11
- Fabric Loader: Latest
- Fabric API: Latest required
- Java: 21+
🔧 Build
# Windows
gradlew.bat build
# Linux / macOS
./gradlew build📄 License
This project is licensed under the CC0-1.0 Universal License.You can use, modify, and redistribute it freely without attribution.
自动功能模组
适配 Minecraft 1.21.11 Fabric
功能介绍
- 受到致命伤害自动使用不死图腾
- 自定义修改各类物品堆叠上限
- 世界方块放置高度:最低 -128,最高 1024
运行依赖
- 游戏版本:Minecraft 1.21.11
- 必须安装:Fabric 加载器 最新版
- 必须安装:Fabric API 最新版
- 编译运行需要:Java 21 及以上
编译方法
Windows 直接运行:
gradlew.bat build
Mac / Linux 终端运行:
./gradlew build
编译完成后,模组文件在 build/libs 目录里。
开源协议
本项目采用 CC0-1.0 开源协议。
完全公有领域,任何人可以随意使用、修改、分发、商用,无需注明原作者。
Full Changelog: https://github.com/XPR2014/automatic-replacement-template-1.21.11/commits/v1.0.0