All versions
2.2.0
Release
Village_Militia 2.2.0last week 66
Compatibility
Minecraft: Java Edition
26.3
Platform
NeoForge
Supported environments
Client and server
Changes
Added / Improved
-
Expanded Militia Equipment Slots
- Militia members can now hold any non-empty item in their main hand or off-hand.
- Hand slots are no longer limited to weapons, crossbows, or shields.
- Militia members can now hold items such as Totems of Undying, food, blocks, and other items.
-
Equipment Menu Updates
- Updated the equipment slot validation in
MilitiaEquipmentMenu. - Main-hand and off-hand slots now accept any non-empty
ItemStack. - Helmet, chestplate, leggings, and boots slots retain their existing equipment restrictions.
- Shields continue to trigger the normal blocking and defensive behavior.
- Updated the equipment slot validation in
-
Militia Target Switching
- Militia members now update their target when they are attacked by a new attacker.
- The hurt timestamp is used to detect new attack events and prevent repeatedly switching to the same 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:dWvLHIgr:VG3UcQoT"
}
// Legacy Loom dependency
dependencies {
modImplementation "maven.modrinth:dWvLHIgr:VG3UcQoT"
}

