Tags
Creators
Details
Licensed LGPL-3.0-only
Published 3 years ago
Updated 2 years ago
All versions
1.0.4+1.20.6
Release
Silk API 1.0.4+1.20.62 years ago 823
Compatibility
Minecraft: Java Edition
1.20.5–1.20.6
Platforms
Fabric
Quilt
Supported environments
Client and server
Required content
Changes
Features:
- Added data component 'silk-api:adjust_fov_while_hold'
- Added data component 'silk-api:adjust_fov_while_use'
- Added data component 'silk-api:modify_move_while_hold'
- Added data component 'silk-api:modify_move_while_use'
- Added data component 'silk-api:projectile_container'
- Added data component 'silk-api:shoot_projectiles'
- Added data component 'silk-api:ranged_weapon'
- Added data component 'silk-api:inherent_status_effects'
- Added data component 'silk-api:custom_entity_hurt'
- Added data component 'silk-api:enchantment_traits'
Change:
- Updated Armor interface to ArmorHelper and optimized its methods.
- Updated Tool interface to ToolHelper and optimized its methods.
- Optimized the implementation of ranged weapon items to make them easier to write.
- Renamed Bow class to BowLikeItem.
- Renamed CrossBow class to CrossbowLikeItem.
- Removed the three ranged weapon expansion interfaces: RangedExpansion, BowExpansion, and CrossbowExpansion.
- Removed the item property system and replaced it with the new item array component.
Fixes:
- Fixed the crash issue when enabling experimental content or data packs during world creation.
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:3je4UK0t:fJsprDMy"
}
// Legacy Loom dependency
dependencies {
modImplementation "maven.modrinth:3je4UK0t:fJsprDMy"
}

