Skip to content
This repository was archived by the owner on Jun 3, 2024. It is now read-only.

Commit fc655ee

Browse files
authored
Move the Forge EventBus (and some other classes) to api-base (#164)
1 parent 3d5e35e commit fc655ee

22 files changed

Lines changed: 5 additions & 21 deletions

File tree

patchwork-fml/src/main/java/net/minecraftforge/api/distmarker/Dist.java renamed to patchwork-api-base/src/main/java/net/minecraftforge/api/distmarker/Dist.java

File renamed without changes.

patchwork-fml/src/main/java/net/minecraftforge/common/MinecraftForge.java renamed to patchwork-api-base/src/main/java/net/minecraftforge/common/MinecraftForge.java

File renamed without changes.

patchwork-fml/src/main/java/net/minecraftforge/fml/LogicalSide.java renamed to patchwork-api-base/src/main/java/net/minecraftforge/fml/LogicalSide.java

File renamed without changes.

patchwork-api-base/src/main/resources/fabric.mod.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
"fabricloader": ">=0.8.4",
1818
"fabric": ">=0.15.1"
1919
},
20-
"description": "Common zero-overhead classes used across Patchwork modules",
20+
"description": "Common classes that don't require Mixins or involve mod loading",
2121
"custom": {
2222
"modmenu:api": true,
2323
"modmenu:parent": "patchwork"

patchwork-capabilities/build.gradle

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,4 @@ version = getSubprojectVersion(project, "0.3.0")
33

44
dependencies {
55
implementation project(path: ':patchwork-api-base', configuration: 'dev')
6-
implementation project(path: ':patchwork-fml', configuration: 'dev')
76
}

patchwork-capabilities/src/main/resources/fabric.mod.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@
1414
],
1515
"depends": {
1616
"patchwork-api-base": "*",
17-
"patchwork-fml": "*"
1817
},
1918
"mixins": [
2019
"patchwork-capabilities.mixins.json"

patchwork-data-generators/src/main/resources/fabric.mod.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,8 @@
1313
"PatchworkMC"
1414
],
1515
"depends": {
16-
"patchwork-api-base": "*"
16+
"patchwork-api-base": "*",
17+
"patchwork-fml": "*"
1718
},
1819
"mixins": [
1920
],

patchwork-events-entity/build.gradle

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@ version = getSubprojectVersion(project, "0.5.0")
33

44
dependencies {
55
implementation project(path: ':patchwork-api-base', configuration: 'dev')
6-
implementation project(path: ':patchwork-fml', configuration: 'dev')
76
implementation project(path: ':patchwork-extensions', configuration: 'dev')
87
implementation project(path: ':patchwork-extensions-item', configuration: 'dev')
98
}

patchwork-events-entity/src/main/resources/fabric.mod.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@
1717
},
1818
"depends": {
1919
"patchwork-api-base": "*",
20-
"patchwork-fml": "*",
2120
"patchwork-extensions-item": "*"
2221
},
2322
"mixins": [

patchwork-events-input/build.gradle

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,4 @@ version = getSubprojectVersion(project, "0.3.0")
33

44
dependencies {
55
implementation project(path: ':patchwork-api-base', configuration: 'dev')
6-
implementation project(path: ':patchwork-fml', configuration: 'dev')
76
}

0 commit comments

Comments
 (0)