From 71bb1aa3397841d78693290b36a598eeecb21080 Mon Sep 17 00:00:00 2001 From: Nicholas Ignoffo Date: Mon, 21 Jan 2019 17:03:20 -0800 Subject: Migrate to pluginloader With this implementation, the loader will only be created on the client to mimic the current implementation. If plugin loader is not installed, the default plugin will still be registered so core functionality is preserved. --- src/main/resources/fabric.mod.json | 3 +++ src/main/resources/pluginloader.json | 7 +++++++ src/main/resources/plugins/rei.plugin.json | 8 -------- src/main/resources/plugins/roughlyenoughitems.plugin.json | 6 ++++++ 4 files changed, 16 insertions(+), 8 deletions(-) create mode 100644 src/main/resources/pluginloader.json delete mode 100644 src/main/resources/plugins/rei.plugin.json create mode 100644 src/main/resources/plugins/roughlyenoughitems.plugin.json (limited to 'src/main/resources') diff --git a/src/main/resources/fabric.mod.json b/src/main/resources/fabric.mod.json index 4aa90427e..1b6d61f4a 100755 --- a/src/main/resources/fabric.mod.json +++ b/src/main/resources/fabric.mod.json @@ -14,6 +14,9 @@ "requires": { "fabric": "0.1.4.76" }, + "recommended": { + "pluginloader": "1.0.7" + }, "mixins": { "client": "roughlyenoughitems.client.json" } diff --git a/src/main/resources/pluginloader.json b/src/main/resources/pluginloader.json new file mode 100644 index 000000000..8c256add0 --- /dev/null +++ b/src/main/resources/pluginloader.json @@ -0,0 +1,7 @@ +{ + "id": "roughlyenoughitems", + "initializer": "me.shedaniel.rei.RoughlyEnoughItemsPlugins", + "data": { + "side": "CLIENT" + } +} \ No newline at end of file diff --git a/src/main/resources/plugins/rei.plugin.json b/src/main/resources/plugins/rei.plugin.json deleted file mode 100644 index ab578d972..000000000 --- a/src/main/resources/plugins/rei.plugin.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "plugins": [ - { - "identifier": "roughlyenoughitems:default_plugin", - "class": "me.shedaniel.rei.plugin.DefaultPlugin" - } - ] -} \ No newline at end of file diff --git a/src/main/resources/plugins/roughlyenoughitems.plugin.json b/src/main/resources/plugins/roughlyenoughitems.plugin.json new file mode 100644 index 000000000..8ea3542ee --- /dev/null +++ b/src/main/resources/plugins/roughlyenoughitems.plugin.json @@ -0,0 +1,6 @@ +[ + { + "id": "default_plugin", + "initializer": "me.shedaniel.rei.plugin.DefaultPlugin" + } +] \ No newline at end of file -- cgit From 680a75bb732475d55d8b8f03802b95cb7521b1a1 Mon Sep 17 00:00:00 2001 From: Nicholas Ignoffo Date: Mon, 21 Jan 2019 18:05:04 -0800 Subject: Version recommendation should have the correct version --- src/main/resources/fabric.mod.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/main/resources') diff --git a/src/main/resources/fabric.mod.json b/src/main/resources/fabric.mod.json index 1b6d61f4a..ca390ff56 100755 --- a/src/main/resources/fabric.mod.json +++ b/src/main/resources/fabric.mod.json @@ -15,7 +15,7 @@ "fabric": "0.1.4.76" }, "recommended": { - "pluginloader": "1.0.7" + "pluginloader": "1.0.6" }, "mixins": { "client": "roughlyenoughitems.client.json" -- cgit