Skip to content

Commit

Permalink
Add support for Data Generation in Fabric
Browse files Browse the repository at this point in the history
  • Loading branch information
anthonymendez committed Aug 14, 2024
1 parent b3d9e26 commit df3a388
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
4 changes: 4 additions & 0 deletions fabric/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -53,3 +53,7 @@ shadowJar {
remapJar {
input.set shadowJar.archiveFile
}

fabricApi {
configureDataGeneration()
}
3 changes: 3 additions & 0 deletions fabric/src/main/resources/fabric.mod.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,9 @@
"icon": "assets/toeknees_simple_tools/icon.png",
"environment": "*",
"entrypoints": {
"fabric-datagen": [
"com.anthonymendez.fabric.datageneration.ModDataGenerator"
],
"main": [
"com.anthonymendez.fabric.ToekneeSimpleToolsFabric"
],
Expand Down

0 comments on commit df3a388

Please sign in to comment.