Описание
# Simple AutoTotem
A Minecraft Fabric mod for 1.21.1+ that automatically equips Totem of Undying items into your offhand slot when available.
## Features
- **Automatic Totem Equipping**: Continuously monitors your inventory and automatically moves Totems of Undying to your offhand slot
- **Smart Logic**: Only equips totems when your offhand is empty or contains non-shield, non-totem items
- **Multiplayer Compatible**: Works seamlessly on multiplayer servers with proper client-server synchronization
- **Configurable**: Toggle the mod on/off with a customizable keybind (default: Y key for QWERTY and Z key for QWERTZ)
- **Persistent Settings**: Your toggle state is saved between game sessions
- **Instant Response**: No noticeable delay after a totem is consumed
## Requirements
- Minecraft 1.21.1+
- Fabric Loader 0.16.5+
- Fabric API 0.104.0+
- Java 21+
## Installation
1. Install [Fabric Loader](https://fabricmc.net/use/installer/)
2. Download [Fabric API](https://modrinth.com/mod/fabric-api)
3. Place both the Fabric API and AutoTotem mod files in your `mods` folder
4. Launch Minecraft with the Fabric profile
## Usage
- The mod is enabled by default when you join a world
- Press **Y** or **Z** (default keybind) to toggle AutoTotem on/off
- A message will appear in your action bar showing the current state
- The mod only works in Survival and Adventure game modes
- Your offhand must be empty or contain a non-shield, non-totem item for automatic equipping
## License
This project is licensed under the MIT License.