summaryrefslogtreecommitdiff
path: root/src/main
diff options
context:
space:
mode:
Diffstat (limited to 'src/main')
-rw-r--r--src/main/resources/assets/modid/icon.pngbin0 -> 453 bytes
-rw-r--r--src/main/resources/fabric.mod.json33
-rw-r--r--src/main/resources/modid.common.json10
-rw-r--r--src/main/resources/modid.mixins.json (renamed from src/main/resources/modid.client.json)2
4 files changed, 28 insertions, 17 deletions
diff --git a/src/main/resources/assets/modid/icon.png b/src/main/resources/assets/modid/icon.png
new file mode 100644
index 0000000..047b91f
--- /dev/null
+++ b/src/main/resources/assets/modid/icon.png
Binary files differ
diff --git a/src/main/resources/fabric.mod.json b/src/main/resources/fabric.mod.json
index 4b9af9f..26ac594 100644
--- a/src/main/resources/fabric.mod.json
+++ b/src/main/resources/fabric.mod.json
@@ -1,17 +1,36 @@
{
+ "schemaVersion": 1,
"id": "modid",
+ "version": "${version}",
+
"name": "Example Mod",
"description": "This is an example description! Tell everyone what your mod is about!",
- "version": "${version}",
- "side": "universal",
- "initializers": [
- "net.fabricmc.example.ExampleMod"
+ "authors": [
+ "Me!"
+ ],
+ "contact": {
+ "homepage": "https://fabricmc.net/",
+ "sources": "https://github.com/FabricMC/fabric-example-mod"
+ },
+
+ "license": "CC0-1.0",
+ "icon": "assets/modid/icon.png",
+
+ "environment": "*",
+ "entrypoints": {
+ "main": [
+ "net.fabricmc.example.ExampleMod"
+ ]
+ },
+ "mixins": [
+ "modid.mixins.json"
],
+
"requires": {
+ "fabricloader": ">=0.4.0",
"fabric": "*"
},
- "mixins": {
- "client": "modid.client.json",
- "common": "modid.common.json"
+ "suggests": {
+ "flamingo": "*"
}
}
diff --git a/src/main/resources/modid.common.json b/src/main/resources/modid.common.json
deleted file mode 100644
index b26285f..0000000
--- a/src/main/resources/modid.common.json
+++ /dev/null
@@ -1,10 +0,0 @@
-{
- "required": true,
- "package": "net.fabricmc.example.mixin",
- "compatibilityLevel": "JAVA_8",
- "mixins": [
- ],
- "injectors": {
- "defaultRequire": 1
- }
-}
diff --git a/src/main/resources/modid.client.json b/src/main/resources/modid.mixins.json
index 7e8bcc4..e243f0a 100644
--- a/src/main/resources/modid.client.json
+++ b/src/main/resources/modid.mixins.json
@@ -3,6 +3,8 @@
"package": "net.fabricmc.example.mixin",
"compatibilityLevel": "JAVA_8",
"mixins": [
+ ],
+ "client": [
"ExampleMixin"
],
"injectors": {