@@ -52,6 +52,19 @@ dependencies {
5252 api(project(" :api" )); include(project(" :api" ))
5353 api(project(" :core" )); include(project(" :core" ))
5454
55+ setOf (
56+ " fabric-api-base" ,
57+ " fabric-command-api-v2" ,
58+ " fabric-data-attachment-api-v1" ,
59+ " fabric-entity-events-v1" ,
60+ " fabric-events-interaction-v0" ,
61+ " fabric-lifecycle-events-v1" ,
62+ " fabric-networking-api-v1" ,
63+ " fabric-transitive-access-wideners-v1"
64+ ).forEach {
65+ modImplementation(fabricApi.module(it, libs.versions.fabric.api.get()))
66+ }
67+
5568 modImplementation(libs.bundles.fabric)
5669
5770 api(libs.bundles.fabric.library); include(libs.bundles.fabric.library)
@@ -76,7 +89,16 @@ fabricModJson {
7689 depends = mapOf (
7790 " minecraft" to listOf (" ~${property(" minecraft_version" )} " ),
7891 " fabricloader" to listOf (" *" ),
79- " fabric-api" to listOf (" *" ),
92+
93+ // fabric-api
94+ " fabric-api-base" to listOf (" *" ),
95+ " fabric-command-api-v2" to listOf (" *" ),
96+ " fabric-data-attachment-api-v1" to listOf (" *" ),
97+ " fabric-entity-events-v1" to listOf (" *" ),
98+ " fabric-events-interaction-v0" to listOf (" *" ),
99+ " fabric-lifecycle-events-v1" to listOf (" *" ),
100+ " fabric-networking-api-v1" to listOf (" *" ),
101+ " fabric-transitive-access-wideners-v1" to listOf (" *" ),
80102
81103 // mod libraries
82104 " adventure-platform-fabric" to listOf (" *" ),
0 commit comments