Tags
Creators
Details
Licensed LGPL-3.0-only
Published 6 years ago
Updated 2 months ago
All versions
12.2.0
Release
autoswitch 12.2.010 months ago 770
Compatibility
Minecraft: Java Edition
25w35a
1.21.6–1.21.8
Platform
Fabric
Supported environments
Client-side
Required content
Changes
12.2.0
- Implement enchantment level specification for item selectors
- See examples here
12.1.2
- Fix fabric loader dependency always being bumped when building
- Lock MC version upper bound to 1.21.8/25w36a due to breaking changes in vanilla
12.1.1
- Convert
feature-config.switch-away-from-toolsfrom a boolean to a set of actions that can have the switch away behavior. Defaults to just theATTACKaction. - Fix switchback not triggering when
feature-config.switch-away-from-toolsselects an empty slot. - Fix switchback remembering the incorrect slot
12.1.0
- Add config option
feature-config.switchback-waits-for-attack-progressto control when switchback waits for attack progress to fully reset.
AutoSwitch 12.0.1
- Fix skipDeletedItems not being applied to items with durability
Changes Since AutoSwitch 11
- Complete rewrite of AutoSwitch
- Update for 1.21.6
- Minecraft version range is no longer open ended
- Added Neoforge support
- New config system using HOCON, see config file in config/autoswitch.conf
- Added target priorities for cases where multiple targets (eg tags) match
- Support limiting entity targets based on equipment
- Support ItemComponent selectors
- Currently limited to Potion Contents
- Removed custom tool groups, everything is now using item tags
- Allow combing selectors with expressions such as AND, OR, XOR, etc for more complex selection logic
- Use entity sensitive_to tags to for enchantment preferences
- Remove entity ride event default in favor of interact selectors
- Add default selector for interacting with fire -> water splash potion
- Add support for choosing what items to move to the offhand and for which action
- Fix DPS calculation for entity tool ratings
- Swords are not correctly preferred over axs without explicit ordering
- Disable switchback when the player selects a new slot manually
- Rework AutoSwitch API
- No longer requires a compile time dependency on AutoSwitch
- On Neoforge, use IMC
- On Fabric, use ObjectShare
- No longer requires a compile time dependency on AutoSwitch
- Use Minecraft's internal profiler in some places
- Added actual tests so hopefully things don't break
- Removed config commands
- emvoe bow target
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:uSdcnlts:mqRx1SEm"
}
// Legacy Loom dependency
dependencies {
modImplementation "maven.modrinth:uSdcnlts:mqRx1SEm"
}

