Tags
Creators
Details
All versions
2.0.5+26.1.2
Release
Auto Totem+ 2.0.5+26.1.23 months ago 255
Compatibility
Minecraft: Java Edition
26.1.x
Platform
Fabric
Supported environments
Client-side
Changes
AutoTotem+ Bug Fix Changelog
Bug fixes: Totem not protecting on death in multiplayer, totem duplication in singleplayer, and incorrect hotbar displacement when equipping have all been fixed.
AutoTotemMod.java
- Fixed: totem not protecting on death in multiplayer — replaced client-side inventory swap with proper server-synced packet sequence
- Fixed: totem duplication in singleplayer — caused by same client-side only swap desync, resolved by above
- Fixed: incorrect hotbar displacement when equipping from inventory — rewrote equip logic with three clean cases:
- Totem already in hotbar → select, swap to offhand, restore selection — zero visible displacement
- Totem in inventory with a free hotbar slot → use empty slot so nothing visible is displaced
- Totem in inventory with full hotbar → use current selected slot as temp, all packets sent same tick so displacement is sub-frame
- Packet sequence used:
ServerboundSetCarriedItemPacketto select target hotbar slotServerboundContainerClickPacket(QUICK_MOVE)to move totem from inventory to hotbar if neededServerboundPlayerActionPacket(SWAP_ITEM_WITH_OFFHAND)to move to offhandServerboundSetCarriedItemPacketto restore original hotbar selection immediately after
Projects on Modrinth are automatically available through a Maven repository for use with JVM build tools such as Gradle. To learn more about the Modrinth Maven API, click here.
Note: When available, you should use the creator's maven repo instead as it will have transitive dependency information that the Modrinth Maven API does not. You may also end up with duplicate dependencies if you use a mix of Modrinth and non-Modrinth Maven repositories for your dependencies, because the group identifier will be different when served through the Modrinth Maven API.
Maven coordinates:
Version ID:
build.gradle:
repositories {
exclusiveContent {
forRepository {
maven {
name = "Modrinth"
url = "https://api.modrinth.com/maven"
}
}
// forRepositories(fg.repository) // Uncomment when using ForgeGradle
filter {
includeGroup "maven.modrinth"
}
}
}
// Standard Gradle dependency
dependencies {
implementation "maven.modrinth:uWKQfxMw:sDdIOiLH"
}
// Legacy Loom dependency
dependencies {
modImplementation "maven.modrinth:uWKQfxMw:sDdIOiLH"
}

