Tags
Creators
Details
All versions
3.2.0+1.21
Release
3.2.0+1.212 years ago 16.7K
Compatibility
Minecraft: Java Edition
1.21–1.21.1
Platforms
Fabric
Quilt
Supported environments
Client and server
Required content
Any compatible version
Changes
Minor update to add the groundwork for a shield-related features.
Additions
- Added new class for easily executing callbacks from an item.
- Added new interface, BlockingItem.
- Items with the ability to block attacks should implement this interface.
- It contains methods that allow the item to configure the nature of its blocking.
- Cooldown duration when disabled.
- How many ticks the item must be used for until it is actively blocking attacks.
- Callbacks
- Damaging the shield.
- Post-block actions.
- Added enchantment callback for post-block actions.
- Added enchantment context (for conditions) for post-block actions.
- In this context, the target is the owner of the enchanted item, the one who blocked the attack.
- Added debug shield item and debug blocking enchantment for developers.
- [LilyLib] Enchantment descriptions now also generate a
.descriptionkey as well as the existing.desckey.
Supplementary resources
| File | Type | Size | |
|---|---|---|---|
| combatplus-core-3.2.0+1.21-sources.jar | Unknown | 131.32 KiB |
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:NbKFMiE7:TSyOELmY"
}
// Legacy Loom dependency
dependencies {
modImplementation "maven.modrinth:NbKFMiE7:TSyOELmY"
}

