Tags
Creators
Details
Licensed LGPL-3.0-only
Published 6 years ago
Updated last month
All versions
12.2.2
Release
autoswitch 12.2.210 months ago 67
Compatibility
Minecraft: Java Edition
25w35a
1.21.6–1.21.8
Platform
NeoForge
Supported environments
Client-side
Changes
12.2.2
- Improve handling of fallback tools in default config
- Add mace as a preferred tool for destroying boats
- Fix error when writing an ExpressionTree to the config file
- Fix error when writing data to the config file
- Add support for "exploded data" - that is, the outer
data {}tag is now optional. If present, it will take precedence over the implicitly defineddata. - Improve maintainability of the ToolSorter
- Remove unnecessary
ORstatements from the default config
12.2.1
- Remove shearing target defaults for mooshroom, bogged, and snow golems
- Add sea lanterns to the silk touch default target
- Add default config entry for things that prefer silk touch axes
- Add default config entry for things that prefer silk touch hoes
- Fix stat-change action not working in singleplayer
- Unfortunately, due to how statistics work they cannot function in multiplayer.
- If a suitable replacement is found, it will be added to get multiplayer working
- Unfortunately, due to how statistics work they cannot function in multiplayer.
- Simplify honey level target definition in default config
- Fix matching target debug texts being merged
- Fix
switch-actionsconfig not being obeyed
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:LZ5LphbO"
}
// Legacy Loom dependency
dependencies {
modImplementation "maven.modrinth:uSdcnlts:LZ5LphbO"
}

