From 15b9ca9c06156c01d23a7ae93805092db9e15127 Mon Sep 17 00:00:00 2001 From: Kitlith Date: Sun, 12 Jul 2020 14:03:33 -0700 Subject: [PATCH 1/2] Add the patchwork-event-dispatcher module --- patchwork-event-dispatcher/README.md | 12 ++++++++ patchwork-event-dispatcher/build.gradle | 6 ++++ .../client/ForgeHooksClient.java | 27 ++++++++++++++++++ .../net/minecraftforge/common/ForgeHooks.java | 27 ++++++++++++++++++ .../event/ForgeEventFactory.java | 27 ++++++++++++++++++ .../fml/hooks/BasicEventHooks.java | 27 ++++++++++++++++++ .../icon.png | Bin 0 -> 22738 bytes .../src/main/resources/fabric.mod.json | 25 ++++++++++++++++ settings.gradle | 1 + 9 files changed, 152 insertions(+) create mode 100644 patchwork-event-dispatcher/README.md create mode 100644 patchwork-event-dispatcher/build.gradle create mode 100644 patchwork-event-dispatcher/src/main/java/net/minecraftforge/client/ForgeHooksClient.java create mode 100644 patchwork-event-dispatcher/src/main/java/net/minecraftforge/common/ForgeHooks.java create mode 100644 patchwork-event-dispatcher/src/main/java/net/minecraftforge/event/ForgeEventFactory.java create mode 100644 patchwork-event-dispatcher/src/main/java/net/minecraftforge/fml/hooks/BasicEventHooks.java create mode 100644 patchwork-event-dispatcher/src/main/resources/assets.patchwork-event-dispatcher/icon.png create mode 100644 patchwork-event-dispatcher/src/main/resources/fabric.mod.json diff --git a/patchwork-event-dispatcher/README.md b/patchwork-event-dispatcher/README.md new file mode 100644 index 00000000..43855528 --- /dev/null +++ b/patchwork-event-dispatcher/README.md @@ -0,0 +1,12 @@ +# patchwork-event-dispatcher + +Implementation of ForgeHooks, ForgeHooksClient, ForgeEventFactory, and BasicEventHooks that dispatches to different patchwork modules. + +## Reasoning + +Forge uses these classes from inside their patches in order to keep the size of their patches down. +Patchwork keeps its hooks seperated between modules, however, some mods also use these classes. +Therefore, this module exists to dispatch calls to these classes to the disperate modules that actually implement the relevant methods. + +## TODO + * Implement the methods on these classes that are actually already implemented in Patchwork. diff --git a/patchwork-event-dispatcher/build.gradle b/patchwork-event-dispatcher/build.gradle new file mode 100644 index 00000000..d4fdc058 --- /dev/null +++ b/patchwork-event-dispatcher/build.gradle @@ -0,0 +1,6 @@ +archivesBaseName = "patchwork-event-dispatcher" +version = getSubprojectVersion(project, "0.1.0") + +dependencies { + compile project(path: ':patchwork-fml', configuration: 'dev') +} diff --git a/patchwork-event-dispatcher/src/main/java/net/minecraftforge/client/ForgeHooksClient.java b/patchwork-event-dispatcher/src/main/java/net/minecraftforge/client/ForgeHooksClient.java new file mode 100644 index 00000000..ef6b02e5 --- /dev/null +++ b/patchwork-event-dispatcher/src/main/java/net/minecraftforge/client/ForgeHooksClient.java @@ -0,0 +1,27 @@ +/* + * Minecraft Forge, Patchwork Project + * Copyright (c) 2016-2020, 2019-2020 + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation version 2.1 + * of the License. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + */ + +package net.minecraftforge.client; + +/* + * Note: this class is intended for mod use only, to dispatch to the implementations kept in their own modules. + * Do not keep implementation details here, methods should be thin wrappers around methods in other modules. + */ +public class ForgeHooksClient { +} diff --git a/patchwork-event-dispatcher/src/main/java/net/minecraftforge/common/ForgeHooks.java b/patchwork-event-dispatcher/src/main/java/net/minecraftforge/common/ForgeHooks.java new file mode 100644 index 00000000..ed4d8220 --- /dev/null +++ b/patchwork-event-dispatcher/src/main/java/net/minecraftforge/common/ForgeHooks.java @@ -0,0 +1,27 @@ +/* + * Minecraft Forge, Patchwork Project + * Copyright (c) 2016-2020, 2019-2020 + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation version 2.1 + * of the License. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + */ + +package net.minecraftforge.common; + +/* + * Note: this class is intended for mod use only, to dispatch to the implementations kept in their own modules. + * Do not keep implementation details here, methods should be thin wrappers around methods in other modules. + */ +public class ForgeHooks { +} diff --git a/patchwork-event-dispatcher/src/main/java/net/minecraftforge/event/ForgeEventFactory.java b/patchwork-event-dispatcher/src/main/java/net/minecraftforge/event/ForgeEventFactory.java new file mode 100644 index 00000000..f9e54a66 --- /dev/null +++ b/patchwork-event-dispatcher/src/main/java/net/minecraftforge/event/ForgeEventFactory.java @@ -0,0 +1,27 @@ +/* + * Minecraft Forge, Patchwork Project + * Copyright (c) 2016-2020, 2019-2020 + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation version 2.1 + * of the License. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + */ + +package net.minecraftforge.event; + +/* + * Note: this class is intended for mod use only, to dispatch to the implementations kept in their own modules. + * Do not keep implementation details here, methods should be thin wrappers around methods in other modules. + */ +public class ForgeEventFactory { +} diff --git a/patchwork-event-dispatcher/src/main/java/net/minecraftforge/fml/hooks/BasicEventHooks.java b/patchwork-event-dispatcher/src/main/java/net/minecraftforge/fml/hooks/BasicEventHooks.java new file mode 100644 index 00000000..cf63ab9d --- /dev/null +++ b/patchwork-event-dispatcher/src/main/java/net/minecraftforge/fml/hooks/BasicEventHooks.java @@ -0,0 +1,27 @@ +/* + * Minecraft Forge, Patchwork Project + * Copyright (c) 2016-2020, 2019-2020 + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation version 2.1 + * of the License. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + */ + +package net.minecraftforge.fml.hooks; + +/* + * Note: this class is intended for mod use only, to dispatch to the implementations kept in their own modules. + * Do not keep implementation details here, methods should be thin wrappers around methods in other modules. + */ +public class BasicEventHooks { +} diff --git a/patchwork-event-dispatcher/src/main/resources/assets.patchwork-event-dispatcher/icon.png b/patchwork-event-dispatcher/src/main/resources/assets.patchwork-event-dispatcher/icon.png new file mode 100644 index 0000000000000000000000000000000000000000..de75d2fbe9467f986e4f3072e76fa751dbd72879 GIT binary patch literal 22738 zcmV*jKuo`hP) zaB^>EX>4U6ba`-PAZ2)IW&i+q+MStcvLicgM*rt3yaW;;2y!_bBYFp3z7JBm<*Mp- zhohxeS9&>-#PAK&bN>4u_xUegC2M(#d8@tF#H;kuW$>k?&nv!9{t5r~=TNKZ=ao}` z|Guy1*Vp{#iJxy-{yP5s%;T>ImG9_z{(0i(xU|0>B%cqB0r;NF_d)&pB`b&j#mKcc zPvw9Ae|!hH-z8SJQk&aTcNIyhasneWOu-7LK0GhUi&UfKC9c|6(PgN^eokGy%`_pRAQq=@7r zg&PjX&ab)T@38(3d{TQD`*2a=VI`mc{QdlYFT8g}h;lS^`}8&Ql1NJ|HWQ=x;Ii_j z^(QC#XO;Z+igWcXP2*|hbEod-)8bL6k*asip9_C4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cZ}hO)AJV{R3Ck;Ad2HJ>`D4{X*M=)Uq+!nb&&fn zI+Wb;I1Ce`9{K`YmK2qUOb8gb|CP!thl>1z>+huDJKHL_hLB(&4eozSuDR3v)34H$ z=>VXttnuws66cr)-2WCI-mSYg={+0y;7&e!l!pgEM6o!`IHZyF&=+gQQ5hIi=6ItPRTwwh6=jH7Wz%UCO0OwEg!8i1tO?vMpKD?VRoOTp? zTep!0z|dTjo+StjYHg+{XhT3LAD?WQn zcW=@Aw(_xk=sV9UqtF|p3cdC#@sYuxigv}sg@Jp+p!nr9d`DYV7ZwZ#LVyS(gPgQ| zH8C*5N-@|eiZx7R8T>fP<99ZHb?0#8|$$%l`i6rqZV8A)D;i6A4d^dBFc2YcieavyI1DhcwoiD|BKUHIL1^b{$S@F* zsE<*@fGcK}MBEFx))j^TFsP#O<3$EUB)drXk01;f)Wp*-2ZQSDGXC_jk}%+j00SPY z0!@H51cL!j1Q>9QDGYo$!eGo06H0C_Ul`Q-m!t<8aZeXMaVrQ=3j;Ntc(f_$w4q@^MDGz6 zg?hwRSbYpd!s;R9+Vlw5dI(uKEm%T_0V=nKi3fvv2su(1c=?sFsSu&UpdLaF4F>fP za)f@4@u?8OV1U|&!DSgjuFhe5nS_vwr9$|HK|O?Ac^Gg#gzSH^bSgxZU{H^pRR9K6 zv50C92ExTd;R&@H1Fc9u8;KDGdb%_raJ3~E$TrnSD)k4U^3+y=Zph4x_ zGW8I0ZFq!HdOTDb< dY2fZj{$B&k!`nHB22%h4002ovPDHLkV1kJMfqMV| literal 0 HcmV?d00001 diff --git a/patchwork-event-dispatcher/src/main/resources/fabric.mod.json b/patchwork-event-dispatcher/src/main/resources/fabric.mod.json new file mode 100644 index 00000000..8ecad0e7 --- /dev/null +++ b/patchwork-event-dispatcher/src/main/resources/fabric.mod.json @@ -0,0 +1,25 @@ +{ + "schemaVersion": 1, + "id": "patchwork-event-dispatcher", + "name": "Patchwork Event Dispatcher", + "version": "${version}", + "description": "Implements ForgeHooks, ForgeEventFactory, and more.", + "environment": "*", + "license": "LGPL-2.1-only", + "icon": "assets/patchwork-event-dispatcher/icon.png", + "contact": { + "issues": "https://github.com/PatchworkMC/patchwork-api/issues", + "sources": "https://github.com/PatchworkMC/patchwork-api" + }, + "authors": [ + "PatchworkMC" + ], + "depends": { + "fabricloader": ">=0.8.4", + "patchwork-fml": "*" + }, + "custom": { + "modmenu:api": true, + "modmenu:parent": "patchwork" + } +} diff --git a/settings.gradle b/settings.gradle index de8499f9..575a02c7 100644 --- a/settings.gradle +++ b/settings.gradle @@ -17,6 +17,7 @@ include 'patchwork-capabilities' include 'patchwork-data-generators' include 'patchwork-dispatcher' include 'patchwork-enum-hacks' +include 'patchwork-event-dispatcher' include 'patchwork-events-entity' include 'patchwork-events-input' include 'patchwork-events-lifecycle' From c50deda66b2d8c01805769fa743f82c848c33f45 Mon Sep 17 00:00:00 2001 From: Kitlith Date: Sun, 12 Jul 2020 15:04:03 -0700 Subject: [PATCH 2/2] patchwork-event-dispatcher -> patchwork-god-classes --- .../README.md | 2 +- .../build.gradle | 2 +- .../net/minecraftforge/client/ForgeHooksClient.java | 0 .../java/net/minecraftforge/common/ForgeHooks.java | 0 .../net/minecraftforge/event/ForgeEventFactory.java | 0 .../minecraftforge/fml/hooks/BasicEventHooks.java | 0 .../assets.patchwork-god-classes}/icon.png | Bin .../src/main/resources/fabric.mod.json | 6 +++--- settings.gradle | 2 +- 9 files changed, 6 insertions(+), 6 deletions(-) rename {patchwork-event-dispatcher => patchwork-god-classes}/README.md (95%) rename {patchwork-event-dispatcher => patchwork-god-classes}/build.gradle (73%) rename {patchwork-event-dispatcher => patchwork-god-classes}/src/main/java/net/minecraftforge/client/ForgeHooksClient.java (100%) rename {patchwork-event-dispatcher => patchwork-god-classes}/src/main/java/net/minecraftforge/common/ForgeHooks.java (100%) rename {patchwork-event-dispatcher => patchwork-god-classes}/src/main/java/net/minecraftforge/event/ForgeEventFactory.java (100%) rename {patchwork-event-dispatcher => patchwork-god-classes}/src/main/java/net/minecraftforge/fml/hooks/BasicEventHooks.java (100%) rename {patchwork-event-dispatcher/src/main/resources/assets.patchwork-event-dispatcher => patchwork-god-classes/src/main/resources/assets.patchwork-god-classes}/icon.png (100%) rename {patchwork-event-dispatcher => patchwork-god-classes}/src/main/resources/fabric.mod.json (79%) diff --git a/patchwork-event-dispatcher/README.md b/patchwork-god-classes/README.md similarity index 95% rename from patchwork-event-dispatcher/README.md rename to patchwork-god-classes/README.md index 43855528..2d17ec0e 100644 --- a/patchwork-event-dispatcher/README.md +++ b/patchwork-god-classes/README.md @@ -1,4 +1,4 @@ -# patchwork-event-dispatcher +# patchwork-god-classes Implementation of ForgeHooks, ForgeHooksClient, ForgeEventFactory, and BasicEventHooks that dispatches to different patchwork modules. diff --git a/patchwork-event-dispatcher/build.gradle b/patchwork-god-classes/build.gradle similarity index 73% rename from patchwork-event-dispatcher/build.gradle rename to patchwork-god-classes/build.gradle index d4fdc058..843fce7b 100644 --- a/patchwork-event-dispatcher/build.gradle +++ b/patchwork-god-classes/build.gradle @@ -1,4 +1,4 @@ -archivesBaseName = "patchwork-event-dispatcher" +archivesBaseName = "patchwork-god-classes" version = getSubprojectVersion(project, "0.1.0") dependencies { diff --git a/patchwork-event-dispatcher/src/main/java/net/minecraftforge/client/ForgeHooksClient.java b/patchwork-god-classes/src/main/java/net/minecraftforge/client/ForgeHooksClient.java similarity index 100% rename from patchwork-event-dispatcher/src/main/java/net/minecraftforge/client/ForgeHooksClient.java rename to patchwork-god-classes/src/main/java/net/minecraftforge/client/ForgeHooksClient.java diff --git a/patchwork-event-dispatcher/src/main/java/net/minecraftforge/common/ForgeHooks.java b/patchwork-god-classes/src/main/java/net/minecraftforge/common/ForgeHooks.java similarity index 100% rename from patchwork-event-dispatcher/src/main/java/net/minecraftforge/common/ForgeHooks.java rename to patchwork-god-classes/src/main/java/net/minecraftforge/common/ForgeHooks.java diff --git a/patchwork-event-dispatcher/src/main/java/net/minecraftforge/event/ForgeEventFactory.java b/patchwork-god-classes/src/main/java/net/minecraftforge/event/ForgeEventFactory.java similarity index 100% rename from patchwork-event-dispatcher/src/main/java/net/minecraftforge/event/ForgeEventFactory.java rename to patchwork-god-classes/src/main/java/net/minecraftforge/event/ForgeEventFactory.java diff --git a/patchwork-event-dispatcher/src/main/java/net/minecraftforge/fml/hooks/BasicEventHooks.java b/patchwork-god-classes/src/main/java/net/minecraftforge/fml/hooks/BasicEventHooks.java similarity index 100% rename from patchwork-event-dispatcher/src/main/java/net/minecraftforge/fml/hooks/BasicEventHooks.java rename to patchwork-god-classes/src/main/java/net/minecraftforge/fml/hooks/BasicEventHooks.java diff --git a/patchwork-event-dispatcher/src/main/resources/assets.patchwork-event-dispatcher/icon.png b/patchwork-god-classes/src/main/resources/assets.patchwork-god-classes/icon.png similarity index 100% rename from patchwork-event-dispatcher/src/main/resources/assets.patchwork-event-dispatcher/icon.png rename to patchwork-god-classes/src/main/resources/assets.patchwork-god-classes/icon.png diff --git a/patchwork-event-dispatcher/src/main/resources/fabric.mod.json b/patchwork-god-classes/src/main/resources/fabric.mod.json similarity index 79% rename from patchwork-event-dispatcher/src/main/resources/fabric.mod.json rename to patchwork-god-classes/src/main/resources/fabric.mod.json index 8ecad0e7..b4741cde 100644 --- a/patchwork-event-dispatcher/src/main/resources/fabric.mod.json +++ b/patchwork-god-classes/src/main/resources/fabric.mod.json @@ -1,12 +1,12 @@ { "schemaVersion": 1, - "id": "patchwork-event-dispatcher", - "name": "Patchwork Event Dispatcher", + "id": "patchwork-god-classes", + "name": "Patchwork God Classes", "version": "${version}", "description": "Implements ForgeHooks, ForgeEventFactory, and more.", "environment": "*", "license": "LGPL-2.1-only", - "icon": "assets/patchwork-event-dispatcher/icon.png", + "icon": "assets/patchwork-god-classes/icon.png", "contact": { "issues": "https://github.com/PatchworkMC/patchwork-api/issues", "sources": "https://github.com/PatchworkMC/patchwork-api" diff --git a/settings.gradle b/settings.gradle index 575a02c7..444b4685 100644 --- a/settings.gradle +++ b/settings.gradle @@ -17,7 +17,6 @@ include 'patchwork-capabilities' include 'patchwork-data-generators' include 'patchwork-dispatcher' include 'patchwork-enum-hacks' -include 'patchwork-event-dispatcher' include 'patchwork-events-entity' include 'patchwork-events-input' include 'patchwork-events-lifecycle' @@ -28,6 +27,7 @@ include 'patchwork-extensions-block' include 'patchwork-extensions-item' include 'patchwork-extensions-shearing' include 'patchwork-fml' +include 'patchwork-god-classes' include 'patchwork-gui' include 'patchwork-level-generators' include 'patchwork-loot'