From d72e84c515e94a58289ade17a3fce854876280ca Mon Sep 17 00:00:00 2001 From: Cat Core Date: Wed, 7 Feb 2024 11:10:46 +0100 Subject: [PATCH 01/27] Improve moduleDependencies notation --- .../build.gradle | 14 +++-- .../build.gradle | 4 +- 1.10.2/legacyfabric-api/build.gradle | 60 +++++++++++-------- 1.11.2/legacyfabric-api/build.gradle | 60 +++++++++++-------- .../legacy-fabric-command-api-v2/build.gradle | 12 ++-- .../build.gradle | 6 +- .../legacy-fabric-item-groups-v1/build.gradle | 4 +- .../build.gradle | 6 +- .../build.gradle | 6 +- .../build.gradle | 14 +++-- .../build.gradle | 4 +- 1.12.2/legacyfabric-api/build.gradle | 56 +++++++++-------- 1.13.2/legacyfabric-api/build.gradle | 56 +++++++++-------- 1.7.10/legacy-fabric-api-base/build.gradle | 4 +- .../legacy-fabric-command-api-v2/build.gradle | 14 +++-- .../build.gradle | 12 ++-- .../build.gradle | 6 +- .../build.gradle | 6 +- .../build.gradle | 12 ++-- .../build.gradle | 6 +- .../build.gradle | 4 +- 1.7.10/legacyfabric-api/build.gradle | 56 +++++++++-------- 1.8.9/legacy-fabric-api-base/build.gradle | 4 +- .../legacy-fabric-command-api-v2/build.gradle | 12 ++-- .../build.gradle | 6 +- .../legacy-fabric-item-groups-v1/build.gradle | 4 +- .../build.gradle | 12 ++-- .../build.gradle | 6 +- .../build.gradle | 6 +- .../build.gradle | 6 +- .../build.gradle | 14 +++-- .../build.gradle | 6 +- .../build.gradle | 4 +- 1.8.9/legacyfabric-api/build.gradle | 54 +++++++++-------- .../build.gradle | 14 +++-- .../build.gradle | 4 +- 1.8/legacyfabric-api/build.gradle | 56 +++++++++-------- .../build.gradle | 6 +- .../build.gradle | 14 +++-- 1.9.4/legacyfabric-api/build.gradle | 58 ++++++++++-------- build.gradle | 48 +++++++++++++++ .../legacy-fabric-command-api-v1/build.gradle | 6 +- .../build.gradle | 4 +- .../build.gradle | 4 +- .../build.gradle | 4 +- .../build.gradle | 6 +- .../build.gradle | 4 +- .../build.gradle | 4 +- .../build.gradle | 4 +- .../build.gradle | 6 +- .../build.gradle | 4 +- .../build.gradle | 4 +- 52 files changed, 510 insertions(+), 296 deletions(-) diff --git a/1.10.2/legacy-fabric-registry-sync-api-v1/build.gradle b/1.10.2/legacy-fabric-registry-sync-api-v1/build.gradle index a6ad69591..531529996 100644 --- a/1.10.2/legacy-fabric-registry-sync-api-v1/build.gradle +++ b/1.10.2/legacy-fabric-registry-sync-api-v1/build.gradle @@ -1,9 +1,13 @@ version = getSubprojectVersion(project) moduleDependencies(project, [ - 'common:legacy-fabric-api-base-common', - 'common:legacy-fabric-networking-api-v1-common', - 'common:legacy-fabric-registry-sync-api-v1-common', - 'common:legacy-fabric-resource-loader-v1-common', - '1.8.9:legacy-fabric-api-base' + "common": [ + "legacy-fabric-api-base-common", + "legacy-fabric-networking-api-v1-common", + "legacy-fabric-registry-sync-api-v1-common", + "legacy-fabric-resource-loader-v1-common" + ], + "1.8.9": [ + "legacy-fabric-api-base" + ] ]) diff --git a/1.10.2/legacy-fabric-resource-loader-v1/build.gradle b/1.10.2/legacy-fabric-resource-loader-v1/build.gradle index ecbce8557..41435cc83 100644 --- a/1.10.2/legacy-fabric-resource-loader-v1/build.gradle +++ b/1.10.2/legacy-fabric-resource-loader-v1/build.gradle @@ -1,5 +1,7 @@ version = getSubprojectVersion(project) moduleDependencies(project, [ - "common:legacy-fabric-resource-loader-v1-common" + "common": [ + "legacy-fabric-resource-loader-v1-common" + ] ]) diff --git a/1.10.2/legacyfabric-api/build.gradle b/1.10.2/legacyfabric-api/build.gradle index 420a77402..ea64d526c 100644 --- a/1.10.2/legacyfabric-api/build.gradle +++ b/1.10.2/legacyfabric-api/build.gradle @@ -1,29 +1,39 @@ version = getSubprojectVersion(project) moduleDependencies(project, [ - 'common:legacy-fabric-api-base-common', - 'common:legacy-fabric-command-api-v1', - 'common:legacy-fabric-entity-events-v1-common', - 'common:legacy-fabric-gamerule-api-v1', - 'common:legacy-fabric-item-groups-v1-common', - 'common:legacy-fabric-keybindings-api-v1-common', - 'common:legacy-fabric-lifecycle-events-v1-common', - 'common:legacy-fabric-logger-api-v1', - 'common:legacy-fabric-networking-api-v1-common', - 'common:legacy-fabric-permissions-api-v1-common', - 'common:legacy-fabric-registry-sync-api-v1-common', - 'common:legacy-fabric-rendering-api-v1-common', - 'common:legacy-fabric-resource-loader-v1-common', - '1.8.9:legacy-fabric-api-base', - '1.12.2:legacy-fabric-command-api-v2', - '1.8.9:legacy-fabric-crash-report-info-v1', - '1.9.4:legacy-fabric-entity-events-v1', - '1.8.9:legacy-fabric-item-groups-v1', - '1.12.2:legacy-fabric-lifecycle-events-v1', - '1.8.9:legacy-fabric-permissions-api-v1', - '1.10.2:legacy-fabric-resource-loader-v1', - '1.8.9:legacy-fabric-keybindings-api-v1', - '1.10.2:legacy-fabric-registry-sync-api-v1', - '1.12.2:legacy-fabric-networking-api-v1', - '1.8.9:legacy-fabric-rendering-api-v1' + "common": [ + "legacy-fabric-api-base-common", + "legacy-fabric-command-api-v1", + "legacy-fabric-entity-events-v1-common", + "legacy-fabric-gamerule-api-v1", + "legacy-fabric-item-groups-v1-common", + "legacy-fabric-keybindings-api-v1-common", + "legacy-fabric-lifecycle-events-v1-common", + "legacy-fabric-logger-api-v1", + "legacy-fabric-networking-api-v1-common", + "legacy-fabric-permissions-api-v1-common", + "legacy-fabric-registry-sync-api-v1-common", + "legacy-fabric-rendering-api-v1-common", + "legacy-fabric-resource-loader-v1-common" + ], + "1.8.9": [ + "legacy-fabric-api-base", + "legacy-fabric-crash-report-info-v1", + "legacy-fabric-item-groups-v1", + "legacy-fabric-permissions-api-v1", + "legacy-fabric-keybindings-api-v1", + "legacy-fabric-rendering-api-v1" + ], + "1.9.4": [ + "legacy-fabric-entity-events-v1" + ], + "1.10.2": [ + "legacy-fabric-resource-loader-v1", + "legacy-fabric-registry-sync-api-v1" + ], + "1.12.2": [ + "legacy-fabric-command-api-v2", + "legacy-fabric-lifecycle-events-v1", + "legacy-fabric-networking-api-v1" + ] ]) diff --git a/1.11.2/legacyfabric-api/build.gradle b/1.11.2/legacyfabric-api/build.gradle index 729c9f852..dda435bc1 100644 --- a/1.11.2/legacyfabric-api/build.gradle +++ b/1.11.2/legacyfabric-api/build.gradle @@ -1,29 +1,39 @@ version = getSubprojectVersion(project) moduleDependencies(project, [ - 'common:legacy-fabric-api-base-common', - 'common:legacy-fabric-command-api-v1', - 'common:legacy-fabric-entity-events-v1-common', - 'common:legacy-fabric-gamerule-api-v1', - 'common:legacy-fabric-item-groups-v1-common', - 'common:legacy-fabric-keybindings-api-v1-common', - 'common:legacy-fabric-lifecycle-events-v1-common', - 'common:legacy-fabric-logger-api-v1', - 'common:legacy-fabric-networking-api-v1-common', - 'common:legacy-fabric-permissions-api-v1-common', - 'common:legacy-fabric-registry-sync-api-v1-common', - 'common:legacy-fabric-rendering-api-v1-common', - 'common:legacy-fabric-resource-loader-v1-common', - '1.8.9:legacy-fabric-api-base', - '1.12.2:legacy-fabric-command-api-v2', - '1.8.9:legacy-fabric-crash-report-info-v1', - '1.9.4:legacy-fabric-entity-events-v1', - '1.12.2:legacy-fabric-item-groups-v1', - '1.12.2:legacy-fabric-lifecycle-events-v1', - '1.8.9:legacy-fabric-permissions-api-v1', - '1.10.2:legacy-fabric-resource-loader-v1', - '1.8.9:legacy-fabric-keybindings-api-v1', - '1.12.2:legacy-fabric-registry-sync-api-v1', - '1.12.2:legacy-fabric-networking-api-v1', - '1.8.9:legacy-fabric-rendering-api-v1' + "common": [ + "legacy-fabric-api-base-common", + "legacy-fabric-command-api-v1", + "legacy-fabric-entity-events-v1-common", + "legacy-fabric-gamerule-api-v1", + "legacy-fabric-item-groups-v1-common", + "legacy-fabric-keybindings-api-v1-common", + "legacy-fabric-lifecycle-events-v1-common", + "legacy-fabric-logger-api-v1", + "legacy-fabric-networking-api-v1-common", + "legacy-fabric-permissions-api-v1-common", + "legacy-fabric-registry-sync-api-v1-common", + "legacy-fabric-rendering-api-v1-common", + "legacy-fabric-resource-loader-v1-common" + ], + "1.8.9": [ + "legacy-fabric-api-base", + "legacy-fabric-crash-report-info-v1", + "legacy-fabric-permissions-api-v1", + "legacy-fabric-keybindings-api-v1", + "legacy-fabric-rendering-api-v1" + ], + "1.9.4": [ + "legacy-fabric-entity-events-v1" + ], + "1.10.2": [ + "legacy-fabric-resource-loader-v1" + ], + "1.12.2": [ + "legacy-fabric-command-api-v2", + "legacy-fabric-item-groups-v1", + "legacy-fabric-lifecycle-events-v1", + "legacy-fabric-registry-sync-api-v1", + "legacy-fabric-networking-api-v1" + ] ]) diff --git a/1.12.2/legacy-fabric-command-api-v2/build.gradle b/1.12.2/legacy-fabric-command-api-v2/build.gradle index d336a874f..907be2c90 100644 --- a/1.12.2/legacy-fabric-command-api-v2/build.gradle +++ b/1.12.2/legacy-fabric-command-api-v2/build.gradle @@ -1,8 +1,12 @@ version = getSubprojectVersion(project) moduleDependencies(project, [ - 'common:legacy-fabric-api-base-common', - '1.8.9:legacy-fabric-api-base', - 'common:legacy-fabric-command-api-v1', - '1.8.9:legacy-fabric-permissions-api-v1' + "common": [ + "legacy-fabric-api-base-common", + "legacy-fabric-command-api-v1" + ], + "1.8.9": [ + "legacy-fabric-api-base", + "legacy-fabric-permissions-api-v1" + ] ]) diff --git a/1.12.2/legacy-fabric-entity-events-v1/build.gradle b/1.12.2/legacy-fabric-entity-events-v1/build.gradle index 705b90f10..a5a88090a 100644 --- a/1.12.2/legacy-fabric-entity-events-v1/build.gradle +++ b/1.12.2/legacy-fabric-entity-events-v1/build.gradle @@ -1,6 +1,8 @@ version = getSubprojectVersion(project) moduleDependencies(project, [ - 'common:legacy-fabric-api-base-common', - 'common:legacy-fabric-entity-events-v1-common' + "common": [ + "legacy-fabric-api-base-common", + "legacy-fabric-entity-events-v1-common" + ] ]) diff --git a/1.12.2/legacy-fabric-item-groups-v1/build.gradle b/1.12.2/legacy-fabric-item-groups-v1/build.gradle index 89982c9e2..f4df0b360 100644 --- a/1.12.2/legacy-fabric-item-groups-v1/build.gradle +++ b/1.12.2/legacy-fabric-item-groups-v1/build.gradle @@ -1,5 +1,7 @@ version = getSubprojectVersion(project) moduleDependencies(project, [ - "common:legacy-fabric-item-groups-v1-common" + "common": [ + "legacy-fabric-item-groups-v1-common" + ] ]) diff --git a/1.12.2/legacy-fabric-lifecycle-events-v1/build.gradle b/1.12.2/legacy-fabric-lifecycle-events-v1/build.gradle index bcaeeea19..b0d630638 100644 --- a/1.12.2/legacy-fabric-lifecycle-events-v1/build.gradle +++ b/1.12.2/legacy-fabric-lifecycle-events-v1/build.gradle @@ -1,6 +1,8 @@ version = getSubprojectVersion(project) moduleDependencies(project, [ - 'common:legacy-fabric-api-base-common', - 'common:legacy-fabric-lifecycle-events-v1-common' + "common": [ + "legacy-fabric-api-base-common", + "legacy-fabric-lifecycle-events-v1-common" + ] ]) diff --git a/1.12.2/legacy-fabric-networking-api-v1/build.gradle b/1.12.2/legacy-fabric-networking-api-v1/build.gradle index 2dea35ca5..83d6f911d 100644 --- a/1.12.2/legacy-fabric-networking-api-v1/build.gradle +++ b/1.12.2/legacy-fabric-networking-api-v1/build.gradle @@ -1,6 +1,8 @@ version = getSubprojectVersion(project) moduleDependencies(project, [ - 'common:legacy-fabric-api-base-common', - 'common:legacy-fabric-networking-api-v1-common' + "common": [ + "legacy-fabric-api-base-common", + "legacy-fabric-networking-api-v1-common" + ] ]) diff --git a/1.12.2/legacy-fabric-registry-sync-api-v1/build.gradle b/1.12.2/legacy-fabric-registry-sync-api-v1/build.gradle index a6ad69591..531529996 100644 --- a/1.12.2/legacy-fabric-registry-sync-api-v1/build.gradle +++ b/1.12.2/legacy-fabric-registry-sync-api-v1/build.gradle @@ -1,9 +1,13 @@ version = getSubprojectVersion(project) moduleDependencies(project, [ - 'common:legacy-fabric-api-base-common', - 'common:legacy-fabric-networking-api-v1-common', - 'common:legacy-fabric-registry-sync-api-v1-common', - 'common:legacy-fabric-resource-loader-v1-common', - '1.8.9:legacy-fabric-api-base' + "common": [ + "legacy-fabric-api-base-common", + "legacy-fabric-networking-api-v1-common", + "legacy-fabric-registry-sync-api-v1-common", + "legacy-fabric-resource-loader-v1-common" + ], + "1.8.9": [ + "legacy-fabric-api-base" + ] ]) diff --git a/1.12.2/legacy-fabric-resource-loader-v1/build.gradle b/1.12.2/legacy-fabric-resource-loader-v1/build.gradle index ecbce8557..41435cc83 100644 --- a/1.12.2/legacy-fabric-resource-loader-v1/build.gradle +++ b/1.12.2/legacy-fabric-resource-loader-v1/build.gradle @@ -1,5 +1,7 @@ version = getSubprojectVersion(project) moduleDependencies(project, [ - "common:legacy-fabric-resource-loader-v1-common" + "common": [ + "legacy-fabric-resource-loader-v1-common" + ] ]) diff --git a/1.12.2/legacyfabric-api/build.gradle b/1.12.2/legacyfabric-api/build.gradle index f7690c2a1..ca95a9d91 100644 --- a/1.12.2/legacyfabric-api/build.gradle +++ b/1.12.2/legacyfabric-api/build.gradle @@ -1,29 +1,35 @@ version = getSubprojectVersion(project) moduleDependencies(project, [ - 'common:legacy-fabric-api-base-common', - 'common:legacy-fabric-command-api-v1', - 'common:legacy-fabric-entity-events-v1-common', - 'common:legacy-fabric-gamerule-api-v1', - 'common:legacy-fabric-item-groups-v1-common', - 'common:legacy-fabric-keybindings-api-v1-common', - 'common:legacy-fabric-lifecycle-events-v1-common', - 'common:legacy-fabric-logger-api-v1', - 'common:legacy-fabric-networking-api-v1-common', - 'common:legacy-fabric-permissions-api-v1-common', - 'common:legacy-fabric-registry-sync-api-v1-common', - 'common:legacy-fabric-rendering-api-v1-common', - 'common:legacy-fabric-resource-loader-v1-common', - '1.8.9:legacy-fabric-api-base', - '1.12.2:legacy-fabric-command-api-v2', - '1.8.9:legacy-fabric-crash-report-info-v1', - '1.12.2:legacy-fabric-entity-events-v1', - '1.12.2:legacy-fabric-item-groups-v1', - '1.12.2:legacy-fabric-lifecycle-events-v1', - '1.8.9:legacy-fabric-permissions-api-v1', - '1.12.2:legacy-fabric-resource-loader-v1', - '1.8.9:legacy-fabric-keybindings-api-v1', - '1.12.2:legacy-fabric-registry-sync-api-v1', - '1.12.2:legacy-fabric-networking-api-v1', - '1.8.9:legacy-fabric-rendering-api-v1' + "common": [ + "legacy-fabric-api-base-common", + "legacy-fabric-command-api-v1", + "legacy-fabric-entity-events-v1-common", + "legacy-fabric-gamerule-api-v1", + "legacy-fabric-item-groups-v1-common", + "legacy-fabric-keybindings-api-v1-common", + "legacy-fabric-lifecycle-events-v1-common", + "legacy-fabric-logger-api-v1", + "legacy-fabric-networking-api-v1-common", + "legacy-fabric-permissions-api-v1-common", + "legacy-fabric-registry-sync-api-v1-common", + "legacy-fabric-rendering-api-v1-common", + "legacy-fabric-resource-loader-v1-common" + ], + "1.8.9": [ + "legacy-fabric-api-base", + "legacy-fabric-crash-report-info-v1", + "legacy-fabric-permissions-api-v1", + "legacy-fabric-keybindings-api-v1", + "legacy-fabric-rendering-api-v1" + ], + "1.12.2": [ + "legacy-fabric-command-api-v2", + "legacy-fabric-entity-events-v1", + "legacy-fabric-item-groups-v1", + "legacy-fabric-lifecycle-events-v1", + "legacy-fabric-resource-loader-v1", + "legacy-fabric-registry-sync-api-v1", + "legacy-fabric-networking-api-v1" + ] ]) diff --git a/1.13.2/legacyfabric-api/build.gradle b/1.13.2/legacyfabric-api/build.gradle index d35d63536..4ad2516bf 100644 --- a/1.13.2/legacyfabric-api/build.gradle +++ b/1.13.2/legacyfabric-api/build.gradle @@ -1,29 +1,35 @@ version = getSubprojectVersion(project) moduleDependencies(project, [ - 'common:legacy-fabric-api-base-common', -// 'common:legacy-fabric-command-api-v1', - 'common:legacy-fabric-entity-events-v1-common', - 'common:legacy-fabric-gamerule-api-v1', -// 'common:legacy-fabric-item-groups-v1-common', - 'common:legacy-fabric-keybindings-api-v1-common', - 'common:legacy-fabric-lifecycle-events-v1-common', - 'common:legacy-fabric-logger-api-v1', -// 'common:legacy-fabric-networking-api-v1-common', -// 'common:legacy-fabric-permissions-api-v1-common', -// 'common:legacy-fabric-registry-sync-api-v1-common', -// 'common:legacy-fabric-rendering-api-v1-common', - 'common:legacy-fabric-resource-loader-v1-common', - '1.8.9:legacy-fabric-api-base', -// '1.12.2:legacy-fabric-command-api-v2', - '1.8.9:legacy-fabric-crash-report-info-v1', -// '1.12.2:legacy-fabric-entity-events-v1', -// '1.12.2:legacy-fabric-item-groups-v1', -// '1.12.2:legacy-fabric-lifecycle-events-v1', -// '1.8.9:legacy-fabric-permissions-api-v1', -// '1.12.2:legacy-fabric-resource-loader-v1', -// '1.8.9:legacy-fabric-keybindings-api-v1', -// '1.8.9:legacy-fabric-registry-sync-api-v1', -// '1.12.2:legacy-fabric-networking-api-v1', -// '1.8.9:legacy-fabric-rendering-api-v1' + "common": [ + "legacy-fabric-api-base-common", +// "legacy-fabric-command-api-v1", + "legacy-fabric-entity-events-v1-common", + "legacy-fabric-gamerule-api-v1", +// "legacy-fabric-item-groups-v1-common", + "legacy-fabric-keybindings-api-v1-common", + "legacy-fabric-lifecycle-events-v1-common", + "legacy-fabric-logger-api-v1", +// "legacy-fabric-networking-api-v1-common", +// "legacy-fabric-permissions-api-v1-common", +// "legacy-fabric-registry-sync-api-v1-common", +// "legacy-fabric-rendering-api-v1-common", + "legacy-fabric-resource-loader-v1-common" + ], + "1.8.9": [ + "legacy-fabric-api-base", + "legacy-fabric-crash-report-info-v1", +// "legacy-fabric-permissions-api-v1", +// "legacy-fabric-keybindings-api-v1", +// "legacy-fabric-registry-sync-api-v1", +// "legacy-fabric-rendering-api-v1" + ], + "1.12.2": [ +// "legacy-fabric-command-api-v2", +// "legacy-fabric-entity-events-v1", +// "legacy-fabric-item-groups-v1", +// "legacy-fabric-lifecycle-events-v1", +// "legacy-fabric-resource-loader-v1" +// "legacy-fabric-networking-api-v1" + ] ]) diff --git a/1.7.10/legacy-fabric-api-base/build.gradle b/1.7.10/legacy-fabric-api-base/build.gradle index 9f67304b7..c86a3e091 100644 --- a/1.7.10/legacy-fabric-api-base/build.gradle +++ b/1.7.10/legacy-fabric-api-base/build.gradle @@ -2,5 +2,7 @@ version = getSubprojectVersion(project) moduleDependencies(project, [ - 'common:legacy-fabric-api-base-common' + "common": [ + "legacy-fabric-api-base-common" + ] ]) diff --git a/1.7.10/legacy-fabric-command-api-v2/build.gradle b/1.7.10/legacy-fabric-command-api-v2/build.gradle index ecdc58dde..b0239bc28 100644 --- a/1.7.10/legacy-fabric-command-api-v2/build.gradle +++ b/1.7.10/legacy-fabric-command-api-v2/build.gradle @@ -1,8 +1,14 @@ version = getSubprojectVersion(project) moduleDependencies(project, [ - 'common:legacy-fabric-api-base-common', - '1.7.10:legacy-fabric-api-base', - 'common:legacy-fabric-command-api-v1', - '1.8.9:legacy-fabric-permissions-api-v1' + "common": [ + "legacy-fabric-api-base-common", + "legacy-fabric-command-api-v1" + ], + "1.7.10": [ + "legacy-fabric-api-base" + ], + "1.8.9": [ + "legacy-fabric-permissions-api-v1" + ] ]) diff --git a/1.7.10/legacy-fabric-keybindings-api-v1/build.gradle b/1.7.10/legacy-fabric-keybindings-api-v1/build.gradle index 84e840d05..cc72b51d9 100644 --- a/1.7.10/legacy-fabric-keybindings-api-v1/build.gradle +++ b/1.7.10/legacy-fabric-keybindings-api-v1/build.gradle @@ -1,8 +1,12 @@ version = getSubprojectVersion(project) moduleDependencies(project, [ - 'common:legacy-fabric-api-base-common', - 'common:legacy-fabric-lifecycle-events-v1-common', - 'common:legacy-fabric-keybindings-api-v1-common', - '1.7.10:legacy-fabric-lifecycle-events-v1' + "common": [ + "legacy-fabric-api-base-common", + "legacy-fabric-lifecycle-events-v1-common", + "legacy-fabric-keybindings-api-v1-common" + ], + "1.7.10": [ + "legacy-fabric-lifecycle-events-v1" + ] ]) diff --git a/1.7.10/legacy-fabric-lifecycle-events-v1/build.gradle b/1.7.10/legacy-fabric-lifecycle-events-v1/build.gradle index bcaeeea19..b0d630638 100644 --- a/1.7.10/legacy-fabric-lifecycle-events-v1/build.gradle +++ b/1.7.10/legacy-fabric-lifecycle-events-v1/build.gradle @@ -1,6 +1,8 @@ version = getSubprojectVersion(project) moduleDependencies(project, [ - 'common:legacy-fabric-api-base-common', - 'common:legacy-fabric-lifecycle-events-v1-common' + "common": [ + "legacy-fabric-api-base-common", + "legacy-fabric-lifecycle-events-v1-common" + ] ]) diff --git a/1.7.10/legacy-fabric-networking-api-v1/build.gradle b/1.7.10/legacy-fabric-networking-api-v1/build.gradle index 2dea35ca5..83d6f911d 100644 --- a/1.7.10/legacy-fabric-networking-api-v1/build.gradle +++ b/1.7.10/legacy-fabric-networking-api-v1/build.gradle @@ -1,6 +1,8 @@ version = getSubprojectVersion(project) moduleDependencies(project, [ - 'common:legacy-fabric-api-base-common', - 'common:legacy-fabric-networking-api-v1-common' + "common": [ + "legacy-fabric-api-base-common", + "legacy-fabric-networking-api-v1-common" + ] ]) diff --git a/1.7.10/legacy-fabric-registry-sync-api-v1/build.gradle b/1.7.10/legacy-fabric-registry-sync-api-v1/build.gradle index e750e78e0..04e768c3d 100644 --- a/1.7.10/legacy-fabric-registry-sync-api-v1/build.gradle +++ b/1.7.10/legacy-fabric-registry-sync-api-v1/build.gradle @@ -1,10 +1,14 @@ version = getSubprojectVersion(project) moduleDependencies(project, [ - 'common:legacy-fabric-api-base-common', - 'common:legacy-fabric-networking-api-v1-common', - 'common:legacy-fabric-registry-sync-api-v1-common', - '1.7.10:legacy-fabric-api-base' + "common": [ + "legacy-fabric-api-base-common", + "legacy-fabric-networking-api-v1-common", + "legacy-fabric-registry-sync-api-v1-common" + ], + "1.7.10": [ + "legacy-fabric-api-base" + ] ]) loom { diff --git a/1.7.10/legacy-fabric-rendering-api-v1/build.gradle b/1.7.10/legacy-fabric-rendering-api-v1/build.gradle index 3a7962479..2cc311417 100644 --- a/1.7.10/legacy-fabric-rendering-api-v1/build.gradle +++ b/1.7.10/legacy-fabric-rendering-api-v1/build.gradle @@ -1,6 +1,8 @@ version = getSubprojectVersion(project) moduleDependencies(project, [ - 'common:legacy-fabric-api-base-common', - 'common:legacy-fabric-rendering-api-v1-common' + "common": [ + "legacy-fabric-api-base-common", + "legacy-fabric-rendering-api-v1-common" + ] ]) diff --git a/1.7.10/legacy-fabric-resource-loader-v1/build.gradle b/1.7.10/legacy-fabric-resource-loader-v1/build.gradle index ecbce8557..41435cc83 100644 --- a/1.7.10/legacy-fabric-resource-loader-v1/build.gradle +++ b/1.7.10/legacy-fabric-resource-loader-v1/build.gradle @@ -1,5 +1,7 @@ version = getSubprojectVersion(project) moduleDependencies(project, [ - "common:legacy-fabric-resource-loader-v1-common" + "common": [ + "legacy-fabric-resource-loader-v1-common" + ] ]) diff --git a/1.7.10/legacyfabric-api/build.gradle b/1.7.10/legacyfabric-api/build.gradle index 41e632553..91e8f5ca4 100644 --- a/1.7.10/legacyfabric-api/build.gradle +++ b/1.7.10/legacyfabric-api/build.gradle @@ -1,29 +1,35 @@ version = getSubprojectVersion(project) moduleDependencies(project, [ - 'common:legacy-fabric-api-base-common', - 'common:legacy-fabric-command-api-v1', - 'common:legacy-fabric-entity-events-v1-common', - 'common:legacy-fabric-gamerule-api-v1', - 'common:legacy-fabric-item-groups-v1-common', - 'common:legacy-fabric-keybindings-api-v1-common', - 'common:legacy-fabric-lifecycle-events-v1-common', - 'common:legacy-fabric-logger-api-v1', - 'common:legacy-fabric-networking-api-v1-common', - 'common:legacy-fabric-permissions-api-v1-common', - 'common:legacy-fabric-registry-sync-api-v1-common', - 'common:legacy-fabric-rendering-api-v1-common', - 'common:legacy-fabric-resource-loader-v1-common', - '1.7.10:legacy-fabric-api-base', - '1.7.10:legacy-fabric-command-api-v2', - '1.8.9:legacy-fabric-crash-report-info-v1', - '1.8.9:legacy-fabric-entity-events-v1', - '1.8.9:legacy-fabric-item-groups-v1', - '1.7.10:legacy-fabric-lifecycle-events-v1', - '1.8.9:legacy-fabric-permissions-api-v1', - '1.7.10:legacy-fabric-keybindings-api-v1', - '1.7.10:legacy-fabric-resource-loader-v1', - '1.7.10:legacy-fabric-rendering-api-v1', - '1.7.10:legacy-fabric-networking-api-v1', - '1.7.10:legacy-fabric-registry-sync-api-v1' + "common": [ + "legacy-fabric-api-base-common", + "legacy-fabric-command-api-v1", + "legacy-fabric-entity-events-v1-common", + "legacy-fabric-gamerule-api-v1", + "legacy-fabric-item-groups-v1-common", + "legacy-fabric-keybindings-api-v1-common", + "legacy-fabric-lifecycle-events-v1-common", + "legacy-fabric-logger-api-v1", + "legacy-fabric-networking-api-v1-common", + "legacy-fabric-permissions-api-v1-common", + "legacy-fabric-registry-sync-api-v1-common", + "legacy-fabric-rendering-api-v1-common", + "legacy-fabric-resource-loader-v1-common" + ], + "1.7.10": [ + "legacy-fabric-api-base", + "legacy-fabric-command-api-v2", + "legacy-fabric-lifecycle-events-v1", + "legacy-fabric-keybindings-api-v1", + "legacy-fabric-resource-loader-v1", + "legacy-fabric-rendering-api-v1", + "legacy-fabric-networking-api-v1", + "legacy-fabric-registry-sync-api-v1" + ], + "1.8.9": [ + "legacy-fabric-crash-report-info-v1", + "legacy-fabric-entity-events-v1", + "legacy-fabric-item-groups-v1", + "legacy-fabric-permissions-api-v1" + ] ]) diff --git a/1.8.9/legacy-fabric-api-base/build.gradle b/1.8.9/legacy-fabric-api-base/build.gradle index f6c650f0b..3ca3a9171 100644 --- a/1.8.9/legacy-fabric-api-base/build.gradle +++ b/1.8.9/legacy-fabric-api-base/build.gradle @@ -1,5 +1,7 @@ version = getSubprojectVersion(project) moduleDependencies(project, [ - 'common:legacy-fabric-api-base-common' + "common": [ + "legacy-fabric-api-base-common" + ] ]) diff --git a/1.8.9/legacy-fabric-command-api-v2/build.gradle b/1.8.9/legacy-fabric-command-api-v2/build.gradle index d336a874f..be2fcb5f4 100644 --- a/1.8.9/legacy-fabric-command-api-v2/build.gradle +++ b/1.8.9/legacy-fabric-command-api-v2/build.gradle @@ -1,8 +1,12 @@ version = getSubprojectVersion(project) moduleDependencies(project, [ - 'common:legacy-fabric-api-base-common', - '1.8.9:legacy-fabric-api-base', - 'common:legacy-fabric-command-api-v1', - '1.8.9:legacy-fabric-permissions-api-v1' + "common": [ + "legacy-fabric-api-base-common", + "legacy-fabric-command-api-v1" + ], + "1.8.9": [ + "legacy-fabric-api-base", + "legacy-fabric-permissions-api-v1" + ] ]) diff --git a/1.8.9/legacy-fabric-entity-events-v1/build.gradle b/1.8.9/legacy-fabric-entity-events-v1/build.gradle index 705b90f10..9ba696d1d 100644 --- a/1.8.9/legacy-fabric-entity-events-v1/build.gradle +++ b/1.8.9/legacy-fabric-entity-events-v1/build.gradle @@ -1,6 +1,8 @@ version = getSubprojectVersion(project) moduleDependencies(project, [ - 'common:legacy-fabric-api-base-common', - 'common:legacy-fabric-entity-events-v1-common' + "common": [ + "legacy-fabric-api-base-common", + "legacy-fabric-entity-events-v1-common" + ] ]) diff --git a/1.8.9/legacy-fabric-item-groups-v1/build.gradle b/1.8.9/legacy-fabric-item-groups-v1/build.gradle index 89982c9e2..f4df0b360 100644 --- a/1.8.9/legacy-fabric-item-groups-v1/build.gradle +++ b/1.8.9/legacy-fabric-item-groups-v1/build.gradle @@ -1,5 +1,7 @@ version = getSubprojectVersion(project) moduleDependencies(project, [ - "common:legacy-fabric-item-groups-v1-common" + "common": [ + "legacy-fabric-item-groups-v1-common" + ] ]) diff --git a/1.8.9/legacy-fabric-keybindings-api-v1/build.gradle b/1.8.9/legacy-fabric-keybindings-api-v1/build.gradle index 9b503e071..a463ff795 100644 --- a/1.8.9/legacy-fabric-keybindings-api-v1/build.gradle +++ b/1.8.9/legacy-fabric-keybindings-api-v1/build.gradle @@ -1,8 +1,12 @@ version = getSubprojectVersion(project) moduleDependencies(project, [ - 'common:legacy-fabric-api-base-common', - 'common:legacy-fabric-lifecycle-events-v1-common', - 'common:legacy-fabric-keybindings-api-v1-common', - '1.8.9:legacy-fabric-lifecycle-events-v1' + "common": [ + "legacy-fabric-api-base-common", + "legacy-fabric-lifecycle-events-v1-common", + "legacy-fabric-keybindings-api-v1-common" + ], + "1.8.9": [ + "legacy-fabric-lifecycle-events-v1" + ] ]) diff --git a/1.8.9/legacy-fabric-lifecycle-events-v1/build.gradle b/1.8.9/legacy-fabric-lifecycle-events-v1/build.gradle index bcaeeea19..b0d630638 100644 --- a/1.8.9/legacy-fabric-lifecycle-events-v1/build.gradle +++ b/1.8.9/legacy-fabric-lifecycle-events-v1/build.gradle @@ -1,6 +1,8 @@ version = getSubprojectVersion(project) moduleDependencies(project, [ - 'common:legacy-fabric-api-base-common', - 'common:legacy-fabric-lifecycle-events-v1-common' + "common": [ + "legacy-fabric-api-base-common", + "legacy-fabric-lifecycle-events-v1-common" + ] ]) diff --git a/1.8.9/legacy-fabric-networking-api-v1/build.gradle b/1.8.9/legacy-fabric-networking-api-v1/build.gradle index 2dea35ca5..83d6f911d 100644 --- a/1.8.9/legacy-fabric-networking-api-v1/build.gradle +++ b/1.8.9/legacy-fabric-networking-api-v1/build.gradle @@ -1,6 +1,8 @@ version = getSubprojectVersion(project) moduleDependencies(project, [ - 'common:legacy-fabric-api-base-common', - 'common:legacy-fabric-networking-api-v1-common' + "common": [ + "legacy-fabric-api-base-common", + "legacy-fabric-networking-api-v1-common" + ] ]) diff --git a/1.8.9/legacy-fabric-permissions-api-v1/build.gradle b/1.8.9/legacy-fabric-permissions-api-v1/build.gradle index 10cc569a9..05a8cce1b 100644 --- a/1.8.9/legacy-fabric-permissions-api-v1/build.gradle +++ b/1.8.9/legacy-fabric-permissions-api-v1/build.gradle @@ -1,6 +1,8 @@ version = getSubprojectVersion(project) moduleDependencies(project, [ - "common:legacy-fabric-api-base-common", - "common:legacy-fabric-permissions-api-v1-common" + "common": [ + "legacy-fabric-api-base-common", + "legacy-fabric-permissions-api-v1-common" + ] ]) diff --git a/1.8.9/legacy-fabric-registry-sync-api-v1/build.gradle b/1.8.9/legacy-fabric-registry-sync-api-v1/build.gradle index a6ad69591..531529996 100644 --- a/1.8.9/legacy-fabric-registry-sync-api-v1/build.gradle +++ b/1.8.9/legacy-fabric-registry-sync-api-v1/build.gradle @@ -1,9 +1,13 @@ version = getSubprojectVersion(project) moduleDependencies(project, [ - 'common:legacy-fabric-api-base-common', - 'common:legacy-fabric-networking-api-v1-common', - 'common:legacy-fabric-registry-sync-api-v1-common', - 'common:legacy-fabric-resource-loader-v1-common', - '1.8.9:legacy-fabric-api-base' + "common": [ + "legacy-fabric-api-base-common", + "legacy-fabric-networking-api-v1-common", + "legacy-fabric-registry-sync-api-v1-common", + "legacy-fabric-resource-loader-v1-common" + ], + "1.8.9": [ + "legacy-fabric-api-base" + ] ]) diff --git a/1.8.9/legacy-fabric-rendering-api-v1/build.gradle b/1.8.9/legacy-fabric-rendering-api-v1/build.gradle index 3a7962479..2cc311417 100644 --- a/1.8.9/legacy-fabric-rendering-api-v1/build.gradle +++ b/1.8.9/legacy-fabric-rendering-api-v1/build.gradle @@ -1,6 +1,8 @@ version = getSubprojectVersion(project) moduleDependencies(project, [ - 'common:legacy-fabric-api-base-common', - 'common:legacy-fabric-rendering-api-v1-common' + "common": [ + "legacy-fabric-api-base-common", + "legacy-fabric-rendering-api-v1-common" + ] ]) diff --git a/1.8.9/legacy-fabric-resource-loader-v1/build.gradle b/1.8.9/legacy-fabric-resource-loader-v1/build.gradle index ecbce8557..1fb3dfc01 100644 --- a/1.8.9/legacy-fabric-resource-loader-v1/build.gradle +++ b/1.8.9/legacy-fabric-resource-loader-v1/build.gradle @@ -1,5 +1,7 @@ version = getSubprojectVersion(project) moduleDependencies(project, [ - "common:legacy-fabric-resource-loader-v1-common" + "common": [ + "legacy-fabric-resource-loader-v1-common" + ] ]) diff --git a/1.8.9/legacyfabric-api/build.gradle b/1.8.9/legacyfabric-api/build.gradle index 08eb2a6fb..c56d07b69 100644 --- a/1.8.9/legacyfabric-api/build.gradle +++ b/1.8.9/legacyfabric-api/build.gradle @@ -1,29 +1,33 @@ version = getSubprojectVersion(project) moduleDependencies(project, [ - 'common:legacy-fabric-api-base-common', - 'common:legacy-fabric-command-api-v1', - 'common:legacy-fabric-entity-events-v1-common', - 'common:legacy-fabric-gamerule-api-v1', - 'common:legacy-fabric-item-groups-v1-common', - 'common:legacy-fabric-keybindings-api-v1-common', - 'common:legacy-fabric-lifecycle-events-v1-common', - 'common:legacy-fabric-logger-api-v1', - 'common:legacy-fabric-networking-api-v1-common', - 'common:legacy-fabric-permissions-api-v1-common', - 'common:legacy-fabric-registry-sync-api-v1-common', - 'common:legacy-fabric-rendering-api-v1-common', - 'common:legacy-fabric-resource-loader-v1-common', - '1.8.9:legacy-fabric-api-base', - '1.8.9:legacy-fabric-command-api-v2', - '1.8.9:legacy-fabric-crash-report-info-v1', - '1.8.9:legacy-fabric-entity-events-v1', - '1.8.9:legacy-fabric-item-groups-v1', - '1.8.9:legacy-fabric-lifecycle-events-v1', - '1.8.9:legacy-fabric-permissions-api-v1', - '1.8.9:legacy-fabric-resource-loader-v1', - '1.8.9:legacy-fabric-keybindings-api-v1', - '1.8.9:legacy-fabric-registry-sync-api-v1', - '1.8.9:legacy-fabric-networking-api-v1', - '1.8.9:legacy-fabric-rendering-api-v1' + "common": [ + "legacy-fabric-api-base-common", + "legacy-fabric-command-api-v1", + "legacy-fabric-entity-events-v1-common", + "legacy-fabric-gamerule-api-v1", + "legacy-fabric-item-groups-v1-common", + "legacy-fabric-keybindings-api-v1-common", + "legacy-fabric-lifecycle-events-v1-common", + "legacy-fabric-logger-api-v1", + "legacy-fabric-networking-api-v1-common", + "legacy-fabric-permissions-api-v1-common", + "legacy-fabric-registry-sync-api-v1-common", + "legacy-fabric-rendering-api-v1-common", + "legacy-fabric-resource-loader-v1-common" + ], + "1.8.9": [ + "legacy-fabric-api-base", + "legacy-fabric-command-api-v2", + "legacy-fabric-crash-report-info-v1", + "legacy-fabric-entity-events-v1", + "legacy-fabric-item-groups-v1", + "legacy-fabric-lifecycle-events-v1", + "legacy-fabric-permissions-api-v1", + "legacy-fabric-resource-loader-v1", + "legacy-fabric-keybindings-api-v1", + "legacy-fabric-registry-sync-api-v1", + "legacy-fabric-networking-api-v1", + "legacy-fabric-rendering-api-v1" + ] ]) diff --git a/1.8/legacy-fabric-registry-sync-api-v1/build.gradle b/1.8/legacy-fabric-registry-sync-api-v1/build.gradle index 62b6a0103..122731564 100644 --- a/1.8/legacy-fabric-registry-sync-api-v1/build.gradle +++ b/1.8/legacy-fabric-registry-sync-api-v1/build.gradle @@ -1,11 +1,15 @@ version = getSubprojectVersion(project) moduleDependencies(project, [ - 'common:legacy-fabric-api-base-common', - 'common:legacy-fabric-networking-api-v1-common', - 'common:legacy-fabric-registry-sync-api-v1-common', - 'common:legacy-fabric-resource-loader-v1-common', - '1.8.9:legacy-fabric-api-base' + "common": [ + "legacy-fabric-api-base-common", + "legacy-fabric-networking-api-v1-common", + "legacy-fabric-registry-sync-api-v1-common", + "legacy-fabric-resource-loader-v1-common" + ], + "1.8.9": [ + "legacy-fabric-api-base" + ] ]) loom { diff --git a/1.8/legacy-fabric-resource-loader-v1/build.gradle b/1.8/legacy-fabric-resource-loader-v1/build.gradle index ecbce8557..41435cc83 100644 --- a/1.8/legacy-fabric-resource-loader-v1/build.gradle +++ b/1.8/legacy-fabric-resource-loader-v1/build.gradle @@ -1,5 +1,7 @@ version = getSubprojectVersion(project) moduleDependencies(project, [ - "common:legacy-fabric-resource-loader-v1-common" + "common": [ + "legacy-fabric-resource-loader-v1-common" + ] ]) diff --git a/1.8/legacyfabric-api/build.gradle b/1.8/legacyfabric-api/build.gradle index 75ff06074..38816ef1f 100644 --- a/1.8/legacyfabric-api/build.gradle +++ b/1.8/legacyfabric-api/build.gradle @@ -1,29 +1,35 @@ version = getSubprojectVersion(project) moduleDependencies(project, [ - 'common:legacy-fabric-api-base-common', - 'common:legacy-fabric-command-api-v1', - 'common:legacy-fabric-entity-events-v1-common', - 'common:legacy-fabric-gamerule-api-v1', - 'common:legacy-fabric-item-groups-v1-common', - 'common:legacy-fabric-keybindings-api-v1-common', - 'common:legacy-fabric-lifecycle-events-v1-common', - 'common:legacy-fabric-logger-api-v1', - 'common:legacy-fabric-networking-api-v1-common', - 'common:legacy-fabric-permissions-api-v1-common', - 'common:legacy-fabric-registry-sync-api-v1-common', - 'common:legacy-fabric-rendering-api-v1-common', - 'common:legacy-fabric-resource-loader-v1-common', - '1.8.9:legacy-fabric-api-base', - '1.8.9:legacy-fabric-command-api-v2', - '1.8.9:legacy-fabric-crash-report-info-v1', - '1.8.9:legacy-fabric-entity-events-v1', - '1.8.9:legacy-fabric-item-groups-v1', - '1.8.9:legacy-fabric-lifecycle-events-v1', - '1.8.9:legacy-fabric-permissions-api-v1', - '1.8.9:legacy-fabric-keybindings-api-v1', - '1.8.9:legacy-fabric-rendering-api-v1', - '1.8:legacy-fabric-resource-loader-v1', - '1.8.9:legacy-fabric-networking-api-v1', - '1.8:legacy-fabric-registry-sync-api-v1' + "common": [ + "legacy-fabric-api-base-common", + "legacy-fabric-command-api-v1", + "legacy-fabric-entity-events-v1-common", + "legacy-fabric-gamerule-api-v1", + "legacy-fabric-item-groups-v1-common", + "legacy-fabric-keybindings-api-v1-common", + "legacy-fabric-lifecycle-events-v1-common", + "legacy-fabric-logger-api-v1", + "legacy-fabric-networking-api-v1-common", + "legacy-fabric-permissions-api-v1-common", + "legacy-fabric-registry-sync-api-v1-common", + "legacy-fabric-rendering-api-v1-common", + "legacy-fabric-resource-loader-v1-common" + ], + "1.8": [ + "legacy-fabric-resource-loader-v1", + "legacy-fabric-registry-sync-api-v1" + ], + "1.8.9": [ + "legacy-fabric-api-base", + "legacy-fabric-command-api-v2", + "legacy-fabric-crash-report-info-v1", + "legacy-fabric-entity-events-v1", + "legacy-fabric-item-groups-v1", + "legacy-fabric-lifecycle-events-v1", + "legacy-fabric-permissions-api-v1", + "legacy-fabric-keybindings-api-v1", + "legacy-fabric-rendering-api-v1", + "legacy-fabric-networking-api-v1" + ] ]) diff --git a/1.9.4/legacy-fabric-entity-events-v1/build.gradle b/1.9.4/legacy-fabric-entity-events-v1/build.gradle index 705b90f10..a5a88090a 100644 --- a/1.9.4/legacy-fabric-entity-events-v1/build.gradle +++ b/1.9.4/legacy-fabric-entity-events-v1/build.gradle @@ -1,6 +1,8 @@ version = getSubprojectVersion(project) moduleDependencies(project, [ - 'common:legacy-fabric-api-base-common', - 'common:legacy-fabric-entity-events-v1-common' + "common": [ + "legacy-fabric-api-base-common", + "legacy-fabric-entity-events-v1-common" + ] ]) diff --git a/1.9.4/legacy-fabric-registry-sync-api-v1/build.gradle b/1.9.4/legacy-fabric-registry-sync-api-v1/build.gradle index a6ad69591..531529996 100644 --- a/1.9.4/legacy-fabric-registry-sync-api-v1/build.gradle +++ b/1.9.4/legacy-fabric-registry-sync-api-v1/build.gradle @@ -1,9 +1,13 @@ version = getSubprojectVersion(project) moduleDependencies(project, [ - 'common:legacy-fabric-api-base-common', - 'common:legacy-fabric-networking-api-v1-common', - 'common:legacy-fabric-registry-sync-api-v1-common', - 'common:legacy-fabric-resource-loader-v1-common', - '1.8.9:legacy-fabric-api-base' + "common": [ + "legacy-fabric-api-base-common", + "legacy-fabric-networking-api-v1-common", + "legacy-fabric-registry-sync-api-v1-common", + "legacy-fabric-resource-loader-v1-common" + ], + "1.8.9": [ + "legacy-fabric-api-base" + ] ]) diff --git a/1.9.4/legacyfabric-api/build.gradle b/1.9.4/legacyfabric-api/build.gradle index 542b613ee..14cbd3b83 100644 --- a/1.9.4/legacyfabric-api/build.gradle +++ b/1.9.4/legacyfabric-api/build.gradle @@ -1,29 +1,37 @@ version = getSubprojectVersion(project) moduleDependencies(project, [ - 'common:legacy-fabric-api-base-common', - 'common:legacy-fabric-command-api-v1', - 'common:legacy-fabric-entity-events-v1-common', - 'common:legacy-fabric-gamerule-api-v1', - 'common:legacy-fabric-item-groups-v1-common', - 'common:legacy-fabric-keybindings-api-v1-common', - 'common:legacy-fabric-lifecycle-events-v1-common', - 'common:legacy-fabric-logger-api-v1', - 'common:legacy-fabric-networking-api-v1-common', - 'common:legacy-fabric-permissions-api-v1-common', - 'common:legacy-fabric-registry-sync-api-v1-common', - 'common:legacy-fabric-rendering-api-v1-common', - 'common:legacy-fabric-resource-loader-v1-common', - '1.8.9:legacy-fabric-api-base', - '1.12.2:legacy-fabric-command-api-v2', - '1.8.9:legacy-fabric-crash-report-info-v1', - '1.9.4:legacy-fabric-entity-events-v1', - '1.8.9:legacy-fabric-item-groups-v1', - '1.12.2:legacy-fabric-lifecycle-events-v1', - '1.8.9:legacy-fabric-permissions-api-v1', - '1.8.9:legacy-fabric-resource-loader-v1', - '1.8.9:legacy-fabric-keybindings-api-v1', - '1.9.4:legacy-fabric-registry-sync-api-v1', - '1.12.2:legacy-fabric-networking-api-v1', - '1.8.9:legacy-fabric-rendering-api-v1' + "common": [ + "legacy-fabric-api-base-common", + "legacy-fabric-command-api-v1", + "legacy-fabric-entity-events-v1-common", + "legacy-fabric-gamerule-api-v1", + "legacy-fabric-item-groups-v1-common", + "legacy-fabric-keybindings-api-v1-common", + "legacy-fabric-lifecycle-events-v1-common", + "legacy-fabric-logger-api-v1", + "legacy-fabric-networking-api-v1-common", + "legacy-fabric-permissions-api-v1-common", + "legacy-fabric-registry-sync-api-v1-common", + "legacy-fabric-rendering-api-v1-common", + "legacy-fabric-resource-loader-v1-common" + ], + "1.8.9": [ + "legacy-fabric-api-base", + "legacy-fabric-crash-report-info-v1", + "legacy-fabric-item-groups-v1", + "legacy-fabric-permissions-api-v1", + "legacy-fabric-resource-loader-v1", + "legacy-fabric-keybindings-api-v1", + "legacy-fabric-rendering-api-v1" + ], + "1.9.4": [ + "legacy-fabric-entity-events-v1", + "legacy-fabric-registry-sync-api-v1" + ], + "1.12.2": [ + "legacy-fabric-command-api-v2", + "legacy-fabric-lifecycle-events-v1", + "legacy-fabric-networking-api-v1" + ] ]) diff --git a/build.gradle b/build.gradle index 3a5e86614..8d97ec862 100644 --- a/build.gradle +++ b/build.gradle @@ -121,6 +121,54 @@ def moduleDependencies(project, List depNames) { } } +def moduleDependencies(project, Map> depMap) { + def depNames = depMap.entrySet().iterator().collect {entry -> + def moduleMC = entry.getKey() + def modules = entry.getValue(); + + return modules.collect {"$moduleMC:$it"} + }.flatten() + + def deps = depNames.iterator().collect { project.dependencies.project(path: ":$it", configuration: "namedElements") } + def testOutputs = depNames.iterator().collect { findProject(":$it").sourceSets.testmod.output } + + project.dependencies { + deps.each { + api it + } + + testOutputs.each { + testmodImplementation it + } + } + + if (project.name != "legacy-fabric-logger-api-v1") { + deps.add(project.dependencies.project(path: ":common:legacy-fabric-logger-api-v1", configuration: "namedElements")) + } + + // As we manually handle the maven artifacts, we need to also manually specify the deps. + project.publishing { + publications { + mavenJava(MavenPublication) { + if (project.name == "legacyfabric-api") { + artifactId = "legacy-fabric-api" + } + + pom.withXml { + def depsNode = asNode().appendNode("dependencies") + deps.each { + def depNode = depsNode.appendNode("dependency") + depNode.appendNode("groupId", it.group) + depNode.appendNode("artifactId", it.name) + depNode.appendNode("version", it.version) + depNode.appendNode("scope", "compile") + } + } + } + } + } +} + class MinecraftVersion { public String mc_version public boolean userProperties diff --git a/common/legacy-fabric-command-api-v1/build.gradle b/common/legacy-fabric-command-api-v1/build.gradle index bcaeeea19..204e91307 100644 --- a/common/legacy-fabric-command-api-v1/build.gradle +++ b/common/legacy-fabric-command-api-v1/build.gradle @@ -1,6 +1,8 @@ version = getSubprojectVersion(project) moduleDependencies(project, [ - 'common:legacy-fabric-api-base-common', - 'common:legacy-fabric-lifecycle-events-v1-common' + "common": [ + "legacy-fabric-api-base-common", + "legacy-fabric-lifecycle-events-v1-common" + ] ]) diff --git a/common/legacy-fabric-entity-events-v1-common/build.gradle b/common/legacy-fabric-entity-events-v1-common/build.gradle index f6c650f0b..3ca3a9171 100644 --- a/common/legacy-fabric-entity-events-v1-common/build.gradle +++ b/common/legacy-fabric-entity-events-v1-common/build.gradle @@ -1,5 +1,7 @@ version = getSubprojectVersion(project) moduleDependencies(project, [ - 'common:legacy-fabric-api-base-common' + "common": [ + "legacy-fabric-api-base-common" + ] ]) diff --git a/common/legacy-fabric-gamerule-api-v1/build.gradle b/common/legacy-fabric-gamerule-api-v1/build.gradle index f6c650f0b..3ca3a9171 100644 --- a/common/legacy-fabric-gamerule-api-v1/build.gradle +++ b/common/legacy-fabric-gamerule-api-v1/build.gradle @@ -1,5 +1,7 @@ version = getSubprojectVersion(project) moduleDependencies(project, [ - 'common:legacy-fabric-api-base-common' + "common": [ + "legacy-fabric-api-base-common" + ] ]) diff --git a/common/legacy-fabric-item-groups-v1-common/build.gradle b/common/legacy-fabric-item-groups-v1-common/build.gradle index f6c650f0b..3ca3a9171 100644 --- a/common/legacy-fabric-item-groups-v1-common/build.gradle +++ b/common/legacy-fabric-item-groups-v1-common/build.gradle @@ -1,5 +1,7 @@ version = getSubprojectVersion(project) moduleDependencies(project, [ - 'common:legacy-fabric-api-base-common' + "common": [ + "legacy-fabric-api-base-common" + ] ]) diff --git a/common/legacy-fabric-keybindings-api-v1-common/build.gradle b/common/legacy-fabric-keybindings-api-v1-common/build.gradle index bcaeeea19..204e91307 100644 --- a/common/legacy-fabric-keybindings-api-v1-common/build.gradle +++ b/common/legacy-fabric-keybindings-api-v1-common/build.gradle @@ -1,6 +1,8 @@ version = getSubprojectVersion(project) moduleDependencies(project, [ - 'common:legacy-fabric-api-base-common', - 'common:legacy-fabric-lifecycle-events-v1-common' + "common": [ + "legacy-fabric-api-base-common", + "legacy-fabric-lifecycle-events-v1-common" + ] ]) diff --git a/common/legacy-fabric-lifecycle-events-v1-common/build.gradle b/common/legacy-fabric-lifecycle-events-v1-common/build.gradle index f6c650f0b..3ca3a9171 100644 --- a/common/legacy-fabric-lifecycle-events-v1-common/build.gradle +++ b/common/legacy-fabric-lifecycle-events-v1-common/build.gradle @@ -1,5 +1,7 @@ version = getSubprojectVersion(project) moduleDependencies(project, [ - 'common:legacy-fabric-api-base-common' + "common": [ + "legacy-fabric-api-base-common" + ] ]) diff --git a/common/legacy-fabric-networking-api-v1-common/build.gradle b/common/legacy-fabric-networking-api-v1-common/build.gradle index f6c650f0b..3ca3a9171 100644 --- a/common/legacy-fabric-networking-api-v1-common/build.gradle +++ b/common/legacy-fabric-networking-api-v1-common/build.gradle @@ -1,5 +1,7 @@ version = getSubprojectVersion(project) moduleDependencies(project, [ - 'common:legacy-fabric-api-base-common' + "common": [ + "legacy-fabric-api-base-common" + ] ]) diff --git a/common/legacy-fabric-permissions-api-v1-common/build.gradle b/common/legacy-fabric-permissions-api-v1-common/build.gradle index f6c650f0b..3ca3a9171 100644 --- a/common/legacy-fabric-permissions-api-v1-common/build.gradle +++ b/common/legacy-fabric-permissions-api-v1-common/build.gradle @@ -1,5 +1,7 @@ version = getSubprojectVersion(project) moduleDependencies(project, [ - 'common:legacy-fabric-api-base-common' + "common": [ + "legacy-fabric-api-base-common" + ] ]) diff --git a/common/legacy-fabric-registry-sync-api-v1-common/build.gradle b/common/legacy-fabric-registry-sync-api-v1-common/build.gradle index 2dea35ca5..0f48fe3a7 100644 --- a/common/legacy-fabric-registry-sync-api-v1-common/build.gradle +++ b/common/legacy-fabric-registry-sync-api-v1-common/build.gradle @@ -1,6 +1,8 @@ version = getSubprojectVersion(project) moduleDependencies(project, [ - 'common:legacy-fabric-api-base-common', - 'common:legacy-fabric-networking-api-v1-common' + "common": [ + "legacy-fabric-api-base-common", + "legacy-fabric-networking-api-v1-common" + ] ]) diff --git a/common/legacy-fabric-rendering-api-v1-common/build.gradle b/common/legacy-fabric-rendering-api-v1-common/build.gradle index f6c650f0b..3ca3a9171 100644 --- a/common/legacy-fabric-rendering-api-v1-common/build.gradle +++ b/common/legacy-fabric-rendering-api-v1-common/build.gradle @@ -1,5 +1,7 @@ version = getSubprojectVersion(project) moduleDependencies(project, [ - 'common:legacy-fabric-api-base-common' + "common": [ + "legacy-fabric-api-base-common" + ] ]) diff --git a/common/legacy-fabric-resource-loader-v1-common/build.gradle b/common/legacy-fabric-resource-loader-v1-common/build.gradle index f6c650f0b..3ca3a9171 100644 --- a/common/legacy-fabric-resource-loader-v1-common/build.gradle +++ b/common/legacy-fabric-resource-loader-v1-common/build.gradle @@ -1,5 +1,7 @@ version = getSubprojectVersion(project) moduleDependencies(project, [ - 'common:legacy-fabric-api-base-common' + "common": [ + "legacy-fabric-api-base-common" + ] ]) From 66c2b9c18cd273962a62fb36e01d5297fc3420fe Mon Sep 17 00:00:00 2001 From: Cat Core Date: Thu, 8 Feb 2024 01:14:52 +0100 Subject: [PATCH 02/27] Setup new buildscript --- build.gradle | 258 ++++++------ buildSrc/build.gradle | 10 + .../net/legacyfabric/MCVersionLookup.java | 396 ++++++++++++++++++ .../java/net/legacyfabric/VersionHelper.java | 27 ++ settings.gradle | 143 ++++--- 5 files changed, 631 insertions(+), 203 deletions(-) create mode 100644 buildSrc/build.gradle create mode 100644 buildSrc/src/main/java/net/legacyfabric/MCVersionLookup.java create mode 100644 buildSrc/src/main/java/net/legacyfabric/VersionHelper.java diff --git a/build.gradle b/build.gradle index 8d97ec862..deb221d00 100644 --- a/build.gradle +++ b/build.gradle @@ -26,17 +26,59 @@ logger.lifecycle("Building Fabric: " + version) import net.fabricmc.loom.task.RemapJarTask import org.apache.commons.codec.digest.DigestUtils import org.kohsuke.github.GHReleaseBuilder +import net.legacyfabric.VersionHelper -def getSubprojectVersion(project) { +static def getMCVersion(Project project) { + def projectFullName = project.name + + if (!projectFullName.contains("_")) return "1.8.9" + + def mcVersion = projectFullName.split("_")[1] + + if (mcVersion == "common") return "1.8.9" + + return mcVersion +} + +static def getProjectSimpleName(Project project) { + def projectFullName = project.name + + if (!projectFullName.contains("_")) return projectFullName + + return projectFullName.split("_")[0] +} + +def getProjectMavenName(project) { + if (!(project instanceof Project)) project = rootProject.findProject("$project.name".toString()) + + def simpleName = getProjectSimpleName(project) + + if (project.name.endsWith("_common")) { + if (project.hasProperty("artifactSuffix")) { + simpleName += project.artifactSuffix + } else { + simpleName += "-common" + } + } + + return simpleName +} + +def getSubprojectVersion(Project project) { def version - if (project.name == "legacyfabric-api") version = project.base_version - else version = project[project.name.replace("-common", "") + ".version"] - if (project.getParent().name != "common") { - version = version + "+" + project.getParent().name + def nameParts = project.name.split("_") + def projectName = nameParts[0] + def mcVersion = nameParts[1] + + if (projectName == "legacyfabric-api") version = rootProject.version + else version = rootProject[projectName + ".version"] + + if (mcVersion != "common") { + version = version + "+" + mcVersion } - if (project.name == "legacyfabric-api") return version + if (projectName == "legacyfabric-api") return version if (grgit == null) { return version + "+nogit" @@ -46,7 +88,7 @@ def getSubprojectVersion(project) { return version + "+uncommited" } else { return version + "+" + latestCommits.get(0).id.substring(0, 8) + - DigestUtils.sha256Hex("${project.getParent().name}").substring(0, 2) + DigestUtils.sha256Hex("${project.name}").substring(0, 2) } } @@ -80,55 +122,15 @@ def static setupRepositories(RepositoryHandler repositories) { } } -def moduleDependencies(project, List depNames) { - def deps = depNames.iterator().collect { project.dependencies.project(path: ":$it", configuration: "namedElements") } - def testOutputs = depNames.iterator().collect { findProject(":$it").sourceSets.testmod.output } - - project.dependencies { - deps.each { - api it - } +def moduleDependencies(Project project, List depNames) { + if (!project.name.endsWith("_common")) { + def commonProject = findProject(":${getProjectSimpleName(project)}_common") - testOutputs.each { - testmodImplementation it + if (commonProject != null) { + depNames.add(0, commonProject.name) } } - if (project.name != "legacy-fabric-logger-api-v1") { - deps.add(project.dependencies.project(path: ":common:legacy-fabric-logger-api-v1", configuration: "namedElements")) - } - - // As we manually handle the maven artifacts, we need to also manually specify the deps. - project.publishing { - publications { - mavenJava(MavenPublication) { - if (project.name == "legacyfabric-api") { - artifactId = "legacy-fabric-api" - } - - pom.withXml { - def depsNode = asNode().appendNode("dependencies") - deps.each { - def depNode = depsNode.appendNode("dependency") - depNode.appendNode("groupId", it.group) - depNode.appendNode("artifactId", it.name) - depNode.appendNode("version", it.version) - depNode.appendNode("scope", "compile") - } - } - } - } - } -} - -def moduleDependencies(project, Map> depMap) { - def depNames = depMap.entrySet().iterator().collect {entry -> - def moduleMC = entry.getKey() - def modules = entry.getValue(); - - return modules.collect {"$moduleMC:$it"} - }.flatten() - def deps = depNames.iterator().collect { project.dependencies.project(path: ":$it", configuration: "namedElements") } def testOutputs = depNames.iterator().collect { findProject(":$it").sourceSets.testmod.output } @@ -142,16 +144,18 @@ def moduleDependencies(project, Map> depMap) { } } - if (project.name != "legacy-fabric-logger-api-v1") { - deps.add(project.dependencies.project(path: ":common:legacy-fabric-logger-api-v1", configuration: "namedElements")) + if (getProjectSimpleName(project) != "legacy-fabric-logger-api-v1") { + deps.add(project.dependencies.project(path: ":legacy-fabric-logger-api-v1_common", configuration: "namedElements")) } // As we manually handle the maven artifacts, we need to also manually specify the deps. project.publishing { publications { mavenJava(MavenPublication) { - if (project.name == "legacyfabric-api") { + if (getProjectSimpleName(project) == "legacyfabric-api") { artifactId = "legacy-fabric-api" + } else { + artifactId = getProjectMavenName(project) } pom.withXml { @@ -159,7 +163,7 @@ def moduleDependencies(project, Map> depMap) { deps.each { def depNode = depsNode.appendNode("dependency") depNode.appendNode("groupId", it.group) - depNode.appendNode("artifactId", it.name) + depNode.appendNode("artifactId", getProjectMavenName(it)) depNode.appendNode("version", it.version) depNode.appendNode("scope", "compile") } @@ -169,52 +173,28 @@ def moduleDependencies(project, Map> depMap) { } } -class MinecraftVersion { - public String mc_version - public boolean userProperties +static def getMCRange(Project project) { + def predicates = [] - private MinecraftVersion(String mc_version) { - this(mc_version, false) + if (project.hasProperty("minVersionIncluded")) { + predicates.add(">=${VersionHelper.parseVersion(project["minVersionIncluded"]).friendlyString}") } - private MinecraftVersion(String mc_version, boolean userProperties) { - this.mc_version = mc_version - this.userProperties = userProperties + if (project.hasProperty("minVersionExcluded")) { + predicates.add(">${VersionHelper.parseVersion(project["minVersionExcluded"]).friendlyString}") } - public static MinecraftVersion[] VERSIONS = new MinecraftVersion[]{ - new MinecraftVersion("1.12.2"), - new MinecraftVersion("1.11.2"), - new MinecraftVersion("1.10.2"), - new MinecraftVersion("1.9.4"), - new MinecraftVersion("1.8.9"), - new MinecraftVersion("1.8", true), - new MinecraftVersion("1.7.10", true) + if (project.hasProperty("maxVersionIncluded")) { + predicates.add("<=${VersionHelper.parseVersion(project["maxVersionIncluded"]).friendlyString}") } -} -static def getVersionInfo(Project project) { - MinecraftVersion version = MinecraftVersion.VERSIONS[0] - - Project parent = project.getParent() - String projectMCVersion = project.name - - if (parent != null && parent.name != "legacy-fabric-api") { - projectMCVersion = parent.name + if (project.hasProperty("maxVersionExcluded")) { + predicates.add("<${VersionHelper.parseVersion(project["maxVersionExcluded"]).friendlyString}") } - System.out.println("Preparing project ${parent != null ? parent.name : ""}:$project.name") - - for (MinecraftVersion mcVersion : MinecraftVersion.VERSIONS) { - if (mcVersion.mc_version == projectMCVersion) { - version = mcVersion - break - } else if (mcVersion.mc_version == "1.8.9") { - version = mcVersion - } - } + if (predicates.isEmpty()) predicates.add("*") - return version + return predicates.join(" ") } allprojects { @@ -255,52 +235,54 @@ allprojects { } } - MinecraftVersion versionInfo = getVersionInfo(it) - String projectName = it.name + System.out.println("Project: $it.name") + + if (it != rootProject) { + setVersion(getSubprojectVersion(it)) + } + + def mcVersion = getMCVersion(it) + String projectName = getProjectSimpleName(it) loom { runs { - "testModClient$versionInfo.mc_version" { + "testModClient$mcVersion" { client() ideConfigGenerated projectName == "legacyfabric-api" - name = "$versionInfo.mc_version Testmod Client" + name = "$mcVersion Testmod Client" source sourceSets.testmod - if (versionInfo.userProperties) { + if (VersionHelper.needUserProperties(mcVersion)) { programArgs "--userProperties", "{}" } } - "testModServer$versionInfo.mc_version" { + "testModServer$mcVersion" { server() ideConfigGenerated projectName == "legacyfabric-api" - name = "$versionInfo.mc_version Testmod Server" + name = "$mcVersion Testmod Server" source sourceSets.testmod } } } allprojects.each { p -> - String parentName = p.getParent() != null ? "-" + p.getParent().name : "" - if (p.file("src/main").exists()) { - loom.mods.register(p.name + parentName) { + loom.mods.register(p.name) { sourceSet p.sourceSets.main } } if (p.file("src/testmod").exists()) { - loom.mods.register(p.name + parentName + "-testmod") { + loom.mods.register(p.name + "-testmod") { sourceSet p.sourceSets.testmod } } } - def currentOs = System.getProperty("os.name").toLowerCase(Locale.ENGLISH) - dependencies { - minecraft "com.mojang:minecraft:${versionInfo.mc_version}" - mappings legacy.yarn(versionInfo.mc_version, project.yarn_mappings_build) + minecraft "com.mojang:minecraft:${mcVersion}" + mappings legacy.yarn(mcVersion, project.yarn_mappings_build) modImplementation "net.fabricmc:fabric-loader:${project.loader_version}" implementation "com.mojang:brigadier:1.0.17" @@ -310,9 +292,10 @@ allprojects { tasks.withType(ProcessResources).configureEach { inputs.property "version", project.version + inputs.property "minecraft_version", getMCRange(project) filesMatching("fabric.mod.json") { - expand "version": project.version + expand "version": project.version, "minecraft_version": getMCRange(project) } } @@ -406,33 +389,34 @@ subprojects { dependencies { testmodImplementation sourceSets.main.output - if (project.name != "legacy-fabric-logger-api-v1") { - api project(path: ":common:legacy-fabric-logger-api-v1", configuration: "namedElements") + if (getProjectSimpleName(project) != "legacy-fabric-logger-api-v1") { + api project(path: ":legacy-fabric-logger-api-v1_common", configuration: "namedElements") } } - def parent = project.getParent() - - if (parent == null || parent.name != "legacy-fabric-api") { - publishing { - publications { - mavenJava(MavenPublication) { - artifact(remapJar) { - builtBy remapJar - } - artifact(remapSourcesJar) { - builtBy remapSourcesJar - } + publishing { + publications { + mavenJava(MavenPublication) { + artifact(remapJar) { + builtBy remapJar + } + artifact(remapSourcesJar) { + builtBy remapSourcesJar } } } - - // We manually handle the pom generation - loom.disableDeprecatedPomGeneration(publishing.publications.mavenJava) } + // We manually handle the pom generation + loom.disableDeprecatedPomGeneration(publishing.publications.mavenJava) + javadoc.enabled = false + def scriptPath = rootProject.file("${getProjectSimpleName(project)}/common.gradle") + if (scriptPath.exists()) { + apply from: rootProject.file("${getProjectSimpleName(project)}/common.gradle") + } + afterEvaluate { // Disable the gen sources task on sub projects genSourcesWithFernFlower.enabled = false @@ -458,11 +442,10 @@ sourceSets { dependencies { afterEvaluate { subprojects.each { - String par = it.getParent() != null ? it.getParent().name + ":" : "" - if (par == "legacy-fabric-api:" || (par.startsWith("1.") && it.name == "legacyfabric-api")) return - if (it.file("src/main").exists()) api project(path: ":$par${it.name}", configuration: "namedElements") + if (getProjectSimpleName(it) == "legacyfabric-api") return - if (it.file("src/testmod").exists()) testmodImplementation project("$par${it.name}:").sourceSets.testmod.output + if (it.file("src/main").exists()) api project(path: "${it.path}", configuration: "namedElements") + if (it.file("src/testmod").exists()) testmodImplementation project("${it.path}").sourceSets.testmod.output } } } @@ -470,10 +453,9 @@ dependencies { remapJar { afterEvaluate { subprojects.each { - String par = it.getParent() != null ? it.getParent().name + ":" : "" - if (par == "legacy-fabric-api:" || (par.startsWith("1.") && it.name == "legacyfabric-api")) return + if (getProjectSimpleName(it) == "legacyfabric-api") return // Include the signed or none signed jar from the sub project. - if (it.file("src/main").exists()) nestedJars.from project("$par${it.name}:").tasks.getByName("remapJar") + if (it.file("src/main").exists()) nestedJars.from project("${it.path}:").tasks.getByName("remapJar") } } } @@ -490,9 +472,9 @@ curseforge { releaseType = "release" addGameVersion "Fabric" - MinecraftVersion.VERSIONS.each { - addGameVersion it.mc_version - } +// MinecraftVersion.VERSIONS.each { +// addGameVersion it.mc_version +// } mainArtifact(remapJar) { displayName = "Legacy Fabric API ${project.base_version}" @@ -541,9 +523,9 @@ modrinth { uploadFile = remapJar def vers = [] - MinecraftVersion.VERSIONS.each { - vers.add it.mc_version - } +// MinecraftVersion.VERSIONS.each { +// vers.add it.mc_version +// } gameVersions = vers loaders = ["fabric"] } diff --git a/buildSrc/build.gradle b/buildSrc/build.gradle new file mode 100644 index 000000000..95ea45845 --- /dev/null +++ b/buildSrc/build.gradle @@ -0,0 +1,10 @@ +repositories { + maven { + name = "Fabric" + url = "https://maven.fabricmc.net/" + } +} + +dependencies { + implementation("net.fabricmc:fabric-loader:0.15.6") +} diff --git a/buildSrc/src/main/java/net/legacyfabric/MCVersionLookup.java b/buildSrc/src/main/java/net/legacyfabric/MCVersionLookup.java new file mode 100644 index 000000000..872fee6ab --- /dev/null +++ b/buildSrc/src/main/java/net/legacyfabric/MCVersionLookup.java @@ -0,0 +1,396 @@ +/* + * Copyright 2016 FabricMC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package net.legacyfabric; + +import net.fabricmc.loader.api.SemanticVersion; +import net.fabricmc.loader.api.VersionParsingException; +import net.fabricmc.loader.api.metadata.version.VersionPredicate; + +import java.util.regex.Matcher; +import java.util.regex.Pattern; + +public class MCVersionLookup { + private static final Pattern VERSION_PATTERN = Pattern.compile( + "0\\.\\d+(\\.\\d+)?a?(_\\d+)?|" // match classic versions first: 0.1.2a_34 + + "\\d+\\.\\d+(\\.\\d+)?(-pre\\d+| Pre-[Rr]elease \\d+)?|" // modern non-snapshot: 1.2, 1.2.3, optional -preN or " Pre-Release N" suffix + + "\\d+\\.\\d+(\\.\\d+)?(-rc\\d+| [Rr]elease Candidate \\d+)?|" // 1.16+ Release Candidate + + "\\d+w\\d+[a-z]|" // modern snapshot: 12w34a + + "[a-c]\\d\\.\\d+(\\.\\d+)?[a-z]?(_\\d+)?[a-z]?|" // alpha/beta a1.2.3_45 + + "(Alpha|Beta) v?\\d+\\.\\d+(\\.\\d+)?[a-z]?(_\\d+)?[a-z]?|" // long alpha/beta names: Alpha v1.2.3_45 + + "Inf?dev (0\\.31 )?\\d+(-\\d+)?|" // long indev/infdev names: Infdev 12345678-9 + + "(rd|inf)-\\d+|" // early rd-123, inf-123 + + "1\\.RV-Pre1|3D Shareware v1\\.34|23w13a_or_b|" // odd exceptions + + "(.*[Ee]xperimental [Ss]napshot )(\\d+)" // Experimental versions. + ); + private static final Pattern RELEASE_PATTERN = Pattern.compile("\\d+\\.\\d+(\\.\\d+)?"); + private static final Pattern PRE_RELEASE_PATTERN = Pattern.compile(".+(?:-pre| Pre-[Rr]elease )(\\d+)"); + private static final Pattern RELEASE_CANDIDATE_PATTERN = Pattern.compile(".+(?:-rc| [Rr]elease Candidate )(\\d+)"); + private static final Pattern SNAPSHOT_PATTERN = Pattern.compile("(?:Snapshot )?(\\d+)w0?(0|[1-9]\\d*)([a-z])"); + private static final Pattern EXPERIMENTAL_PATTERN = Pattern.compile("(?:.*[Ee]xperimental [Ss]napshot )(\\d+)"); + private static final Pattern BETA_PATTERN = Pattern.compile("(?:b|Beta v?)1\\.(\\d+(\\.\\d+)?[a-z]?(_\\d+)?[a-z]?)"); + private static final Pattern ALPHA_PATTERN = Pattern.compile("(?:a|Alpha v?)[01]\\.(\\d+(\\.\\d+)?[a-z]?(_\\d+)?[a-z]?)"); + private static final Pattern INDEV_PATTERN = Pattern.compile("(?:inf-|Inf?dev )(?:0\\.31 )?(\\d+(-\\d+)?)"); + + protected static SemanticVersion parse(String version) { + try { + return SemanticVersion.parse( + normalizeVersion(version, getRelease(version)) + ); + } catch (VersionParsingException e) { + throw new RuntimeException(e); + } + } + + protected static String getRelease(String version) { + if (RELEASE_PATTERN.matcher(version).matches()) return version; + + assert isProbableVersion(version); + + int pos = version.indexOf("-pre"); + if (pos >= 0) return version.substring(0, pos); + + pos = version.indexOf(" Pre-Release "); + if (pos >= 0) return version.substring(0, pos); + + pos = version.indexOf(" Pre-release "); + if (pos >= 0) return version.substring(0, pos); + + pos = version.indexOf(" Release Candidate "); + if (pos >= 0) return version.substring(0, pos); + + Matcher matcher = SNAPSHOT_PATTERN.matcher(version); + + if (matcher.matches()) { + int year = Integer.parseInt(matcher.group(1)); + int week = Integer.parseInt(matcher.group(2)); + + if (year == 23 && week >= 51 || year >= 24) { + return "1.20.5"; + } else if (year == 23 && week >= 40 && week <= 46) { + return "1.20.3"; + } else if (year == 23 && week >= 31 && week <= 35) { + return "1.20.2"; + } else if (year == 23 && week >= 12 && week <= 18) { + return "1.20"; + } else if (year == 23 && week <= 7) { + return "1.19.4"; + } else if (year == 22 && week >= 42) { + return "1.19.3"; + } else if (year == 22 && week == 24) { + return "1.19.1"; + } else if (year == 22 && week >= 11 && week <= 19) { + return "1.19"; + } else if (year == 22 && week >= 3 && week <= 7) { + return "1.18.2"; + } else if (year == 21 && week >= 37 && week <= 44) { + return "1.18"; + } else if (year == 20 && week >= 45 || year == 21 && week <= 20) { + return "1.17"; + } else if (year == 20 && week >= 27 && week <= 30) { + return "1.16.2"; + } else if (year == 20 && week >= 6 && week <= 22) { + return "1.16"; + } else if (year == 19 && week >= 34) { + return "1.15"; + } else if (year == 18 && week >= 43 || year == 19 && week <= 14) { + return "1.14"; + } else if (year == 18 && week >= 30 && week <= 33) { + return "1.13.1"; + } else if (year == 17 && week >= 43 || year == 18 && week <= 22) { + return "1.13"; + } else if (year == 17 && week == 31) { + return "1.12.1"; + } else if (year == 17 && week >= 6 && week <= 18) { + return "1.12"; + } else if (year == 16 && week == 50) { + return "1.11.1"; + } else if (year == 16 && week >= 32 && week <= 44) { + return "1.11"; + } else if (year == 16 && week >= 20 && week <= 21) { + return "1.10"; + } else if (year == 16 && week >= 14 && week <= 15) { + return "1.9.3"; + } else if (year == 15 && week >= 31 || year == 16 && week <= 7) { + return "1.9"; + } else if (year == 14 && week >= 2 && week <= 34) { + return "1.8"; + } else if (year == 13 && week >= 47 && week <= 49) { + return "1.7.4"; + } else if (year == 13 && week >= 36 && week <= 43) { + return "1.7.2"; + } else if (year == 13 && week >= 16 && week <= 26) { + return "1.6"; + } else if (year == 13 && week >= 11 && week <= 12) { + return "1.5.1"; + } else if (year == 13 && week >= 1 && week <= 10) { + return "1.5"; + } else if (year == 12 && week >= 49 && week <= 50) { + return "1.4.6"; + } else if (year == 12 && week >= 32 && week <= 42) { + return "1.4.2"; + } else if (year == 12 && week >= 15 && week <= 30) { + return "1.3.1"; + } else if (year == 12 && week >= 3 && week <= 8) { + return "1.2.1"; + } else if (year == 11 && week >= 47 || year == 12 && week <= 1) { + return "1.1"; + } + } + + return null; + } + + private static boolean isProbableVersion(String str) { + return VERSION_PATTERN.matcher(str).matches(); + } + + /** + * Returns the probable version contained in the given string, or null if the string doesn't contain a version. + */ + private static String findProbableVersion(String str) { + Matcher matcher = VERSION_PATTERN.matcher(str); + + if (matcher.find()) { + return matcher.group(); + } else { + return null; + } + } + + /** + * Convert an arbitrary MC version into semver-like release-preRelease form. + * + *

MC Snapshot -> alpha, MC Pre-Release -> rc. + */ + protected static String normalizeVersion(String name, String release) { + if (release == null || name.equals(release)) { + String ret = normalizeSpecialVersion(name); + return ret != null ? ret : normalizeVersion(name); + } + + Matcher matcher; + + if ((matcher = EXPERIMENTAL_PATTERN.matcher(name)).matches()) { + return String.format("%s-Experimental.%s", release, matcher.group(1)); + } else if (name.startsWith(release)) { + matcher = RELEASE_CANDIDATE_PATTERN.matcher(name); + + if (matcher.matches()) { + String rcBuild = matcher.group(1); + + // This is a hack to fake 1.16's new release candidates to follow on from the 8 pre releases. + if (release.equals("1.16")) { + int build = Integer.parseInt(rcBuild); + rcBuild = Integer.toString(8 + build); + } + + name = String.format("rc.%s", rcBuild); + } else { + matcher = PRE_RELEASE_PATTERN.matcher(name); + + if (matcher.matches()) { + boolean legacyVersion; + + try { + legacyVersion = VersionPredicate.parse("<=1.16").test(SemanticVersion.parse(release)); + } catch (VersionParsingException e) { + throw new RuntimeException("Failed to parse version: " + release); + } + + // Mark pre-releases as 'beta' versions, except for version 1.16 and before, where they are 'rc' + if (legacyVersion) { + name = String.format("rc.%s", matcher.group(1)); + } else { + name = String.format("beta.%s", matcher.group(1)); + } + } else { + String ret = normalizeSpecialVersion(name); + if (ret != null) return ret; + } + } + } else if ((matcher = SNAPSHOT_PATTERN.matcher(name)).matches()) { + name = String.format("alpha.%s.%s.%s", matcher.group(1), matcher.group(2), matcher.group(3)); + } else { + // Try short-circuiting special versions which are complete on their own + String ret = normalizeSpecialVersion(name); + if (ret != null) return ret; + + name = normalizeVersion(name); + } + + return String.format("%s-%s", release, name); + } + + private static String normalizeVersion(String version) { + // old version normalization scheme + // do this before the main part of normalization as we can get crazy strings like "Indev 0.31 12345678-9" + Matcher matcher; + + if ((matcher = BETA_PATTERN.matcher(version)).matches()) { // beta 1.2.3: 1.0.0-beta.2.3 + version = "1.0.0-beta." + matcher.group(1); + } else if ((matcher = ALPHA_PATTERN.matcher(version)).matches()) { // alpha 1.2.3: 1.0.0-alpha.2.3 + version = "1.0.0-alpha." + matcher.group(1); + } else if ((matcher = INDEV_PATTERN.matcher(version)).matches()) { // indev/infdev 12345678: 0.31.12345678 + version = "0.31." + matcher.group(1); + } else if (version.startsWith("c0.")) { // classic: unchanged, except remove prefix + version = version.substring(1); + } else if (version.startsWith("rd-")) { // pre-classic + version = version.substring("rd-".length()); + if ("20090515".equals(version)) version = "150000"; // account for a weird exception to the pre-classic versioning scheme + version = "0.0.0-rd." + version; + } + + StringBuilder ret = new StringBuilder(version.length() + 5); + boolean lastIsDigit = false; + boolean lastIsLeadingZero = false; + boolean lastIsSeparator = false; + + for (int i = 0, max = version.length(); i < max; i++) { + char c = version.charAt(i); + + if (c >= '0' && c <= '9') { + if (i > 0 && !lastIsDigit && !lastIsSeparator) { // no separator between non-number and number, add one + ret.append('.'); + } else if (lastIsDigit && lastIsLeadingZero) { // leading zero in output -> strip + ret.setLength(ret.length() - 1); + } + + lastIsLeadingZero = c == '0' && (!lastIsDigit || lastIsLeadingZero); // leading or continued leading zero(es) + lastIsSeparator = false; + lastIsDigit = true; + } else if (c == '.' || c == '-') { // keep . and - separators + if (lastIsSeparator) continue; + + lastIsSeparator = true; + lastIsDigit = false; + } else if ((c < 'A' || c > 'Z') && (c < 'a' || c > 'z')) { // replace remaining non-alphanumeric with . + if (lastIsSeparator) continue; + + c = '.'; + lastIsSeparator = true; + lastIsDigit = false; + } else { // keep other characters (alpha) + if (lastIsDigit) ret.append('.'); // no separator between number and non-number, add one + + lastIsSeparator = false; + lastIsDigit = false; + } + + ret.append(c); + } + + // strip leading and trailing . + + int start = 0; + while (start < ret.length() && ret.charAt(start) == '.') start++; + + int end = ret.length(); + while (end > start && ret.charAt(end - 1) == '.') end--; + + return ret.substring(start, end); + } + + private static String normalizeSpecialVersion(String version) { + switch (version) { + case "13w12~": + // A pair of debug snapshots immediately before 1.5.1-pre + return "1.5.1-alpha.13.12.a"; + + case "15w14a": + // The Love and Hugs Update, forked from 1.8.3 + return "1.8.4-alpha.15.14.a+loveandhugs"; + + case "1.RV-Pre1": + // The Trendy Update, probably forked from 1.9.2 (although the protocol/data versions immediately follow 1.9.1-pre3) + return "1.9.2-rv+trendy"; + + case "3D Shareware v1.34": + // Minecraft 3D, forked from 19w13b + return "1.14-alpha.19.13.shareware"; + + case "20w14~": + // The Ultimate Content update, forked from 20w13b + return "1.16-alpha.20.13.inf"; // Not to be confused with the actual 20w14a + + case "1.14.3 - Combat Test": + // The first Combat Test, forked from 1.14.3 Pre-Release 4 + return "1.14.3-rc.4.combat.1"; + + case "Combat Test 2": + // The second Combat Test, forked from 1.14.4 + return "1.14.5-combat.2"; + + case "Combat Test 3": + // The third Combat Test, forked from 1.14.4 + return "1.14.5-combat.3"; + + case "Combat Test 4": + // The fourth Combat Test, forked from 1.15 Pre-release 3 + return "1.15-rc.3.combat.4"; + + case "Combat Test 5": + // The fifth Combat Test, forked from 1.15.2 Pre-release 2 + return "1.15.2-rc.2.combat.5"; + + case "Combat Test 6": + // The sixth Combat Test, forked from 1.16.2 Pre-release 3 + return "1.16.2-beta.3.combat.6"; + + case "Combat Test 7": + // Private testing Combat Test 7, forked from 1.16.2 + return "1.16.3-combat.7"; + + case "1.16_combat-2": + // Private testing Combat Test 7b, forked from 1.16.2 + return "1.16.3-combat.7.b"; + + case "1.16_combat-3": + // The seventh Combat Test 7c, forked from 1.16.2 + return "1.16.3-combat.7.c"; + + case "1.16_combat-4": + // Private testing Combat Test 8(a?), forked from 1.16.2 + return "1.16.3-combat.8"; + + case "1.16_combat-5": + // The eighth Combat Test 8b, forked from 1.16.2 + return "1.16.3-combat.8.b"; + + case "1.16_combat-6": + // The ninth Combat Test 8c, forked from 1.16.2 + return "1.16.3-combat.8.c"; + + case "2point0_red": + // 2.0 update version red, forked from 1.5.1 + return "1.5.2-red"; + + case "2point0_purple": + // 2.0 update version purple, forked from 1.5.1 + return "1.5.2-purple"; + + case "2point0_blue": + // 2.0 update version blue, forked from 1.5.1 + return "1.5.2-blue"; + + case "23w13a_or_b": + // Minecraft 23w13a_or_b, forked from 23w13a + return "1.20-alpha.23.13.ab"; + + default: + return null; //Don't recognise the version + } + } +} diff --git a/buildSrc/src/main/java/net/legacyfabric/VersionHelper.java b/buildSrc/src/main/java/net/legacyfabric/VersionHelper.java new file mode 100644 index 000000000..328729112 --- /dev/null +++ b/buildSrc/src/main/java/net/legacyfabric/VersionHelper.java @@ -0,0 +1,27 @@ +package net.legacyfabric; + +import net.fabricmc.loader.api.SemanticVersion; +import net.fabricmc.loader.api.VersionParsingException; +import net.fabricmc.loader.api.metadata.version.VersionPredicate; + +public class VersionHelper { + public static SemanticVersion parseVersion(String version) { + return MCVersionLookup.parse(version); + } + + public static VersionPredicate parsePredicate(String predicate) { + try { + return VersionPredicate.parse(predicate); + } catch (VersionParsingException e) { + throw new RuntimeException(e); + } + } + + public static boolean needUserProperties(String stringVersion) { + SemanticVersion version = parseVersion(stringVersion); + + VersionPredicate predicate = parsePredicate(">=1.7 <=1.8"); + + return predicate.test(version); + } +} diff --git a/settings.gradle b/settings.gradle index 28bdce48f..2eb1e5cd0 100644 --- a/settings.gradle +++ b/settings.gradle @@ -15,74 +15,87 @@ pluginManagement { rootProject.name = "legacy-fabric-api" -include("common") -include("common:legacy-fabric-logger-api-v1") -include("common:legacy-fabric-api-base-common") -include("common:legacy-fabric-lifecycle-events-v1-common") -include("common:legacy-fabric-command-api-v1") -include("common:legacy-fabric-permissions-api-v1-common") -include("common:legacy-fabric-entity-events-v1-common") -include("common:legacy-fabric-gamerule-api-v1") -include("common:legacy-fabric-item-groups-v1-common") -include("common:legacy-fabric-keybindings-api-v1-common") -include("common:legacy-fabric-networking-api-v1-common") -include("common:legacy-fabric-registry-sync-api-v1-common") -include("common:legacy-fabric-rendering-api-v1-common") -include("common:legacy-fabric-resource-loader-v1-common") +def loadProject(String path) { + file(path).listFiles().each { + if (it.isDirectory()) { + include("${path}_$it.name") -include("1.8.9") -include("1.8.9:legacy-fabric-crash-report-info-v1") -include("1.8.9:legacy-fabric-api-base") -include("1.8.9:legacy-fabric-lifecycle-events-v1") -include("1.8.9:legacy-fabric-permissions-api-v1") -include("1.8.9:legacy-fabric-command-api-v2") -include("1.8.9:legacy-fabric-entity-events-v1") -include("1.8.9:legacy-fabric-item-groups-v1") -include("1.8.9:legacy-fabric-resource-loader-v1") -include("1.8.9:legacy-fabric-keybindings-api-v1") -include("1.8.9:legacy-fabric-registry-sync-api-v1") -include("1.8.9:legacy-fabric-rendering-api-v1") -include("1.8.9:legacy-fabric-networking-api-v1") -include("1.8.9:legacyfabric-api") - -include("1.8") -include("1.8:legacy-fabric-resource-loader-v1") -include("1.8:legacy-fabric-registry-sync-api-v1") -include("1.8:legacyfabric-api") - -include("1.7.10") -include("1.7.10:legacy-fabric-api-base") -include("1.7.10:legacy-fabric-resource-loader-v1") -include("1.7.10:legacy-fabric-command-api-v2") -include("1.7.10:legacy-fabric-rendering-api-v1") -include("1.7.10:legacy-fabric-lifecycle-events-v1") -include("1.7.10:legacy-fabric-keybindings-api-v1") -include("1.7.10:legacy-fabric-networking-api-v1") -include("1.7.10:legacy-fabric-registry-sync-api-v1") -include("1.7.10:legacyfabric-api") - -include("1.12.2") -include("1.12.2:legacy-fabric-resource-loader-v1") -include("1.12.2:legacy-fabric-item-groups-v1") -include("1.12.2:legacy-fabric-lifecycle-events-v1") -include("1.12.2:legacy-fabric-entity-events-v1") -include("1.12.2:legacy-fabric-networking-api-v1") -include("1.12.2:legacy-fabric-command-api-v2") -include("1.12.2:legacy-fabric-registry-sync-api-v1") -include("1.12.2:legacyfabric-api") - -include("1.9.4") -include("1.9.4:legacy-fabric-entity-events-v1") -include("1.9.4:legacy-fabric-registry-sync-api-v1") -include("1.9.4:legacyfabric-api") + project(":${path}_$it.name").setProjectDir(it) + } + } +} -include("1.10.2") -include("1.10.2:legacy-fabric-resource-loader-v1") -include("1.10.2:legacy-fabric-registry-sync-api-v1") -include("1.10.2:legacyfabric-api") +loadProject("legacy-fabric-api-base") +loadProject("legacy-fabric-logger-api-v1") -include("1.11.2") -include("1.11.2:legacyfabric-api") +//include("common") +//include("common:legacy-fabric-logger-api-v1") +//include("common:legacy-fabric-api-base-common") +//include("common:legacy-fabric-lifecycle-events-v1-common") +//include("common:legacy-fabric-command-api-v1") +//include("common:legacy-fabric-permissions-api-v1-common") +//include("common:legacy-fabric-entity-events-v1-common") +//include("common:legacy-fabric-gamerule-api-v1") +//include("common:legacy-fabric-item-groups-v1-common") +//include("common:legacy-fabric-keybindings-api-v1-common") +//include("common:legacy-fabric-networking-api-v1-common") +//include("common:legacy-fabric-registry-sync-api-v1-common") +//include("common:legacy-fabric-rendering-api-v1-common") +//include("common:legacy-fabric-resource-loader-v1-common") +// +//include("1.8.9") +//include("1.8.9:legacy-fabric-crash-report-info-v1") +//include("1.8.9:legacy-fabric-api-base") +//include("1.8.9:legacy-fabric-lifecycle-events-v1") +//include("1.8.9:legacy-fabric-permissions-api-v1") +//include("1.8.9:legacy-fabric-command-api-v2") +//include("1.8.9:legacy-fabric-entity-events-v1") +//include("1.8.9:legacy-fabric-item-groups-v1") +//include("1.8.9:legacy-fabric-resource-loader-v1") +//include("1.8.9:legacy-fabric-keybindings-api-v1") +//include("1.8.9:legacy-fabric-registry-sync-api-v1") +//include("1.8.9:legacy-fabric-rendering-api-v1") +//include("1.8.9:legacy-fabric-networking-api-v1") +//include("1.8.9:legacyfabric-api") +// +//include("1.8") +//include("1.8:legacy-fabric-resource-loader-v1") +//include("1.8:legacy-fabric-registry-sync-api-v1") +//include("1.8:legacyfabric-api") +// +//include("1.7.10") +//include("1.7.10:legacy-fabric-api-base") +//include("1.7.10:legacy-fabric-resource-loader-v1") +//include("1.7.10:legacy-fabric-command-api-v2") +//include("1.7.10:legacy-fabric-rendering-api-v1") +//include("1.7.10:legacy-fabric-lifecycle-events-v1") +//include("1.7.10:legacy-fabric-keybindings-api-v1") +//include("1.7.10:legacy-fabric-networking-api-v1") +//include("1.7.10:legacy-fabric-registry-sync-api-v1") +//include("1.7.10:legacyfabric-api") +// +//include("1.12.2") +//include("1.12.2:legacy-fabric-resource-loader-v1") +//include("1.12.2:legacy-fabric-item-groups-v1") +//include("1.12.2:legacy-fabric-lifecycle-events-v1") +//include("1.12.2:legacy-fabric-entity-events-v1") +//include("1.12.2:legacy-fabric-networking-api-v1") +//include("1.12.2:legacy-fabric-command-api-v2") +//include("1.12.2:legacy-fabric-registry-sync-api-v1") +//include("1.12.2:legacyfabric-api") +// +//include("1.9.4") +//include("1.9.4:legacy-fabric-entity-events-v1") +//include("1.9.4:legacy-fabric-registry-sync-api-v1") +//include("1.9.4:legacyfabric-api") +// +//include("1.10.2") +//include("1.10.2:legacy-fabric-resource-loader-v1") +//include("1.10.2:legacy-fabric-registry-sync-api-v1") +//include("1.10.2:legacyfabric-api") +// +//include("1.11.2") +//include("1.11.2:legacyfabric-api") //include("1.13.2") //include("1.13.2:legacyfabric-api") From 9a3b3aa9344019e00e315d479ddbe63f89c4fa7c Mon Sep 17 00:00:00 2001 From: Cat Core Date: Thu, 8 Feb 2024 01:15:27 +0100 Subject: [PATCH 03/27] Port api-base and logger-api --- 1.7.10/legacy-fabric-api-base/build.gradle | 8 -------- 1.8.9/legacy-fabric-api-base/build.gradle | 7 ------- common/legacy-fabric-api-base-common/build.gradle | 1 - common/legacy-fabric-logger-api-v1/build.gradle | 1 - legacy-fabric-api-base/1.7.10/build.gradle | 0 legacy-fabric-api-base/1.7.10/gradle.properties | 2 ++ .../net/legacyfabric/fabric/api/util/Location.java | 0 .../resources/assets/legacy-fabric-api/icon.png | Bin .../1.7.10}/src/main/resources/fabric.mod.json | 2 +- .../1.7.10}/src/testmod/resources/fabric.mod.json | 2 +- legacy-fabric-api-base/1.8.9/build.gradle | 0 legacy-fabric-api-base/1.8.9/gradle.properties | 2 ++ .../net/legacyfabric/fabric/api/util/Location.java | 0 .../resources/assets/legacy-fabric-api/icon.png | Bin .../1.8.9}/src/main/resources/fabric.mod.json | 2 +- .../1.8.9}/src/testmod/resources/fabric.mod.json | 2 +- legacy-fabric-api-base/common.gradle | 1 + legacy-fabric-api-base/common/build.gradle | 0 legacy-fabric-api-base/common/gradle.properties | 2 ++ .../net/legacyfabric/fabric/api/event/Event.java | 0 .../legacyfabric/fabric/api/event/EventFactory.java | 0 .../net/legacyfabric/fabric/api/util/BeforeMC.java | 0 .../fabric/api/util/BooleanFunction.java | 0 .../legacyfabric/fabric/api/util/Identifier.java | 0 .../net/legacyfabric/fabric/api/util/NbtType.java | 0 .../legacyfabric/fabric/api/util/ServerUtils.java | 0 .../net/legacyfabric/fabric/api/util/SinceMC.java | 0 .../net/legacyfabric/fabric/api/util/TriState.java | 0 .../legacyfabric/fabric/api/util/VersionUtils.java | 0 .../fabric/impl/base/event/ArrayBackedEvent.java | 0 .../fabric/impl/base/event/EventFactoryImpl.java | 0 .../resources/assets/legacy-fabric-api/icon.png | Bin .../common}/src/main/resources/fabric.mod.json | 2 +- legacy-fabric-logger-api-v1/common.gradle | 1 + legacy-fabric-logger-api-v1/common/build.gradle | 0 .../common/gradle.properties | 1 + .../legacyfabric/fabric/api/logger/v1/Logger.java | 0 .../legacyfabric/fabric/impl/logger/LoggerImpl.java | 0 .../resources/assets/legacy-fabric-api/icon.png | Bin .../common}/src/main/resources/fabric.mod.json | 0 40 files changed, 14 insertions(+), 22 deletions(-) delete mode 100644 1.7.10/legacy-fabric-api-base/build.gradle delete mode 100644 1.8.9/legacy-fabric-api-base/build.gradle delete mode 100644 common/legacy-fabric-api-base-common/build.gradle delete mode 100644 common/legacy-fabric-logger-api-v1/build.gradle create mode 100644 legacy-fabric-api-base/1.7.10/build.gradle create mode 100644 legacy-fabric-api-base/1.7.10/gradle.properties rename {1.7.10/legacy-fabric-api-base => legacy-fabric-api-base/1.7.10}/src/main/java/net/legacyfabric/fabric/api/util/Location.java (100%) rename {1.7.10/legacy-fabric-api-base => legacy-fabric-api-base/1.7.10}/src/main/resources/assets/legacy-fabric-api/icon.png (100%) rename {1.8.9/legacy-fabric-api-base => legacy-fabric-api-base/1.7.10}/src/main/resources/fabric.mod.json (95%) rename {1.7.10/legacy-fabric-api-base => legacy-fabric-api-base/1.7.10}/src/testmod/resources/fabric.mod.json (85%) create mode 100644 legacy-fabric-api-base/1.8.9/build.gradle create mode 100644 legacy-fabric-api-base/1.8.9/gradle.properties rename {1.8.9/legacy-fabric-api-base => legacy-fabric-api-base/1.8.9}/src/main/java/net/legacyfabric/fabric/api/util/Location.java (100%) rename {1.8.9/legacy-fabric-api-base => legacy-fabric-api-base/1.8.9}/src/main/resources/assets/legacy-fabric-api/icon.png (100%) rename {1.7.10/legacy-fabric-api-base => legacy-fabric-api-base/1.8.9}/src/main/resources/fabric.mod.json (95%) rename {1.8.9/legacy-fabric-api-base => legacy-fabric-api-base/1.8.9}/src/testmod/resources/fabric.mod.json (85%) create mode 100644 legacy-fabric-api-base/common.gradle create mode 100644 legacy-fabric-api-base/common/build.gradle create mode 100644 legacy-fabric-api-base/common/gradle.properties rename {common/legacy-fabric-api-base-common => legacy-fabric-api-base/common}/src/main/java/net/legacyfabric/fabric/api/event/Event.java (100%) rename {common/legacy-fabric-api-base-common => legacy-fabric-api-base/common}/src/main/java/net/legacyfabric/fabric/api/event/EventFactory.java (100%) rename {common/legacy-fabric-api-base-common => legacy-fabric-api-base/common}/src/main/java/net/legacyfabric/fabric/api/util/BeforeMC.java (100%) rename {common/legacy-fabric-api-base-common => legacy-fabric-api-base/common}/src/main/java/net/legacyfabric/fabric/api/util/BooleanFunction.java (100%) rename {common/legacy-fabric-api-base-common => legacy-fabric-api-base/common}/src/main/java/net/legacyfabric/fabric/api/util/Identifier.java (100%) rename {common/legacy-fabric-api-base-common => legacy-fabric-api-base/common}/src/main/java/net/legacyfabric/fabric/api/util/NbtType.java (100%) rename {common/legacy-fabric-api-base-common => legacy-fabric-api-base/common}/src/main/java/net/legacyfabric/fabric/api/util/ServerUtils.java (100%) rename {common/legacy-fabric-api-base-common => legacy-fabric-api-base/common}/src/main/java/net/legacyfabric/fabric/api/util/SinceMC.java (100%) rename {common/legacy-fabric-api-base-common => legacy-fabric-api-base/common}/src/main/java/net/legacyfabric/fabric/api/util/TriState.java (100%) rename {common/legacy-fabric-api-base-common => legacy-fabric-api-base/common}/src/main/java/net/legacyfabric/fabric/api/util/VersionUtils.java (100%) rename {common/legacy-fabric-api-base-common => legacy-fabric-api-base/common}/src/main/java/net/legacyfabric/fabric/impl/base/event/ArrayBackedEvent.java (100%) rename {common/legacy-fabric-api-base-common => legacy-fabric-api-base/common}/src/main/java/net/legacyfabric/fabric/impl/base/event/EventFactoryImpl.java (100%) rename {common/legacy-fabric-api-base-common => legacy-fabric-api-base/common}/src/main/resources/assets/legacy-fabric-api/icon.png (100%) rename {common/legacy-fabric-api-base-common => legacy-fabric-api-base/common}/src/main/resources/fabric.mod.json (95%) create mode 100644 legacy-fabric-logger-api-v1/common.gradle create mode 100644 legacy-fabric-logger-api-v1/common/build.gradle create mode 100644 legacy-fabric-logger-api-v1/common/gradle.properties rename {common/legacy-fabric-logger-api-v1 => legacy-fabric-logger-api-v1/common}/src/main/java/net/legacyfabric/fabric/api/logger/v1/Logger.java (100%) rename {common/legacy-fabric-logger-api-v1 => legacy-fabric-logger-api-v1/common}/src/main/java/net/legacyfabric/fabric/impl/logger/LoggerImpl.java (100%) rename {common/legacy-fabric-logger-api-v1 => legacy-fabric-logger-api-v1/common}/src/main/resources/assets/legacy-fabric-api/icon.png (100%) rename {common/legacy-fabric-logger-api-v1 => legacy-fabric-logger-api-v1/common}/src/main/resources/fabric.mod.json (100%) diff --git a/1.7.10/legacy-fabric-api-base/build.gradle b/1.7.10/legacy-fabric-api-base/build.gradle deleted file mode 100644 index c86a3e091..000000000 --- a/1.7.10/legacy-fabric-api-base/build.gradle +++ /dev/null @@ -1,8 +0,0 @@ -//archiveBaseName = "legacy-fabric-api-base" -version = getSubprojectVersion(project) - -moduleDependencies(project, [ - "common": [ - "legacy-fabric-api-base-common" - ] -]) diff --git a/1.8.9/legacy-fabric-api-base/build.gradle b/1.8.9/legacy-fabric-api-base/build.gradle deleted file mode 100644 index 3ca3a9171..000000000 --- a/1.8.9/legacy-fabric-api-base/build.gradle +++ /dev/null @@ -1,7 +0,0 @@ -version = getSubprojectVersion(project) - -moduleDependencies(project, [ - "common": [ - "legacy-fabric-api-base-common" - ] -]) diff --git a/common/legacy-fabric-api-base-common/build.gradle b/common/legacy-fabric-api-base-common/build.gradle deleted file mode 100644 index 85b5e378d..000000000 --- a/common/legacy-fabric-api-base-common/build.gradle +++ /dev/null @@ -1 +0,0 @@ -version = getSubprojectVersion(project) diff --git a/common/legacy-fabric-logger-api-v1/build.gradle b/common/legacy-fabric-logger-api-v1/build.gradle deleted file mode 100644 index 85b5e378d..000000000 --- a/common/legacy-fabric-logger-api-v1/build.gradle +++ /dev/null @@ -1 +0,0 @@ -version = getSubprojectVersion(project) diff --git a/legacy-fabric-api-base/1.7.10/build.gradle b/legacy-fabric-api-base/1.7.10/build.gradle new file mode 100644 index 000000000..e69de29bb diff --git a/legacy-fabric-api-base/1.7.10/gradle.properties b/legacy-fabric-api-base/1.7.10/gradle.properties new file mode 100644 index 000000000..c6dcd9541 --- /dev/null +++ b/legacy-fabric-api-base/1.7.10/gradle.properties @@ -0,0 +1,2 @@ +minVersionIncluded=1.3 +maxVersionIncluded=1.7.10 diff --git a/1.7.10/legacy-fabric-api-base/src/main/java/net/legacyfabric/fabric/api/util/Location.java b/legacy-fabric-api-base/1.7.10/src/main/java/net/legacyfabric/fabric/api/util/Location.java similarity index 100% rename from 1.7.10/legacy-fabric-api-base/src/main/java/net/legacyfabric/fabric/api/util/Location.java rename to legacy-fabric-api-base/1.7.10/src/main/java/net/legacyfabric/fabric/api/util/Location.java diff --git a/1.7.10/legacy-fabric-api-base/src/main/resources/assets/legacy-fabric-api/icon.png b/legacy-fabric-api-base/1.7.10/src/main/resources/assets/legacy-fabric-api/icon.png similarity index 100% rename from 1.7.10/legacy-fabric-api-base/src/main/resources/assets/legacy-fabric-api/icon.png rename to legacy-fabric-api-base/1.7.10/src/main/resources/assets/legacy-fabric-api/icon.png diff --git a/1.8.9/legacy-fabric-api-base/src/main/resources/fabric.mod.json b/legacy-fabric-api-base/1.7.10/src/main/resources/fabric.mod.json similarity index 95% rename from 1.8.9/legacy-fabric-api-base/src/main/resources/fabric.mod.json rename to legacy-fabric-api-base/1.7.10/src/main/resources/fabric.mod.json index 9e41f4917..db17f0be9 100644 --- a/1.8.9/legacy-fabric-api-base/src/main/resources/fabric.mod.json +++ b/legacy-fabric-api-base/1.7.10/src/main/resources/fabric.mod.json @@ -16,7 +16,7 @@ "FabricMC" ], "depends": { - "minecraft": ">=1.8" + "minecraft": "${minecraft_version}" }, "description": "Shared hooks used by other api modules", "custom": { diff --git a/1.7.10/legacy-fabric-api-base/src/testmod/resources/fabric.mod.json b/legacy-fabric-api-base/1.7.10/src/testmod/resources/fabric.mod.json similarity index 85% rename from 1.7.10/legacy-fabric-api-base/src/testmod/resources/fabric.mod.json rename to legacy-fabric-api-base/1.7.10/src/testmod/resources/fabric.mod.json index 11e6a6822..33c617a66 100644 --- a/1.7.10/legacy-fabric-api-base/src/testmod/resources/fabric.mod.json +++ b/legacy-fabric-api-base/1.7.10/src/testmod/resources/fabric.mod.json @@ -9,6 +9,6 @@ "main": [] }, "depends": { - "minecraft": "<=1.7.10" + "minecraft": "${minecraft_version}" } } diff --git a/legacy-fabric-api-base/1.8.9/build.gradle b/legacy-fabric-api-base/1.8.9/build.gradle new file mode 100644 index 000000000..e69de29bb diff --git a/legacy-fabric-api-base/1.8.9/gradle.properties b/legacy-fabric-api-base/1.8.9/gradle.properties new file mode 100644 index 000000000..b38a9acaa --- /dev/null +++ b/legacy-fabric-api-base/1.8.9/gradle.properties @@ -0,0 +1,2 @@ +minVersionIncluded=1.8 +maxVersionIncluded=1.13.2 diff --git a/1.8.9/legacy-fabric-api-base/src/main/java/net/legacyfabric/fabric/api/util/Location.java b/legacy-fabric-api-base/1.8.9/src/main/java/net/legacyfabric/fabric/api/util/Location.java similarity index 100% rename from 1.8.9/legacy-fabric-api-base/src/main/java/net/legacyfabric/fabric/api/util/Location.java rename to legacy-fabric-api-base/1.8.9/src/main/java/net/legacyfabric/fabric/api/util/Location.java diff --git a/1.8.9/legacy-fabric-api-base/src/main/resources/assets/legacy-fabric-api/icon.png b/legacy-fabric-api-base/1.8.9/src/main/resources/assets/legacy-fabric-api/icon.png similarity index 100% rename from 1.8.9/legacy-fabric-api-base/src/main/resources/assets/legacy-fabric-api/icon.png rename to legacy-fabric-api-base/1.8.9/src/main/resources/assets/legacy-fabric-api/icon.png diff --git a/1.7.10/legacy-fabric-api-base/src/main/resources/fabric.mod.json b/legacy-fabric-api-base/1.8.9/src/main/resources/fabric.mod.json similarity index 95% rename from 1.7.10/legacy-fabric-api-base/src/main/resources/fabric.mod.json rename to legacy-fabric-api-base/1.8.9/src/main/resources/fabric.mod.json index cf894be75..db17f0be9 100644 --- a/1.7.10/legacy-fabric-api-base/src/main/resources/fabric.mod.json +++ b/legacy-fabric-api-base/1.8.9/src/main/resources/fabric.mod.json @@ -16,7 +16,7 @@ "FabricMC" ], "depends": { - "minecraft": "<=1.7.10" + "minecraft": "${minecraft_version}" }, "description": "Shared hooks used by other api modules", "custom": { diff --git a/1.8.9/legacy-fabric-api-base/src/testmod/resources/fabric.mod.json b/legacy-fabric-api-base/1.8.9/src/testmod/resources/fabric.mod.json similarity index 85% rename from 1.8.9/legacy-fabric-api-base/src/testmod/resources/fabric.mod.json rename to legacy-fabric-api-base/1.8.9/src/testmod/resources/fabric.mod.json index 15d07311a..33c617a66 100644 --- a/1.8.9/legacy-fabric-api-base/src/testmod/resources/fabric.mod.json +++ b/legacy-fabric-api-base/1.8.9/src/testmod/resources/fabric.mod.json @@ -9,6 +9,6 @@ "main": [] }, "depends": { - "minecraft": ">=1.8" + "minecraft": "${minecraft_version}" } } diff --git a/legacy-fabric-api-base/common.gradle b/legacy-fabric-api-base/common.gradle new file mode 100644 index 000000000..f616d72cb --- /dev/null +++ b/legacy-fabric-api-base/common.gradle @@ -0,0 +1 @@ +moduleDependencies(project, []) diff --git a/legacy-fabric-api-base/common/build.gradle b/legacy-fabric-api-base/common/build.gradle new file mode 100644 index 000000000..e69de29bb diff --git a/legacy-fabric-api-base/common/gradle.properties b/legacy-fabric-api-base/common/gradle.properties new file mode 100644 index 000000000..13b94f3a1 --- /dev/null +++ b/legacy-fabric-api-base/common/gradle.properties @@ -0,0 +1,2 @@ +minVersionIncluded=1.3 +maxVersionIncluded=1.13.2 diff --git a/common/legacy-fabric-api-base-common/src/main/java/net/legacyfabric/fabric/api/event/Event.java b/legacy-fabric-api-base/common/src/main/java/net/legacyfabric/fabric/api/event/Event.java similarity index 100% rename from common/legacy-fabric-api-base-common/src/main/java/net/legacyfabric/fabric/api/event/Event.java rename to legacy-fabric-api-base/common/src/main/java/net/legacyfabric/fabric/api/event/Event.java diff --git a/common/legacy-fabric-api-base-common/src/main/java/net/legacyfabric/fabric/api/event/EventFactory.java b/legacy-fabric-api-base/common/src/main/java/net/legacyfabric/fabric/api/event/EventFactory.java similarity index 100% rename from common/legacy-fabric-api-base-common/src/main/java/net/legacyfabric/fabric/api/event/EventFactory.java rename to legacy-fabric-api-base/common/src/main/java/net/legacyfabric/fabric/api/event/EventFactory.java diff --git a/common/legacy-fabric-api-base-common/src/main/java/net/legacyfabric/fabric/api/util/BeforeMC.java b/legacy-fabric-api-base/common/src/main/java/net/legacyfabric/fabric/api/util/BeforeMC.java similarity index 100% rename from common/legacy-fabric-api-base-common/src/main/java/net/legacyfabric/fabric/api/util/BeforeMC.java rename to legacy-fabric-api-base/common/src/main/java/net/legacyfabric/fabric/api/util/BeforeMC.java diff --git a/common/legacy-fabric-api-base-common/src/main/java/net/legacyfabric/fabric/api/util/BooleanFunction.java b/legacy-fabric-api-base/common/src/main/java/net/legacyfabric/fabric/api/util/BooleanFunction.java similarity index 100% rename from common/legacy-fabric-api-base-common/src/main/java/net/legacyfabric/fabric/api/util/BooleanFunction.java rename to legacy-fabric-api-base/common/src/main/java/net/legacyfabric/fabric/api/util/BooleanFunction.java diff --git a/common/legacy-fabric-api-base-common/src/main/java/net/legacyfabric/fabric/api/util/Identifier.java b/legacy-fabric-api-base/common/src/main/java/net/legacyfabric/fabric/api/util/Identifier.java similarity index 100% rename from common/legacy-fabric-api-base-common/src/main/java/net/legacyfabric/fabric/api/util/Identifier.java rename to legacy-fabric-api-base/common/src/main/java/net/legacyfabric/fabric/api/util/Identifier.java diff --git a/common/legacy-fabric-api-base-common/src/main/java/net/legacyfabric/fabric/api/util/NbtType.java b/legacy-fabric-api-base/common/src/main/java/net/legacyfabric/fabric/api/util/NbtType.java similarity index 100% rename from common/legacy-fabric-api-base-common/src/main/java/net/legacyfabric/fabric/api/util/NbtType.java rename to legacy-fabric-api-base/common/src/main/java/net/legacyfabric/fabric/api/util/NbtType.java diff --git a/common/legacy-fabric-api-base-common/src/main/java/net/legacyfabric/fabric/api/util/ServerUtils.java b/legacy-fabric-api-base/common/src/main/java/net/legacyfabric/fabric/api/util/ServerUtils.java similarity index 100% rename from common/legacy-fabric-api-base-common/src/main/java/net/legacyfabric/fabric/api/util/ServerUtils.java rename to legacy-fabric-api-base/common/src/main/java/net/legacyfabric/fabric/api/util/ServerUtils.java diff --git a/common/legacy-fabric-api-base-common/src/main/java/net/legacyfabric/fabric/api/util/SinceMC.java b/legacy-fabric-api-base/common/src/main/java/net/legacyfabric/fabric/api/util/SinceMC.java similarity index 100% rename from common/legacy-fabric-api-base-common/src/main/java/net/legacyfabric/fabric/api/util/SinceMC.java rename to legacy-fabric-api-base/common/src/main/java/net/legacyfabric/fabric/api/util/SinceMC.java diff --git a/common/legacy-fabric-api-base-common/src/main/java/net/legacyfabric/fabric/api/util/TriState.java b/legacy-fabric-api-base/common/src/main/java/net/legacyfabric/fabric/api/util/TriState.java similarity index 100% rename from common/legacy-fabric-api-base-common/src/main/java/net/legacyfabric/fabric/api/util/TriState.java rename to legacy-fabric-api-base/common/src/main/java/net/legacyfabric/fabric/api/util/TriState.java diff --git a/common/legacy-fabric-api-base-common/src/main/java/net/legacyfabric/fabric/api/util/VersionUtils.java b/legacy-fabric-api-base/common/src/main/java/net/legacyfabric/fabric/api/util/VersionUtils.java similarity index 100% rename from common/legacy-fabric-api-base-common/src/main/java/net/legacyfabric/fabric/api/util/VersionUtils.java rename to legacy-fabric-api-base/common/src/main/java/net/legacyfabric/fabric/api/util/VersionUtils.java diff --git a/common/legacy-fabric-api-base-common/src/main/java/net/legacyfabric/fabric/impl/base/event/ArrayBackedEvent.java b/legacy-fabric-api-base/common/src/main/java/net/legacyfabric/fabric/impl/base/event/ArrayBackedEvent.java similarity index 100% rename from common/legacy-fabric-api-base-common/src/main/java/net/legacyfabric/fabric/impl/base/event/ArrayBackedEvent.java rename to legacy-fabric-api-base/common/src/main/java/net/legacyfabric/fabric/impl/base/event/ArrayBackedEvent.java diff --git a/common/legacy-fabric-api-base-common/src/main/java/net/legacyfabric/fabric/impl/base/event/EventFactoryImpl.java b/legacy-fabric-api-base/common/src/main/java/net/legacyfabric/fabric/impl/base/event/EventFactoryImpl.java similarity index 100% rename from common/legacy-fabric-api-base-common/src/main/java/net/legacyfabric/fabric/impl/base/event/EventFactoryImpl.java rename to legacy-fabric-api-base/common/src/main/java/net/legacyfabric/fabric/impl/base/event/EventFactoryImpl.java diff --git a/common/legacy-fabric-api-base-common/src/main/resources/assets/legacy-fabric-api/icon.png b/legacy-fabric-api-base/common/src/main/resources/assets/legacy-fabric-api/icon.png similarity index 100% rename from common/legacy-fabric-api-base-common/src/main/resources/assets/legacy-fabric-api/icon.png rename to legacy-fabric-api-base/common/src/main/resources/assets/legacy-fabric-api/icon.png diff --git a/common/legacy-fabric-api-base-common/src/main/resources/fabric.mod.json b/legacy-fabric-api-base/common/src/main/resources/fabric.mod.json similarity index 95% rename from common/legacy-fabric-api-base-common/src/main/resources/fabric.mod.json rename to legacy-fabric-api-base/common/src/main/resources/fabric.mod.json index 314c1f416..70d0eea36 100644 --- a/common/legacy-fabric-api-base-common/src/main/resources/fabric.mod.json +++ b/legacy-fabric-api-base/common/src/main/resources/fabric.mod.json @@ -16,7 +16,7 @@ "FabricMC" ], "depends": { - "minecraft": "<1.14" + "minecraft": "${minecraft_version}" }, "description": "Shared hooks used by other api modules", "custom": { diff --git a/legacy-fabric-logger-api-v1/common.gradle b/legacy-fabric-logger-api-v1/common.gradle new file mode 100644 index 000000000..f616d72cb --- /dev/null +++ b/legacy-fabric-logger-api-v1/common.gradle @@ -0,0 +1 @@ +moduleDependencies(project, []) diff --git a/legacy-fabric-logger-api-v1/common/build.gradle b/legacy-fabric-logger-api-v1/common/build.gradle new file mode 100644 index 000000000..e69de29bb diff --git a/legacy-fabric-logger-api-v1/common/gradle.properties b/legacy-fabric-logger-api-v1/common/gradle.properties new file mode 100644 index 000000000..37f44cc8e --- /dev/null +++ b/legacy-fabric-logger-api-v1/common/gradle.properties @@ -0,0 +1 @@ +artifactSuffix= diff --git a/common/legacy-fabric-logger-api-v1/src/main/java/net/legacyfabric/fabric/api/logger/v1/Logger.java b/legacy-fabric-logger-api-v1/common/src/main/java/net/legacyfabric/fabric/api/logger/v1/Logger.java similarity index 100% rename from common/legacy-fabric-logger-api-v1/src/main/java/net/legacyfabric/fabric/api/logger/v1/Logger.java rename to legacy-fabric-logger-api-v1/common/src/main/java/net/legacyfabric/fabric/api/logger/v1/Logger.java diff --git a/common/legacy-fabric-logger-api-v1/src/main/java/net/legacyfabric/fabric/impl/logger/LoggerImpl.java b/legacy-fabric-logger-api-v1/common/src/main/java/net/legacyfabric/fabric/impl/logger/LoggerImpl.java similarity index 100% rename from common/legacy-fabric-logger-api-v1/src/main/java/net/legacyfabric/fabric/impl/logger/LoggerImpl.java rename to legacy-fabric-logger-api-v1/common/src/main/java/net/legacyfabric/fabric/impl/logger/LoggerImpl.java diff --git a/common/legacy-fabric-logger-api-v1/src/main/resources/assets/legacy-fabric-api/icon.png b/legacy-fabric-logger-api-v1/common/src/main/resources/assets/legacy-fabric-api/icon.png similarity index 100% rename from common/legacy-fabric-logger-api-v1/src/main/resources/assets/legacy-fabric-api/icon.png rename to legacy-fabric-logger-api-v1/common/src/main/resources/assets/legacy-fabric-api/icon.png diff --git a/common/legacy-fabric-logger-api-v1/src/main/resources/fabric.mod.json b/legacy-fabric-logger-api-v1/common/src/main/resources/fabric.mod.json similarity index 100% rename from common/legacy-fabric-logger-api-v1/src/main/resources/fabric.mod.json rename to legacy-fabric-logger-api-v1/common/src/main/resources/fabric.mod.json From 728f2ea5970358de2033d6ee8419707d3a7ae775 Mon Sep 17 00:00:00 2001 From: Cat Core Date: Thu, 8 Feb 2024 10:05:01 +0100 Subject: [PATCH 04/27] Infer module dependencies from MCVersion --- build.gradle | 66 ++++++++++++++++++++++++++++++++-------------------- 1 file changed, 41 insertions(+), 25 deletions(-) diff --git a/build.gradle b/build.gradle index deb221d00..c303a742d 100644 --- a/build.gradle +++ b/build.gradle @@ -64,6 +64,32 @@ def getProjectMavenName(project) { return simpleName } + + +static def getMCRange(Project project) { + def predicates = [] + + if (project.hasProperty("minVersionIncluded")) { + predicates.add(">=${VersionHelper.parseVersion(project["minVersionIncluded"]).friendlyString}") + } + + if (project.hasProperty("minVersionExcluded")) { + predicates.add(">${VersionHelper.parseVersion(project["minVersionExcluded"]).friendlyString}") + } + + if (project.hasProperty("maxVersionIncluded")) { + predicates.add("<=${VersionHelper.parseVersion(project["maxVersionIncluded"]).friendlyString}") + } + + if (project.hasProperty("maxVersionExcluded")) { + predicates.add("<${VersionHelper.parseVersion(project["maxVersionExcluded"]).friendlyString}") + } + + if (predicates.isEmpty()) predicates.add("*") + + return predicates.join(" ") +} + def getSubprojectVersion(Project project) { def version @@ -122,7 +148,21 @@ def static setupRepositories(RepositoryHandler repositories) { } } -def moduleDependencies(Project project, List depNames) { +def moduleDependencies(Project project, List projectNames) { + def depNames = [] + + def projectMCVersion = VersionHelper.parseVersion(getMCVersion(project)) + + rootProject.subprojects { + def subProjectName = getProjectSimpleName(it) + + if (projectNames.contains(subProjectName)) { + def predicate = VersionHelper.parsePredicate(getMCRange(it)) + + if (predicate.test(projectMCVersion)) depNames.add(it.name) + } + } + if (!project.name.endsWith("_common")) { def commonProject = findProject(":${getProjectSimpleName(project)}_common") @@ -173,30 +213,6 @@ def moduleDependencies(Project project, List depNames) { } } -static def getMCRange(Project project) { - def predicates = [] - - if (project.hasProperty("minVersionIncluded")) { - predicates.add(">=${VersionHelper.parseVersion(project["minVersionIncluded"]).friendlyString}") - } - - if (project.hasProperty("minVersionExcluded")) { - predicates.add(">${VersionHelper.parseVersion(project["minVersionExcluded"]).friendlyString}") - } - - if (project.hasProperty("maxVersionIncluded")) { - predicates.add("<=${VersionHelper.parseVersion(project["maxVersionIncluded"]).friendlyString}") - } - - if (project.hasProperty("maxVersionExcluded")) { - predicates.add("<${VersionHelper.parseVersion(project["maxVersionExcluded"]).friendlyString}") - } - - if (predicates.isEmpty()) predicates.add("*") - - return predicates.join(" ") -} - allprojects { group = "net.legacyfabric.legacy-fabric-api" From 0457e7c5638be152a3bdfa1f2ea27c4fa5b80b0b Mon Sep 17 00:00:00 2001 From: Cat Core Date: Thu, 8 Feb 2024 10:05:22 +0100 Subject: [PATCH 05/27] Port legacy-fabric-resource-loader-v1 --- .../legacy-fabric-resource-loader-v1/build.gradle | 7 ------- .../legacy-fabric-resource-loader-v1/build.gradle | 7 ------- .../legacy-fabric-resource-loader-v1/build.gradle | 7 ------- .../legacy-fabric-resource-loader-v1/build.gradle | 7 ------- 1.8/legacy-fabric-resource-loader-v1/build.gradle | 7 ------- .../src/testmod/resources/fabric.mod.json | 14 -------------- .../build.gradle | 7 ------- .../1.10.2/build.gradle | 0 .../1.10.2/gradle.properties | 2 ++ .../ClientResourceReloadListenerMixins.java | 0 .../loader/client/DefaultResourcePackMixin.java | 0 .../resource/loader/client/ItemRendererMixin.java | 0 .../loader/client/MinecraftClientMixin.java | 0 .../ReloadableResourceManagerImplMixin.java | 0 .../main/resources/assets/legacy-fabric/icon.png | Bin .../1.10.2}/src/main/resources/fabric.mod.json | 2 +- .../legacy-fabric-resource-loader-v1.mixins.json | 0 .../loader/client/ResourceReloadTest.java | 0 .../1.10.2}/src/testmod/resources/fabric.mod.json | 2 +- .../1.12.2/build.gradle | 0 .../1.12.2/gradle.properties | 2 ++ .../ClientResourceReloadListenerMixins.java | 0 .../loader/client/DefaultResourcePackMixin.java | 0 .../resource/loader/client/ItemRendererMixin.java | 0 .../loader/client/MinecraftClientMixin.java | 0 .../ReloadableResourceManagerImplMixin.java | 0 .../main/resources/assets/legacy-fabric/icon.png | Bin .../1.12.2}/src/main/resources/fabric.mod.json | 2 +- .../legacy-fabric-resource-loader-v1.mixins.json | 0 .../loader/client/ResourceReloadTest.java | 0 .../1.12.2}/src/testmod/resources/fabric.mod.json | 2 +- .../1.7.10/build.gradle | 0 .../1.7.10/gradle.properties | 2 ++ .../ClientResourceReloadListenerMixins.java | 0 .../loader/client/DefaultResourcePackMixin.java | 0 .../loader/client/MinecraftClientMixin.java | 0 .../ReloadableResourceManagerImplMixin.java | 0 .../main/resources/assets/legacy-fabric/icon.png | Bin .../1.7.10}/src/main/resources/fabric.mod.json | 2 +- .../legacy-fabric-resource-loader-v1.mixins.json | 0 .../loader/client/ResourceReloadTest.java | 0 .../1.7.10}/src/testmod/resources/fabric.mod.json | 2 +- .../1.8.9/build.gradle | 0 .../1.8.9/gradle.properties | 2 ++ .../ClientResourceReloadListenerMixins.java | 0 .../loader/client/DefaultResourcePackMixin.java | 0 .../resource/loader/client/ItemRendererMixin.java | 0 .../loader/client/MinecraftClientMixin.java | 0 .../ReloadableResourceManagerImplMixin.java | 0 .../main/resources/assets/legacy-fabric/icon.png | Bin .../1.8.9}/src/main/resources/fabric.mod.json | 2 +- .../legacy-fabric-resource-loader-v1.mixins.json | 0 .../loader/client/ResourceReloadTest.java | 0 .../1.8.9}/src/testmod/resources/fabric.mod.json | 2 +- legacy-fabric-resource-loader-v1/1.8/build.gradle | 0 .../1.8/gradle.properties | 2 ++ .../ClientResourceReloadListenerMixins.java | 0 .../loader/client/DefaultResourcePackMixin.java | 0 .../resource/loader/client/ItemRendererMixin.java | 0 .../loader/client/MinecraftClientMixin.java | 0 .../ReloadableResourceManagerImplMixin.java | 0 .../main/resources/assets/legacy-fabric/icon.png | Bin .../1.8}/src/main/resources/fabric.mod.json | 2 +- .../legacy-fabric-resource-loader-v1.mixins.json | 0 .../loader/client/ResourceReloadTest.java | 0 .../1.8/src/testmod/resources/fabric.mod.json | 14 ++++++++++++++ legacy-fabric-resource-loader-v1/common.gradle | 3 +++ .../common/build.gradle | 0 .../common/gradle.properties | 2 ++ .../IdentifiableResourceReloadListener.java | 0 .../fabric/api/resource/ItemModelRegistry.java | 0 .../fabric/api/resource/ModResourcePack.java | 0 .../api/resource/ResourceManagerHelper.java | 0 .../api/resource/ResourceReloadListenerKeys.java | 0 .../impl/resource/loader/DeferredInputStream.java | 0 .../loader/DeferredNioExecutionHandler.java | 0 .../resource/loader/ItemModelRegistryImpl.java | 0 .../impl/resource/loader/ModNioResourcePack.java | 0 .../impl/resource/loader/ModResourcePackUtil.java | 0 .../loader/ResourceManagerHelperImpl.java | 0 .../loader/client/ModelIdentifierMixin.java | 0 .../loader/client/TranslationStorageMixin.java | 0 .../main/resources/assets/legacy-fabric/icon.png | Bin .../common}/src/main/resources/fabric.mod.json | 0 ...y-fabric-resource-loader-v1-common.mixins.json | 0 settings.gradle | 1 + 86 files changed, 39 insertions(+), 65 deletions(-) delete mode 100644 1.10.2/legacy-fabric-resource-loader-v1/build.gradle delete mode 100644 1.12.2/legacy-fabric-resource-loader-v1/build.gradle delete mode 100644 1.7.10/legacy-fabric-resource-loader-v1/build.gradle delete mode 100644 1.8.9/legacy-fabric-resource-loader-v1/build.gradle delete mode 100644 1.8/legacy-fabric-resource-loader-v1/build.gradle delete mode 100644 1.8/legacy-fabric-resource-loader-v1/src/testmod/resources/fabric.mod.json delete mode 100644 common/legacy-fabric-resource-loader-v1-common/build.gradle create mode 100644 legacy-fabric-resource-loader-v1/1.10.2/build.gradle create mode 100644 legacy-fabric-resource-loader-v1/1.10.2/gradle.properties rename {1.10.2/legacy-fabric-resource-loader-v1 => legacy-fabric-resource-loader-v1/1.10.2}/src/main/java/net/legacyfabric/fabric/mixin/resource/loader/client/ClientResourceReloadListenerMixins.java (100%) rename {1.10.2/legacy-fabric-resource-loader-v1 => legacy-fabric-resource-loader-v1/1.10.2}/src/main/java/net/legacyfabric/fabric/mixin/resource/loader/client/DefaultResourcePackMixin.java (100%) rename {1.10.2/legacy-fabric-resource-loader-v1 => legacy-fabric-resource-loader-v1/1.10.2}/src/main/java/net/legacyfabric/fabric/mixin/resource/loader/client/ItemRendererMixin.java (100%) rename {1.10.2/legacy-fabric-resource-loader-v1 => legacy-fabric-resource-loader-v1/1.10.2}/src/main/java/net/legacyfabric/fabric/mixin/resource/loader/client/MinecraftClientMixin.java (100%) rename {1.10.2/legacy-fabric-resource-loader-v1 => legacy-fabric-resource-loader-v1/1.10.2}/src/main/java/net/legacyfabric/fabric/mixin/resource/loader/client/ReloadableResourceManagerImplMixin.java (100%) rename {1.10.2/legacy-fabric-resource-loader-v1 => legacy-fabric-resource-loader-v1/1.10.2}/src/main/resources/assets/legacy-fabric/icon.png (100%) rename {1.12.2/legacy-fabric-resource-loader-v1 => legacy-fabric-resource-loader-v1/1.10.2}/src/main/resources/fabric.mod.json (96%) rename {1.10.2/legacy-fabric-resource-loader-v1 => legacy-fabric-resource-loader-v1/1.10.2}/src/main/resources/legacy-fabric-resource-loader-v1.mixins.json (100%) rename {1.10.2/legacy-fabric-resource-loader-v1 => legacy-fabric-resource-loader-v1/1.10.2}/src/testmod/java/net/legacyfabric/fabric/test/resource/loader/client/ResourceReloadTest.java (100%) rename {1.7.10/legacy-fabric-resource-loader-v1 => legacy-fabric-resource-loader-v1/1.10.2}/src/testmod/resources/fabric.mod.json (87%) create mode 100644 legacy-fabric-resource-loader-v1/1.12.2/build.gradle create mode 100644 legacy-fabric-resource-loader-v1/1.12.2/gradle.properties rename {1.12.2/legacy-fabric-resource-loader-v1 => legacy-fabric-resource-loader-v1/1.12.2}/src/main/java/net/legacyfabric/fabric/mixin/resource/loader/client/ClientResourceReloadListenerMixins.java (100%) rename {1.12.2/legacy-fabric-resource-loader-v1 => legacy-fabric-resource-loader-v1/1.12.2}/src/main/java/net/legacyfabric/fabric/mixin/resource/loader/client/DefaultResourcePackMixin.java (100%) rename {1.12.2/legacy-fabric-resource-loader-v1 => legacy-fabric-resource-loader-v1/1.12.2}/src/main/java/net/legacyfabric/fabric/mixin/resource/loader/client/ItemRendererMixin.java (100%) rename {1.12.2/legacy-fabric-resource-loader-v1 => legacy-fabric-resource-loader-v1/1.12.2}/src/main/java/net/legacyfabric/fabric/mixin/resource/loader/client/MinecraftClientMixin.java (100%) rename {1.12.2/legacy-fabric-resource-loader-v1 => legacy-fabric-resource-loader-v1/1.12.2}/src/main/java/net/legacyfabric/fabric/mixin/resource/loader/client/ReloadableResourceManagerImplMixin.java (100%) rename {1.12.2/legacy-fabric-resource-loader-v1 => legacy-fabric-resource-loader-v1/1.12.2}/src/main/resources/assets/legacy-fabric/icon.png (100%) rename {1.10.2/legacy-fabric-resource-loader-v1 => legacy-fabric-resource-loader-v1/1.12.2}/src/main/resources/fabric.mod.json (96%) rename {1.12.2/legacy-fabric-resource-loader-v1 => legacy-fabric-resource-loader-v1/1.12.2}/src/main/resources/legacy-fabric-resource-loader-v1.mixins.json (100%) rename {1.12.2/legacy-fabric-resource-loader-v1 => legacy-fabric-resource-loader-v1/1.12.2}/src/testmod/java/net/legacyfabric/fabric/test/resource/loader/client/ResourceReloadTest.java (100%) rename {1.8.9/legacy-fabric-resource-loader-v1 => legacy-fabric-resource-loader-v1/1.12.2}/src/testmod/resources/fabric.mod.json (87%) create mode 100644 legacy-fabric-resource-loader-v1/1.7.10/build.gradle create mode 100644 legacy-fabric-resource-loader-v1/1.7.10/gradle.properties rename {1.7.10/legacy-fabric-resource-loader-v1 => legacy-fabric-resource-loader-v1/1.7.10}/src/main/java/net/legacyfabric/fabric/mixin/resource/loader/client/ClientResourceReloadListenerMixins.java (100%) rename {1.7.10/legacy-fabric-resource-loader-v1 => legacy-fabric-resource-loader-v1/1.7.10}/src/main/java/net/legacyfabric/fabric/mixin/resource/loader/client/DefaultResourcePackMixin.java (100%) rename {1.7.10/legacy-fabric-resource-loader-v1 => legacy-fabric-resource-loader-v1/1.7.10}/src/main/java/net/legacyfabric/fabric/mixin/resource/loader/client/MinecraftClientMixin.java (100%) rename {1.7.10/legacy-fabric-resource-loader-v1 => legacy-fabric-resource-loader-v1/1.7.10}/src/main/java/net/legacyfabric/fabric/mixin/resource/loader/client/ReloadableResourceManagerImplMixin.java (100%) rename {1.7.10/legacy-fabric-resource-loader-v1 => legacy-fabric-resource-loader-v1/1.7.10}/src/main/resources/assets/legacy-fabric/icon.png (100%) rename {1.8/legacy-fabric-resource-loader-v1 => legacy-fabric-resource-loader-v1/1.7.10}/src/main/resources/fabric.mod.json (96%) rename {1.7.10/legacy-fabric-resource-loader-v1 => legacy-fabric-resource-loader-v1/1.7.10}/src/main/resources/legacy-fabric-resource-loader-v1.mixins.json (100%) rename {1.7.10/legacy-fabric-resource-loader-v1 => legacy-fabric-resource-loader-v1/1.7.10}/src/testmod/java/net/legacyfabric/fabric/test/resource/loader/client/ResourceReloadTest.java (100%) rename {1.10.2/legacy-fabric-resource-loader-v1 => legacy-fabric-resource-loader-v1/1.7.10}/src/testmod/resources/fabric.mod.json (87%) create mode 100644 legacy-fabric-resource-loader-v1/1.8.9/build.gradle create mode 100644 legacy-fabric-resource-loader-v1/1.8.9/gradle.properties rename {1.8.9/legacy-fabric-resource-loader-v1 => legacy-fabric-resource-loader-v1/1.8.9}/src/main/java/net/legacyfabric/fabric/mixin/resource/loader/client/ClientResourceReloadListenerMixins.java (100%) rename {1.8.9/legacy-fabric-resource-loader-v1 => legacy-fabric-resource-loader-v1/1.8.9}/src/main/java/net/legacyfabric/fabric/mixin/resource/loader/client/DefaultResourcePackMixin.java (100%) rename {1.8.9/legacy-fabric-resource-loader-v1 => legacy-fabric-resource-loader-v1/1.8.9}/src/main/java/net/legacyfabric/fabric/mixin/resource/loader/client/ItemRendererMixin.java (100%) rename {1.8.9/legacy-fabric-resource-loader-v1 => legacy-fabric-resource-loader-v1/1.8.9}/src/main/java/net/legacyfabric/fabric/mixin/resource/loader/client/MinecraftClientMixin.java (100%) rename {1.8.9/legacy-fabric-resource-loader-v1 => legacy-fabric-resource-loader-v1/1.8.9}/src/main/java/net/legacyfabric/fabric/mixin/resource/loader/client/ReloadableResourceManagerImplMixin.java (100%) rename {1.8.9/legacy-fabric-resource-loader-v1 => legacy-fabric-resource-loader-v1/1.8.9}/src/main/resources/assets/legacy-fabric/icon.png (100%) rename {1.8.9/legacy-fabric-resource-loader-v1 => legacy-fabric-resource-loader-v1/1.8.9}/src/main/resources/fabric.mod.json (96%) rename {1.8.9/legacy-fabric-resource-loader-v1 => legacy-fabric-resource-loader-v1/1.8.9}/src/main/resources/legacy-fabric-resource-loader-v1.mixins.json (100%) rename {1.8.9/legacy-fabric-resource-loader-v1 => legacy-fabric-resource-loader-v1/1.8.9}/src/testmod/java/net/legacyfabric/fabric/test/resource/loader/client/ResourceReloadTest.java (100%) rename {1.12.2/legacy-fabric-resource-loader-v1 => legacy-fabric-resource-loader-v1/1.8.9}/src/testmod/resources/fabric.mod.json (87%) create mode 100644 legacy-fabric-resource-loader-v1/1.8/build.gradle create mode 100644 legacy-fabric-resource-loader-v1/1.8/gradle.properties rename {1.8/legacy-fabric-resource-loader-v1 => legacy-fabric-resource-loader-v1/1.8}/src/main/java/net/legacyfabric/fabric/mixin/resource/loader/client/ClientResourceReloadListenerMixins.java (100%) rename {1.8/legacy-fabric-resource-loader-v1 => legacy-fabric-resource-loader-v1/1.8}/src/main/java/net/legacyfabric/fabric/mixin/resource/loader/client/DefaultResourcePackMixin.java (100%) rename {1.8/legacy-fabric-resource-loader-v1 => legacy-fabric-resource-loader-v1/1.8}/src/main/java/net/legacyfabric/fabric/mixin/resource/loader/client/ItemRendererMixin.java (100%) rename {1.8/legacy-fabric-resource-loader-v1 => legacy-fabric-resource-loader-v1/1.8}/src/main/java/net/legacyfabric/fabric/mixin/resource/loader/client/MinecraftClientMixin.java (100%) rename {1.8/legacy-fabric-resource-loader-v1 => legacy-fabric-resource-loader-v1/1.8}/src/main/java/net/legacyfabric/fabric/mixin/resource/loader/client/ReloadableResourceManagerImplMixin.java (100%) rename {1.8/legacy-fabric-resource-loader-v1 => legacy-fabric-resource-loader-v1/1.8}/src/main/resources/assets/legacy-fabric/icon.png (100%) rename {1.7.10/legacy-fabric-resource-loader-v1 => legacy-fabric-resource-loader-v1/1.8}/src/main/resources/fabric.mod.json (96%) rename {1.8/legacy-fabric-resource-loader-v1 => legacy-fabric-resource-loader-v1/1.8}/src/main/resources/legacy-fabric-resource-loader-v1.mixins.json (100%) rename {1.8/legacy-fabric-resource-loader-v1 => legacy-fabric-resource-loader-v1/1.8}/src/testmod/java/net/legacyfabric/fabric/test/resource/loader/client/ResourceReloadTest.java (100%) create mode 100644 legacy-fabric-resource-loader-v1/1.8/src/testmod/resources/fabric.mod.json create mode 100644 legacy-fabric-resource-loader-v1/common.gradle create mode 100644 legacy-fabric-resource-loader-v1/common/build.gradle create mode 100644 legacy-fabric-resource-loader-v1/common/gradle.properties rename {common/legacy-fabric-resource-loader-v1-common => legacy-fabric-resource-loader-v1/common}/src/main/java/net/legacyfabric/fabric/api/resource/IdentifiableResourceReloadListener.java (100%) rename {common/legacy-fabric-resource-loader-v1-common => legacy-fabric-resource-loader-v1/common}/src/main/java/net/legacyfabric/fabric/api/resource/ItemModelRegistry.java (100%) rename {common/legacy-fabric-resource-loader-v1-common => legacy-fabric-resource-loader-v1/common}/src/main/java/net/legacyfabric/fabric/api/resource/ModResourcePack.java (100%) rename {common/legacy-fabric-resource-loader-v1-common => legacy-fabric-resource-loader-v1/common}/src/main/java/net/legacyfabric/fabric/api/resource/ResourceManagerHelper.java (100%) rename {common/legacy-fabric-resource-loader-v1-common => legacy-fabric-resource-loader-v1/common}/src/main/java/net/legacyfabric/fabric/api/resource/ResourceReloadListenerKeys.java (100%) rename {common/legacy-fabric-resource-loader-v1-common => legacy-fabric-resource-loader-v1/common}/src/main/java/net/legacyfabric/fabric/impl/resource/loader/DeferredInputStream.java (100%) rename {common/legacy-fabric-resource-loader-v1-common => legacy-fabric-resource-loader-v1/common}/src/main/java/net/legacyfabric/fabric/impl/resource/loader/DeferredNioExecutionHandler.java (100%) rename {common/legacy-fabric-resource-loader-v1-common => legacy-fabric-resource-loader-v1/common}/src/main/java/net/legacyfabric/fabric/impl/resource/loader/ItemModelRegistryImpl.java (100%) rename {common/legacy-fabric-resource-loader-v1-common => legacy-fabric-resource-loader-v1/common}/src/main/java/net/legacyfabric/fabric/impl/resource/loader/ModNioResourcePack.java (100%) rename {common/legacy-fabric-resource-loader-v1-common => legacy-fabric-resource-loader-v1/common}/src/main/java/net/legacyfabric/fabric/impl/resource/loader/ModResourcePackUtil.java (100%) rename {common/legacy-fabric-resource-loader-v1-common => legacy-fabric-resource-loader-v1/common}/src/main/java/net/legacyfabric/fabric/impl/resource/loader/ResourceManagerHelperImpl.java (100%) rename {common/legacy-fabric-resource-loader-v1-common => legacy-fabric-resource-loader-v1/common}/src/main/java/net/legacyfabric/fabric/mixin/resource/loader/client/ModelIdentifierMixin.java (100%) rename {common/legacy-fabric-resource-loader-v1-common => legacy-fabric-resource-loader-v1/common}/src/main/java/net/legacyfabric/fabric/mixin/resource/loader/client/TranslationStorageMixin.java (100%) rename {common/legacy-fabric-resource-loader-v1-common => legacy-fabric-resource-loader-v1/common}/src/main/resources/assets/legacy-fabric/icon.png (100%) rename {common/legacy-fabric-resource-loader-v1-common => legacy-fabric-resource-loader-v1/common}/src/main/resources/fabric.mod.json (100%) rename {common/legacy-fabric-resource-loader-v1-common => legacy-fabric-resource-loader-v1/common}/src/main/resources/legacy-fabric-resource-loader-v1-common.mixins.json (100%) diff --git a/1.10.2/legacy-fabric-resource-loader-v1/build.gradle b/1.10.2/legacy-fabric-resource-loader-v1/build.gradle deleted file mode 100644 index 41435cc83..000000000 --- a/1.10.2/legacy-fabric-resource-loader-v1/build.gradle +++ /dev/null @@ -1,7 +0,0 @@ -version = getSubprojectVersion(project) - -moduleDependencies(project, [ - "common": [ - "legacy-fabric-resource-loader-v1-common" - ] -]) diff --git a/1.12.2/legacy-fabric-resource-loader-v1/build.gradle b/1.12.2/legacy-fabric-resource-loader-v1/build.gradle deleted file mode 100644 index 41435cc83..000000000 --- a/1.12.2/legacy-fabric-resource-loader-v1/build.gradle +++ /dev/null @@ -1,7 +0,0 @@ -version = getSubprojectVersion(project) - -moduleDependencies(project, [ - "common": [ - "legacy-fabric-resource-loader-v1-common" - ] -]) diff --git a/1.7.10/legacy-fabric-resource-loader-v1/build.gradle b/1.7.10/legacy-fabric-resource-loader-v1/build.gradle deleted file mode 100644 index 41435cc83..000000000 --- a/1.7.10/legacy-fabric-resource-loader-v1/build.gradle +++ /dev/null @@ -1,7 +0,0 @@ -version = getSubprojectVersion(project) - -moduleDependencies(project, [ - "common": [ - "legacy-fabric-resource-loader-v1-common" - ] -]) diff --git a/1.8.9/legacy-fabric-resource-loader-v1/build.gradle b/1.8.9/legacy-fabric-resource-loader-v1/build.gradle deleted file mode 100644 index 1fb3dfc01..000000000 --- a/1.8.9/legacy-fabric-resource-loader-v1/build.gradle +++ /dev/null @@ -1,7 +0,0 @@ -version = getSubprojectVersion(project) - -moduleDependencies(project, [ - "common": [ - "legacy-fabric-resource-loader-v1-common" - ] -]) diff --git a/1.8/legacy-fabric-resource-loader-v1/build.gradle b/1.8/legacy-fabric-resource-loader-v1/build.gradle deleted file mode 100644 index 41435cc83..000000000 --- a/1.8/legacy-fabric-resource-loader-v1/build.gradle +++ /dev/null @@ -1,7 +0,0 @@ -version = getSubprojectVersion(project) - -moduleDependencies(project, [ - "common": [ - "legacy-fabric-resource-loader-v1-common" - ] -]) diff --git a/1.8/legacy-fabric-resource-loader-v1/src/testmod/resources/fabric.mod.json b/1.8/legacy-fabric-resource-loader-v1/src/testmod/resources/fabric.mod.json deleted file mode 100644 index f290ff417..000000000 --- a/1.8/legacy-fabric-resource-loader-v1/src/testmod/resources/fabric.mod.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "schemaVersion": 1, - "id": "legacy-fabric-resource-loader-v1-testmod", - "description": "Tests for resource loading", - "version": "1.0.0", - "entrypoints": { - "client": [ - "net.legacyfabric.fabric.test.resource.loader.client.ResourceReloadTest" - ] - }, - "depends": { - "minecraft": "1.8" - } -} diff --git a/common/legacy-fabric-resource-loader-v1-common/build.gradle b/common/legacy-fabric-resource-loader-v1-common/build.gradle deleted file mode 100644 index 3ca3a9171..000000000 --- a/common/legacy-fabric-resource-loader-v1-common/build.gradle +++ /dev/null @@ -1,7 +0,0 @@ -version = getSubprojectVersion(project) - -moduleDependencies(project, [ - "common": [ - "legacy-fabric-api-base-common" - ] -]) diff --git a/legacy-fabric-resource-loader-v1/1.10.2/build.gradle b/legacy-fabric-resource-loader-v1/1.10.2/build.gradle new file mode 100644 index 000000000..e69de29bb diff --git a/legacy-fabric-resource-loader-v1/1.10.2/gradle.properties b/legacy-fabric-resource-loader-v1/1.10.2/gradle.properties new file mode 100644 index 000000000..29ecdaca1 --- /dev/null +++ b/legacy-fabric-resource-loader-v1/1.10.2/gradle.properties @@ -0,0 +1,2 @@ +minVersionIncluded=1.10 +maxVersionIncluded=1.11.2 diff --git a/1.10.2/legacy-fabric-resource-loader-v1/src/main/java/net/legacyfabric/fabric/mixin/resource/loader/client/ClientResourceReloadListenerMixins.java b/legacy-fabric-resource-loader-v1/1.10.2/src/main/java/net/legacyfabric/fabric/mixin/resource/loader/client/ClientResourceReloadListenerMixins.java similarity index 100% rename from 1.10.2/legacy-fabric-resource-loader-v1/src/main/java/net/legacyfabric/fabric/mixin/resource/loader/client/ClientResourceReloadListenerMixins.java rename to legacy-fabric-resource-loader-v1/1.10.2/src/main/java/net/legacyfabric/fabric/mixin/resource/loader/client/ClientResourceReloadListenerMixins.java diff --git a/1.10.2/legacy-fabric-resource-loader-v1/src/main/java/net/legacyfabric/fabric/mixin/resource/loader/client/DefaultResourcePackMixin.java b/legacy-fabric-resource-loader-v1/1.10.2/src/main/java/net/legacyfabric/fabric/mixin/resource/loader/client/DefaultResourcePackMixin.java similarity index 100% rename from 1.10.2/legacy-fabric-resource-loader-v1/src/main/java/net/legacyfabric/fabric/mixin/resource/loader/client/DefaultResourcePackMixin.java rename to legacy-fabric-resource-loader-v1/1.10.2/src/main/java/net/legacyfabric/fabric/mixin/resource/loader/client/DefaultResourcePackMixin.java diff --git a/1.10.2/legacy-fabric-resource-loader-v1/src/main/java/net/legacyfabric/fabric/mixin/resource/loader/client/ItemRendererMixin.java b/legacy-fabric-resource-loader-v1/1.10.2/src/main/java/net/legacyfabric/fabric/mixin/resource/loader/client/ItemRendererMixin.java similarity index 100% rename from 1.10.2/legacy-fabric-resource-loader-v1/src/main/java/net/legacyfabric/fabric/mixin/resource/loader/client/ItemRendererMixin.java rename to legacy-fabric-resource-loader-v1/1.10.2/src/main/java/net/legacyfabric/fabric/mixin/resource/loader/client/ItemRendererMixin.java diff --git a/1.10.2/legacy-fabric-resource-loader-v1/src/main/java/net/legacyfabric/fabric/mixin/resource/loader/client/MinecraftClientMixin.java b/legacy-fabric-resource-loader-v1/1.10.2/src/main/java/net/legacyfabric/fabric/mixin/resource/loader/client/MinecraftClientMixin.java similarity index 100% rename from 1.10.2/legacy-fabric-resource-loader-v1/src/main/java/net/legacyfabric/fabric/mixin/resource/loader/client/MinecraftClientMixin.java rename to legacy-fabric-resource-loader-v1/1.10.2/src/main/java/net/legacyfabric/fabric/mixin/resource/loader/client/MinecraftClientMixin.java diff --git a/1.10.2/legacy-fabric-resource-loader-v1/src/main/java/net/legacyfabric/fabric/mixin/resource/loader/client/ReloadableResourceManagerImplMixin.java b/legacy-fabric-resource-loader-v1/1.10.2/src/main/java/net/legacyfabric/fabric/mixin/resource/loader/client/ReloadableResourceManagerImplMixin.java similarity index 100% rename from 1.10.2/legacy-fabric-resource-loader-v1/src/main/java/net/legacyfabric/fabric/mixin/resource/loader/client/ReloadableResourceManagerImplMixin.java rename to legacy-fabric-resource-loader-v1/1.10.2/src/main/java/net/legacyfabric/fabric/mixin/resource/loader/client/ReloadableResourceManagerImplMixin.java diff --git a/1.10.2/legacy-fabric-resource-loader-v1/src/main/resources/assets/legacy-fabric/icon.png b/legacy-fabric-resource-loader-v1/1.10.2/src/main/resources/assets/legacy-fabric/icon.png similarity index 100% rename from 1.10.2/legacy-fabric-resource-loader-v1/src/main/resources/assets/legacy-fabric/icon.png rename to legacy-fabric-resource-loader-v1/1.10.2/src/main/resources/assets/legacy-fabric/icon.png diff --git a/1.12.2/legacy-fabric-resource-loader-v1/src/main/resources/fabric.mod.json b/legacy-fabric-resource-loader-v1/1.10.2/src/main/resources/fabric.mod.json similarity index 96% rename from 1.12.2/legacy-fabric-resource-loader-v1/src/main/resources/fabric.mod.json rename to legacy-fabric-resource-loader-v1/1.10.2/src/main/resources/fabric.mod.json index 40da1c933..7b1b6b920 100644 --- a/1.12.2/legacy-fabric-resource-loader-v1/src/main/resources/fabric.mod.json +++ b/legacy-fabric-resource-loader-v1/1.10.2/src/main/resources/fabric.mod.json @@ -17,7 +17,7 @@ ], "depends": { "fabricloader": ">=0.4.0", - "minecraft": ">1.11.2 <=1.12.2" + "minecraft": "${minecraft_version}" }, "description": "Asset loading", "mixins": [ diff --git a/1.10.2/legacy-fabric-resource-loader-v1/src/main/resources/legacy-fabric-resource-loader-v1.mixins.json b/legacy-fabric-resource-loader-v1/1.10.2/src/main/resources/legacy-fabric-resource-loader-v1.mixins.json similarity index 100% rename from 1.10.2/legacy-fabric-resource-loader-v1/src/main/resources/legacy-fabric-resource-loader-v1.mixins.json rename to legacy-fabric-resource-loader-v1/1.10.2/src/main/resources/legacy-fabric-resource-loader-v1.mixins.json diff --git a/1.10.2/legacy-fabric-resource-loader-v1/src/testmod/java/net/legacyfabric/fabric/test/resource/loader/client/ResourceReloadTest.java b/legacy-fabric-resource-loader-v1/1.10.2/src/testmod/java/net/legacyfabric/fabric/test/resource/loader/client/ResourceReloadTest.java similarity index 100% rename from 1.10.2/legacy-fabric-resource-loader-v1/src/testmod/java/net/legacyfabric/fabric/test/resource/loader/client/ResourceReloadTest.java rename to legacy-fabric-resource-loader-v1/1.10.2/src/testmod/java/net/legacyfabric/fabric/test/resource/loader/client/ResourceReloadTest.java diff --git a/1.7.10/legacy-fabric-resource-loader-v1/src/testmod/resources/fabric.mod.json b/legacy-fabric-resource-loader-v1/1.10.2/src/testmod/resources/fabric.mod.json similarity index 87% rename from 1.7.10/legacy-fabric-resource-loader-v1/src/testmod/resources/fabric.mod.json rename to legacy-fabric-resource-loader-v1/1.10.2/src/testmod/resources/fabric.mod.json index 1b501802a..5f42c7640 100644 --- a/1.7.10/legacy-fabric-resource-loader-v1/src/testmod/resources/fabric.mod.json +++ b/legacy-fabric-resource-loader-v1/1.10.2/src/testmod/resources/fabric.mod.json @@ -9,6 +9,6 @@ ] }, "depends": { - "minecraft": "<=1.7.10" + "minecraft": "${minecraft_version}" } } diff --git a/legacy-fabric-resource-loader-v1/1.12.2/build.gradle b/legacy-fabric-resource-loader-v1/1.12.2/build.gradle new file mode 100644 index 000000000..e69de29bb diff --git a/legacy-fabric-resource-loader-v1/1.12.2/gradle.properties b/legacy-fabric-resource-loader-v1/1.12.2/gradle.properties new file mode 100644 index 000000000..875575b3f --- /dev/null +++ b/legacy-fabric-resource-loader-v1/1.12.2/gradle.properties @@ -0,0 +1,2 @@ +minVersionExcluded=1.11.2 +maxVersionIncluded=1.12.2 diff --git a/1.12.2/legacy-fabric-resource-loader-v1/src/main/java/net/legacyfabric/fabric/mixin/resource/loader/client/ClientResourceReloadListenerMixins.java b/legacy-fabric-resource-loader-v1/1.12.2/src/main/java/net/legacyfabric/fabric/mixin/resource/loader/client/ClientResourceReloadListenerMixins.java similarity index 100% rename from 1.12.2/legacy-fabric-resource-loader-v1/src/main/java/net/legacyfabric/fabric/mixin/resource/loader/client/ClientResourceReloadListenerMixins.java rename to legacy-fabric-resource-loader-v1/1.12.2/src/main/java/net/legacyfabric/fabric/mixin/resource/loader/client/ClientResourceReloadListenerMixins.java diff --git a/1.12.2/legacy-fabric-resource-loader-v1/src/main/java/net/legacyfabric/fabric/mixin/resource/loader/client/DefaultResourcePackMixin.java b/legacy-fabric-resource-loader-v1/1.12.2/src/main/java/net/legacyfabric/fabric/mixin/resource/loader/client/DefaultResourcePackMixin.java similarity index 100% rename from 1.12.2/legacy-fabric-resource-loader-v1/src/main/java/net/legacyfabric/fabric/mixin/resource/loader/client/DefaultResourcePackMixin.java rename to legacy-fabric-resource-loader-v1/1.12.2/src/main/java/net/legacyfabric/fabric/mixin/resource/loader/client/DefaultResourcePackMixin.java diff --git a/1.12.2/legacy-fabric-resource-loader-v1/src/main/java/net/legacyfabric/fabric/mixin/resource/loader/client/ItemRendererMixin.java b/legacy-fabric-resource-loader-v1/1.12.2/src/main/java/net/legacyfabric/fabric/mixin/resource/loader/client/ItemRendererMixin.java similarity index 100% rename from 1.12.2/legacy-fabric-resource-loader-v1/src/main/java/net/legacyfabric/fabric/mixin/resource/loader/client/ItemRendererMixin.java rename to legacy-fabric-resource-loader-v1/1.12.2/src/main/java/net/legacyfabric/fabric/mixin/resource/loader/client/ItemRendererMixin.java diff --git a/1.12.2/legacy-fabric-resource-loader-v1/src/main/java/net/legacyfabric/fabric/mixin/resource/loader/client/MinecraftClientMixin.java b/legacy-fabric-resource-loader-v1/1.12.2/src/main/java/net/legacyfabric/fabric/mixin/resource/loader/client/MinecraftClientMixin.java similarity index 100% rename from 1.12.2/legacy-fabric-resource-loader-v1/src/main/java/net/legacyfabric/fabric/mixin/resource/loader/client/MinecraftClientMixin.java rename to legacy-fabric-resource-loader-v1/1.12.2/src/main/java/net/legacyfabric/fabric/mixin/resource/loader/client/MinecraftClientMixin.java diff --git a/1.12.2/legacy-fabric-resource-loader-v1/src/main/java/net/legacyfabric/fabric/mixin/resource/loader/client/ReloadableResourceManagerImplMixin.java b/legacy-fabric-resource-loader-v1/1.12.2/src/main/java/net/legacyfabric/fabric/mixin/resource/loader/client/ReloadableResourceManagerImplMixin.java similarity index 100% rename from 1.12.2/legacy-fabric-resource-loader-v1/src/main/java/net/legacyfabric/fabric/mixin/resource/loader/client/ReloadableResourceManagerImplMixin.java rename to legacy-fabric-resource-loader-v1/1.12.2/src/main/java/net/legacyfabric/fabric/mixin/resource/loader/client/ReloadableResourceManagerImplMixin.java diff --git a/1.12.2/legacy-fabric-resource-loader-v1/src/main/resources/assets/legacy-fabric/icon.png b/legacy-fabric-resource-loader-v1/1.12.2/src/main/resources/assets/legacy-fabric/icon.png similarity index 100% rename from 1.12.2/legacy-fabric-resource-loader-v1/src/main/resources/assets/legacy-fabric/icon.png rename to legacy-fabric-resource-loader-v1/1.12.2/src/main/resources/assets/legacy-fabric/icon.png diff --git a/1.10.2/legacy-fabric-resource-loader-v1/src/main/resources/fabric.mod.json b/legacy-fabric-resource-loader-v1/1.12.2/src/main/resources/fabric.mod.json similarity index 96% rename from 1.10.2/legacy-fabric-resource-loader-v1/src/main/resources/fabric.mod.json rename to legacy-fabric-resource-loader-v1/1.12.2/src/main/resources/fabric.mod.json index dddf41001..7b1b6b920 100644 --- a/1.10.2/legacy-fabric-resource-loader-v1/src/main/resources/fabric.mod.json +++ b/legacy-fabric-resource-loader-v1/1.12.2/src/main/resources/fabric.mod.json @@ -17,7 +17,7 @@ ], "depends": { "fabricloader": ">=0.4.0", - "minecraft": ">=1.10 <=1.11.2" + "minecraft": "${minecraft_version}" }, "description": "Asset loading", "mixins": [ diff --git a/1.12.2/legacy-fabric-resource-loader-v1/src/main/resources/legacy-fabric-resource-loader-v1.mixins.json b/legacy-fabric-resource-loader-v1/1.12.2/src/main/resources/legacy-fabric-resource-loader-v1.mixins.json similarity index 100% rename from 1.12.2/legacy-fabric-resource-loader-v1/src/main/resources/legacy-fabric-resource-loader-v1.mixins.json rename to legacy-fabric-resource-loader-v1/1.12.2/src/main/resources/legacy-fabric-resource-loader-v1.mixins.json diff --git a/1.12.2/legacy-fabric-resource-loader-v1/src/testmod/java/net/legacyfabric/fabric/test/resource/loader/client/ResourceReloadTest.java b/legacy-fabric-resource-loader-v1/1.12.2/src/testmod/java/net/legacyfabric/fabric/test/resource/loader/client/ResourceReloadTest.java similarity index 100% rename from 1.12.2/legacy-fabric-resource-loader-v1/src/testmod/java/net/legacyfabric/fabric/test/resource/loader/client/ResourceReloadTest.java rename to legacy-fabric-resource-loader-v1/1.12.2/src/testmod/java/net/legacyfabric/fabric/test/resource/loader/client/ResourceReloadTest.java diff --git a/1.8.9/legacy-fabric-resource-loader-v1/src/testmod/resources/fabric.mod.json b/legacy-fabric-resource-loader-v1/1.12.2/src/testmod/resources/fabric.mod.json similarity index 87% rename from 1.8.9/legacy-fabric-resource-loader-v1/src/testmod/resources/fabric.mod.json rename to legacy-fabric-resource-loader-v1/1.12.2/src/testmod/resources/fabric.mod.json index 11c528968..5f42c7640 100644 --- a/1.8.9/legacy-fabric-resource-loader-v1/src/testmod/resources/fabric.mod.json +++ b/legacy-fabric-resource-loader-v1/1.12.2/src/testmod/resources/fabric.mod.json @@ -9,6 +9,6 @@ ] }, "depends": { - "minecraft": ">=1.8.9 <=1.9.4" + "minecraft": "${minecraft_version}" } } diff --git a/legacy-fabric-resource-loader-v1/1.7.10/build.gradle b/legacy-fabric-resource-loader-v1/1.7.10/build.gradle new file mode 100644 index 000000000..e69de29bb diff --git a/legacy-fabric-resource-loader-v1/1.7.10/gradle.properties b/legacy-fabric-resource-loader-v1/1.7.10/gradle.properties new file mode 100644 index 000000000..c6dcd9541 --- /dev/null +++ b/legacy-fabric-resource-loader-v1/1.7.10/gradle.properties @@ -0,0 +1,2 @@ +minVersionIncluded=1.3 +maxVersionIncluded=1.7.10 diff --git a/1.7.10/legacy-fabric-resource-loader-v1/src/main/java/net/legacyfabric/fabric/mixin/resource/loader/client/ClientResourceReloadListenerMixins.java b/legacy-fabric-resource-loader-v1/1.7.10/src/main/java/net/legacyfabric/fabric/mixin/resource/loader/client/ClientResourceReloadListenerMixins.java similarity index 100% rename from 1.7.10/legacy-fabric-resource-loader-v1/src/main/java/net/legacyfabric/fabric/mixin/resource/loader/client/ClientResourceReloadListenerMixins.java rename to legacy-fabric-resource-loader-v1/1.7.10/src/main/java/net/legacyfabric/fabric/mixin/resource/loader/client/ClientResourceReloadListenerMixins.java diff --git a/1.7.10/legacy-fabric-resource-loader-v1/src/main/java/net/legacyfabric/fabric/mixin/resource/loader/client/DefaultResourcePackMixin.java b/legacy-fabric-resource-loader-v1/1.7.10/src/main/java/net/legacyfabric/fabric/mixin/resource/loader/client/DefaultResourcePackMixin.java similarity index 100% rename from 1.7.10/legacy-fabric-resource-loader-v1/src/main/java/net/legacyfabric/fabric/mixin/resource/loader/client/DefaultResourcePackMixin.java rename to legacy-fabric-resource-loader-v1/1.7.10/src/main/java/net/legacyfabric/fabric/mixin/resource/loader/client/DefaultResourcePackMixin.java diff --git a/1.7.10/legacy-fabric-resource-loader-v1/src/main/java/net/legacyfabric/fabric/mixin/resource/loader/client/MinecraftClientMixin.java b/legacy-fabric-resource-loader-v1/1.7.10/src/main/java/net/legacyfabric/fabric/mixin/resource/loader/client/MinecraftClientMixin.java similarity index 100% rename from 1.7.10/legacy-fabric-resource-loader-v1/src/main/java/net/legacyfabric/fabric/mixin/resource/loader/client/MinecraftClientMixin.java rename to legacy-fabric-resource-loader-v1/1.7.10/src/main/java/net/legacyfabric/fabric/mixin/resource/loader/client/MinecraftClientMixin.java diff --git a/1.7.10/legacy-fabric-resource-loader-v1/src/main/java/net/legacyfabric/fabric/mixin/resource/loader/client/ReloadableResourceManagerImplMixin.java b/legacy-fabric-resource-loader-v1/1.7.10/src/main/java/net/legacyfabric/fabric/mixin/resource/loader/client/ReloadableResourceManagerImplMixin.java similarity index 100% rename from 1.7.10/legacy-fabric-resource-loader-v1/src/main/java/net/legacyfabric/fabric/mixin/resource/loader/client/ReloadableResourceManagerImplMixin.java rename to legacy-fabric-resource-loader-v1/1.7.10/src/main/java/net/legacyfabric/fabric/mixin/resource/loader/client/ReloadableResourceManagerImplMixin.java diff --git a/1.7.10/legacy-fabric-resource-loader-v1/src/main/resources/assets/legacy-fabric/icon.png b/legacy-fabric-resource-loader-v1/1.7.10/src/main/resources/assets/legacy-fabric/icon.png similarity index 100% rename from 1.7.10/legacy-fabric-resource-loader-v1/src/main/resources/assets/legacy-fabric/icon.png rename to legacy-fabric-resource-loader-v1/1.7.10/src/main/resources/assets/legacy-fabric/icon.png diff --git a/1.8/legacy-fabric-resource-loader-v1/src/main/resources/fabric.mod.json b/legacy-fabric-resource-loader-v1/1.7.10/src/main/resources/fabric.mod.json similarity index 96% rename from 1.8/legacy-fabric-resource-loader-v1/src/main/resources/fabric.mod.json rename to legacy-fabric-resource-loader-v1/1.7.10/src/main/resources/fabric.mod.json index a677a14f5..f70352482 100644 --- a/1.8/legacy-fabric-resource-loader-v1/src/main/resources/fabric.mod.json +++ b/legacy-fabric-resource-loader-v1/1.7.10/src/main/resources/fabric.mod.json @@ -17,7 +17,7 @@ ], "depends": { "fabricloader": ">=0.4.0", - "minecraft": "1.8" + "minecraft": "${minecraft_version}" }, "description": "Asset loading", "mixins": [ diff --git a/1.7.10/legacy-fabric-resource-loader-v1/src/main/resources/legacy-fabric-resource-loader-v1.mixins.json b/legacy-fabric-resource-loader-v1/1.7.10/src/main/resources/legacy-fabric-resource-loader-v1.mixins.json similarity index 100% rename from 1.7.10/legacy-fabric-resource-loader-v1/src/main/resources/legacy-fabric-resource-loader-v1.mixins.json rename to legacy-fabric-resource-loader-v1/1.7.10/src/main/resources/legacy-fabric-resource-loader-v1.mixins.json diff --git a/1.7.10/legacy-fabric-resource-loader-v1/src/testmod/java/net/legacyfabric/fabric/test/resource/loader/client/ResourceReloadTest.java b/legacy-fabric-resource-loader-v1/1.7.10/src/testmod/java/net/legacyfabric/fabric/test/resource/loader/client/ResourceReloadTest.java similarity index 100% rename from 1.7.10/legacy-fabric-resource-loader-v1/src/testmod/java/net/legacyfabric/fabric/test/resource/loader/client/ResourceReloadTest.java rename to legacy-fabric-resource-loader-v1/1.7.10/src/testmod/java/net/legacyfabric/fabric/test/resource/loader/client/ResourceReloadTest.java diff --git a/1.10.2/legacy-fabric-resource-loader-v1/src/testmod/resources/fabric.mod.json b/legacy-fabric-resource-loader-v1/1.7.10/src/testmod/resources/fabric.mod.json similarity index 87% rename from 1.10.2/legacy-fabric-resource-loader-v1/src/testmod/resources/fabric.mod.json rename to legacy-fabric-resource-loader-v1/1.7.10/src/testmod/resources/fabric.mod.json index 6a1116d1f..5f42c7640 100644 --- a/1.10.2/legacy-fabric-resource-loader-v1/src/testmod/resources/fabric.mod.json +++ b/legacy-fabric-resource-loader-v1/1.7.10/src/testmod/resources/fabric.mod.json @@ -9,6 +9,6 @@ ] }, "depends": { - "minecraft": ">=1.10 <=1.11.2" + "minecraft": "${minecraft_version}" } } diff --git a/legacy-fabric-resource-loader-v1/1.8.9/build.gradle b/legacy-fabric-resource-loader-v1/1.8.9/build.gradle new file mode 100644 index 000000000..e69de29bb diff --git a/legacy-fabric-resource-loader-v1/1.8.9/gradle.properties b/legacy-fabric-resource-loader-v1/1.8.9/gradle.properties new file mode 100644 index 000000000..932ed2c3c --- /dev/null +++ b/legacy-fabric-resource-loader-v1/1.8.9/gradle.properties @@ -0,0 +1,2 @@ +minVersionIncluded=1.8.9 +maxVersionIncluded=1.9.4 diff --git a/1.8.9/legacy-fabric-resource-loader-v1/src/main/java/net/legacyfabric/fabric/mixin/resource/loader/client/ClientResourceReloadListenerMixins.java b/legacy-fabric-resource-loader-v1/1.8.9/src/main/java/net/legacyfabric/fabric/mixin/resource/loader/client/ClientResourceReloadListenerMixins.java similarity index 100% rename from 1.8.9/legacy-fabric-resource-loader-v1/src/main/java/net/legacyfabric/fabric/mixin/resource/loader/client/ClientResourceReloadListenerMixins.java rename to legacy-fabric-resource-loader-v1/1.8.9/src/main/java/net/legacyfabric/fabric/mixin/resource/loader/client/ClientResourceReloadListenerMixins.java diff --git a/1.8.9/legacy-fabric-resource-loader-v1/src/main/java/net/legacyfabric/fabric/mixin/resource/loader/client/DefaultResourcePackMixin.java b/legacy-fabric-resource-loader-v1/1.8.9/src/main/java/net/legacyfabric/fabric/mixin/resource/loader/client/DefaultResourcePackMixin.java similarity index 100% rename from 1.8.9/legacy-fabric-resource-loader-v1/src/main/java/net/legacyfabric/fabric/mixin/resource/loader/client/DefaultResourcePackMixin.java rename to legacy-fabric-resource-loader-v1/1.8.9/src/main/java/net/legacyfabric/fabric/mixin/resource/loader/client/DefaultResourcePackMixin.java diff --git a/1.8.9/legacy-fabric-resource-loader-v1/src/main/java/net/legacyfabric/fabric/mixin/resource/loader/client/ItemRendererMixin.java b/legacy-fabric-resource-loader-v1/1.8.9/src/main/java/net/legacyfabric/fabric/mixin/resource/loader/client/ItemRendererMixin.java similarity index 100% rename from 1.8.9/legacy-fabric-resource-loader-v1/src/main/java/net/legacyfabric/fabric/mixin/resource/loader/client/ItemRendererMixin.java rename to legacy-fabric-resource-loader-v1/1.8.9/src/main/java/net/legacyfabric/fabric/mixin/resource/loader/client/ItemRendererMixin.java diff --git a/1.8.9/legacy-fabric-resource-loader-v1/src/main/java/net/legacyfabric/fabric/mixin/resource/loader/client/MinecraftClientMixin.java b/legacy-fabric-resource-loader-v1/1.8.9/src/main/java/net/legacyfabric/fabric/mixin/resource/loader/client/MinecraftClientMixin.java similarity index 100% rename from 1.8.9/legacy-fabric-resource-loader-v1/src/main/java/net/legacyfabric/fabric/mixin/resource/loader/client/MinecraftClientMixin.java rename to legacy-fabric-resource-loader-v1/1.8.9/src/main/java/net/legacyfabric/fabric/mixin/resource/loader/client/MinecraftClientMixin.java diff --git a/1.8.9/legacy-fabric-resource-loader-v1/src/main/java/net/legacyfabric/fabric/mixin/resource/loader/client/ReloadableResourceManagerImplMixin.java b/legacy-fabric-resource-loader-v1/1.8.9/src/main/java/net/legacyfabric/fabric/mixin/resource/loader/client/ReloadableResourceManagerImplMixin.java similarity index 100% rename from 1.8.9/legacy-fabric-resource-loader-v1/src/main/java/net/legacyfabric/fabric/mixin/resource/loader/client/ReloadableResourceManagerImplMixin.java rename to legacy-fabric-resource-loader-v1/1.8.9/src/main/java/net/legacyfabric/fabric/mixin/resource/loader/client/ReloadableResourceManagerImplMixin.java diff --git a/1.8.9/legacy-fabric-resource-loader-v1/src/main/resources/assets/legacy-fabric/icon.png b/legacy-fabric-resource-loader-v1/1.8.9/src/main/resources/assets/legacy-fabric/icon.png similarity index 100% rename from 1.8.9/legacy-fabric-resource-loader-v1/src/main/resources/assets/legacy-fabric/icon.png rename to legacy-fabric-resource-loader-v1/1.8.9/src/main/resources/assets/legacy-fabric/icon.png diff --git a/1.8.9/legacy-fabric-resource-loader-v1/src/main/resources/fabric.mod.json b/legacy-fabric-resource-loader-v1/1.8.9/src/main/resources/fabric.mod.json similarity index 96% rename from 1.8.9/legacy-fabric-resource-loader-v1/src/main/resources/fabric.mod.json rename to legacy-fabric-resource-loader-v1/1.8.9/src/main/resources/fabric.mod.json index 755720a93..7b1b6b920 100644 --- a/1.8.9/legacy-fabric-resource-loader-v1/src/main/resources/fabric.mod.json +++ b/legacy-fabric-resource-loader-v1/1.8.9/src/main/resources/fabric.mod.json @@ -17,7 +17,7 @@ ], "depends": { "fabricloader": ">=0.4.0", - "minecraft": ">=1.8.9 <=1.9.4" + "minecraft": "${minecraft_version}" }, "description": "Asset loading", "mixins": [ diff --git a/1.8.9/legacy-fabric-resource-loader-v1/src/main/resources/legacy-fabric-resource-loader-v1.mixins.json b/legacy-fabric-resource-loader-v1/1.8.9/src/main/resources/legacy-fabric-resource-loader-v1.mixins.json similarity index 100% rename from 1.8.9/legacy-fabric-resource-loader-v1/src/main/resources/legacy-fabric-resource-loader-v1.mixins.json rename to legacy-fabric-resource-loader-v1/1.8.9/src/main/resources/legacy-fabric-resource-loader-v1.mixins.json diff --git a/1.8.9/legacy-fabric-resource-loader-v1/src/testmod/java/net/legacyfabric/fabric/test/resource/loader/client/ResourceReloadTest.java b/legacy-fabric-resource-loader-v1/1.8.9/src/testmod/java/net/legacyfabric/fabric/test/resource/loader/client/ResourceReloadTest.java similarity index 100% rename from 1.8.9/legacy-fabric-resource-loader-v1/src/testmod/java/net/legacyfabric/fabric/test/resource/loader/client/ResourceReloadTest.java rename to legacy-fabric-resource-loader-v1/1.8.9/src/testmod/java/net/legacyfabric/fabric/test/resource/loader/client/ResourceReloadTest.java diff --git a/1.12.2/legacy-fabric-resource-loader-v1/src/testmod/resources/fabric.mod.json b/legacy-fabric-resource-loader-v1/1.8.9/src/testmod/resources/fabric.mod.json similarity index 87% rename from 1.12.2/legacy-fabric-resource-loader-v1/src/testmod/resources/fabric.mod.json rename to legacy-fabric-resource-loader-v1/1.8.9/src/testmod/resources/fabric.mod.json index a625a4873..5f42c7640 100644 --- a/1.12.2/legacy-fabric-resource-loader-v1/src/testmod/resources/fabric.mod.json +++ b/legacy-fabric-resource-loader-v1/1.8.9/src/testmod/resources/fabric.mod.json @@ -9,6 +9,6 @@ ] }, "depends": { - "minecraft": ">1.11.2 <=1.12.2" + "minecraft": "${minecraft_version}" } } diff --git a/legacy-fabric-resource-loader-v1/1.8/build.gradle b/legacy-fabric-resource-loader-v1/1.8/build.gradle new file mode 100644 index 000000000..e69de29bb diff --git a/legacy-fabric-resource-loader-v1/1.8/gradle.properties b/legacy-fabric-resource-loader-v1/1.8/gradle.properties new file mode 100644 index 000000000..8dcacbf34 --- /dev/null +++ b/legacy-fabric-resource-loader-v1/1.8/gradle.properties @@ -0,0 +1,2 @@ +minVersionIncluded=1.8 +maxVersionIncluded=1.8 diff --git a/1.8/legacy-fabric-resource-loader-v1/src/main/java/net/legacyfabric/fabric/mixin/resource/loader/client/ClientResourceReloadListenerMixins.java b/legacy-fabric-resource-loader-v1/1.8/src/main/java/net/legacyfabric/fabric/mixin/resource/loader/client/ClientResourceReloadListenerMixins.java similarity index 100% rename from 1.8/legacy-fabric-resource-loader-v1/src/main/java/net/legacyfabric/fabric/mixin/resource/loader/client/ClientResourceReloadListenerMixins.java rename to legacy-fabric-resource-loader-v1/1.8/src/main/java/net/legacyfabric/fabric/mixin/resource/loader/client/ClientResourceReloadListenerMixins.java diff --git a/1.8/legacy-fabric-resource-loader-v1/src/main/java/net/legacyfabric/fabric/mixin/resource/loader/client/DefaultResourcePackMixin.java b/legacy-fabric-resource-loader-v1/1.8/src/main/java/net/legacyfabric/fabric/mixin/resource/loader/client/DefaultResourcePackMixin.java similarity index 100% rename from 1.8/legacy-fabric-resource-loader-v1/src/main/java/net/legacyfabric/fabric/mixin/resource/loader/client/DefaultResourcePackMixin.java rename to legacy-fabric-resource-loader-v1/1.8/src/main/java/net/legacyfabric/fabric/mixin/resource/loader/client/DefaultResourcePackMixin.java diff --git a/1.8/legacy-fabric-resource-loader-v1/src/main/java/net/legacyfabric/fabric/mixin/resource/loader/client/ItemRendererMixin.java b/legacy-fabric-resource-loader-v1/1.8/src/main/java/net/legacyfabric/fabric/mixin/resource/loader/client/ItemRendererMixin.java similarity index 100% rename from 1.8/legacy-fabric-resource-loader-v1/src/main/java/net/legacyfabric/fabric/mixin/resource/loader/client/ItemRendererMixin.java rename to legacy-fabric-resource-loader-v1/1.8/src/main/java/net/legacyfabric/fabric/mixin/resource/loader/client/ItemRendererMixin.java diff --git a/1.8/legacy-fabric-resource-loader-v1/src/main/java/net/legacyfabric/fabric/mixin/resource/loader/client/MinecraftClientMixin.java b/legacy-fabric-resource-loader-v1/1.8/src/main/java/net/legacyfabric/fabric/mixin/resource/loader/client/MinecraftClientMixin.java similarity index 100% rename from 1.8/legacy-fabric-resource-loader-v1/src/main/java/net/legacyfabric/fabric/mixin/resource/loader/client/MinecraftClientMixin.java rename to legacy-fabric-resource-loader-v1/1.8/src/main/java/net/legacyfabric/fabric/mixin/resource/loader/client/MinecraftClientMixin.java diff --git a/1.8/legacy-fabric-resource-loader-v1/src/main/java/net/legacyfabric/fabric/mixin/resource/loader/client/ReloadableResourceManagerImplMixin.java b/legacy-fabric-resource-loader-v1/1.8/src/main/java/net/legacyfabric/fabric/mixin/resource/loader/client/ReloadableResourceManagerImplMixin.java similarity index 100% rename from 1.8/legacy-fabric-resource-loader-v1/src/main/java/net/legacyfabric/fabric/mixin/resource/loader/client/ReloadableResourceManagerImplMixin.java rename to legacy-fabric-resource-loader-v1/1.8/src/main/java/net/legacyfabric/fabric/mixin/resource/loader/client/ReloadableResourceManagerImplMixin.java diff --git a/1.8/legacy-fabric-resource-loader-v1/src/main/resources/assets/legacy-fabric/icon.png b/legacy-fabric-resource-loader-v1/1.8/src/main/resources/assets/legacy-fabric/icon.png similarity index 100% rename from 1.8/legacy-fabric-resource-loader-v1/src/main/resources/assets/legacy-fabric/icon.png rename to legacy-fabric-resource-loader-v1/1.8/src/main/resources/assets/legacy-fabric/icon.png diff --git a/1.7.10/legacy-fabric-resource-loader-v1/src/main/resources/fabric.mod.json b/legacy-fabric-resource-loader-v1/1.8/src/main/resources/fabric.mod.json similarity index 96% rename from 1.7.10/legacy-fabric-resource-loader-v1/src/main/resources/fabric.mod.json rename to legacy-fabric-resource-loader-v1/1.8/src/main/resources/fabric.mod.json index 6d953c1a1..f70352482 100644 --- a/1.7.10/legacy-fabric-resource-loader-v1/src/main/resources/fabric.mod.json +++ b/legacy-fabric-resource-loader-v1/1.8/src/main/resources/fabric.mod.json @@ -17,7 +17,7 @@ ], "depends": { "fabricloader": ">=0.4.0", - "minecraft": "1.7.x" + "minecraft": "${minecraft_version}" }, "description": "Asset loading", "mixins": [ diff --git a/1.8/legacy-fabric-resource-loader-v1/src/main/resources/legacy-fabric-resource-loader-v1.mixins.json b/legacy-fabric-resource-loader-v1/1.8/src/main/resources/legacy-fabric-resource-loader-v1.mixins.json similarity index 100% rename from 1.8/legacy-fabric-resource-loader-v1/src/main/resources/legacy-fabric-resource-loader-v1.mixins.json rename to legacy-fabric-resource-loader-v1/1.8/src/main/resources/legacy-fabric-resource-loader-v1.mixins.json diff --git a/1.8/legacy-fabric-resource-loader-v1/src/testmod/java/net/legacyfabric/fabric/test/resource/loader/client/ResourceReloadTest.java b/legacy-fabric-resource-loader-v1/1.8/src/testmod/java/net/legacyfabric/fabric/test/resource/loader/client/ResourceReloadTest.java similarity index 100% rename from 1.8/legacy-fabric-resource-loader-v1/src/testmod/java/net/legacyfabric/fabric/test/resource/loader/client/ResourceReloadTest.java rename to legacy-fabric-resource-loader-v1/1.8/src/testmod/java/net/legacyfabric/fabric/test/resource/loader/client/ResourceReloadTest.java diff --git a/legacy-fabric-resource-loader-v1/1.8/src/testmod/resources/fabric.mod.json b/legacy-fabric-resource-loader-v1/1.8/src/testmod/resources/fabric.mod.json new file mode 100644 index 000000000..5f42c7640 --- /dev/null +++ b/legacy-fabric-resource-loader-v1/1.8/src/testmod/resources/fabric.mod.json @@ -0,0 +1,14 @@ +{ + "schemaVersion": 1, + "id": "legacy-fabric-resource-loader-v1-testmod", + "description": "Tests for resource loading", + "version": "1.0.0", + "entrypoints": { + "client": [ + "net.legacyfabric.fabric.test.resource.loader.client.ResourceReloadTest" + ] + }, + "depends": { + "minecraft": "${minecraft_version}" + } +} diff --git a/legacy-fabric-resource-loader-v1/common.gradle b/legacy-fabric-resource-loader-v1/common.gradle new file mode 100644 index 000000000..f7bb5a4dd --- /dev/null +++ b/legacy-fabric-resource-loader-v1/common.gradle @@ -0,0 +1,3 @@ +moduleDependencies(project, [ + "legacy-fabric-api-base" +]) diff --git a/legacy-fabric-resource-loader-v1/common/build.gradle b/legacy-fabric-resource-loader-v1/common/build.gradle new file mode 100644 index 000000000..e69de29bb diff --git a/legacy-fabric-resource-loader-v1/common/gradle.properties b/legacy-fabric-resource-loader-v1/common/gradle.properties new file mode 100644 index 000000000..13b94f3a1 --- /dev/null +++ b/legacy-fabric-resource-loader-v1/common/gradle.properties @@ -0,0 +1,2 @@ +minVersionIncluded=1.3 +maxVersionIncluded=1.13.2 diff --git a/common/legacy-fabric-resource-loader-v1-common/src/main/java/net/legacyfabric/fabric/api/resource/IdentifiableResourceReloadListener.java b/legacy-fabric-resource-loader-v1/common/src/main/java/net/legacyfabric/fabric/api/resource/IdentifiableResourceReloadListener.java similarity index 100% rename from common/legacy-fabric-resource-loader-v1-common/src/main/java/net/legacyfabric/fabric/api/resource/IdentifiableResourceReloadListener.java rename to legacy-fabric-resource-loader-v1/common/src/main/java/net/legacyfabric/fabric/api/resource/IdentifiableResourceReloadListener.java diff --git a/common/legacy-fabric-resource-loader-v1-common/src/main/java/net/legacyfabric/fabric/api/resource/ItemModelRegistry.java b/legacy-fabric-resource-loader-v1/common/src/main/java/net/legacyfabric/fabric/api/resource/ItemModelRegistry.java similarity index 100% rename from common/legacy-fabric-resource-loader-v1-common/src/main/java/net/legacyfabric/fabric/api/resource/ItemModelRegistry.java rename to legacy-fabric-resource-loader-v1/common/src/main/java/net/legacyfabric/fabric/api/resource/ItemModelRegistry.java diff --git a/common/legacy-fabric-resource-loader-v1-common/src/main/java/net/legacyfabric/fabric/api/resource/ModResourcePack.java b/legacy-fabric-resource-loader-v1/common/src/main/java/net/legacyfabric/fabric/api/resource/ModResourcePack.java similarity index 100% rename from common/legacy-fabric-resource-loader-v1-common/src/main/java/net/legacyfabric/fabric/api/resource/ModResourcePack.java rename to legacy-fabric-resource-loader-v1/common/src/main/java/net/legacyfabric/fabric/api/resource/ModResourcePack.java diff --git a/common/legacy-fabric-resource-loader-v1-common/src/main/java/net/legacyfabric/fabric/api/resource/ResourceManagerHelper.java b/legacy-fabric-resource-loader-v1/common/src/main/java/net/legacyfabric/fabric/api/resource/ResourceManagerHelper.java similarity index 100% rename from common/legacy-fabric-resource-loader-v1-common/src/main/java/net/legacyfabric/fabric/api/resource/ResourceManagerHelper.java rename to legacy-fabric-resource-loader-v1/common/src/main/java/net/legacyfabric/fabric/api/resource/ResourceManagerHelper.java diff --git a/common/legacy-fabric-resource-loader-v1-common/src/main/java/net/legacyfabric/fabric/api/resource/ResourceReloadListenerKeys.java b/legacy-fabric-resource-loader-v1/common/src/main/java/net/legacyfabric/fabric/api/resource/ResourceReloadListenerKeys.java similarity index 100% rename from common/legacy-fabric-resource-loader-v1-common/src/main/java/net/legacyfabric/fabric/api/resource/ResourceReloadListenerKeys.java rename to legacy-fabric-resource-loader-v1/common/src/main/java/net/legacyfabric/fabric/api/resource/ResourceReloadListenerKeys.java diff --git a/common/legacy-fabric-resource-loader-v1-common/src/main/java/net/legacyfabric/fabric/impl/resource/loader/DeferredInputStream.java b/legacy-fabric-resource-loader-v1/common/src/main/java/net/legacyfabric/fabric/impl/resource/loader/DeferredInputStream.java similarity index 100% rename from common/legacy-fabric-resource-loader-v1-common/src/main/java/net/legacyfabric/fabric/impl/resource/loader/DeferredInputStream.java rename to legacy-fabric-resource-loader-v1/common/src/main/java/net/legacyfabric/fabric/impl/resource/loader/DeferredInputStream.java diff --git a/common/legacy-fabric-resource-loader-v1-common/src/main/java/net/legacyfabric/fabric/impl/resource/loader/DeferredNioExecutionHandler.java b/legacy-fabric-resource-loader-v1/common/src/main/java/net/legacyfabric/fabric/impl/resource/loader/DeferredNioExecutionHandler.java similarity index 100% rename from common/legacy-fabric-resource-loader-v1-common/src/main/java/net/legacyfabric/fabric/impl/resource/loader/DeferredNioExecutionHandler.java rename to legacy-fabric-resource-loader-v1/common/src/main/java/net/legacyfabric/fabric/impl/resource/loader/DeferredNioExecutionHandler.java diff --git a/common/legacy-fabric-resource-loader-v1-common/src/main/java/net/legacyfabric/fabric/impl/resource/loader/ItemModelRegistryImpl.java b/legacy-fabric-resource-loader-v1/common/src/main/java/net/legacyfabric/fabric/impl/resource/loader/ItemModelRegistryImpl.java similarity index 100% rename from common/legacy-fabric-resource-loader-v1-common/src/main/java/net/legacyfabric/fabric/impl/resource/loader/ItemModelRegistryImpl.java rename to legacy-fabric-resource-loader-v1/common/src/main/java/net/legacyfabric/fabric/impl/resource/loader/ItemModelRegistryImpl.java diff --git a/common/legacy-fabric-resource-loader-v1-common/src/main/java/net/legacyfabric/fabric/impl/resource/loader/ModNioResourcePack.java b/legacy-fabric-resource-loader-v1/common/src/main/java/net/legacyfabric/fabric/impl/resource/loader/ModNioResourcePack.java similarity index 100% rename from common/legacy-fabric-resource-loader-v1-common/src/main/java/net/legacyfabric/fabric/impl/resource/loader/ModNioResourcePack.java rename to legacy-fabric-resource-loader-v1/common/src/main/java/net/legacyfabric/fabric/impl/resource/loader/ModNioResourcePack.java diff --git a/common/legacy-fabric-resource-loader-v1-common/src/main/java/net/legacyfabric/fabric/impl/resource/loader/ModResourcePackUtil.java b/legacy-fabric-resource-loader-v1/common/src/main/java/net/legacyfabric/fabric/impl/resource/loader/ModResourcePackUtil.java similarity index 100% rename from common/legacy-fabric-resource-loader-v1-common/src/main/java/net/legacyfabric/fabric/impl/resource/loader/ModResourcePackUtil.java rename to legacy-fabric-resource-loader-v1/common/src/main/java/net/legacyfabric/fabric/impl/resource/loader/ModResourcePackUtil.java diff --git a/common/legacy-fabric-resource-loader-v1-common/src/main/java/net/legacyfabric/fabric/impl/resource/loader/ResourceManagerHelperImpl.java b/legacy-fabric-resource-loader-v1/common/src/main/java/net/legacyfabric/fabric/impl/resource/loader/ResourceManagerHelperImpl.java similarity index 100% rename from common/legacy-fabric-resource-loader-v1-common/src/main/java/net/legacyfabric/fabric/impl/resource/loader/ResourceManagerHelperImpl.java rename to legacy-fabric-resource-loader-v1/common/src/main/java/net/legacyfabric/fabric/impl/resource/loader/ResourceManagerHelperImpl.java diff --git a/common/legacy-fabric-resource-loader-v1-common/src/main/java/net/legacyfabric/fabric/mixin/resource/loader/client/ModelIdentifierMixin.java b/legacy-fabric-resource-loader-v1/common/src/main/java/net/legacyfabric/fabric/mixin/resource/loader/client/ModelIdentifierMixin.java similarity index 100% rename from common/legacy-fabric-resource-loader-v1-common/src/main/java/net/legacyfabric/fabric/mixin/resource/loader/client/ModelIdentifierMixin.java rename to legacy-fabric-resource-loader-v1/common/src/main/java/net/legacyfabric/fabric/mixin/resource/loader/client/ModelIdentifierMixin.java diff --git a/common/legacy-fabric-resource-loader-v1-common/src/main/java/net/legacyfabric/fabric/mixin/resource/loader/client/TranslationStorageMixin.java b/legacy-fabric-resource-loader-v1/common/src/main/java/net/legacyfabric/fabric/mixin/resource/loader/client/TranslationStorageMixin.java similarity index 100% rename from common/legacy-fabric-resource-loader-v1-common/src/main/java/net/legacyfabric/fabric/mixin/resource/loader/client/TranslationStorageMixin.java rename to legacy-fabric-resource-loader-v1/common/src/main/java/net/legacyfabric/fabric/mixin/resource/loader/client/TranslationStorageMixin.java diff --git a/common/legacy-fabric-resource-loader-v1-common/src/main/resources/assets/legacy-fabric/icon.png b/legacy-fabric-resource-loader-v1/common/src/main/resources/assets/legacy-fabric/icon.png similarity index 100% rename from common/legacy-fabric-resource-loader-v1-common/src/main/resources/assets/legacy-fabric/icon.png rename to legacy-fabric-resource-loader-v1/common/src/main/resources/assets/legacy-fabric/icon.png diff --git a/common/legacy-fabric-resource-loader-v1-common/src/main/resources/fabric.mod.json b/legacy-fabric-resource-loader-v1/common/src/main/resources/fabric.mod.json similarity index 100% rename from common/legacy-fabric-resource-loader-v1-common/src/main/resources/fabric.mod.json rename to legacy-fabric-resource-loader-v1/common/src/main/resources/fabric.mod.json diff --git a/common/legacy-fabric-resource-loader-v1-common/src/main/resources/legacy-fabric-resource-loader-v1-common.mixins.json b/legacy-fabric-resource-loader-v1/common/src/main/resources/legacy-fabric-resource-loader-v1-common.mixins.json similarity index 100% rename from common/legacy-fabric-resource-loader-v1-common/src/main/resources/legacy-fabric-resource-loader-v1-common.mixins.json rename to legacy-fabric-resource-loader-v1/common/src/main/resources/legacy-fabric-resource-loader-v1-common.mixins.json diff --git a/settings.gradle b/settings.gradle index 2eb1e5cd0..385472030 100644 --- a/settings.gradle +++ b/settings.gradle @@ -27,6 +27,7 @@ def loadProject(String path) { loadProject("legacy-fabric-api-base") loadProject("legacy-fabric-logger-api-v1") +loadProject("legacy-fabric-resource-loader-v1") //include("common") //include("common:legacy-fabric-logger-api-v1") From ce5b9bafb517b8446b9436b7cfa5d540237317a4 Mon Sep 17 00:00:00 2001 From: Cat Core Date: Thu, 8 Feb 2024 10:18:13 +0100 Subject: [PATCH 06/27] Port legacy-fabric-lifecycle-events-v1 --- .../legacy-fabric-lifecycle-events-v1/build.gradle | 8 -------- .../legacy-fabric-lifecycle-events-v1/build.gradle | 8 -------- .../legacy-fabric-lifecycle-events-v1/build.gradle | 8 -------- .../build.gradle | 7 ------- .../1.12.2/build.gradle | 0 .../1.12.2/gradle.properties | 2 ++ .../event/lifecycle/v1/ClientLifecycleEvents.java | 0 .../client/event/lifecycle/v1/ClientTickEvents.java | 0 .../mixin/event/lifecycle/MinecraftServerMixin.java | 0 .../event/lifecycle/ServerChunkProviderMixin.java | 0 .../mixin/event/lifecycle/ServerWorldMixin.java | 0 .../lifecycle/client/ClientChunkProviderMixin.java | 0 .../event/lifecycle/client/ClientWorldMixin.java | 0 .../lifecycle/client/MinecraftClientMixin.java | 0 .../main/resources/assets/legacy-fabric/icon.png | Bin .../1.12.2}/src/main/resources/fabric.mod.json | 2 +- .../legacy-fabric-lifecycle-events-v1.mixins.json | 0 .../lifecycle/client/ClientLifecycleEventsTest.java | 0 .../1.12.2}/src/testmod/resources/fabric.mod.json | 2 +- .../1.7.10/build.gradle | 0 .../1.7.10/gradle.properties | 2 ++ .../event/lifecycle/v1/ClientLifecycleEvents.java | 0 .../client/event/lifecycle/v1/ClientTickEvents.java | 0 .../mixin/event/lifecycle/MinecraftServerMixin.java | 0 .../event/lifecycle/ServerChunkProviderMixin.java | 0 .../mixin/event/lifecycle/ServerWorldMixin.java | 0 .../lifecycle/client/ClientChunkProviderMixin.java | 0 .../event/lifecycle/client/ClientWorldMixin.java | 0 .../lifecycle/client/MinecraftClientMixin.java | 0 .../main/resources/assets/legacy-fabric/icon.png | Bin .../1.7.10}/src/main/resources/fabric.mod.json | 2 +- .../legacy-fabric-lifecycle-events-v1.mixins.json | 0 .../lifecycle/client/ClientLifecycleEventsTest.java | 0 .../1.7.10}/src/testmod/resources/fabric.mod.json | 2 +- .../1.8.9/build.gradle | 0 .../1.8.9/gradle.properties | 2 ++ .../event/lifecycle/v1/ClientLifecycleEvents.java | 0 .../client/event/lifecycle/v1/ClientTickEvents.java | 0 .../mixin/event/lifecycle/MinecraftServerMixin.java | 0 .../event/lifecycle/ServerChunkProviderMixin.java | 0 .../mixin/event/lifecycle/ServerWorldMixin.java | 0 .../lifecycle/client/ClientChunkProviderMixin.java | 0 .../event/lifecycle/client/ClientWorldMixin.java | 0 .../lifecycle/client/MinecraftClientMixin.java | 0 .../main/resources/assets/legacy-fabric/icon.png | Bin .../1.8.9}/src/main/resources/fabric.mod.json | 2 +- .../legacy-fabric-lifecycle-events-v1.mixins.json | 0 .../lifecycle/client/ClientLifecycleEventsTest.java | 0 .../1.8.9}/src/testmod/resources/fabric.mod.json | 2 +- legacy-fabric-lifecycle-events-v1/common.gradle | 3 +++ .../common/build.gradle | 0 .../common/gradle.properties | 2 ++ .../event/lifecycle/v1/ClientChunkEvents.java | 0 .../event/lifecycle/v1/ClientEntityEvents.java | 0 .../api/event/lifecycle/v1/ServerChunkEvents.java | 0 .../api/event/lifecycle/v1/ServerEntityEvents.java | 0 .../event/lifecycle/v1/ServerLifecycleEvents.java | 0 .../api/event/lifecycle/v1/ServerTickEvents.java | 0 .../api/event/lifecycle/v1/ServerWorldEvents.java | 0 .../main/resources/assets/legacy-fabric/icon.png | Bin .../common}/src/main/resources/fabric.mod.json | 0 .../test/lifecycle/ServerLifecycleEventsTest.java | 0 .../client/ClientLifecycleEventsCommonTest.java | 0 .../common}/src/testmod/resources/fabric.mod.json | 0 settings.gradle | 1 + 65 files changed, 18 insertions(+), 37 deletions(-) delete mode 100644 1.12.2/legacy-fabric-lifecycle-events-v1/build.gradle delete mode 100644 1.7.10/legacy-fabric-lifecycle-events-v1/build.gradle delete mode 100644 1.8.9/legacy-fabric-lifecycle-events-v1/build.gradle delete mode 100644 common/legacy-fabric-lifecycle-events-v1-common/build.gradle create mode 100644 legacy-fabric-lifecycle-events-v1/1.12.2/build.gradle create mode 100644 legacy-fabric-lifecycle-events-v1/1.12.2/gradle.properties rename {1.12.2/legacy-fabric-lifecycle-events-v1 => legacy-fabric-lifecycle-events-v1/1.12.2}/src/main/java/net/legacyfabric/fabric/api/client/event/lifecycle/v1/ClientLifecycleEvents.java (100%) rename {1.12.2/legacy-fabric-lifecycle-events-v1 => legacy-fabric-lifecycle-events-v1/1.12.2}/src/main/java/net/legacyfabric/fabric/api/client/event/lifecycle/v1/ClientTickEvents.java (100%) rename {1.12.2/legacy-fabric-lifecycle-events-v1 => legacy-fabric-lifecycle-events-v1/1.12.2}/src/main/java/net/legacyfabric/fabric/mixin/event/lifecycle/MinecraftServerMixin.java (100%) rename {1.12.2/legacy-fabric-lifecycle-events-v1 => legacy-fabric-lifecycle-events-v1/1.12.2}/src/main/java/net/legacyfabric/fabric/mixin/event/lifecycle/ServerChunkProviderMixin.java (100%) rename {1.12.2/legacy-fabric-lifecycle-events-v1 => legacy-fabric-lifecycle-events-v1/1.12.2}/src/main/java/net/legacyfabric/fabric/mixin/event/lifecycle/ServerWorldMixin.java (100%) rename {1.12.2/legacy-fabric-lifecycle-events-v1 => legacy-fabric-lifecycle-events-v1/1.12.2}/src/main/java/net/legacyfabric/fabric/mixin/event/lifecycle/client/ClientChunkProviderMixin.java (100%) rename {1.12.2/legacy-fabric-lifecycle-events-v1 => legacy-fabric-lifecycle-events-v1/1.12.2}/src/main/java/net/legacyfabric/fabric/mixin/event/lifecycle/client/ClientWorldMixin.java (100%) rename {1.12.2/legacy-fabric-lifecycle-events-v1 => legacy-fabric-lifecycle-events-v1/1.12.2}/src/main/java/net/legacyfabric/fabric/mixin/event/lifecycle/client/MinecraftClientMixin.java (100%) rename {1.12.2/legacy-fabric-lifecycle-events-v1 => legacy-fabric-lifecycle-events-v1/1.12.2}/src/main/resources/assets/legacy-fabric/icon.png (100%) rename {1.7.10/legacy-fabric-lifecycle-events-v1 => legacy-fabric-lifecycle-events-v1/1.12.2}/src/main/resources/fabric.mod.json (96%) rename {1.12.2/legacy-fabric-lifecycle-events-v1 => legacy-fabric-lifecycle-events-v1/1.12.2}/src/main/resources/legacy-fabric-lifecycle-events-v1.mixins.json (100%) rename {1.12.2/legacy-fabric-lifecycle-events-v1 => legacy-fabric-lifecycle-events-v1/1.12.2}/src/testmod/java/net/legacyfabric/fabric/test/lifecycle/client/ClientLifecycleEventsTest.java (100%) rename {1.8.9/legacy-fabric-lifecycle-events-v1 => legacy-fabric-lifecycle-events-v1/1.12.2}/src/testmod/resources/fabric.mod.json (88%) create mode 100644 legacy-fabric-lifecycle-events-v1/1.7.10/build.gradle create mode 100644 legacy-fabric-lifecycle-events-v1/1.7.10/gradle.properties rename {1.7.10/legacy-fabric-lifecycle-events-v1 => legacy-fabric-lifecycle-events-v1/1.7.10}/src/main/java/net/legacyfabric/fabric/api/client/event/lifecycle/v1/ClientLifecycleEvents.java (100%) rename {1.7.10/legacy-fabric-lifecycle-events-v1 => legacy-fabric-lifecycle-events-v1/1.7.10}/src/main/java/net/legacyfabric/fabric/api/client/event/lifecycle/v1/ClientTickEvents.java (100%) rename {1.7.10/legacy-fabric-lifecycle-events-v1 => legacy-fabric-lifecycle-events-v1/1.7.10}/src/main/java/net/legacyfabric/fabric/mixin/event/lifecycle/MinecraftServerMixin.java (100%) rename {1.7.10/legacy-fabric-lifecycle-events-v1 => legacy-fabric-lifecycle-events-v1/1.7.10}/src/main/java/net/legacyfabric/fabric/mixin/event/lifecycle/ServerChunkProviderMixin.java (100%) rename {1.7.10/legacy-fabric-lifecycle-events-v1 => legacy-fabric-lifecycle-events-v1/1.7.10}/src/main/java/net/legacyfabric/fabric/mixin/event/lifecycle/ServerWorldMixin.java (100%) rename {1.7.10/legacy-fabric-lifecycle-events-v1 => legacy-fabric-lifecycle-events-v1/1.7.10}/src/main/java/net/legacyfabric/fabric/mixin/event/lifecycle/client/ClientChunkProviderMixin.java (100%) rename {1.7.10/legacy-fabric-lifecycle-events-v1 => legacy-fabric-lifecycle-events-v1/1.7.10}/src/main/java/net/legacyfabric/fabric/mixin/event/lifecycle/client/ClientWorldMixin.java (100%) rename {1.7.10/legacy-fabric-lifecycle-events-v1 => legacy-fabric-lifecycle-events-v1/1.7.10}/src/main/java/net/legacyfabric/fabric/mixin/event/lifecycle/client/MinecraftClientMixin.java (100%) rename {1.7.10/legacy-fabric-lifecycle-events-v1 => legacy-fabric-lifecycle-events-v1/1.7.10}/src/main/resources/assets/legacy-fabric/icon.png (100%) rename {1.12.2/legacy-fabric-lifecycle-events-v1 => legacy-fabric-lifecycle-events-v1/1.7.10}/src/main/resources/fabric.mod.json (96%) rename {1.7.10/legacy-fabric-lifecycle-events-v1 => legacy-fabric-lifecycle-events-v1/1.7.10}/src/main/resources/legacy-fabric-lifecycle-events-v1.mixins.json (100%) rename {1.7.10/legacy-fabric-lifecycle-events-v1 => legacy-fabric-lifecycle-events-v1/1.7.10}/src/testmod/java/net/legacyfabric/fabric/test/lifecycle/client/ClientLifecycleEventsTest.java (100%) rename {1.12.2/legacy-fabric-lifecycle-events-v1 => legacy-fabric-lifecycle-events-v1/1.7.10}/src/testmod/resources/fabric.mod.json (88%) create mode 100644 legacy-fabric-lifecycle-events-v1/1.8.9/build.gradle create mode 100644 legacy-fabric-lifecycle-events-v1/1.8.9/gradle.properties rename {1.8.9/legacy-fabric-lifecycle-events-v1 => legacy-fabric-lifecycle-events-v1/1.8.9}/src/main/java/net/legacyfabric/fabric/api/client/event/lifecycle/v1/ClientLifecycleEvents.java (100%) rename {1.8.9/legacy-fabric-lifecycle-events-v1 => legacy-fabric-lifecycle-events-v1/1.8.9}/src/main/java/net/legacyfabric/fabric/api/client/event/lifecycle/v1/ClientTickEvents.java (100%) rename {1.8.9/legacy-fabric-lifecycle-events-v1 => legacy-fabric-lifecycle-events-v1/1.8.9}/src/main/java/net/legacyfabric/fabric/mixin/event/lifecycle/MinecraftServerMixin.java (100%) rename {1.8.9/legacy-fabric-lifecycle-events-v1 => legacy-fabric-lifecycle-events-v1/1.8.9}/src/main/java/net/legacyfabric/fabric/mixin/event/lifecycle/ServerChunkProviderMixin.java (100%) rename {1.8.9/legacy-fabric-lifecycle-events-v1 => legacy-fabric-lifecycle-events-v1/1.8.9}/src/main/java/net/legacyfabric/fabric/mixin/event/lifecycle/ServerWorldMixin.java (100%) rename {1.8.9/legacy-fabric-lifecycle-events-v1 => legacy-fabric-lifecycle-events-v1/1.8.9}/src/main/java/net/legacyfabric/fabric/mixin/event/lifecycle/client/ClientChunkProviderMixin.java (100%) rename {1.8.9/legacy-fabric-lifecycle-events-v1 => legacy-fabric-lifecycle-events-v1/1.8.9}/src/main/java/net/legacyfabric/fabric/mixin/event/lifecycle/client/ClientWorldMixin.java (100%) rename {1.8.9/legacy-fabric-lifecycle-events-v1 => legacy-fabric-lifecycle-events-v1/1.8.9}/src/main/java/net/legacyfabric/fabric/mixin/event/lifecycle/client/MinecraftClientMixin.java (100%) rename {1.8.9/legacy-fabric-lifecycle-events-v1 => legacy-fabric-lifecycle-events-v1/1.8.9}/src/main/resources/assets/legacy-fabric/icon.png (100%) rename {1.8.9/legacy-fabric-lifecycle-events-v1 => legacy-fabric-lifecycle-events-v1/1.8.9}/src/main/resources/fabric.mod.json (96%) rename {1.8.9/legacy-fabric-lifecycle-events-v1 => legacy-fabric-lifecycle-events-v1/1.8.9}/src/main/resources/legacy-fabric-lifecycle-events-v1.mixins.json (100%) rename {1.8.9/legacy-fabric-lifecycle-events-v1 => legacy-fabric-lifecycle-events-v1/1.8.9}/src/testmod/java/net/legacyfabric/fabric/test/lifecycle/client/ClientLifecycleEventsTest.java (100%) rename {1.7.10/legacy-fabric-lifecycle-events-v1 => legacy-fabric-lifecycle-events-v1/1.8.9}/src/testmod/resources/fabric.mod.json (88%) create mode 100644 legacy-fabric-lifecycle-events-v1/common.gradle create mode 100644 legacy-fabric-lifecycle-events-v1/common/build.gradle create mode 100644 legacy-fabric-lifecycle-events-v1/common/gradle.properties rename {common/legacy-fabric-lifecycle-events-v1-common => legacy-fabric-lifecycle-events-v1/common}/src/main/java/net/legacyfabric/fabric/api/client/event/lifecycle/v1/ClientChunkEvents.java (100%) rename {common/legacy-fabric-lifecycle-events-v1-common => legacy-fabric-lifecycle-events-v1/common}/src/main/java/net/legacyfabric/fabric/api/client/event/lifecycle/v1/ClientEntityEvents.java (100%) rename {common/legacy-fabric-lifecycle-events-v1-common => legacy-fabric-lifecycle-events-v1/common}/src/main/java/net/legacyfabric/fabric/api/event/lifecycle/v1/ServerChunkEvents.java (100%) rename {common/legacy-fabric-lifecycle-events-v1-common => legacy-fabric-lifecycle-events-v1/common}/src/main/java/net/legacyfabric/fabric/api/event/lifecycle/v1/ServerEntityEvents.java (100%) rename {common/legacy-fabric-lifecycle-events-v1-common => legacy-fabric-lifecycle-events-v1/common}/src/main/java/net/legacyfabric/fabric/api/event/lifecycle/v1/ServerLifecycleEvents.java (100%) rename {common/legacy-fabric-lifecycle-events-v1-common => legacy-fabric-lifecycle-events-v1/common}/src/main/java/net/legacyfabric/fabric/api/event/lifecycle/v1/ServerTickEvents.java (100%) rename {common/legacy-fabric-lifecycle-events-v1-common => legacy-fabric-lifecycle-events-v1/common}/src/main/java/net/legacyfabric/fabric/api/event/lifecycle/v1/ServerWorldEvents.java (100%) rename {common/legacy-fabric-lifecycle-events-v1-common => legacy-fabric-lifecycle-events-v1/common}/src/main/resources/assets/legacy-fabric/icon.png (100%) rename {common/legacy-fabric-lifecycle-events-v1-common => legacy-fabric-lifecycle-events-v1/common}/src/main/resources/fabric.mod.json (100%) rename {common/legacy-fabric-lifecycle-events-v1-common => legacy-fabric-lifecycle-events-v1/common}/src/testmod/java/net/legacyfabric/fabric/test/lifecycle/ServerLifecycleEventsTest.java (100%) rename {common/legacy-fabric-lifecycle-events-v1-common => legacy-fabric-lifecycle-events-v1/common}/src/testmod/java/net/legacyfabric/fabric/test/lifecycle/client/ClientLifecycleEventsCommonTest.java (100%) rename {common/legacy-fabric-lifecycle-events-v1-common => legacy-fabric-lifecycle-events-v1/common}/src/testmod/resources/fabric.mod.json (100%) diff --git a/1.12.2/legacy-fabric-lifecycle-events-v1/build.gradle b/1.12.2/legacy-fabric-lifecycle-events-v1/build.gradle deleted file mode 100644 index b0d630638..000000000 --- a/1.12.2/legacy-fabric-lifecycle-events-v1/build.gradle +++ /dev/null @@ -1,8 +0,0 @@ -version = getSubprojectVersion(project) - -moduleDependencies(project, [ - "common": [ - "legacy-fabric-api-base-common", - "legacy-fabric-lifecycle-events-v1-common" - ] -]) diff --git a/1.7.10/legacy-fabric-lifecycle-events-v1/build.gradle b/1.7.10/legacy-fabric-lifecycle-events-v1/build.gradle deleted file mode 100644 index b0d630638..000000000 --- a/1.7.10/legacy-fabric-lifecycle-events-v1/build.gradle +++ /dev/null @@ -1,8 +0,0 @@ -version = getSubprojectVersion(project) - -moduleDependencies(project, [ - "common": [ - "legacy-fabric-api-base-common", - "legacy-fabric-lifecycle-events-v1-common" - ] -]) diff --git a/1.8.9/legacy-fabric-lifecycle-events-v1/build.gradle b/1.8.9/legacy-fabric-lifecycle-events-v1/build.gradle deleted file mode 100644 index b0d630638..000000000 --- a/1.8.9/legacy-fabric-lifecycle-events-v1/build.gradle +++ /dev/null @@ -1,8 +0,0 @@ -version = getSubprojectVersion(project) - -moduleDependencies(project, [ - "common": [ - "legacy-fabric-api-base-common", - "legacy-fabric-lifecycle-events-v1-common" - ] -]) diff --git a/common/legacy-fabric-lifecycle-events-v1-common/build.gradle b/common/legacy-fabric-lifecycle-events-v1-common/build.gradle deleted file mode 100644 index 3ca3a9171..000000000 --- a/common/legacy-fabric-lifecycle-events-v1-common/build.gradle +++ /dev/null @@ -1,7 +0,0 @@ -version = getSubprojectVersion(project) - -moduleDependencies(project, [ - "common": [ - "legacy-fabric-api-base-common" - ] -]) diff --git a/legacy-fabric-lifecycle-events-v1/1.12.2/build.gradle b/legacy-fabric-lifecycle-events-v1/1.12.2/build.gradle new file mode 100644 index 000000000..e69de29bb diff --git a/legacy-fabric-lifecycle-events-v1/1.12.2/gradle.properties b/legacy-fabric-lifecycle-events-v1/1.12.2/gradle.properties new file mode 100644 index 000000000..22c79abec --- /dev/null +++ b/legacy-fabric-lifecycle-events-v1/1.12.2/gradle.properties @@ -0,0 +1,2 @@ +minVersionExcluded=1.8.9 +maxVersionIncluded=1.12.2 diff --git a/1.12.2/legacy-fabric-lifecycle-events-v1/src/main/java/net/legacyfabric/fabric/api/client/event/lifecycle/v1/ClientLifecycleEvents.java b/legacy-fabric-lifecycle-events-v1/1.12.2/src/main/java/net/legacyfabric/fabric/api/client/event/lifecycle/v1/ClientLifecycleEvents.java similarity index 100% rename from 1.12.2/legacy-fabric-lifecycle-events-v1/src/main/java/net/legacyfabric/fabric/api/client/event/lifecycle/v1/ClientLifecycleEvents.java rename to legacy-fabric-lifecycle-events-v1/1.12.2/src/main/java/net/legacyfabric/fabric/api/client/event/lifecycle/v1/ClientLifecycleEvents.java diff --git a/1.12.2/legacy-fabric-lifecycle-events-v1/src/main/java/net/legacyfabric/fabric/api/client/event/lifecycle/v1/ClientTickEvents.java b/legacy-fabric-lifecycle-events-v1/1.12.2/src/main/java/net/legacyfabric/fabric/api/client/event/lifecycle/v1/ClientTickEvents.java similarity index 100% rename from 1.12.2/legacy-fabric-lifecycle-events-v1/src/main/java/net/legacyfabric/fabric/api/client/event/lifecycle/v1/ClientTickEvents.java rename to legacy-fabric-lifecycle-events-v1/1.12.2/src/main/java/net/legacyfabric/fabric/api/client/event/lifecycle/v1/ClientTickEvents.java diff --git a/1.12.2/legacy-fabric-lifecycle-events-v1/src/main/java/net/legacyfabric/fabric/mixin/event/lifecycle/MinecraftServerMixin.java b/legacy-fabric-lifecycle-events-v1/1.12.2/src/main/java/net/legacyfabric/fabric/mixin/event/lifecycle/MinecraftServerMixin.java similarity index 100% rename from 1.12.2/legacy-fabric-lifecycle-events-v1/src/main/java/net/legacyfabric/fabric/mixin/event/lifecycle/MinecraftServerMixin.java rename to legacy-fabric-lifecycle-events-v1/1.12.2/src/main/java/net/legacyfabric/fabric/mixin/event/lifecycle/MinecraftServerMixin.java diff --git a/1.12.2/legacy-fabric-lifecycle-events-v1/src/main/java/net/legacyfabric/fabric/mixin/event/lifecycle/ServerChunkProviderMixin.java b/legacy-fabric-lifecycle-events-v1/1.12.2/src/main/java/net/legacyfabric/fabric/mixin/event/lifecycle/ServerChunkProviderMixin.java similarity index 100% rename from 1.12.2/legacy-fabric-lifecycle-events-v1/src/main/java/net/legacyfabric/fabric/mixin/event/lifecycle/ServerChunkProviderMixin.java rename to legacy-fabric-lifecycle-events-v1/1.12.2/src/main/java/net/legacyfabric/fabric/mixin/event/lifecycle/ServerChunkProviderMixin.java diff --git a/1.12.2/legacy-fabric-lifecycle-events-v1/src/main/java/net/legacyfabric/fabric/mixin/event/lifecycle/ServerWorldMixin.java b/legacy-fabric-lifecycle-events-v1/1.12.2/src/main/java/net/legacyfabric/fabric/mixin/event/lifecycle/ServerWorldMixin.java similarity index 100% rename from 1.12.2/legacy-fabric-lifecycle-events-v1/src/main/java/net/legacyfabric/fabric/mixin/event/lifecycle/ServerWorldMixin.java rename to legacy-fabric-lifecycle-events-v1/1.12.2/src/main/java/net/legacyfabric/fabric/mixin/event/lifecycle/ServerWorldMixin.java diff --git a/1.12.2/legacy-fabric-lifecycle-events-v1/src/main/java/net/legacyfabric/fabric/mixin/event/lifecycle/client/ClientChunkProviderMixin.java b/legacy-fabric-lifecycle-events-v1/1.12.2/src/main/java/net/legacyfabric/fabric/mixin/event/lifecycle/client/ClientChunkProviderMixin.java similarity index 100% rename from 1.12.2/legacy-fabric-lifecycle-events-v1/src/main/java/net/legacyfabric/fabric/mixin/event/lifecycle/client/ClientChunkProviderMixin.java rename to legacy-fabric-lifecycle-events-v1/1.12.2/src/main/java/net/legacyfabric/fabric/mixin/event/lifecycle/client/ClientChunkProviderMixin.java diff --git a/1.12.2/legacy-fabric-lifecycle-events-v1/src/main/java/net/legacyfabric/fabric/mixin/event/lifecycle/client/ClientWorldMixin.java b/legacy-fabric-lifecycle-events-v1/1.12.2/src/main/java/net/legacyfabric/fabric/mixin/event/lifecycle/client/ClientWorldMixin.java similarity index 100% rename from 1.12.2/legacy-fabric-lifecycle-events-v1/src/main/java/net/legacyfabric/fabric/mixin/event/lifecycle/client/ClientWorldMixin.java rename to legacy-fabric-lifecycle-events-v1/1.12.2/src/main/java/net/legacyfabric/fabric/mixin/event/lifecycle/client/ClientWorldMixin.java diff --git a/1.12.2/legacy-fabric-lifecycle-events-v1/src/main/java/net/legacyfabric/fabric/mixin/event/lifecycle/client/MinecraftClientMixin.java b/legacy-fabric-lifecycle-events-v1/1.12.2/src/main/java/net/legacyfabric/fabric/mixin/event/lifecycle/client/MinecraftClientMixin.java similarity index 100% rename from 1.12.2/legacy-fabric-lifecycle-events-v1/src/main/java/net/legacyfabric/fabric/mixin/event/lifecycle/client/MinecraftClientMixin.java rename to legacy-fabric-lifecycle-events-v1/1.12.2/src/main/java/net/legacyfabric/fabric/mixin/event/lifecycle/client/MinecraftClientMixin.java diff --git a/1.12.2/legacy-fabric-lifecycle-events-v1/src/main/resources/assets/legacy-fabric/icon.png b/legacy-fabric-lifecycle-events-v1/1.12.2/src/main/resources/assets/legacy-fabric/icon.png similarity index 100% rename from 1.12.2/legacy-fabric-lifecycle-events-v1/src/main/resources/assets/legacy-fabric/icon.png rename to legacy-fabric-lifecycle-events-v1/1.12.2/src/main/resources/assets/legacy-fabric/icon.png diff --git a/1.7.10/legacy-fabric-lifecycle-events-v1/src/main/resources/fabric.mod.json b/legacy-fabric-lifecycle-events-v1/1.12.2/src/main/resources/fabric.mod.json similarity index 96% rename from 1.7.10/legacy-fabric-lifecycle-events-v1/src/main/resources/fabric.mod.json rename to legacy-fabric-lifecycle-events-v1/1.12.2/src/main/resources/fabric.mod.json index e69181ed5..f8b664e41 100644 --- a/1.7.10/legacy-fabric-lifecycle-events-v1/src/main/resources/fabric.mod.json +++ b/legacy-fabric-lifecycle-events-v1/1.12.2/src/main/resources/fabric.mod.json @@ -20,7 +20,7 @@ ], "description": "Events for the game's lifecycle.", "depends": { - "minecraft": "<=1.7.10" + "minecraft": "${minecraft_version}" }, "custom": { "modmenu": { diff --git a/1.12.2/legacy-fabric-lifecycle-events-v1/src/main/resources/legacy-fabric-lifecycle-events-v1.mixins.json b/legacy-fabric-lifecycle-events-v1/1.12.2/src/main/resources/legacy-fabric-lifecycle-events-v1.mixins.json similarity index 100% rename from 1.12.2/legacy-fabric-lifecycle-events-v1/src/main/resources/legacy-fabric-lifecycle-events-v1.mixins.json rename to legacy-fabric-lifecycle-events-v1/1.12.2/src/main/resources/legacy-fabric-lifecycle-events-v1.mixins.json diff --git a/1.12.2/legacy-fabric-lifecycle-events-v1/src/testmod/java/net/legacyfabric/fabric/test/lifecycle/client/ClientLifecycleEventsTest.java b/legacy-fabric-lifecycle-events-v1/1.12.2/src/testmod/java/net/legacyfabric/fabric/test/lifecycle/client/ClientLifecycleEventsTest.java similarity index 100% rename from 1.12.2/legacy-fabric-lifecycle-events-v1/src/testmod/java/net/legacyfabric/fabric/test/lifecycle/client/ClientLifecycleEventsTest.java rename to legacy-fabric-lifecycle-events-v1/1.12.2/src/testmod/java/net/legacyfabric/fabric/test/lifecycle/client/ClientLifecycleEventsTest.java diff --git a/1.8.9/legacy-fabric-lifecycle-events-v1/src/testmod/resources/fabric.mod.json b/legacy-fabric-lifecycle-events-v1/1.12.2/src/testmod/resources/fabric.mod.json similarity index 88% rename from 1.8.9/legacy-fabric-lifecycle-events-v1/src/testmod/resources/fabric.mod.json rename to legacy-fabric-lifecycle-events-v1/1.12.2/src/testmod/resources/fabric.mod.json index c82807101..e53297411 100644 --- a/1.8.9/legacy-fabric-lifecycle-events-v1/src/testmod/resources/fabric.mod.json +++ b/legacy-fabric-lifecycle-events-v1/1.12.2/src/testmod/resources/fabric.mod.json @@ -9,6 +9,6 @@ ] }, "depends": { - "minecraft": ">=1.8 <=1.8.9" + "minecraft": "${minecraft_version}" } } diff --git a/legacy-fabric-lifecycle-events-v1/1.7.10/build.gradle b/legacy-fabric-lifecycle-events-v1/1.7.10/build.gradle new file mode 100644 index 000000000..e69de29bb diff --git a/legacy-fabric-lifecycle-events-v1/1.7.10/gradle.properties b/legacy-fabric-lifecycle-events-v1/1.7.10/gradle.properties new file mode 100644 index 000000000..c6dcd9541 --- /dev/null +++ b/legacy-fabric-lifecycle-events-v1/1.7.10/gradle.properties @@ -0,0 +1,2 @@ +minVersionIncluded=1.3 +maxVersionIncluded=1.7.10 diff --git a/1.7.10/legacy-fabric-lifecycle-events-v1/src/main/java/net/legacyfabric/fabric/api/client/event/lifecycle/v1/ClientLifecycleEvents.java b/legacy-fabric-lifecycle-events-v1/1.7.10/src/main/java/net/legacyfabric/fabric/api/client/event/lifecycle/v1/ClientLifecycleEvents.java similarity index 100% rename from 1.7.10/legacy-fabric-lifecycle-events-v1/src/main/java/net/legacyfabric/fabric/api/client/event/lifecycle/v1/ClientLifecycleEvents.java rename to legacy-fabric-lifecycle-events-v1/1.7.10/src/main/java/net/legacyfabric/fabric/api/client/event/lifecycle/v1/ClientLifecycleEvents.java diff --git a/1.7.10/legacy-fabric-lifecycle-events-v1/src/main/java/net/legacyfabric/fabric/api/client/event/lifecycle/v1/ClientTickEvents.java b/legacy-fabric-lifecycle-events-v1/1.7.10/src/main/java/net/legacyfabric/fabric/api/client/event/lifecycle/v1/ClientTickEvents.java similarity index 100% rename from 1.7.10/legacy-fabric-lifecycle-events-v1/src/main/java/net/legacyfabric/fabric/api/client/event/lifecycle/v1/ClientTickEvents.java rename to legacy-fabric-lifecycle-events-v1/1.7.10/src/main/java/net/legacyfabric/fabric/api/client/event/lifecycle/v1/ClientTickEvents.java diff --git a/1.7.10/legacy-fabric-lifecycle-events-v1/src/main/java/net/legacyfabric/fabric/mixin/event/lifecycle/MinecraftServerMixin.java b/legacy-fabric-lifecycle-events-v1/1.7.10/src/main/java/net/legacyfabric/fabric/mixin/event/lifecycle/MinecraftServerMixin.java similarity index 100% rename from 1.7.10/legacy-fabric-lifecycle-events-v1/src/main/java/net/legacyfabric/fabric/mixin/event/lifecycle/MinecraftServerMixin.java rename to legacy-fabric-lifecycle-events-v1/1.7.10/src/main/java/net/legacyfabric/fabric/mixin/event/lifecycle/MinecraftServerMixin.java diff --git a/1.7.10/legacy-fabric-lifecycle-events-v1/src/main/java/net/legacyfabric/fabric/mixin/event/lifecycle/ServerChunkProviderMixin.java b/legacy-fabric-lifecycle-events-v1/1.7.10/src/main/java/net/legacyfabric/fabric/mixin/event/lifecycle/ServerChunkProviderMixin.java similarity index 100% rename from 1.7.10/legacy-fabric-lifecycle-events-v1/src/main/java/net/legacyfabric/fabric/mixin/event/lifecycle/ServerChunkProviderMixin.java rename to legacy-fabric-lifecycle-events-v1/1.7.10/src/main/java/net/legacyfabric/fabric/mixin/event/lifecycle/ServerChunkProviderMixin.java diff --git a/1.7.10/legacy-fabric-lifecycle-events-v1/src/main/java/net/legacyfabric/fabric/mixin/event/lifecycle/ServerWorldMixin.java b/legacy-fabric-lifecycle-events-v1/1.7.10/src/main/java/net/legacyfabric/fabric/mixin/event/lifecycle/ServerWorldMixin.java similarity index 100% rename from 1.7.10/legacy-fabric-lifecycle-events-v1/src/main/java/net/legacyfabric/fabric/mixin/event/lifecycle/ServerWorldMixin.java rename to legacy-fabric-lifecycle-events-v1/1.7.10/src/main/java/net/legacyfabric/fabric/mixin/event/lifecycle/ServerWorldMixin.java diff --git a/1.7.10/legacy-fabric-lifecycle-events-v1/src/main/java/net/legacyfabric/fabric/mixin/event/lifecycle/client/ClientChunkProviderMixin.java b/legacy-fabric-lifecycle-events-v1/1.7.10/src/main/java/net/legacyfabric/fabric/mixin/event/lifecycle/client/ClientChunkProviderMixin.java similarity index 100% rename from 1.7.10/legacy-fabric-lifecycle-events-v1/src/main/java/net/legacyfabric/fabric/mixin/event/lifecycle/client/ClientChunkProviderMixin.java rename to legacy-fabric-lifecycle-events-v1/1.7.10/src/main/java/net/legacyfabric/fabric/mixin/event/lifecycle/client/ClientChunkProviderMixin.java diff --git a/1.7.10/legacy-fabric-lifecycle-events-v1/src/main/java/net/legacyfabric/fabric/mixin/event/lifecycle/client/ClientWorldMixin.java b/legacy-fabric-lifecycle-events-v1/1.7.10/src/main/java/net/legacyfabric/fabric/mixin/event/lifecycle/client/ClientWorldMixin.java similarity index 100% rename from 1.7.10/legacy-fabric-lifecycle-events-v1/src/main/java/net/legacyfabric/fabric/mixin/event/lifecycle/client/ClientWorldMixin.java rename to legacy-fabric-lifecycle-events-v1/1.7.10/src/main/java/net/legacyfabric/fabric/mixin/event/lifecycle/client/ClientWorldMixin.java diff --git a/1.7.10/legacy-fabric-lifecycle-events-v1/src/main/java/net/legacyfabric/fabric/mixin/event/lifecycle/client/MinecraftClientMixin.java b/legacy-fabric-lifecycle-events-v1/1.7.10/src/main/java/net/legacyfabric/fabric/mixin/event/lifecycle/client/MinecraftClientMixin.java similarity index 100% rename from 1.7.10/legacy-fabric-lifecycle-events-v1/src/main/java/net/legacyfabric/fabric/mixin/event/lifecycle/client/MinecraftClientMixin.java rename to legacy-fabric-lifecycle-events-v1/1.7.10/src/main/java/net/legacyfabric/fabric/mixin/event/lifecycle/client/MinecraftClientMixin.java diff --git a/1.7.10/legacy-fabric-lifecycle-events-v1/src/main/resources/assets/legacy-fabric/icon.png b/legacy-fabric-lifecycle-events-v1/1.7.10/src/main/resources/assets/legacy-fabric/icon.png similarity index 100% rename from 1.7.10/legacy-fabric-lifecycle-events-v1/src/main/resources/assets/legacy-fabric/icon.png rename to legacy-fabric-lifecycle-events-v1/1.7.10/src/main/resources/assets/legacy-fabric/icon.png diff --git a/1.12.2/legacy-fabric-lifecycle-events-v1/src/main/resources/fabric.mod.json b/legacy-fabric-lifecycle-events-v1/1.7.10/src/main/resources/fabric.mod.json similarity index 96% rename from 1.12.2/legacy-fabric-lifecycle-events-v1/src/main/resources/fabric.mod.json rename to legacy-fabric-lifecycle-events-v1/1.7.10/src/main/resources/fabric.mod.json index 143b90543..f8b664e41 100644 --- a/1.12.2/legacy-fabric-lifecycle-events-v1/src/main/resources/fabric.mod.json +++ b/legacy-fabric-lifecycle-events-v1/1.7.10/src/main/resources/fabric.mod.json @@ -20,7 +20,7 @@ ], "description": "Events for the game's lifecycle.", "depends": { - "minecraft": ">1.8.9 <=1.12.2" + "minecraft": "${minecraft_version}" }, "custom": { "modmenu": { diff --git a/1.7.10/legacy-fabric-lifecycle-events-v1/src/main/resources/legacy-fabric-lifecycle-events-v1.mixins.json b/legacy-fabric-lifecycle-events-v1/1.7.10/src/main/resources/legacy-fabric-lifecycle-events-v1.mixins.json similarity index 100% rename from 1.7.10/legacy-fabric-lifecycle-events-v1/src/main/resources/legacy-fabric-lifecycle-events-v1.mixins.json rename to legacy-fabric-lifecycle-events-v1/1.7.10/src/main/resources/legacy-fabric-lifecycle-events-v1.mixins.json diff --git a/1.7.10/legacy-fabric-lifecycle-events-v1/src/testmod/java/net/legacyfabric/fabric/test/lifecycle/client/ClientLifecycleEventsTest.java b/legacy-fabric-lifecycle-events-v1/1.7.10/src/testmod/java/net/legacyfabric/fabric/test/lifecycle/client/ClientLifecycleEventsTest.java similarity index 100% rename from 1.7.10/legacy-fabric-lifecycle-events-v1/src/testmod/java/net/legacyfabric/fabric/test/lifecycle/client/ClientLifecycleEventsTest.java rename to legacy-fabric-lifecycle-events-v1/1.7.10/src/testmod/java/net/legacyfabric/fabric/test/lifecycle/client/ClientLifecycleEventsTest.java diff --git a/1.12.2/legacy-fabric-lifecycle-events-v1/src/testmod/resources/fabric.mod.json b/legacy-fabric-lifecycle-events-v1/1.7.10/src/testmod/resources/fabric.mod.json similarity index 88% rename from 1.12.2/legacy-fabric-lifecycle-events-v1/src/testmod/resources/fabric.mod.json rename to legacy-fabric-lifecycle-events-v1/1.7.10/src/testmod/resources/fabric.mod.json index d49f08be8..e53297411 100644 --- a/1.12.2/legacy-fabric-lifecycle-events-v1/src/testmod/resources/fabric.mod.json +++ b/legacy-fabric-lifecycle-events-v1/1.7.10/src/testmod/resources/fabric.mod.json @@ -9,6 +9,6 @@ ] }, "depends": { - "minecraft": ">1.8.9 <=1.12.2" + "minecraft": "${minecraft_version}" } } diff --git a/legacy-fabric-lifecycle-events-v1/1.8.9/build.gradle b/legacy-fabric-lifecycle-events-v1/1.8.9/build.gradle new file mode 100644 index 000000000..e69de29bb diff --git a/legacy-fabric-lifecycle-events-v1/1.8.9/gradle.properties b/legacy-fabric-lifecycle-events-v1/1.8.9/gradle.properties new file mode 100644 index 000000000..9056fbd37 --- /dev/null +++ b/legacy-fabric-lifecycle-events-v1/1.8.9/gradle.properties @@ -0,0 +1,2 @@ +minVersionIncluded=1.8 +maxVersionIncluded=1.8.9 diff --git a/1.8.9/legacy-fabric-lifecycle-events-v1/src/main/java/net/legacyfabric/fabric/api/client/event/lifecycle/v1/ClientLifecycleEvents.java b/legacy-fabric-lifecycle-events-v1/1.8.9/src/main/java/net/legacyfabric/fabric/api/client/event/lifecycle/v1/ClientLifecycleEvents.java similarity index 100% rename from 1.8.9/legacy-fabric-lifecycle-events-v1/src/main/java/net/legacyfabric/fabric/api/client/event/lifecycle/v1/ClientLifecycleEvents.java rename to legacy-fabric-lifecycle-events-v1/1.8.9/src/main/java/net/legacyfabric/fabric/api/client/event/lifecycle/v1/ClientLifecycleEvents.java diff --git a/1.8.9/legacy-fabric-lifecycle-events-v1/src/main/java/net/legacyfabric/fabric/api/client/event/lifecycle/v1/ClientTickEvents.java b/legacy-fabric-lifecycle-events-v1/1.8.9/src/main/java/net/legacyfabric/fabric/api/client/event/lifecycle/v1/ClientTickEvents.java similarity index 100% rename from 1.8.9/legacy-fabric-lifecycle-events-v1/src/main/java/net/legacyfabric/fabric/api/client/event/lifecycle/v1/ClientTickEvents.java rename to legacy-fabric-lifecycle-events-v1/1.8.9/src/main/java/net/legacyfabric/fabric/api/client/event/lifecycle/v1/ClientTickEvents.java diff --git a/1.8.9/legacy-fabric-lifecycle-events-v1/src/main/java/net/legacyfabric/fabric/mixin/event/lifecycle/MinecraftServerMixin.java b/legacy-fabric-lifecycle-events-v1/1.8.9/src/main/java/net/legacyfabric/fabric/mixin/event/lifecycle/MinecraftServerMixin.java similarity index 100% rename from 1.8.9/legacy-fabric-lifecycle-events-v1/src/main/java/net/legacyfabric/fabric/mixin/event/lifecycle/MinecraftServerMixin.java rename to legacy-fabric-lifecycle-events-v1/1.8.9/src/main/java/net/legacyfabric/fabric/mixin/event/lifecycle/MinecraftServerMixin.java diff --git a/1.8.9/legacy-fabric-lifecycle-events-v1/src/main/java/net/legacyfabric/fabric/mixin/event/lifecycle/ServerChunkProviderMixin.java b/legacy-fabric-lifecycle-events-v1/1.8.9/src/main/java/net/legacyfabric/fabric/mixin/event/lifecycle/ServerChunkProviderMixin.java similarity index 100% rename from 1.8.9/legacy-fabric-lifecycle-events-v1/src/main/java/net/legacyfabric/fabric/mixin/event/lifecycle/ServerChunkProviderMixin.java rename to legacy-fabric-lifecycle-events-v1/1.8.9/src/main/java/net/legacyfabric/fabric/mixin/event/lifecycle/ServerChunkProviderMixin.java diff --git a/1.8.9/legacy-fabric-lifecycle-events-v1/src/main/java/net/legacyfabric/fabric/mixin/event/lifecycle/ServerWorldMixin.java b/legacy-fabric-lifecycle-events-v1/1.8.9/src/main/java/net/legacyfabric/fabric/mixin/event/lifecycle/ServerWorldMixin.java similarity index 100% rename from 1.8.9/legacy-fabric-lifecycle-events-v1/src/main/java/net/legacyfabric/fabric/mixin/event/lifecycle/ServerWorldMixin.java rename to legacy-fabric-lifecycle-events-v1/1.8.9/src/main/java/net/legacyfabric/fabric/mixin/event/lifecycle/ServerWorldMixin.java diff --git a/1.8.9/legacy-fabric-lifecycle-events-v1/src/main/java/net/legacyfabric/fabric/mixin/event/lifecycle/client/ClientChunkProviderMixin.java b/legacy-fabric-lifecycle-events-v1/1.8.9/src/main/java/net/legacyfabric/fabric/mixin/event/lifecycle/client/ClientChunkProviderMixin.java similarity index 100% rename from 1.8.9/legacy-fabric-lifecycle-events-v1/src/main/java/net/legacyfabric/fabric/mixin/event/lifecycle/client/ClientChunkProviderMixin.java rename to legacy-fabric-lifecycle-events-v1/1.8.9/src/main/java/net/legacyfabric/fabric/mixin/event/lifecycle/client/ClientChunkProviderMixin.java diff --git a/1.8.9/legacy-fabric-lifecycle-events-v1/src/main/java/net/legacyfabric/fabric/mixin/event/lifecycle/client/ClientWorldMixin.java b/legacy-fabric-lifecycle-events-v1/1.8.9/src/main/java/net/legacyfabric/fabric/mixin/event/lifecycle/client/ClientWorldMixin.java similarity index 100% rename from 1.8.9/legacy-fabric-lifecycle-events-v1/src/main/java/net/legacyfabric/fabric/mixin/event/lifecycle/client/ClientWorldMixin.java rename to legacy-fabric-lifecycle-events-v1/1.8.9/src/main/java/net/legacyfabric/fabric/mixin/event/lifecycle/client/ClientWorldMixin.java diff --git a/1.8.9/legacy-fabric-lifecycle-events-v1/src/main/java/net/legacyfabric/fabric/mixin/event/lifecycle/client/MinecraftClientMixin.java b/legacy-fabric-lifecycle-events-v1/1.8.9/src/main/java/net/legacyfabric/fabric/mixin/event/lifecycle/client/MinecraftClientMixin.java similarity index 100% rename from 1.8.9/legacy-fabric-lifecycle-events-v1/src/main/java/net/legacyfabric/fabric/mixin/event/lifecycle/client/MinecraftClientMixin.java rename to legacy-fabric-lifecycle-events-v1/1.8.9/src/main/java/net/legacyfabric/fabric/mixin/event/lifecycle/client/MinecraftClientMixin.java diff --git a/1.8.9/legacy-fabric-lifecycle-events-v1/src/main/resources/assets/legacy-fabric/icon.png b/legacy-fabric-lifecycle-events-v1/1.8.9/src/main/resources/assets/legacy-fabric/icon.png similarity index 100% rename from 1.8.9/legacy-fabric-lifecycle-events-v1/src/main/resources/assets/legacy-fabric/icon.png rename to legacy-fabric-lifecycle-events-v1/1.8.9/src/main/resources/assets/legacy-fabric/icon.png diff --git a/1.8.9/legacy-fabric-lifecycle-events-v1/src/main/resources/fabric.mod.json b/legacy-fabric-lifecycle-events-v1/1.8.9/src/main/resources/fabric.mod.json similarity index 96% rename from 1.8.9/legacy-fabric-lifecycle-events-v1/src/main/resources/fabric.mod.json rename to legacy-fabric-lifecycle-events-v1/1.8.9/src/main/resources/fabric.mod.json index 5844e766a..f8b664e41 100644 --- a/1.8.9/legacy-fabric-lifecycle-events-v1/src/main/resources/fabric.mod.json +++ b/legacy-fabric-lifecycle-events-v1/1.8.9/src/main/resources/fabric.mod.json @@ -20,7 +20,7 @@ ], "description": "Events for the game's lifecycle.", "depends": { - "minecraft": ">=1.8 <=1.8.9" + "minecraft": "${minecraft_version}" }, "custom": { "modmenu": { diff --git a/1.8.9/legacy-fabric-lifecycle-events-v1/src/main/resources/legacy-fabric-lifecycle-events-v1.mixins.json b/legacy-fabric-lifecycle-events-v1/1.8.9/src/main/resources/legacy-fabric-lifecycle-events-v1.mixins.json similarity index 100% rename from 1.8.9/legacy-fabric-lifecycle-events-v1/src/main/resources/legacy-fabric-lifecycle-events-v1.mixins.json rename to legacy-fabric-lifecycle-events-v1/1.8.9/src/main/resources/legacy-fabric-lifecycle-events-v1.mixins.json diff --git a/1.8.9/legacy-fabric-lifecycle-events-v1/src/testmod/java/net/legacyfabric/fabric/test/lifecycle/client/ClientLifecycleEventsTest.java b/legacy-fabric-lifecycle-events-v1/1.8.9/src/testmod/java/net/legacyfabric/fabric/test/lifecycle/client/ClientLifecycleEventsTest.java similarity index 100% rename from 1.8.9/legacy-fabric-lifecycle-events-v1/src/testmod/java/net/legacyfabric/fabric/test/lifecycle/client/ClientLifecycleEventsTest.java rename to legacy-fabric-lifecycle-events-v1/1.8.9/src/testmod/java/net/legacyfabric/fabric/test/lifecycle/client/ClientLifecycleEventsTest.java diff --git a/1.7.10/legacy-fabric-lifecycle-events-v1/src/testmod/resources/fabric.mod.json b/legacy-fabric-lifecycle-events-v1/1.8.9/src/testmod/resources/fabric.mod.json similarity index 88% rename from 1.7.10/legacy-fabric-lifecycle-events-v1/src/testmod/resources/fabric.mod.json rename to legacy-fabric-lifecycle-events-v1/1.8.9/src/testmod/resources/fabric.mod.json index 1eab77d98..e53297411 100644 --- a/1.7.10/legacy-fabric-lifecycle-events-v1/src/testmod/resources/fabric.mod.json +++ b/legacy-fabric-lifecycle-events-v1/1.8.9/src/testmod/resources/fabric.mod.json @@ -9,6 +9,6 @@ ] }, "depends": { - "minecraft": "<=1.7.10" + "minecraft": "${minecraft_version}" } } diff --git a/legacy-fabric-lifecycle-events-v1/common.gradle b/legacy-fabric-lifecycle-events-v1/common.gradle new file mode 100644 index 000000000..f7bb5a4dd --- /dev/null +++ b/legacy-fabric-lifecycle-events-v1/common.gradle @@ -0,0 +1,3 @@ +moduleDependencies(project, [ + "legacy-fabric-api-base" +]) diff --git a/legacy-fabric-lifecycle-events-v1/common/build.gradle b/legacy-fabric-lifecycle-events-v1/common/build.gradle new file mode 100644 index 000000000..e69de29bb diff --git a/legacy-fabric-lifecycle-events-v1/common/gradle.properties b/legacy-fabric-lifecycle-events-v1/common/gradle.properties new file mode 100644 index 000000000..13b94f3a1 --- /dev/null +++ b/legacy-fabric-lifecycle-events-v1/common/gradle.properties @@ -0,0 +1,2 @@ +minVersionIncluded=1.3 +maxVersionIncluded=1.13.2 diff --git a/common/legacy-fabric-lifecycle-events-v1-common/src/main/java/net/legacyfabric/fabric/api/client/event/lifecycle/v1/ClientChunkEvents.java b/legacy-fabric-lifecycle-events-v1/common/src/main/java/net/legacyfabric/fabric/api/client/event/lifecycle/v1/ClientChunkEvents.java similarity index 100% rename from common/legacy-fabric-lifecycle-events-v1-common/src/main/java/net/legacyfabric/fabric/api/client/event/lifecycle/v1/ClientChunkEvents.java rename to legacy-fabric-lifecycle-events-v1/common/src/main/java/net/legacyfabric/fabric/api/client/event/lifecycle/v1/ClientChunkEvents.java diff --git a/common/legacy-fabric-lifecycle-events-v1-common/src/main/java/net/legacyfabric/fabric/api/client/event/lifecycle/v1/ClientEntityEvents.java b/legacy-fabric-lifecycle-events-v1/common/src/main/java/net/legacyfabric/fabric/api/client/event/lifecycle/v1/ClientEntityEvents.java similarity index 100% rename from common/legacy-fabric-lifecycle-events-v1-common/src/main/java/net/legacyfabric/fabric/api/client/event/lifecycle/v1/ClientEntityEvents.java rename to legacy-fabric-lifecycle-events-v1/common/src/main/java/net/legacyfabric/fabric/api/client/event/lifecycle/v1/ClientEntityEvents.java diff --git a/common/legacy-fabric-lifecycle-events-v1-common/src/main/java/net/legacyfabric/fabric/api/event/lifecycle/v1/ServerChunkEvents.java b/legacy-fabric-lifecycle-events-v1/common/src/main/java/net/legacyfabric/fabric/api/event/lifecycle/v1/ServerChunkEvents.java similarity index 100% rename from common/legacy-fabric-lifecycle-events-v1-common/src/main/java/net/legacyfabric/fabric/api/event/lifecycle/v1/ServerChunkEvents.java rename to legacy-fabric-lifecycle-events-v1/common/src/main/java/net/legacyfabric/fabric/api/event/lifecycle/v1/ServerChunkEvents.java diff --git a/common/legacy-fabric-lifecycle-events-v1-common/src/main/java/net/legacyfabric/fabric/api/event/lifecycle/v1/ServerEntityEvents.java b/legacy-fabric-lifecycle-events-v1/common/src/main/java/net/legacyfabric/fabric/api/event/lifecycle/v1/ServerEntityEvents.java similarity index 100% rename from common/legacy-fabric-lifecycle-events-v1-common/src/main/java/net/legacyfabric/fabric/api/event/lifecycle/v1/ServerEntityEvents.java rename to legacy-fabric-lifecycle-events-v1/common/src/main/java/net/legacyfabric/fabric/api/event/lifecycle/v1/ServerEntityEvents.java diff --git a/common/legacy-fabric-lifecycle-events-v1-common/src/main/java/net/legacyfabric/fabric/api/event/lifecycle/v1/ServerLifecycleEvents.java b/legacy-fabric-lifecycle-events-v1/common/src/main/java/net/legacyfabric/fabric/api/event/lifecycle/v1/ServerLifecycleEvents.java similarity index 100% rename from common/legacy-fabric-lifecycle-events-v1-common/src/main/java/net/legacyfabric/fabric/api/event/lifecycle/v1/ServerLifecycleEvents.java rename to legacy-fabric-lifecycle-events-v1/common/src/main/java/net/legacyfabric/fabric/api/event/lifecycle/v1/ServerLifecycleEvents.java diff --git a/common/legacy-fabric-lifecycle-events-v1-common/src/main/java/net/legacyfabric/fabric/api/event/lifecycle/v1/ServerTickEvents.java b/legacy-fabric-lifecycle-events-v1/common/src/main/java/net/legacyfabric/fabric/api/event/lifecycle/v1/ServerTickEvents.java similarity index 100% rename from common/legacy-fabric-lifecycle-events-v1-common/src/main/java/net/legacyfabric/fabric/api/event/lifecycle/v1/ServerTickEvents.java rename to legacy-fabric-lifecycle-events-v1/common/src/main/java/net/legacyfabric/fabric/api/event/lifecycle/v1/ServerTickEvents.java diff --git a/common/legacy-fabric-lifecycle-events-v1-common/src/main/java/net/legacyfabric/fabric/api/event/lifecycle/v1/ServerWorldEvents.java b/legacy-fabric-lifecycle-events-v1/common/src/main/java/net/legacyfabric/fabric/api/event/lifecycle/v1/ServerWorldEvents.java similarity index 100% rename from common/legacy-fabric-lifecycle-events-v1-common/src/main/java/net/legacyfabric/fabric/api/event/lifecycle/v1/ServerWorldEvents.java rename to legacy-fabric-lifecycle-events-v1/common/src/main/java/net/legacyfabric/fabric/api/event/lifecycle/v1/ServerWorldEvents.java diff --git a/common/legacy-fabric-lifecycle-events-v1-common/src/main/resources/assets/legacy-fabric/icon.png b/legacy-fabric-lifecycle-events-v1/common/src/main/resources/assets/legacy-fabric/icon.png similarity index 100% rename from common/legacy-fabric-lifecycle-events-v1-common/src/main/resources/assets/legacy-fabric/icon.png rename to legacy-fabric-lifecycle-events-v1/common/src/main/resources/assets/legacy-fabric/icon.png diff --git a/common/legacy-fabric-lifecycle-events-v1-common/src/main/resources/fabric.mod.json b/legacy-fabric-lifecycle-events-v1/common/src/main/resources/fabric.mod.json similarity index 100% rename from common/legacy-fabric-lifecycle-events-v1-common/src/main/resources/fabric.mod.json rename to legacy-fabric-lifecycle-events-v1/common/src/main/resources/fabric.mod.json diff --git a/common/legacy-fabric-lifecycle-events-v1-common/src/testmod/java/net/legacyfabric/fabric/test/lifecycle/ServerLifecycleEventsTest.java b/legacy-fabric-lifecycle-events-v1/common/src/testmod/java/net/legacyfabric/fabric/test/lifecycle/ServerLifecycleEventsTest.java similarity index 100% rename from common/legacy-fabric-lifecycle-events-v1-common/src/testmod/java/net/legacyfabric/fabric/test/lifecycle/ServerLifecycleEventsTest.java rename to legacy-fabric-lifecycle-events-v1/common/src/testmod/java/net/legacyfabric/fabric/test/lifecycle/ServerLifecycleEventsTest.java diff --git a/common/legacy-fabric-lifecycle-events-v1-common/src/testmod/java/net/legacyfabric/fabric/test/lifecycle/client/ClientLifecycleEventsCommonTest.java b/legacy-fabric-lifecycle-events-v1/common/src/testmod/java/net/legacyfabric/fabric/test/lifecycle/client/ClientLifecycleEventsCommonTest.java similarity index 100% rename from common/legacy-fabric-lifecycle-events-v1-common/src/testmod/java/net/legacyfabric/fabric/test/lifecycle/client/ClientLifecycleEventsCommonTest.java rename to legacy-fabric-lifecycle-events-v1/common/src/testmod/java/net/legacyfabric/fabric/test/lifecycle/client/ClientLifecycleEventsCommonTest.java diff --git a/common/legacy-fabric-lifecycle-events-v1-common/src/testmod/resources/fabric.mod.json b/legacy-fabric-lifecycle-events-v1/common/src/testmod/resources/fabric.mod.json similarity index 100% rename from common/legacy-fabric-lifecycle-events-v1-common/src/testmod/resources/fabric.mod.json rename to legacy-fabric-lifecycle-events-v1/common/src/testmod/resources/fabric.mod.json diff --git a/settings.gradle b/settings.gradle index 385472030..c6de929b1 100644 --- a/settings.gradle +++ b/settings.gradle @@ -28,6 +28,7 @@ def loadProject(String path) { loadProject("legacy-fabric-api-base") loadProject("legacy-fabric-logger-api-v1") loadProject("legacy-fabric-resource-loader-v1") +loadProject("legacy-fabric-lifecycle-events-v1") //include("common") //include("common:legacy-fabric-logger-api-v1") From 1a620e2d11a639af0da3dcf880a88728d89f7bf6 Mon Sep 17 00:00:00 2001 From: Cat Core Date: Thu, 8 Feb 2024 10:37:10 +0100 Subject: [PATCH 07/27] Fix common modules depending on non common modules too --- build.gradle | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/build.gradle b/build.gradle index c303a742d..cc0672eb2 100644 --- a/build.gradle +++ b/build.gradle @@ -153,6 +153,8 @@ def moduleDependencies(Project project, List projectNames) { def projectMCVersion = VersionHelper.parseVersion(getMCVersion(project)) + def isCommon = project.name.endsWith("_common") + rootProject.subprojects { def subProjectName = getProjectSimpleName(it) @@ -163,12 +165,14 @@ def moduleDependencies(Project project, List projectNames) { } } - if (!project.name.endsWith("_common")) { + if (!isCommon) { def commonProject = findProject(":${getProjectSimpleName(project)}_common") if (commonProject != null) { depNames.add(0, commonProject.name) } + } else { + depNames.removeIf { !it.endsWith("_common")} } def deps = depNames.iterator().collect { project.dependencies.project(path: ":$it", configuration: "namedElements") } From 8282312afeddaa9da20a365c06c3a17f29bfd0b4 Mon Sep 17 00:00:00 2001 From: Cat Core Date: Thu, 8 Feb 2024 10:38:13 +0100 Subject: [PATCH 08/27] Port legacy-fabric-command-api-v1 --- common/legacy-fabric-command-api-v1/build.gradle | 8 -------- legacy-fabric-command-api-v1/common.gradle | 4 ++++ legacy-fabric-command-api-v1/common/build.gradle | 0 .../common/gradle.properties | 2 ++ .../fabric/api/command/CommandSide.java | 0 .../fabric/api/registry/CommandRegistry.java | 0 .../fabric/impl/command/CommandInitializer.java | 0 .../fabric/impl/command/CommandRegistryImpl.java | 0 .../main/resources/assets/legacy-fabric/icon.png | Bin .../common}/src/main/resources/fabric.mod.json | 2 +- settings.gradle | 1 + 11 files changed, 8 insertions(+), 9 deletions(-) delete mode 100644 common/legacy-fabric-command-api-v1/build.gradle create mode 100644 legacy-fabric-command-api-v1/common.gradle create mode 100644 legacy-fabric-command-api-v1/common/build.gradle create mode 100644 legacy-fabric-command-api-v1/common/gradle.properties rename {common/legacy-fabric-command-api-v1 => legacy-fabric-command-api-v1/common}/src/main/java/net/legacyfabric/fabric/api/command/CommandSide.java (100%) rename {common/legacy-fabric-command-api-v1 => legacy-fabric-command-api-v1/common}/src/main/java/net/legacyfabric/fabric/api/registry/CommandRegistry.java (100%) rename {common/legacy-fabric-command-api-v1 => legacy-fabric-command-api-v1/common}/src/main/java/net/legacyfabric/fabric/impl/command/CommandInitializer.java (100%) rename {common/legacy-fabric-command-api-v1 => legacy-fabric-command-api-v1/common}/src/main/java/net/legacyfabric/fabric/impl/command/CommandRegistryImpl.java (100%) rename {common/legacy-fabric-command-api-v1 => legacy-fabric-command-api-v1/common}/src/main/resources/assets/legacy-fabric/icon.png (100%) rename {common/legacy-fabric-command-api-v1 => legacy-fabric-command-api-v1/common}/src/main/resources/fabric.mod.json (96%) diff --git a/common/legacy-fabric-command-api-v1/build.gradle b/common/legacy-fabric-command-api-v1/build.gradle deleted file mode 100644 index 204e91307..000000000 --- a/common/legacy-fabric-command-api-v1/build.gradle +++ /dev/null @@ -1,8 +0,0 @@ -version = getSubprojectVersion(project) - -moduleDependencies(project, [ - "common": [ - "legacy-fabric-api-base-common", - "legacy-fabric-lifecycle-events-v1-common" - ] -]) diff --git a/legacy-fabric-command-api-v1/common.gradle b/legacy-fabric-command-api-v1/common.gradle new file mode 100644 index 000000000..28cd8d384 --- /dev/null +++ b/legacy-fabric-command-api-v1/common.gradle @@ -0,0 +1,4 @@ +moduleDependencies(project, [ + "legacy-fabric-api-base", + "legacy-fabric-lifecycle-events-v1" +]) diff --git a/legacy-fabric-command-api-v1/common/build.gradle b/legacy-fabric-command-api-v1/common/build.gradle new file mode 100644 index 000000000..e69de29bb diff --git a/legacy-fabric-command-api-v1/common/gradle.properties b/legacy-fabric-command-api-v1/common/gradle.properties new file mode 100644 index 000000000..44fc6796f --- /dev/null +++ b/legacy-fabric-command-api-v1/common/gradle.properties @@ -0,0 +1,2 @@ +maxVersionIncluded=1.12.2 +artifactSuffix= diff --git a/common/legacy-fabric-command-api-v1/src/main/java/net/legacyfabric/fabric/api/command/CommandSide.java b/legacy-fabric-command-api-v1/common/src/main/java/net/legacyfabric/fabric/api/command/CommandSide.java similarity index 100% rename from common/legacy-fabric-command-api-v1/src/main/java/net/legacyfabric/fabric/api/command/CommandSide.java rename to legacy-fabric-command-api-v1/common/src/main/java/net/legacyfabric/fabric/api/command/CommandSide.java diff --git a/common/legacy-fabric-command-api-v1/src/main/java/net/legacyfabric/fabric/api/registry/CommandRegistry.java b/legacy-fabric-command-api-v1/common/src/main/java/net/legacyfabric/fabric/api/registry/CommandRegistry.java similarity index 100% rename from common/legacy-fabric-command-api-v1/src/main/java/net/legacyfabric/fabric/api/registry/CommandRegistry.java rename to legacy-fabric-command-api-v1/common/src/main/java/net/legacyfabric/fabric/api/registry/CommandRegistry.java diff --git a/common/legacy-fabric-command-api-v1/src/main/java/net/legacyfabric/fabric/impl/command/CommandInitializer.java b/legacy-fabric-command-api-v1/common/src/main/java/net/legacyfabric/fabric/impl/command/CommandInitializer.java similarity index 100% rename from common/legacy-fabric-command-api-v1/src/main/java/net/legacyfabric/fabric/impl/command/CommandInitializer.java rename to legacy-fabric-command-api-v1/common/src/main/java/net/legacyfabric/fabric/impl/command/CommandInitializer.java diff --git a/common/legacy-fabric-command-api-v1/src/main/java/net/legacyfabric/fabric/impl/command/CommandRegistryImpl.java b/legacy-fabric-command-api-v1/common/src/main/java/net/legacyfabric/fabric/impl/command/CommandRegistryImpl.java similarity index 100% rename from common/legacy-fabric-command-api-v1/src/main/java/net/legacyfabric/fabric/impl/command/CommandRegistryImpl.java rename to legacy-fabric-command-api-v1/common/src/main/java/net/legacyfabric/fabric/impl/command/CommandRegistryImpl.java diff --git a/common/legacy-fabric-command-api-v1/src/main/resources/assets/legacy-fabric/icon.png b/legacy-fabric-command-api-v1/common/src/main/resources/assets/legacy-fabric/icon.png similarity index 100% rename from common/legacy-fabric-command-api-v1/src/main/resources/assets/legacy-fabric/icon.png rename to legacy-fabric-command-api-v1/common/src/main/resources/assets/legacy-fabric/icon.png diff --git a/common/legacy-fabric-command-api-v1/src/main/resources/fabric.mod.json b/legacy-fabric-command-api-v1/common/src/main/resources/fabric.mod.json similarity index 96% rename from common/legacy-fabric-command-api-v1/src/main/resources/fabric.mod.json rename to legacy-fabric-command-api-v1/common/src/main/resources/fabric.mod.json index b9a39ebf8..5611e7bde 100644 --- a/common/legacy-fabric-command-api-v1/src/main/resources/fabric.mod.json +++ b/legacy-fabric-command-api-v1/common/src/main/resources/fabric.mod.json @@ -22,7 +22,7 @@ ], "description": "Adds command-related hooks.", "depends": { - "minecraft": "<=1.12.2" + "minecraft": "${minecraft_version}" }, "custom": { "modmenu": { diff --git a/settings.gradle b/settings.gradle index c6de929b1..1d2ac8ca1 100644 --- a/settings.gradle +++ b/settings.gradle @@ -29,6 +29,7 @@ loadProject("legacy-fabric-api-base") loadProject("legacy-fabric-logger-api-v1") loadProject("legacy-fabric-resource-loader-v1") loadProject("legacy-fabric-lifecycle-events-v1") +loadProject("legacy-fabric-command-api-v1") //include("common") //include("common:legacy-fabric-logger-api-v1") From e8ba551dc067187664eed963e414b391bffba11c Mon Sep 17 00:00:00 2001 From: Cat Core Date: Thu, 8 Feb 2024 10:44:32 +0100 Subject: [PATCH 09/27] Port legacy-fabric-entity-events-v1 --- 1.12.2/legacy-fabric-entity-events-v1/build.gradle | 8 -------- 1.8.9/legacy-fabric-entity-events-v1/build.gradle | 8 -------- 1.9.4/legacy-fabric-entity-events-v1/build.gradle | 8 -------- .../build.gradle | 7 ------- legacy-fabric-entity-events-v1/1.12.2/build.gradle | 0 .../1.12.2/gradle.properties | 2 ++ .../fabric/mixin/entity/event/EntityMixin.java | 0 .../mixin/entity/event/LivingEntityMixin.java | 0 .../mixin/entity/event/PlayerManagerMixin.java | 0 .../mixin/entity/event/ServerPlayerEntityMixin.java | 0 .../main/resources/assets/legacy-fabric/icon.png | Bin .../1.12.2}/src/main/resources/fabric.mod.json | 2 +- .../legacy-fabric-entity-events-v1.mixins.json | 0 .../fabric/test/entity/EntityEventsTest.java | 0 .../1.12.2}/src/testmod/resources/fabric.mod.json | 2 +- legacy-fabric-entity-events-v1/1.8.9/build.gradle | 0 .../1.8.9/gradle.properties | 2 ++ .../fabric/mixin/entity/event/EntityMixin.java | 0 .../mixin/entity/event/LivingEntityMixin.java | 0 .../mixin/entity/event/PlayerManagerMixin.java | 0 .../mixin/entity/event/ServerPlayerEntityMixin.java | 0 .../main/resources/assets/legacy-fabric/icon.png | Bin .../1.8.9}/src/main/resources/fabric.mod.json | 2 +- .../legacy-fabric-entity-events-v1.mixins.json | 0 .../fabric/test/entity/EntityEventsTest.java | 0 .../1.8.9}/src/testmod/resources/fabric.mod.json | 2 +- legacy-fabric-entity-events-v1/1.9.4/build.gradle | 0 .../1.9.4/gradle.properties | 2 ++ .../fabric/mixin/entity/event/EntityMixin.java | 0 .../mixin/entity/event/LivingEntityMixin.java | 0 .../mixin/entity/event/PlayerManagerMixin.java | 0 .../mixin/entity/event/ServerPlayerEntityMixin.java | 0 .../main/resources/assets/legacy-fabric/icon.png | Bin .../1.9.4}/src/main/resources/fabric.mod.json | 2 +- .../legacy-fabric-entity-events-v1.mixins.json | 0 .../fabric/test/entity/EntityEventsTest.java | 0 .../1.9.4}/src/testmod/resources/fabric.mod.json | 2 +- legacy-fabric-entity-events-v1/common.gradle | 3 +++ legacy-fabric-entity-events-v1/common/build.gradle | 0 .../common/gradle.properties | 2 ++ .../entity/event/v1/ServerEntityCombatEvents.java | 0 .../event/v1/ServerEntityWorldChangeEvents.java | 0 .../api/entity/event/v1/ServerPlayerEvents.java | 0 .../main/resources/assets/legacy-fabric/icon.png | Bin .../common}/src/main/resources/fabric.mod.json | 0 settings.gradle | 1 + 46 files changed, 18 insertions(+), 37 deletions(-) delete mode 100644 1.12.2/legacy-fabric-entity-events-v1/build.gradle delete mode 100644 1.8.9/legacy-fabric-entity-events-v1/build.gradle delete mode 100644 1.9.4/legacy-fabric-entity-events-v1/build.gradle delete mode 100644 common/legacy-fabric-entity-events-v1-common/build.gradle create mode 100644 legacy-fabric-entity-events-v1/1.12.2/build.gradle create mode 100644 legacy-fabric-entity-events-v1/1.12.2/gradle.properties rename {1.12.2/legacy-fabric-entity-events-v1 => legacy-fabric-entity-events-v1/1.12.2}/src/main/java/net/legacyfabric/fabric/mixin/entity/event/EntityMixin.java (100%) rename {1.12.2/legacy-fabric-entity-events-v1 => legacy-fabric-entity-events-v1/1.12.2}/src/main/java/net/legacyfabric/fabric/mixin/entity/event/LivingEntityMixin.java (100%) rename {1.12.2/legacy-fabric-entity-events-v1 => legacy-fabric-entity-events-v1/1.12.2}/src/main/java/net/legacyfabric/fabric/mixin/entity/event/PlayerManagerMixin.java (100%) rename {1.12.2/legacy-fabric-entity-events-v1 => legacy-fabric-entity-events-v1/1.12.2}/src/main/java/net/legacyfabric/fabric/mixin/entity/event/ServerPlayerEntityMixin.java (100%) rename {1.12.2/legacy-fabric-entity-events-v1 => legacy-fabric-entity-events-v1/1.12.2}/src/main/resources/assets/legacy-fabric/icon.png (100%) rename {1.8.9/legacy-fabric-entity-events-v1 => legacy-fabric-entity-events-v1/1.12.2}/src/main/resources/fabric.mod.json (96%) rename {1.12.2/legacy-fabric-entity-events-v1 => legacy-fabric-entity-events-v1/1.12.2}/src/main/resources/legacy-fabric-entity-events-v1.mixins.json (100%) rename {1.12.2/legacy-fabric-entity-events-v1 => legacy-fabric-entity-events-v1/1.12.2}/src/testmod/java/net/legacyfabric/fabric/test/entity/EntityEventsTest.java (100%) rename {1.9.4/legacy-fabric-entity-events-v1 => legacy-fabric-entity-events-v1/1.12.2}/src/testmod/resources/fabric.mod.json (86%) create mode 100644 legacy-fabric-entity-events-v1/1.8.9/build.gradle create mode 100644 legacy-fabric-entity-events-v1/1.8.9/gradle.properties rename {1.8.9/legacy-fabric-entity-events-v1 => legacy-fabric-entity-events-v1/1.8.9}/src/main/java/net/legacyfabric/fabric/mixin/entity/event/EntityMixin.java (100%) rename {1.8.9/legacy-fabric-entity-events-v1 => legacy-fabric-entity-events-v1/1.8.9}/src/main/java/net/legacyfabric/fabric/mixin/entity/event/LivingEntityMixin.java (100%) rename {1.8.9/legacy-fabric-entity-events-v1 => legacy-fabric-entity-events-v1/1.8.9}/src/main/java/net/legacyfabric/fabric/mixin/entity/event/PlayerManagerMixin.java (100%) rename {1.8.9/legacy-fabric-entity-events-v1 => legacy-fabric-entity-events-v1/1.8.9}/src/main/java/net/legacyfabric/fabric/mixin/entity/event/ServerPlayerEntityMixin.java (100%) rename {1.8.9/legacy-fabric-entity-events-v1 => legacy-fabric-entity-events-v1/1.8.9}/src/main/resources/assets/legacy-fabric/icon.png (100%) rename {1.12.2/legacy-fabric-entity-events-v1 => legacy-fabric-entity-events-v1/1.8.9}/src/main/resources/fabric.mod.json (96%) rename {1.8.9/legacy-fabric-entity-events-v1 => legacy-fabric-entity-events-v1/1.8.9}/src/main/resources/legacy-fabric-entity-events-v1.mixins.json (100%) rename {1.8.9/legacy-fabric-entity-events-v1 => legacy-fabric-entity-events-v1/1.8.9}/src/testmod/java/net/legacyfabric/fabric/test/entity/EntityEventsTest.java (100%) rename {1.12.2/legacy-fabric-entity-events-v1 => legacy-fabric-entity-events-v1/1.8.9}/src/testmod/resources/fabric.mod.json (86%) create mode 100644 legacy-fabric-entity-events-v1/1.9.4/build.gradle create mode 100644 legacy-fabric-entity-events-v1/1.9.4/gradle.properties rename {1.9.4/legacy-fabric-entity-events-v1 => legacy-fabric-entity-events-v1/1.9.4}/src/main/java/net/legacyfabric/fabric/mixin/entity/event/EntityMixin.java (100%) rename {1.9.4/legacy-fabric-entity-events-v1 => legacy-fabric-entity-events-v1/1.9.4}/src/main/java/net/legacyfabric/fabric/mixin/entity/event/LivingEntityMixin.java (100%) rename {1.9.4/legacy-fabric-entity-events-v1 => legacy-fabric-entity-events-v1/1.9.4}/src/main/java/net/legacyfabric/fabric/mixin/entity/event/PlayerManagerMixin.java (100%) rename {1.9.4/legacy-fabric-entity-events-v1 => legacy-fabric-entity-events-v1/1.9.4}/src/main/java/net/legacyfabric/fabric/mixin/entity/event/ServerPlayerEntityMixin.java (100%) rename {1.9.4/legacy-fabric-entity-events-v1 => legacy-fabric-entity-events-v1/1.9.4}/src/main/resources/assets/legacy-fabric/icon.png (100%) rename {1.9.4/legacy-fabric-entity-events-v1 => legacy-fabric-entity-events-v1/1.9.4}/src/main/resources/fabric.mod.json (96%) rename {1.9.4/legacy-fabric-entity-events-v1 => legacy-fabric-entity-events-v1/1.9.4}/src/main/resources/legacy-fabric-entity-events-v1.mixins.json (100%) rename {1.9.4/legacy-fabric-entity-events-v1 => legacy-fabric-entity-events-v1/1.9.4}/src/testmod/java/net/legacyfabric/fabric/test/entity/EntityEventsTest.java (100%) rename {1.8.9/legacy-fabric-entity-events-v1 => legacy-fabric-entity-events-v1/1.9.4}/src/testmod/resources/fabric.mod.json (86%) create mode 100644 legacy-fabric-entity-events-v1/common.gradle create mode 100644 legacy-fabric-entity-events-v1/common/build.gradle create mode 100644 legacy-fabric-entity-events-v1/common/gradle.properties rename {common/legacy-fabric-entity-events-v1-common => legacy-fabric-entity-events-v1/common}/src/main/java/net/legacyfabric/fabric/api/entity/event/v1/ServerEntityCombatEvents.java (100%) rename {common/legacy-fabric-entity-events-v1-common => legacy-fabric-entity-events-v1/common}/src/main/java/net/legacyfabric/fabric/api/entity/event/v1/ServerEntityWorldChangeEvents.java (100%) rename {common/legacy-fabric-entity-events-v1-common => legacy-fabric-entity-events-v1/common}/src/main/java/net/legacyfabric/fabric/api/entity/event/v1/ServerPlayerEvents.java (100%) rename {common/legacy-fabric-entity-events-v1-common => legacy-fabric-entity-events-v1/common}/src/main/resources/assets/legacy-fabric/icon.png (100%) rename {common/legacy-fabric-entity-events-v1-common => legacy-fabric-entity-events-v1/common}/src/main/resources/fabric.mod.json (100%) diff --git a/1.12.2/legacy-fabric-entity-events-v1/build.gradle b/1.12.2/legacy-fabric-entity-events-v1/build.gradle deleted file mode 100644 index a5a88090a..000000000 --- a/1.12.2/legacy-fabric-entity-events-v1/build.gradle +++ /dev/null @@ -1,8 +0,0 @@ -version = getSubprojectVersion(project) - -moduleDependencies(project, [ - "common": [ - "legacy-fabric-api-base-common", - "legacy-fabric-entity-events-v1-common" - ] -]) diff --git a/1.8.9/legacy-fabric-entity-events-v1/build.gradle b/1.8.9/legacy-fabric-entity-events-v1/build.gradle deleted file mode 100644 index 9ba696d1d..000000000 --- a/1.8.9/legacy-fabric-entity-events-v1/build.gradle +++ /dev/null @@ -1,8 +0,0 @@ -version = getSubprojectVersion(project) - -moduleDependencies(project, [ - "common": [ - "legacy-fabric-api-base-common", - "legacy-fabric-entity-events-v1-common" - ] -]) diff --git a/1.9.4/legacy-fabric-entity-events-v1/build.gradle b/1.9.4/legacy-fabric-entity-events-v1/build.gradle deleted file mode 100644 index a5a88090a..000000000 --- a/1.9.4/legacy-fabric-entity-events-v1/build.gradle +++ /dev/null @@ -1,8 +0,0 @@ -version = getSubprojectVersion(project) - -moduleDependencies(project, [ - "common": [ - "legacy-fabric-api-base-common", - "legacy-fabric-entity-events-v1-common" - ] -]) diff --git a/common/legacy-fabric-entity-events-v1-common/build.gradle b/common/legacy-fabric-entity-events-v1-common/build.gradle deleted file mode 100644 index 3ca3a9171..000000000 --- a/common/legacy-fabric-entity-events-v1-common/build.gradle +++ /dev/null @@ -1,7 +0,0 @@ -version = getSubprojectVersion(project) - -moduleDependencies(project, [ - "common": [ - "legacy-fabric-api-base-common" - ] -]) diff --git a/legacy-fabric-entity-events-v1/1.12.2/build.gradle b/legacy-fabric-entity-events-v1/1.12.2/build.gradle new file mode 100644 index 000000000..e69de29bb diff --git a/legacy-fabric-entity-events-v1/1.12.2/gradle.properties b/legacy-fabric-entity-events-v1/1.12.2/gradle.properties new file mode 100644 index 000000000..875575b3f --- /dev/null +++ b/legacy-fabric-entity-events-v1/1.12.2/gradle.properties @@ -0,0 +1,2 @@ +minVersionExcluded=1.11.2 +maxVersionIncluded=1.12.2 diff --git a/1.12.2/legacy-fabric-entity-events-v1/src/main/java/net/legacyfabric/fabric/mixin/entity/event/EntityMixin.java b/legacy-fabric-entity-events-v1/1.12.2/src/main/java/net/legacyfabric/fabric/mixin/entity/event/EntityMixin.java similarity index 100% rename from 1.12.2/legacy-fabric-entity-events-v1/src/main/java/net/legacyfabric/fabric/mixin/entity/event/EntityMixin.java rename to legacy-fabric-entity-events-v1/1.12.2/src/main/java/net/legacyfabric/fabric/mixin/entity/event/EntityMixin.java diff --git a/1.12.2/legacy-fabric-entity-events-v1/src/main/java/net/legacyfabric/fabric/mixin/entity/event/LivingEntityMixin.java b/legacy-fabric-entity-events-v1/1.12.2/src/main/java/net/legacyfabric/fabric/mixin/entity/event/LivingEntityMixin.java similarity index 100% rename from 1.12.2/legacy-fabric-entity-events-v1/src/main/java/net/legacyfabric/fabric/mixin/entity/event/LivingEntityMixin.java rename to legacy-fabric-entity-events-v1/1.12.2/src/main/java/net/legacyfabric/fabric/mixin/entity/event/LivingEntityMixin.java diff --git a/1.12.2/legacy-fabric-entity-events-v1/src/main/java/net/legacyfabric/fabric/mixin/entity/event/PlayerManagerMixin.java b/legacy-fabric-entity-events-v1/1.12.2/src/main/java/net/legacyfabric/fabric/mixin/entity/event/PlayerManagerMixin.java similarity index 100% rename from 1.12.2/legacy-fabric-entity-events-v1/src/main/java/net/legacyfabric/fabric/mixin/entity/event/PlayerManagerMixin.java rename to legacy-fabric-entity-events-v1/1.12.2/src/main/java/net/legacyfabric/fabric/mixin/entity/event/PlayerManagerMixin.java diff --git a/1.12.2/legacy-fabric-entity-events-v1/src/main/java/net/legacyfabric/fabric/mixin/entity/event/ServerPlayerEntityMixin.java b/legacy-fabric-entity-events-v1/1.12.2/src/main/java/net/legacyfabric/fabric/mixin/entity/event/ServerPlayerEntityMixin.java similarity index 100% rename from 1.12.2/legacy-fabric-entity-events-v1/src/main/java/net/legacyfabric/fabric/mixin/entity/event/ServerPlayerEntityMixin.java rename to legacy-fabric-entity-events-v1/1.12.2/src/main/java/net/legacyfabric/fabric/mixin/entity/event/ServerPlayerEntityMixin.java diff --git a/1.12.2/legacy-fabric-entity-events-v1/src/main/resources/assets/legacy-fabric/icon.png b/legacy-fabric-entity-events-v1/1.12.2/src/main/resources/assets/legacy-fabric/icon.png similarity index 100% rename from 1.12.2/legacy-fabric-entity-events-v1/src/main/resources/assets/legacy-fabric/icon.png rename to legacy-fabric-entity-events-v1/1.12.2/src/main/resources/assets/legacy-fabric/icon.png diff --git a/1.8.9/legacy-fabric-entity-events-v1/src/main/resources/fabric.mod.json b/legacy-fabric-entity-events-v1/1.12.2/src/main/resources/fabric.mod.json similarity index 96% rename from 1.8.9/legacy-fabric-entity-events-v1/src/main/resources/fabric.mod.json rename to legacy-fabric-entity-events-v1/1.12.2/src/main/resources/fabric.mod.json index 31ee746cc..1108d6f7f 100644 --- a/1.8.9/legacy-fabric-entity-events-v1/src/main/resources/fabric.mod.json +++ b/legacy-fabric-entity-events-v1/1.12.2/src/main/resources/fabric.mod.json @@ -20,7 +20,7 @@ "legacy-fabric-entity-events-v1.mixins.json" ], "depends": { - "minecraft": "<=1.8.9" + "minecraft": "${minecraft_version}" }, "custom": { "modmenu": { diff --git a/1.12.2/legacy-fabric-entity-events-v1/src/main/resources/legacy-fabric-entity-events-v1.mixins.json b/legacy-fabric-entity-events-v1/1.12.2/src/main/resources/legacy-fabric-entity-events-v1.mixins.json similarity index 100% rename from 1.12.2/legacy-fabric-entity-events-v1/src/main/resources/legacy-fabric-entity-events-v1.mixins.json rename to legacy-fabric-entity-events-v1/1.12.2/src/main/resources/legacy-fabric-entity-events-v1.mixins.json diff --git a/1.12.2/legacy-fabric-entity-events-v1/src/testmod/java/net/legacyfabric/fabric/test/entity/EntityEventsTest.java b/legacy-fabric-entity-events-v1/1.12.2/src/testmod/java/net/legacyfabric/fabric/test/entity/EntityEventsTest.java similarity index 100% rename from 1.12.2/legacy-fabric-entity-events-v1/src/testmod/java/net/legacyfabric/fabric/test/entity/EntityEventsTest.java rename to legacy-fabric-entity-events-v1/1.12.2/src/testmod/java/net/legacyfabric/fabric/test/entity/EntityEventsTest.java diff --git a/1.9.4/legacy-fabric-entity-events-v1/src/testmod/resources/fabric.mod.json b/legacy-fabric-entity-events-v1/1.12.2/src/testmod/resources/fabric.mod.json similarity index 86% rename from 1.9.4/legacy-fabric-entity-events-v1/src/testmod/resources/fabric.mod.json rename to legacy-fabric-entity-events-v1/1.12.2/src/testmod/resources/fabric.mod.json index ff22c83fc..8fdf9ae34 100644 --- a/1.9.4/legacy-fabric-entity-events-v1/src/testmod/resources/fabric.mod.json +++ b/legacy-fabric-entity-events-v1/1.12.2/src/testmod/resources/fabric.mod.json @@ -9,6 +9,6 @@ ] }, "depends": { - "minecraft": ">1.8.9 <=1.11.2" + "minecraft": "${minecraft_version}" } } diff --git a/legacy-fabric-entity-events-v1/1.8.9/build.gradle b/legacy-fabric-entity-events-v1/1.8.9/build.gradle new file mode 100644 index 000000000..e69de29bb diff --git a/legacy-fabric-entity-events-v1/1.8.9/gradle.properties b/legacy-fabric-entity-events-v1/1.8.9/gradle.properties new file mode 100644 index 000000000..180b9f2f5 --- /dev/null +++ b/legacy-fabric-entity-events-v1/1.8.9/gradle.properties @@ -0,0 +1,2 @@ +minVersionExcluded=1.3 +maxVersionIncluded=1.8.9 diff --git a/1.8.9/legacy-fabric-entity-events-v1/src/main/java/net/legacyfabric/fabric/mixin/entity/event/EntityMixin.java b/legacy-fabric-entity-events-v1/1.8.9/src/main/java/net/legacyfabric/fabric/mixin/entity/event/EntityMixin.java similarity index 100% rename from 1.8.9/legacy-fabric-entity-events-v1/src/main/java/net/legacyfabric/fabric/mixin/entity/event/EntityMixin.java rename to legacy-fabric-entity-events-v1/1.8.9/src/main/java/net/legacyfabric/fabric/mixin/entity/event/EntityMixin.java diff --git a/1.8.9/legacy-fabric-entity-events-v1/src/main/java/net/legacyfabric/fabric/mixin/entity/event/LivingEntityMixin.java b/legacy-fabric-entity-events-v1/1.8.9/src/main/java/net/legacyfabric/fabric/mixin/entity/event/LivingEntityMixin.java similarity index 100% rename from 1.8.9/legacy-fabric-entity-events-v1/src/main/java/net/legacyfabric/fabric/mixin/entity/event/LivingEntityMixin.java rename to legacy-fabric-entity-events-v1/1.8.9/src/main/java/net/legacyfabric/fabric/mixin/entity/event/LivingEntityMixin.java diff --git a/1.8.9/legacy-fabric-entity-events-v1/src/main/java/net/legacyfabric/fabric/mixin/entity/event/PlayerManagerMixin.java b/legacy-fabric-entity-events-v1/1.8.9/src/main/java/net/legacyfabric/fabric/mixin/entity/event/PlayerManagerMixin.java similarity index 100% rename from 1.8.9/legacy-fabric-entity-events-v1/src/main/java/net/legacyfabric/fabric/mixin/entity/event/PlayerManagerMixin.java rename to legacy-fabric-entity-events-v1/1.8.9/src/main/java/net/legacyfabric/fabric/mixin/entity/event/PlayerManagerMixin.java diff --git a/1.8.9/legacy-fabric-entity-events-v1/src/main/java/net/legacyfabric/fabric/mixin/entity/event/ServerPlayerEntityMixin.java b/legacy-fabric-entity-events-v1/1.8.9/src/main/java/net/legacyfabric/fabric/mixin/entity/event/ServerPlayerEntityMixin.java similarity index 100% rename from 1.8.9/legacy-fabric-entity-events-v1/src/main/java/net/legacyfabric/fabric/mixin/entity/event/ServerPlayerEntityMixin.java rename to legacy-fabric-entity-events-v1/1.8.9/src/main/java/net/legacyfabric/fabric/mixin/entity/event/ServerPlayerEntityMixin.java diff --git a/1.8.9/legacy-fabric-entity-events-v1/src/main/resources/assets/legacy-fabric/icon.png b/legacy-fabric-entity-events-v1/1.8.9/src/main/resources/assets/legacy-fabric/icon.png similarity index 100% rename from 1.8.9/legacy-fabric-entity-events-v1/src/main/resources/assets/legacy-fabric/icon.png rename to legacy-fabric-entity-events-v1/1.8.9/src/main/resources/assets/legacy-fabric/icon.png diff --git a/1.12.2/legacy-fabric-entity-events-v1/src/main/resources/fabric.mod.json b/legacy-fabric-entity-events-v1/1.8.9/src/main/resources/fabric.mod.json similarity index 96% rename from 1.12.2/legacy-fabric-entity-events-v1/src/main/resources/fabric.mod.json rename to legacy-fabric-entity-events-v1/1.8.9/src/main/resources/fabric.mod.json index 99c30acfa..1108d6f7f 100644 --- a/1.12.2/legacy-fabric-entity-events-v1/src/main/resources/fabric.mod.json +++ b/legacy-fabric-entity-events-v1/1.8.9/src/main/resources/fabric.mod.json @@ -20,7 +20,7 @@ "legacy-fabric-entity-events-v1.mixins.json" ], "depends": { - "minecraft": ">1.11.2 <=1.12.2" + "minecraft": "${minecraft_version}" }, "custom": { "modmenu": { diff --git a/1.8.9/legacy-fabric-entity-events-v1/src/main/resources/legacy-fabric-entity-events-v1.mixins.json b/legacy-fabric-entity-events-v1/1.8.9/src/main/resources/legacy-fabric-entity-events-v1.mixins.json similarity index 100% rename from 1.8.9/legacy-fabric-entity-events-v1/src/main/resources/legacy-fabric-entity-events-v1.mixins.json rename to legacy-fabric-entity-events-v1/1.8.9/src/main/resources/legacy-fabric-entity-events-v1.mixins.json diff --git a/1.8.9/legacy-fabric-entity-events-v1/src/testmod/java/net/legacyfabric/fabric/test/entity/EntityEventsTest.java b/legacy-fabric-entity-events-v1/1.8.9/src/testmod/java/net/legacyfabric/fabric/test/entity/EntityEventsTest.java similarity index 100% rename from 1.8.9/legacy-fabric-entity-events-v1/src/testmod/java/net/legacyfabric/fabric/test/entity/EntityEventsTest.java rename to legacy-fabric-entity-events-v1/1.8.9/src/testmod/java/net/legacyfabric/fabric/test/entity/EntityEventsTest.java diff --git a/1.12.2/legacy-fabric-entity-events-v1/src/testmod/resources/fabric.mod.json b/legacy-fabric-entity-events-v1/1.8.9/src/testmod/resources/fabric.mod.json similarity index 86% rename from 1.12.2/legacy-fabric-entity-events-v1/src/testmod/resources/fabric.mod.json rename to legacy-fabric-entity-events-v1/1.8.9/src/testmod/resources/fabric.mod.json index aa7e30cee..8fdf9ae34 100644 --- a/1.12.2/legacy-fabric-entity-events-v1/src/testmod/resources/fabric.mod.json +++ b/legacy-fabric-entity-events-v1/1.8.9/src/testmod/resources/fabric.mod.json @@ -9,6 +9,6 @@ ] }, "depends": { - "minecraft": ">1.11.2 <=1.12.2" + "minecraft": "${minecraft_version}" } } diff --git a/legacy-fabric-entity-events-v1/1.9.4/build.gradle b/legacy-fabric-entity-events-v1/1.9.4/build.gradle new file mode 100644 index 000000000..e69de29bb diff --git a/legacy-fabric-entity-events-v1/1.9.4/gradle.properties b/legacy-fabric-entity-events-v1/1.9.4/gradle.properties new file mode 100644 index 000000000..13dc1762c --- /dev/null +++ b/legacy-fabric-entity-events-v1/1.9.4/gradle.properties @@ -0,0 +1,2 @@ +minVersionExcluded=1.8.9 +maxVersionIncluded=1.11.2 diff --git a/1.9.4/legacy-fabric-entity-events-v1/src/main/java/net/legacyfabric/fabric/mixin/entity/event/EntityMixin.java b/legacy-fabric-entity-events-v1/1.9.4/src/main/java/net/legacyfabric/fabric/mixin/entity/event/EntityMixin.java similarity index 100% rename from 1.9.4/legacy-fabric-entity-events-v1/src/main/java/net/legacyfabric/fabric/mixin/entity/event/EntityMixin.java rename to legacy-fabric-entity-events-v1/1.9.4/src/main/java/net/legacyfabric/fabric/mixin/entity/event/EntityMixin.java diff --git a/1.9.4/legacy-fabric-entity-events-v1/src/main/java/net/legacyfabric/fabric/mixin/entity/event/LivingEntityMixin.java b/legacy-fabric-entity-events-v1/1.9.4/src/main/java/net/legacyfabric/fabric/mixin/entity/event/LivingEntityMixin.java similarity index 100% rename from 1.9.4/legacy-fabric-entity-events-v1/src/main/java/net/legacyfabric/fabric/mixin/entity/event/LivingEntityMixin.java rename to legacy-fabric-entity-events-v1/1.9.4/src/main/java/net/legacyfabric/fabric/mixin/entity/event/LivingEntityMixin.java diff --git a/1.9.4/legacy-fabric-entity-events-v1/src/main/java/net/legacyfabric/fabric/mixin/entity/event/PlayerManagerMixin.java b/legacy-fabric-entity-events-v1/1.9.4/src/main/java/net/legacyfabric/fabric/mixin/entity/event/PlayerManagerMixin.java similarity index 100% rename from 1.9.4/legacy-fabric-entity-events-v1/src/main/java/net/legacyfabric/fabric/mixin/entity/event/PlayerManagerMixin.java rename to legacy-fabric-entity-events-v1/1.9.4/src/main/java/net/legacyfabric/fabric/mixin/entity/event/PlayerManagerMixin.java diff --git a/1.9.4/legacy-fabric-entity-events-v1/src/main/java/net/legacyfabric/fabric/mixin/entity/event/ServerPlayerEntityMixin.java b/legacy-fabric-entity-events-v1/1.9.4/src/main/java/net/legacyfabric/fabric/mixin/entity/event/ServerPlayerEntityMixin.java similarity index 100% rename from 1.9.4/legacy-fabric-entity-events-v1/src/main/java/net/legacyfabric/fabric/mixin/entity/event/ServerPlayerEntityMixin.java rename to legacy-fabric-entity-events-v1/1.9.4/src/main/java/net/legacyfabric/fabric/mixin/entity/event/ServerPlayerEntityMixin.java diff --git a/1.9.4/legacy-fabric-entity-events-v1/src/main/resources/assets/legacy-fabric/icon.png b/legacy-fabric-entity-events-v1/1.9.4/src/main/resources/assets/legacy-fabric/icon.png similarity index 100% rename from 1.9.4/legacy-fabric-entity-events-v1/src/main/resources/assets/legacy-fabric/icon.png rename to legacy-fabric-entity-events-v1/1.9.4/src/main/resources/assets/legacy-fabric/icon.png diff --git a/1.9.4/legacy-fabric-entity-events-v1/src/main/resources/fabric.mod.json b/legacy-fabric-entity-events-v1/1.9.4/src/main/resources/fabric.mod.json similarity index 96% rename from 1.9.4/legacy-fabric-entity-events-v1/src/main/resources/fabric.mod.json rename to legacy-fabric-entity-events-v1/1.9.4/src/main/resources/fabric.mod.json index 4bb7c2a68..1108d6f7f 100644 --- a/1.9.4/legacy-fabric-entity-events-v1/src/main/resources/fabric.mod.json +++ b/legacy-fabric-entity-events-v1/1.9.4/src/main/resources/fabric.mod.json @@ -20,7 +20,7 @@ "legacy-fabric-entity-events-v1.mixins.json" ], "depends": { - "minecraft": ">1.8.9 <=1.11.2" + "minecraft": "${minecraft_version}" }, "custom": { "modmenu": { diff --git a/1.9.4/legacy-fabric-entity-events-v1/src/main/resources/legacy-fabric-entity-events-v1.mixins.json b/legacy-fabric-entity-events-v1/1.9.4/src/main/resources/legacy-fabric-entity-events-v1.mixins.json similarity index 100% rename from 1.9.4/legacy-fabric-entity-events-v1/src/main/resources/legacy-fabric-entity-events-v1.mixins.json rename to legacy-fabric-entity-events-v1/1.9.4/src/main/resources/legacy-fabric-entity-events-v1.mixins.json diff --git a/1.9.4/legacy-fabric-entity-events-v1/src/testmod/java/net/legacyfabric/fabric/test/entity/EntityEventsTest.java b/legacy-fabric-entity-events-v1/1.9.4/src/testmod/java/net/legacyfabric/fabric/test/entity/EntityEventsTest.java similarity index 100% rename from 1.9.4/legacy-fabric-entity-events-v1/src/testmod/java/net/legacyfabric/fabric/test/entity/EntityEventsTest.java rename to legacy-fabric-entity-events-v1/1.9.4/src/testmod/java/net/legacyfabric/fabric/test/entity/EntityEventsTest.java diff --git a/1.8.9/legacy-fabric-entity-events-v1/src/testmod/resources/fabric.mod.json b/legacy-fabric-entity-events-v1/1.9.4/src/testmod/resources/fabric.mod.json similarity index 86% rename from 1.8.9/legacy-fabric-entity-events-v1/src/testmod/resources/fabric.mod.json rename to legacy-fabric-entity-events-v1/1.9.4/src/testmod/resources/fabric.mod.json index 7cc0b55f2..8fdf9ae34 100644 --- a/1.8.9/legacy-fabric-entity-events-v1/src/testmod/resources/fabric.mod.json +++ b/legacy-fabric-entity-events-v1/1.9.4/src/testmod/resources/fabric.mod.json @@ -9,6 +9,6 @@ ] }, "depends": { - "minecraft": "<=1.8.9" + "minecraft": "${minecraft_version}" } } diff --git a/legacy-fabric-entity-events-v1/common.gradle b/legacy-fabric-entity-events-v1/common.gradle new file mode 100644 index 000000000..f7bb5a4dd --- /dev/null +++ b/legacy-fabric-entity-events-v1/common.gradle @@ -0,0 +1,3 @@ +moduleDependencies(project, [ + "legacy-fabric-api-base" +]) diff --git a/legacy-fabric-entity-events-v1/common/build.gradle b/legacy-fabric-entity-events-v1/common/build.gradle new file mode 100644 index 000000000..e69de29bb diff --git a/legacy-fabric-entity-events-v1/common/gradle.properties b/legacy-fabric-entity-events-v1/common/gradle.properties new file mode 100644 index 000000000..13b94f3a1 --- /dev/null +++ b/legacy-fabric-entity-events-v1/common/gradle.properties @@ -0,0 +1,2 @@ +minVersionIncluded=1.3 +maxVersionIncluded=1.13.2 diff --git a/common/legacy-fabric-entity-events-v1-common/src/main/java/net/legacyfabric/fabric/api/entity/event/v1/ServerEntityCombatEvents.java b/legacy-fabric-entity-events-v1/common/src/main/java/net/legacyfabric/fabric/api/entity/event/v1/ServerEntityCombatEvents.java similarity index 100% rename from common/legacy-fabric-entity-events-v1-common/src/main/java/net/legacyfabric/fabric/api/entity/event/v1/ServerEntityCombatEvents.java rename to legacy-fabric-entity-events-v1/common/src/main/java/net/legacyfabric/fabric/api/entity/event/v1/ServerEntityCombatEvents.java diff --git a/common/legacy-fabric-entity-events-v1-common/src/main/java/net/legacyfabric/fabric/api/entity/event/v1/ServerEntityWorldChangeEvents.java b/legacy-fabric-entity-events-v1/common/src/main/java/net/legacyfabric/fabric/api/entity/event/v1/ServerEntityWorldChangeEvents.java similarity index 100% rename from common/legacy-fabric-entity-events-v1-common/src/main/java/net/legacyfabric/fabric/api/entity/event/v1/ServerEntityWorldChangeEvents.java rename to legacy-fabric-entity-events-v1/common/src/main/java/net/legacyfabric/fabric/api/entity/event/v1/ServerEntityWorldChangeEvents.java diff --git a/common/legacy-fabric-entity-events-v1-common/src/main/java/net/legacyfabric/fabric/api/entity/event/v1/ServerPlayerEvents.java b/legacy-fabric-entity-events-v1/common/src/main/java/net/legacyfabric/fabric/api/entity/event/v1/ServerPlayerEvents.java similarity index 100% rename from common/legacy-fabric-entity-events-v1-common/src/main/java/net/legacyfabric/fabric/api/entity/event/v1/ServerPlayerEvents.java rename to legacy-fabric-entity-events-v1/common/src/main/java/net/legacyfabric/fabric/api/entity/event/v1/ServerPlayerEvents.java diff --git a/common/legacy-fabric-entity-events-v1-common/src/main/resources/assets/legacy-fabric/icon.png b/legacy-fabric-entity-events-v1/common/src/main/resources/assets/legacy-fabric/icon.png similarity index 100% rename from common/legacy-fabric-entity-events-v1-common/src/main/resources/assets/legacy-fabric/icon.png rename to legacy-fabric-entity-events-v1/common/src/main/resources/assets/legacy-fabric/icon.png diff --git a/common/legacy-fabric-entity-events-v1-common/src/main/resources/fabric.mod.json b/legacy-fabric-entity-events-v1/common/src/main/resources/fabric.mod.json similarity index 100% rename from common/legacy-fabric-entity-events-v1-common/src/main/resources/fabric.mod.json rename to legacy-fabric-entity-events-v1/common/src/main/resources/fabric.mod.json diff --git a/settings.gradle b/settings.gradle index 1d2ac8ca1..d13493b91 100644 --- a/settings.gradle +++ b/settings.gradle @@ -30,6 +30,7 @@ loadProject("legacy-fabric-logger-api-v1") loadProject("legacy-fabric-resource-loader-v1") loadProject("legacy-fabric-lifecycle-events-v1") loadProject("legacy-fabric-command-api-v1") +loadProject("legacy-fabric-entity-events-v1") //include("common") //include("common:legacy-fabric-logger-api-v1") From bfffc6183bde0b2bea8756b8bef58fd6572e9036 Mon Sep 17 00:00:00 2001 From: Cat Core Date: Thu, 8 Feb 2024 10:50:52 +0100 Subject: [PATCH 10/27] Port legacy-fabric-gamerule-api-v1 --- common/legacy-fabric-gamerule-api-v1/build.gradle | 7 ------- legacy-fabric-gamerule-api-v1/common.gradle | 3 +++ legacy-fabric-gamerule-api-v1/common/build.gradle | 0 .../common/gradle.properties | 3 +++ .../gamerule/v1/GameRulesInitializedCallback.java | 0 .../fabric/mixin/gamerule/GameRulesMixin.java | 0 .../main/resources/assets/legacy-fabric/icon.png | Bin .../common}/src/main/resources/fabric.mod.json | 3 ++- .../legacy-fabric-gamerule-api-v1.mixins.json | 0 settings.gradle | 1 + 10 files changed, 9 insertions(+), 8 deletions(-) delete mode 100644 common/legacy-fabric-gamerule-api-v1/build.gradle create mode 100644 legacy-fabric-gamerule-api-v1/common.gradle create mode 100644 legacy-fabric-gamerule-api-v1/common/build.gradle create mode 100644 legacy-fabric-gamerule-api-v1/common/gradle.properties rename {common/legacy-fabric-gamerule-api-v1 => legacy-fabric-gamerule-api-v1/common}/src/main/java/net/legacyfabric/fabric/api/gamerule/v1/GameRulesInitializedCallback.java (100%) rename {common/legacy-fabric-gamerule-api-v1 => legacy-fabric-gamerule-api-v1/common}/src/main/java/net/legacyfabric/fabric/mixin/gamerule/GameRulesMixin.java (100%) rename {common/legacy-fabric-gamerule-api-v1 => legacy-fabric-gamerule-api-v1/common}/src/main/resources/assets/legacy-fabric/icon.png (100%) rename {common/legacy-fabric-gamerule-api-v1 => legacy-fabric-gamerule-api-v1/common}/src/main/resources/fabric.mod.json (93%) rename {common/legacy-fabric-gamerule-api-v1 => legacy-fabric-gamerule-api-v1/common}/src/main/resources/legacy-fabric-gamerule-api-v1.mixins.json (100%) diff --git a/common/legacy-fabric-gamerule-api-v1/build.gradle b/common/legacy-fabric-gamerule-api-v1/build.gradle deleted file mode 100644 index 3ca3a9171..000000000 --- a/common/legacy-fabric-gamerule-api-v1/build.gradle +++ /dev/null @@ -1,7 +0,0 @@ -version = getSubprojectVersion(project) - -moduleDependencies(project, [ - "common": [ - "legacy-fabric-api-base-common" - ] -]) diff --git a/legacy-fabric-gamerule-api-v1/common.gradle b/legacy-fabric-gamerule-api-v1/common.gradle new file mode 100644 index 000000000..f7bb5a4dd --- /dev/null +++ b/legacy-fabric-gamerule-api-v1/common.gradle @@ -0,0 +1,3 @@ +moduleDependencies(project, [ + "legacy-fabric-api-base" +]) diff --git a/legacy-fabric-gamerule-api-v1/common/build.gradle b/legacy-fabric-gamerule-api-v1/common/build.gradle new file mode 100644 index 000000000..e69de29bb diff --git a/legacy-fabric-gamerule-api-v1/common/gradle.properties b/legacy-fabric-gamerule-api-v1/common/gradle.properties new file mode 100644 index 000000000..dd84f09f1 --- /dev/null +++ b/legacy-fabric-gamerule-api-v1/common/gradle.properties @@ -0,0 +1,3 @@ +minVersionIncluded=1.3 +maxVersionIncluded=1.13.2 +artifactSuffix= diff --git a/common/legacy-fabric-gamerule-api-v1/src/main/java/net/legacyfabric/fabric/api/gamerule/v1/GameRulesInitializedCallback.java b/legacy-fabric-gamerule-api-v1/common/src/main/java/net/legacyfabric/fabric/api/gamerule/v1/GameRulesInitializedCallback.java similarity index 100% rename from common/legacy-fabric-gamerule-api-v1/src/main/java/net/legacyfabric/fabric/api/gamerule/v1/GameRulesInitializedCallback.java rename to legacy-fabric-gamerule-api-v1/common/src/main/java/net/legacyfabric/fabric/api/gamerule/v1/GameRulesInitializedCallback.java diff --git a/common/legacy-fabric-gamerule-api-v1/src/main/java/net/legacyfabric/fabric/mixin/gamerule/GameRulesMixin.java b/legacy-fabric-gamerule-api-v1/common/src/main/java/net/legacyfabric/fabric/mixin/gamerule/GameRulesMixin.java similarity index 100% rename from common/legacy-fabric-gamerule-api-v1/src/main/java/net/legacyfabric/fabric/mixin/gamerule/GameRulesMixin.java rename to legacy-fabric-gamerule-api-v1/common/src/main/java/net/legacyfabric/fabric/mixin/gamerule/GameRulesMixin.java diff --git a/common/legacy-fabric-gamerule-api-v1/src/main/resources/assets/legacy-fabric/icon.png b/legacy-fabric-gamerule-api-v1/common/src/main/resources/assets/legacy-fabric/icon.png similarity index 100% rename from common/legacy-fabric-gamerule-api-v1/src/main/resources/assets/legacy-fabric/icon.png rename to legacy-fabric-gamerule-api-v1/common/src/main/resources/assets/legacy-fabric/icon.png diff --git a/common/legacy-fabric-gamerule-api-v1/src/main/resources/fabric.mod.json b/legacy-fabric-gamerule-api-v1/common/src/main/resources/fabric.mod.json similarity index 93% rename from common/legacy-fabric-gamerule-api-v1/src/main/resources/fabric.mod.json rename to legacy-fabric-gamerule-api-v1/common/src/main/resources/fabric.mod.json index 3d8e443a3..06c7d1aad 100644 --- a/common/legacy-fabric-gamerule-api-v1/src/main/resources/fabric.mod.json +++ b/legacy-fabric-gamerule-api-v1/common/src/main/resources/fabric.mod.json @@ -15,7 +15,8 @@ "Legacy-Fabric" ], "depends": { - "fabricloader": ">=0.8.2" + "fabricloader": ">=0.8.2", + "minecraft": "${minecraft_version}" }, "description": "Allows registration of custom game rules.", "mixins": [ diff --git a/common/legacy-fabric-gamerule-api-v1/src/main/resources/legacy-fabric-gamerule-api-v1.mixins.json b/legacy-fabric-gamerule-api-v1/common/src/main/resources/legacy-fabric-gamerule-api-v1.mixins.json similarity index 100% rename from common/legacy-fabric-gamerule-api-v1/src/main/resources/legacy-fabric-gamerule-api-v1.mixins.json rename to legacy-fabric-gamerule-api-v1/common/src/main/resources/legacy-fabric-gamerule-api-v1.mixins.json diff --git a/settings.gradle b/settings.gradle index d13493b91..9c3678417 100644 --- a/settings.gradle +++ b/settings.gradle @@ -31,6 +31,7 @@ loadProject("legacy-fabric-resource-loader-v1") loadProject("legacy-fabric-lifecycle-events-v1") loadProject("legacy-fabric-command-api-v1") loadProject("legacy-fabric-entity-events-v1") +loadProject("legacy-fabric-gamerule-api-v1") //include("common") //include("common:legacy-fabric-logger-api-v1") From 048c6a5c641c746693f913d87440c669318c4c46 Mon Sep 17 00:00:00 2001 From: Cat Core Date: Thu, 8 Feb 2024 10:57:11 +0100 Subject: [PATCH 11/27] Port legacy-fabric-item-groups-v1 --- 1.12.2/legacy-fabric-item-groups-v1/build.gradle | 7 ------- 1.8.9/legacy-fabric-item-groups-v1/build.gradle | 7 ------- .../build.gradle | 7 ------- legacy-fabric-item-groups-v1/1.12.2/build.gradle | 0 .../1.12.2/gradle.properties | 2 ++ .../fabric/impl/item/group/FabricItemGroup.java | 0 .../fabric/mixin/item/group/ItemGroupMixin.java | 0 .../main/resources/assets/legacy-fabric/icon.png | Bin .../legacy-fabric/textures/gui/creative_buttons.png | Bin .../1.12.2}/src/main/resources/fabric.mod.json | 2 +- .../legacy-fabric-item-groups-v1.mixins.json | 0 .../fabric/test/item/group/ItemGroupTest.java | 0 .../assets/legacy-fabric-api/lang/en_us.lang | 0 .../1.12.2}/src/testmod/resources/fabric.mod.json | 2 +- legacy-fabric-item-groups-v1/1.8.9/build.gradle | 0 .../1.8.9/gradle.properties | 2 ++ .../fabric/impl/item/group/FabricItemGroup.java | 0 .../fabric/mixin/item/group/ItemGroupMixin.java | 0 .../main/resources/assets/legacy-fabric/icon.png | Bin .../resources/assets/legacy-fabric/lang/en_US.lang | 0 .../resources/assets/legacy-fabric/lang/ru_RU.lang | 0 .../legacy-fabric/textures/gui/creative_buttons.png | Bin .../1.8.9}/src/main/resources/fabric.mod.json | 2 +- .../legacy-fabric-item-groups-v1.mixins.json | 0 .../fabric/test/item/group/ItemGroupTest.java | 0 .../assets/legacy-fabric-api/lang/en_US.lang | 0 .../1.8.9}/src/testmod/resources/fabric.mod.json | 2 +- legacy-fabric-item-groups-v1/common.gradle | 3 +++ legacy-fabric-item-groups-v1/common/build.gradle | 0 .../common/gradle.properties | 2 ++ .../client/itemgroup/FabricItemGroupBuilder.java | 0 .../impl/item/group/CreativeGuiExtensions.java | 0 .../item/group/FabricCreativeGuiComponents.java | 0 .../fabric/impl/item/group/ItemGroupExtensions.java | 0 .../fabric/impl/item/group/ScreenAccessor.java | 0 .../fabric/mixin/item/group/MixinItemGroup.java | 0 .../client/MixinCreativePlayerInventoryGui.java | 0 .../mixin/item/group/client/MixinItemGroup.java | 0 .../fabric/mixin/item/group/client/MixinScreen.java | 0 .../main/resources/assets/legacy-fabric/icon.png | Bin .../resources/assets/legacy-fabric/lang/en_us.json | 0 .../resources/assets/legacy-fabric/lang/ru_ru.json | 0 .../legacy-fabric/textures/gui/creative_buttons.png | Bin .../common}/src/main/resources/fabric.mod.json | 2 +- .../legacy-fabric-item-groups-v1-common.mixins.json | 0 settings.gradle | 1 + 46 files changed, 15 insertions(+), 26 deletions(-) delete mode 100644 1.12.2/legacy-fabric-item-groups-v1/build.gradle delete mode 100644 1.8.9/legacy-fabric-item-groups-v1/build.gradle delete mode 100644 common/legacy-fabric-item-groups-v1-common/build.gradle create mode 100644 legacy-fabric-item-groups-v1/1.12.2/build.gradle create mode 100644 legacy-fabric-item-groups-v1/1.12.2/gradle.properties rename {1.12.2/legacy-fabric-item-groups-v1 => legacy-fabric-item-groups-v1/1.12.2}/src/main/java/net/legacyfabric/fabric/impl/item/group/FabricItemGroup.java (100%) rename {1.12.2/legacy-fabric-item-groups-v1 => legacy-fabric-item-groups-v1/1.12.2}/src/main/java/net/legacyfabric/fabric/mixin/item/group/ItemGroupMixin.java (100%) rename {1.12.2/legacy-fabric-item-groups-v1 => legacy-fabric-item-groups-v1/1.12.2}/src/main/resources/assets/legacy-fabric/icon.png (100%) rename {1.12.2/legacy-fabric-item-groups-v1 => legacy-fabric-item-groups-v1/1.12.2}/src/main/resources/assets/legacy-fabric/textures/gui/creative_buttons.png (100%) rename {1.8.9/legacy-fabric-item-groups-v1 => legacy-fabric-item-groups-v1/1.12.2}/src/main/resources/fabric.mod.json (96%) rename {1.12.2/legacy-fabric-item-groups-v1 => legacy-fabric-item-groups-v1/1.12.2}/src/main/resources/legacy-fabric-item-groups-v1.mixins.json (100%) rename {1.12.2/legacy-fabric-item-groups-v1 => legacy-fabric-item-groups-v1/1.12.2}/src/testmod/java/net/legacyfabric/fabric/test/item/group/ItemGroupTest.java (100%) rename {1.12.2/legacy-fabric-item-groups-v1 => legacy-fabric-item-groups-v1/1.12.2}/src/testmod/resources/assets/legacy-fabric-api/lang/en_us.lang (100%) rename {1.12.2/legacy-fabric-item-groups-v1 => legacy-fabric-item-groups-v1/1.12.2}/src/testmod/resources/fabric.mod.json (86%) create mode 100644 legacy-fabric-item-groups-v1/1.8.9/build.gradle create mode 100644 legacy-fabric-item-groups-v1/1.8.9/gradle.properties rename {1.8.9/legacy-fabric-item-groups-v1 => legacy-fabric-item-groups-v1/1.8.9}/src/main/java/net/legacyfabric/fabric/impl/item/group/FabricItemGroup.java (100%) rename {1.8.9/legacy-fabric-item-groups-v1 => legacy-fabric-item-groups-v1/1.8.9}/src/main/java/net/legacyfabric/fabric/mixin/item/group/ItemGroupMixin.java (100%) rename {1.8.9/legacy-fabric-item-groups-v1 => legacy-fabric-item-groups-v1/1.8.9}/src/main/resources/assets/legacy-fabric/icon.png (100%) rename {1.8.9/legacy-fabric-item-groups-v1 => legacy-fabric-item-groups-v1/1.8.9}/src/main/resources/assets/legacy-fabric/lang/en_US.lang (100%) rename {1.8.9/legacy-fabric-item-groups-v1 => legacy-fabric-item-groups-v1/1.8.9}/src/main/resources/assets/legacy-fabric/lang/ru_RU.lang (100%) rename {1.8.9/legacy-fabric-item-groups-v1 => legacy-fabric-item-groups-v1/1.8.9}/src/main/resources/assets/legacy-fabric/textures/gui/creative_buttons.png (100%) rename {1.12.2/legacy-fabric-item-groups-v1 => legacy-fabric-item-groups-v1/1.8.9}/src/main/resources/fabric.mod.json (96%) rename {1.8.9/legacy-fabric-item-groups-v1 => legacy-fabric-item-groups-v1/1.8.9}/src/main/resources/legacy-fabric-item-groups-v1.mixins.json (100%) rename {1.8.9/legacy-fabric-item-groups-v1 => legacy-fabric-item-groups-v1/1.8.9}/src/testmod/java/net/legacyfabric/fabric/test/item/group/ItemGroupTest.java (100%) rename {1.8.9/legacy-fabric-item-groups-v1 => legacy-fabric-item-groups-v1/1.8.9}/src/testmod/resources/assets/legacy-fabric-api/lang/en_US.lang (100%) rename {1.8.9/legacy-fabric-item-groups-v1 => legacy-fabric-item-groups-v1/1.8.9}/src/testmod/resources/fabric.mod.json (86%) create mode 100644 legacy-fabric-item-groups-v1/common.gradle create mode 100644 legacy-fabric-item-groups-v1/common/build.gradle create mode 100644 legacy-fabric-item-groups-v1/common/gradle.properties rename {common/legacy-fabric-item-groups-v1-common => legacy-fabric-item-groups-v1/common}/src/main/java/net/legacyfabric/fabric/api/client/itemgroup/FabricItemGroupBuilder.java (100%) rename {common/legacy-fabric-item-groups-v1-common => legacy-fabric-item-groups-v1/common}/src/main/java/net/legacyfabric/fabric/impl/item/group/CreativeGuiExtensions.java (100%) rename {common/legacy-fabric-item-groups-v1-common => legacy-fabric-item-groups-v1/common}/src/main/java/net/legacyfabric/fabric/impl/item/group/FabricCreativeGuiComponents.java (100%) rename {common/legacy-fabric-item-groups-v1-common => legacy-fabric-item-groups-v1/common}/src/main/java/net/legacyfabric/fabric/impl/item/group/ItemGroupExtensions.java (100%) rename {common/legacy-fabric-item-groups-v1-common => legacy-fabric-item-groups-v1/common}/src/main/java/net/legacyfabric/fabric/impl/item/group/ScreenAccessor.java (100%) rename {common/legacy-fabric-item-groups-v1-common => legacy-fabric-item-groups-v1/common}/src/main/java/net/legacyfabric/fabric/mixin/item/group/MixinItemGroup.java (100%) rename {common/legacy-fabric-item-groups-v1-common => legacy-fabric-item-groups-v1/common}/src/main/java/net/legacyfabric/fabric/mixin/item/group/client/MixinCreativePlayerInventoryGui.java (100%) rename {common/legacy-fabric-item-groups-v1-common => legacy-fabric-item-groups-v1/common}/src/main/java/net/legacyfabric/fabric/mixin/item/group/client/MixinItemGroup.java (100%) rename {common/legacy-fabric-item-groups-v1-common => legacy-fabric-item-groups-v1/common}/src/main/java/net/legacyfabric/fabric/mixin/item/group/client/MixinScreen.java (100%) rename {common/legacy-fabric-item-groups-v1-common => legacy-fabric-item-groups-v1/common}/src/main/resources/assets/legacy-fabric/icon.png (100%) rename {common/legacy-fabric-item-groups-v1-common => legacy-fabric-item-groups-v1/common}/src/main/resources/assets/legacy-fabric/lang/en_us.json (100%) rename {common/legacy-fabric-item-groups-v1-common => legacy-fabric-item-groups-v1/common}/src/main/resources/assets/legacy-fabric/lang/ru_ru.json (100%) rename {common/legacy-fabric-item-groups-v1-common => legacy-fabric-item-groups-v1/common}/src/main/resources/assets/legacy-fabric/textures/gui/creative_buttons.png (100%) rename {common/legacy-fabric-item-groups-v1-common => legacy-fabric-item-groups-v1/common}/src/main/resources/fabric.mod.json (96%) rename {common/legacy-fabric-item-groups-v1-common => legacy-fabric-item-groups-v1/common}/src/main/resources/legacy-fabric-item-groups-v1-common.mixins.json (100%) diff --git a/1.12.2/legacy-fabric-item-groups-v1/build.gradle b/1.12.2/legacy-fabric-item-groups-v1/build.gradle deleted file mode 100644 index f4df0b360..000000000 --- a/1.12.2/legacy-fabric-item-groups-v1/build.gradle +++ /dev/null @@ -1,7 +0,0 @@ -version = getSubprojectVersion(project) - -moduleDependencies(project, [ - "common": [ - "legacy-fabric-item-groups-v1-common" - ] -]) diff --git a/1.8.9/legacy-fabric-item-groups-v1/build.gradle b/1.8.9/legacy-fabric-item-groups-v1/build.gradle deleted file mode 100644 index f4df0b360..000000000 --- a/1.8.9/legacy-fabric-item-groups-v1/build.gradle +++ /dev/null @@ -1,7 +0,0 @@ -version = getSubprojectVersion(project) - -moduleDependencies(project, [ - "common": [ - "legacy-fabric-item-groups-v1-common" - ] -]) diff --git a/common/legacy-fabric-item-groups-v1-common/build.gradle b/common/legacy-fabric-item-groups-v1-common/build.gradle deleted file mode 100644 index 3ca3a9171..000000000 --- a/common/legacy-fabric-item-groups-v1-common/build.gradle +++ /dev/null @@ -1,7 +0,0 @@ -version = getSubprojectVersion(project) - -moduleDependencies(project, [ - "common": [ - "legacy-fabric-api-base-common" - ] -]) diff --git a/legacy-fabric-item-groups-v1/1.12.2/build.gradle b/legacy-fabric-item-groups-v1/1.12.2/build.gradle new file mode 100644 index 000000000..e69de29bb diff --git a/legacy-fabric-item-groups-v1/1.12.2/gradle.properties b/legacy-fabric-item-groups-v1/1.12.2/gradle.properties new file mode 100644 index 000000000..a104a3a86 --- /dev/null +++ b/legacy-fabric-item-groups-v1/1.12.2/gradle.properties @@ -0,0 +1,2 @@ +minVersionExcluded=1.10.2 +maxVersionIncluded=1.12.2 diff --git a/1.12.2/legacy-fabric-item-groups-v1/src/main/java/net/legacyfabric/fabric/impl/item/group/FabricItemGroup.java b/legacy-fabric-item-groups-v1/1.12.2/src/main/java/net/legacyfabric/fabric/impl/item/group/FabricItemGroup.java similarity index 100% rename from 1.12.2/legacy-fabric-item-groups-v1/src/main/java/net/legacyfabric/fabric/impl/item/group/FabricItemGroup.java rename to legacy-fabric-item-groups-v1/1.12.2/src/main/java/net/legacyfabric/fabric/impl/item/group/FabricItemGroup.java diff --git a/1.12.2/legacy-fabric-item-groups-v1/src/main/java/net/legacyfabric/fabric/mixin/item/group/ItemGroupMixin.java b/legacy-fabric-item-groups-v1/1.12.2/src/main/java/net/legacyfabric/fabric/mixin/item/group/ItemGroupMixin.java similarity index 100% rename from 1.12.2/legacy-fabric-item-groups-v1/src/main/java/net/legacyfabric/fabric/mixin/item/group/ItemGroupMixin.java rename to legacy-fabric-item-groups-v1/1.12.2/src/main/java/net/legacyfabric/fabric/mixin/item/group/ItemGroupMixin.java diff --git a/1.12.2/legacy-fabric-item-groups-v1/src/main/resources/assets/legacy-fabric/icon.png b/legacy-fabric-item-groups-v1/1.12.2/src/main/resources/assets/legacy-fabric/icon.png similarity index 100% rename from 1.12.2/legacy-fabric-item-groups-v1/src/main/resources/assets/legacy-fabric/icon.png rename to legacy-fabric-item-groups-v1/1.12.2/src/main/resources/assets/legacy-fabric/icon.png diff --git a/1.12.2/legacy-fabric-item-groups-v1/src/main/resources/assets/legacy-fabric/textures/gui/creative_buttons.png b/legacy-fabric-item-groups-v1/1.12.2/src/main/resources/assets/legacy-fabric/textures/gui/creative_buttons.png similarity index 100% rename from 1.12.2/legacy-fabric-item-groups-v1/src/main/resources/assets/legacy-fabric/textures/gui/creative_buttons.png rename to legacy-fabric-item-groups-v1/1.12.2/src/main/resources/assets/legacy-fabric/textures/gui/creative_buttons.png diff --git a/1.8.9/legacy-fabric-item-groups-v1/src/main/resources/fabric.mod.json b/legacy-fabric-item-groups-v1/1.12.2/src/main/resources/fabric.mod.json similarity index 96% rename from 1.8.9/legacy-fabric-item-groups-v1/src/main/resources/fabric.mod.json rename to legacy-fabric-item-groups-v1/1.12.2/src/main/resources/fabric.mod.json index db59b6cf5..ab1f44bd4 100644 --- a/1.8.9/legacy-fabric-item-groups-v1/src/main/resources/fabric.mod.json +++ b/legacy-fabric-item-groups-v1/1.12.2/src/main/resources/fabric.mod.json @@ -20,7 +20,7 @@ ], "description": "Advanced item groups.", "depends": { - "minecraft": "<=1.10.2" + "minecraft": "${minecraft_version}" }, "custom": { "modmenu": { diff --git a/1.12.2/legacy-fabric-item-groups-v1/src/main/resources/legacy-fabric-item-groups-v1.mixins.json b/legacy-fabric-item-groups-v1/1.12.2/src/main/resources/legacy-fabric-item-groups-v1.mixins.json similarity index 100% rename from 1.12.2/legacy-fabric-item-groups-v1/src/main/resources/legacy-fabric-item-groups-v1.mixins.json rename to legacy-fabric-item-groups-v1/1.12.2/src/main/resources/legacy-fabric-item-groups-v1.mixins.json diff --git a/1.12.2/legacy-fabric-item-groups-v1/src/testmod/java/net/legacyfabric/fabric/test/item/group/ItemGroupTest.java b/legacy-fabric-item-groups-v1/1.12.2/src/testmod/java/net/legacyfabric/fabric/test/item/group/ItemGroupTest.java similarity index 100% rename from 1.12.2/legacy-fabric-item-groups-v1/src/testmod/java/net/legacyfabric/fabric/test/item/group/ItemGroupTest.java rename to legacy-fabric-item-groups-v1/1.12.2/src/testmod/java/net/legacyfabric/fabric/test/item/group/ItemGroupTest.java diff --git a/1.12.2/legacy-fabric-item-groups-v1/src/testmod/resources/assets/legacy-fabric-api/lang/en_us.lang b/legacy-fabric-item-groups-v1/1.12.2/src/testmod/resources/assets/legacy-fabric-api/lang/en_us.lang similarity index 100% rename from 1.12.2/legacy-fabric-item-groups-v1/src/testmod/resources/assets/legacy-fabric-api/lang/en_us.lang rename to legacy-fabric-item-groups-v1/1.12.2/src/testmod/resources/assets/legacy-fabric-api/lang/en_us.lang diff --git a/1.12.2/legacy-fabric-item-groups-v1/src/testmod/resources/fabric.mod.json b/legacy-fabric-item-groups-v1/1.12.2/src/testmod/resources/fabric.mod.json similarity index 86% rename from 1.12.2/legacy-fabric-item-groups-v1/src/testmod/resources/fabric.mod.json rename to legacy-fabric-item-groups-v1/1.12.2/src/testmod/resources/fabric.mod.json index 643330d37..ffa7dbef4 100644 --- a/1.12.2/legacy-fabric-item-groups-v1/src/testmod/resources/fabric.mod.json +++ b/legacy-fabric-item-groups-v1/1.12.2/src/testmod/resources/fabric.mod.json @@ -9,6 +9,6 @@ ] }, "depends": { - "minecraft": ">1.10.2 <=1.12.2" + "minecraft": "${minecraft_version}" } } diff --git a/legacy-fabric-item-groups-v1/1.8.9/build.gradle b/legacy-fabric-item-groups-v1/1.8.9/build.gradle new file mode 100644 index 000000000..e69de29bb diff --git a/legacy-fabric-item-groups-v1/1.8.9/gradle.properties b/legacy-fabric-item-groups-v1/1.8.9/gradle.properties new file mode 100644 index 000000000..7a09d76fd --- /dev/null +++ b/legacy-fabric-item-groups-v1/1.8.9/gradle.properties @@ -0,0 +1,2 @@ +minVersionIncluded=1.3 +maxVersionIncluded=1.10.2 diff --git a/1.8.9/legacy-fabric-item-groups-v1/src/main/java/net/legacyfabric/fabric/impl/item/group/FabricItemGroup.java b/legacy-fabric-item-groups-v1/1.8.9/src/main/java/net/legacyfabric/fabric/impl/item/group/FabricItemGroup.java similarity index 100% rename from 1.8.9/legacy-fabric-item-groups-v1/src/main/java/net/legacyfabric/fabric/impl/item/group/FabricItemGroup.java rename to legacy-fabric-item-groups-v1/1.8.9/src/main/java/net/legacyfabric/fabric/impl/item/group/FabricItemGroup.java diff --git a/1.8.9/legacy-fabric-item-groups-v1/src/main/java/net/legacyfabric/fabric/mixin/item/group/ItemGroupMixin.java b/legacy-fabric-item-groups-v1/1.8.9/src/main/java/net/legacyfabric/fabric/mixin/item/group/ItemGroupMixin.java similarity index 100% rename from 1.8.9/legacy-fabric-item-groups-v1/src/main/java/net/legacyfabric/fabric/mixin/item/group/ItemGroupMixin.java rename to legacy-fabric-item-groups-v1/1.8.9/src/main/java/net/legacyfabric/fabric/mixin/item/group/ItemGroupMixin.java diff --git a/1.8.9/legacy-fabric-item-groups-v1/src/main/resources/assets/legacy-fabric/icon.png b/legacy-fabric-item-groups-v1/1.8.9/src/main/resources/assets/legacy-fabric/icon.png similarity index 100% rename from 1.8.9/legacy-fabric-item-groups-v1/src/main/resources/assets/legacy-fabric/icon.png rename to legacy-fabric-item-groups-v1/1.8.9/src/main/resources/assets/legacy-fabric/icon.png diff --git a/1.8.9/legacy-fabric-item-groups-v1/src/main/resources/assets/legacy-fabric/lang/en_US.lang b/legacy-fabric-item-groups-v1/1.8.9/src/main/resources/assets/legacy-fabric/lang/en_US.lang similarity index 100% rename from 1.8.9/legacy-fabric-item-groups-v1/src/main/resources/assets/legacy-fabric/lang/en_US.lang rename to legacy-fabric-item-groups-v1/1.8.9/src/main/resources/assets/legacy-fabric/lang/en_US.lang diff --git a/1.8.9/legacy-fabric-item-groups-v1/src/main/resources/assets/legacy-fabric/lang/ru_RU.lang b/legacy-fabric-item-groups-v1/1.8.9/src/main/resources/assets/legacy-fabric/lang/ru_RU.lang similarity index 100% rename from 1.8.9/legacy-fabric-item-groups-v1/src/main/resources/assets/legacy-fabric/lang/ru_RU.lang rename to legacy-fabric-item-groups-v1/1.8.9/src/main/resources/assets/legacy-fabric/lang/ru_RU.lang diff --git a/1.8.9/legacy-fabric-item-groups-v1/src/main/resources/assets/legacy-fabric/textures/gui/creative_buttons.png b/legacy-fabric-item-groups-v1/1.8.9/src/main/resources/assets/legacy-fabric/textures/gui/creative_buttons.png similarity index 100% rename from 1.8.9/legacy-fabric-item-groups-v1/src/main/resources/assets/legacy-fabric/textures/gui/creative_buttons.png rename to legacy-fabric-item-groups-v1/1.8.9/src/main/resources/assets/legacy-fabric/textures/gui/creative_buttons.png diff --git a/1.12.2/legacy-fabric-item-groups-v1/src/main/resources/fabric.mod.json b/legacy-fabric-item-groups-v1/1.8.9/src/main/resources/fabric.mod.json similarity index 96% rename from 1.12.2/legacy-fabric-item-groups-v1/src/main/resources/fabric.mod.json rename to legacy-fabric-item-groups-v1/1.8.9/src/main/resources/fabric.mod.json index e36a99033..ab1f44bd4 100644 --- a/1.12.2/legacy-fabric-item-groups-v1/src/main/resources/fabric.mod.json +++ b/legacy-fabric-item-groups-v1/1.8.9/src/main/resources/fabric.mod.json @@ -20,7 +20,7 @@ ], "description": "Advanced item groups.", "depends": { - "minecraft": ">1.10.2 <=1.12.2" + "minecraft": "${minecraft_version}" }, "custom": { "modmenu": { diff --git a/1.8.9/legacy-fabric-item-groups-v1/src/main/resources/legacy-fabric-item-groups-v1.mixins.json b/legacy-fabric-item-groups-v1/1.8.9/src/main/resources/legacy-fabric-item-groups-v1.mixins.json similarity index 100% rename from 1.8.9/legacy-fabric-item-groups-v1/src/main/resources/legacy-fabric-item-groups-v1.mixins.json rename to legacy-fabric-item-groups-v1/1.8.9/src/main/resources/legacy-fabric-item-groups-v1.mixins.json diff --git a/1.8.9/legacy-fabric-item-groups-v1/src/testmod/java/net/legacyfabric/fabric/test/item/group/ItemGroupTest.java b/legacy-fabric-item-groups-v1/1.8.9/src/testmod/java/net/legacyfabric/fabric/test/item/group/ItemGroupTest.java similarity index 100% rename from 1.8.9/legacy-fabric-item-groups-v1/src/testmod/java/net/legacyfabric/fabric/test/item/group/ItemGroupTest.java rename to legacy-fabric-item-groups-v1/1.8.9/src/testmod/java/net/legacyfabric/fabric/test/item/group/ItemGroupTest.java diff --git a/1.8.9/legacy-fabric-item-groups-v1/src/testmod/resources/assets/legacy-fabric-api/lang/en_US.lang b/legacy-fabric-item-groups-v1/1.8.9/src/testmod/resources/assets/legacy-fabric-api/lang/en_US.lang similarity index 100% rename from 1.8.9/legacy-fabric-item-groups-v1/src/testmod/resources/assets/legacy-fabric-api/lang/en_US.lang rename to legacy-fabric-item-groups-v1/1.8.9/src/testmod/resources/assets/legacy-fabric-api/lang/en_US.lang diff --git a/1.8.9/legacy-fabric-item-groups-v1/src/testmod/resources/fabric.mod.json b/legacy-fabric-item-groups-v1/1.8.9/src/testmod/resources/fabric.mod.json similarity index 86% rename from 1.8.9/legacy-fabric-item-groups-v1/src/testmod/resources/fabric.mod.json rename to legacy-fabric-item-groups-v1/1.8.9/src/testmod/resources/fabric.mod.json index ffef2963f..ffa7dbef4 100644 --- a/1.8.9/legacy-fabric-item-groups-v1/src/testmod/resources/fabric.mod.json +++ b/legacy-fabric-item-groups-v1/1.8.9/src/testmod/resources/fabric.mod.json @@ -9,6 +9,6 @@ ] }, "depends": { - "minecraft": "<=1.10.2" + "minecraft": "${minecraft_version}" } } diff --git a/legacy-fabric-item-groups-v1/common.gradle b/legacy-fabric-item-groups-v1/common.gradle new file mode 100644 index 000000000..f7bb5a4dd --- /dev/null +++ b/legacy-fabric-item-groups-v1/common.gradle @@ -0,0 +1,3 @@ +moduleDependencies(project, [ + "legacy-fabric-api-base" +]) diff --git a/legacy-fabric-item-groups-v1/common/build.gradle b/legacy-fabric-item-groups-v1/common/build.gradle new file mode 100644 index 000000000..e69de29bb diff --git a/legacy-fabric-item-groups-v1/common/gradle.properties b/legacy-fabric-item-groups-v1/common/gradle.properties new file mode 100644 index 000000000..d523a75a0 --- /dev/null +++ b/legacy-fabric-item-groups-v1/common/gradle.properties @@ -0,0 +1,2 @@ +minVersionIncluded=1.3 +maxVersionIncluded=1.12.2 diff --git a/common/legacy-fabric-item-groups-v1-common/src/main/java/net/legacyfabric/fabric/api/client/itemgroup/FabricItemGroupBuilder.java b/legacy-fabric-item-groups-v1/common/src/main/java/net/legacyfabric/fabric/api/client/itemgroup/FabricItemGroupBuilder.java similarity index 100% rename from common/legacy-fabric-item-groups-v1-common/src/main/java/net/legacyfabric/fabric/api/client/itemgroup/FabricItemGroupBuilder.java rename to legacy-fabric-item-groups-v1/common/src/main/java/net/legacyfabric/fabric/api/client/itemgroup/FabricItemGroupBuilder.java diff --git a/common/legacy-fabric-item-groups-v1-common/src/main/java/net/legacyfabric/fabric/impl/item/group/CreativeGuiExtensions.java b/legacy-fabric-item-groups-v1/common/src/main/java/net/legacyfabric/fabric/impl/item/group/CreativeGuiExtensions.java similarity index 100% rename from common/legacy-fabric-item-groups-v1-common/src/main/java/net/legacyfabric/fabric/impl/item/group/CreativeGuiExtensions.java rename to legacy-fabric-item-groups-v1/common/src/main/java/net/legacyfabric/fabric/impl/item/group/CreativeGuiExtensions.java diff --git a/common/legacy-fabric-item-groups-v1-common/src/main/java/net/legacyfabric/fabric/impl/item/group/FabricCreativeGuiComponents.java b/legacy-fabric-item-groups-v1/common/src/main/java/net/legacyfabric/fabric/impl/item/group/FabricCreativeGuiComponents.java similarity index 100% rename from common/legacy-fabric-item-groups-v1-common/src/main/java/net/legacyfabric/fabric/impl/item/group/FabricCreativeGuiComponents.java rename to legacy-fabric-item-groups-v1/common/src/main/java/net/legacyfabric/fabric/impl/item/group/FabricCreativeGuiComponents.java diff --git a/common/legacy-fabric-item-groups-v1-common/src/main/java/net/legacyfabric/fabric/impl/item/group/ItemGroupExtensions.java b/legacy-fabric-item-groups-v1/common/src/main/java/net/legacyfabric/fabric/impl/item/group/ItemGroupExtensions.java similarity index 100% rename from common/legacy-fabric-item-groups-v1-common/src/main/java/net/legacyfabric/fabric/impl/item/group/ItemGroupExtensions.java rename to legacy-fabric-item-groups-v1/common/src/main/java/net/legacyfabric/fabric/impl/item/group/ItemGroupExtensions.java diff --git a/common/legacy-fabric-item-groups-v1-common/src/main/java/net/legacyfabric/fabric/impl/item/group/ScreenAccessor.java b/legacy-fabric-item-groups-v1/common/src/main/java/net/legacyfabric/fabric/impl/item/group/ScreenAccessor.java similarity index 100% rename from common/legacy-fabric-item-groups-v1-common/src/main/java/net/legacyfabric/fabric/impl/item/group/ScreenAccessor.java rename to legacy-fabric-item-groups-v1/common/src/main/java/net/legacyfabric/fabric/impl/item/group/ScreenAccessor.java diff --git a/common/legacy-fabric-item-groups-v1-common/src/main/java/net/legacyfabric/fabric/mixin/item/group/MixinItemGroup.java b/legacy-fabric-item-groups-v1/common/src/main/java/net/legacyfabric/fabric/mixin/item/group/MixinItemGroup.java similarity index 100% rename from common/legacy-fabric-item-groups-v1-common/src/main/java/net/legacyfabric/fabric/mixin/item/group/MixinItemGroup.java rename to legacy-fabric-item-groups-v1/common/src/main/java/net/legacyfabric/fabric/mixin/item/group/MixinItemGroup.java diff --git a/common/legacy-fabric-item-groups-v1-common/src/main/java/net/legacyfabric/fabric/mixin/item/group/client/MixinCreativePlayerInventoryGui.java b/legacy-fabric-item-groups-v1/common/src/main/java/net/legacyfabric/fabric/mixin/item/group/client/MixinCreativePlayerInventoryGui.java similarity index 100% rename from common/legacy-fabric-item-groups-v1-common/src/main/java/net/legacyfabric/fabric/mixin/item/group/client/MixinCreativePlayerInventoryGui.java rename to legacy-fabric-item-groups-v1/common/src/main/java/net/legacyfabric/fabric/mixin/item/group/client/MixinCreativePlayerInventoryGui.java diff --git a/common/legacy-fabric-item-groups-v1-common/src/main/java/net/legacyfabric/fabric/mixin/item/group/client/MixinItemGroup.java b/legacy-fabric-item-groups-v1/common/src/main/java/net/legacyfabric/fabric/mixin/item/group/client/MixinItemGroup.java similarity index 100% rename from common/legacy-fabric-item-groups-v1-common/src/main/java/net/legacyfabric/fabric/mixin/item/group/client/MixinItemGroup.java rename to legacy-fabric-item-groups-v1/common/src/main/java/net/legacyfabric/fabric/mixin/item/group/client/MixinItemGroup.java diff --git a/common/legacy-fabric-item-groups-v1-common/src/main/java/net/legacyfabric/fabric/mixin/item/group/client/MixinScreen.java b/legacy-fabric-item-groups-v1/common/src/main/java/net/legacyfabric/fabric/mixin/item/group/client/MixinScreen.java similarity index 100% rename from common/legacy-fabric-item-groups-v1-common/src/main/java/net/legacyfabric/fabric/mixin/item/group/client/MixinScreen.java rename to legacy-fabric-item-groups-v1/common/src/main/java/net/legacyfabric/fabric/mixin/item/group/client/MixinScreen.java diff --git a/common/legacy-fabric-item-groups-v1-common/src/main/resources/assets/legacy-fabric/icon.png b/legacy-fabric-item-groups-v1/common/src/main/resources/assets/legacy-fabric/icon.png similarity index 100% rename from common/legacy-fabric-item-groups-v1-common/src/main/resources/assets/legacy-fabric/icon.png rename to legacy-fabric-item-groups-v1/common/src/main/resources/assets/legacy-fabric/icon.png diff --git a/common/legacy-fabric-item-groups-v1-common/src/main/resources/assets/legacy-fabric/lang/en_us.json b/legacy-fabric-item-groups-v1/common/src/main/resources/assets/legacy-fabric/lang/en_us.json similarity index 100% rename from common/legacy-fabric-item-groups-v1-common/src/main/resources/assets/legacy-fabric/lang/en_us.json rename to legacy-fabric-item-groups-v1/common/src/main/resources/assets/legacy-fabric/lang/en_us.json diff --git a/common/legacy-fabric-item-groups-v1-common/src/main/resources/assets/legacy-fabric/lang/ru_ru.json b/legacy-fabric-item-groups-v1/common/src/main/resources/assets/legacy-fabric/lang/ru_ru.json similarity index 100% rename from common/legacy-fabric-item-groups-v1-common/src/main/resources/assets/legacy-fabric/lang/ru_ru.json rename to legacy-fabric-item-groups-v1/common/src/main/resources/assets/legacy-fabric/lang/ru_ru.json diff --git a/common/legacy-fabric-item-groups-v1-common/src/main/resources/assets/legacy-fabric/textures/gui/creative_buttons.png b/legacy-fabric-item-groups-v1/common/src/main/resources/assets/legacy-fabric/textures/gui/creative_buttons.png similarity index 100% rename from common/legacy-fabric-item-groups-v1-common/src/main/resources/assets/legacy-fabric/textures/gui/creative_buttons.png rename to legacy-fabric-item-groups-v1/common/src/main/resources/assets/legacy-fabric/textures/gui/creative_buttons.png diff --git a/common/legacy-fabric-item-groups-v1-common/src/main/resources/fabric.mod.json b/legacy-fabric-item-groups-v1/common/src/main/resources/fabric.mod.json similarity index 96% rename from common/legacy-fabric-item-groups-v1-common/src/main/resources/fabric.mod.json rename to legacy-fabric-item-groups-v1/common/src/main/resources/fabric.mod.json index fdbb69eed..acdcdd0af 100644 --- a/common/legacy-fabric-item-groups-v1-common/src/main/resources/fabric.mod.json +++ b/legacy-fabric-item-groups-v1/common/src/main/resources/fabric.mod.json @@ -20,7 +20,7 @@ ], "description": "Advanced item groups.", "depends": { - "minecraft": ">=1.3 <=1.12.2" + "minecraft": "${minecraft_version}" }, "custom": { "modmenu": { diff --git a/common/legacy-fabric-item-groups-v1-common/src/main/resources/legacy-fabric-item-groups-v1-common.mixins.json b/legacy-fabric-item-groups-v1/common/src/main/resources/legacy-fabric-item-groups-v1-common.mixins.json similarity index 100% rename from common/legacy-fabric-item-groups-v1-common/src/main/resources/legacy-fabric-item-groups-v1-common.mixins.json rename to legacy-fabric-item-groups-v1/common/src/main/resources/legacy-fabric-item-groups-v1-common.mixins.json diff --git a/settings.gradle b/settings.gradle index 9c3678417..821735faf 100644 --- a/settings.gradle +++ b/settings.gradle @@ -32,6 +32,7 @@ loadProject("legacy-fabric-lifecycle-events-v1") loadProject("legacy-fabric-command-api-v1") loadProject("legacy-fabric-entity-events-v1") loadProject("legacy-fabric-gamerule-api-v1") +loadProject("legacy-fabric-item-groups-v1") //include("common") //include("common:legacy-fabric-logger-api-v1") From 6f9922717dff8885b4bd2ec85389aba783aa57d1 Mon Sep 17 00:00:00 2001 From: Cat Core Date: Thu, 8 Feb 2024 11:05:06 +0100 Subject: [PATCH 12/27] Port legacy-fabric-keybindings-api-v1 --- .../legacy-fabric-keybindings-api-v1/build.gradle | 12 ------------ 1.8.9/legacy-fabric-keybindings-api-v1/build.gradle | 12 ------------ .../build.gradle | 8 -------- .../1.7.10/build.gradle | 0 .../1.7.10/gradle.properties | 2 ++ .../test/client/keybinding/KeybindingTest.java | 0 .../1.7.10}/src/testmod/resources/fabric.mod.json | 2 +- legacy-fabric-keybindings-api-v1/1.8.9/build.gradle | 0 .../1.8.9/gradle.properties | 2 ++ .../test/client/keybinding/KeybindingTest.java | 0 .../1.8.9}/src/testmod/resources/fabric.mod.json | 2 +- legacy-fabric-keybindings-api-v1/common.gradle | 4 ++++ .../common/build.gradle | 0 .../common/gradle.properties | 2 ++ .../api/client/keybinding/v1/KeyBindingHelper.java | 0 .../client/keybinding/KeyBindingRegistryImpl.java | 0 .../mixin/client/keybinding/GameOptionsMixin.java | 0 .../resources/assets/legacy-fabric-api/icon.png | Bin .../common}/src/main/resources/fabric.mod.json | 0 .../legacy-fabric-keybinding-api-v1.mixins.json | 0 settings.gradle | 1 + 21 files changed, 13 insertions(+), 34 deletions(-) delete mode 100644 1.7.10/legacy-fabric-keybindings-api-v1/build.gradle delete mode 100644 1.8.9/legacy-fabric-keybindings-api-v1/build.gradle delete mode 100644 common/legacy-fabric-keybindings-api-v1-common/build.gradle create mode 100644 legacy-fabric-keybindings-api-v1/1.7.10/build.gradle create mode 100644 legacy-fabric-keybindings-api-v1/1.7.10/gradle.properties rename {1.7.10/legacy-fabric-keybindings-api-v1 => legacy-fabric-keybindings-api-v1/1.7.10}/src/testmod/java/net/legacyfabric/fabric/test/client/keybinding/KeybindingTest.java (100%) rename {1.7.10/legacy-fabric-keybindings-api-v1 => legacy-fabric-keybindings-api-v1/1.7.10}/src/testmod/resources/fabric.mod.json (87%) create mode 100644 legacy-fabric-keybindings-api-v1/1.8.9/build.gradle create mode 100644 legacy-fabric-keybindings-api-v1/1.8.9/gradle.properties rename {1.8.9/legacy-fabric-keybindings-api-v1 => legacy-fabric-keybindings-api-v1/1.8.9}/src/testmod/java/net/legacyfabric/fabric/test/client/keybinding/KeybindingTest.java (100%) rename {1.8.9/legacy-fabric-keybindings-api-v1 => legacy-fabric-keybindings-api-v1/1.8.9}/src/testmod/resources/fabric.mod.json (87%) create mode 100644 legacy-fabric-keybindings-api-v1/common.gradle create mode 100644 legacy-fabric-keybindings-api-v1/common/build.gradle create mode 100644 legacy-fabric-keybindings-api-v1/common/gradle.properties rename {common/legacy-fabric-keybindings-api-v1-common => legacy-fabric-keybindings-api-v1/common}/src/main/java/net/legacyfabric/fabric/api/client/keybinding/v1/KeyBindingHelper.java (100%) rename {common/legacy-fabric-keybindings-api-v1-common => legacy-fabric-keybindings-api-v1/common}/src/main/java/net/legacyfabric/fabric/impl/client/keybinding/KeyBindingRegistryImpl.java (100%) rename {common/legacy-fabric-keybindings-api-v1-common => legacy-fabric-keybindings-api-v1/common}/src/main/java/net/legacyfabric/fabric/mixin/client/keybinding/GameOptionsMixin.java (100%) rename {common/legacy-fabric-keybindings-api-v1-common => legacy-fabric-keybindings-api-v1/common}/src/main/resources/assets/legacy-fabric-api/icon.png (100%) rename {common/legacy-fabric-keybindings-api-v1-common => legacy-fabric-keybindings-api-v1/common}/src/main/resources/fabric.mod.json (100%) rename {common/legacy-fabric-keybindings-api-v1-common => legacy-fabric-keybindings-api-v1/common}/src/main/resources/legacy-fabric-keybinding-api-v1.mixins.json (100%) diff --git a/1.7.10/legacy-fabric-keybindings-api-v1/build.gradle b/1.7.10/legacy-fabric-keybindings-api-v1/build.gradle deleted file mode 100644 index cc72b51d9..000000000 --- a/1.7.10/legacy-fabric-keybindings-api-v1/build.gradle +++ /dev/null @@ -1,12 +0,0 @@ -version = getSubprojectVersion(project) - -moduleDependencies(project, [ - "common": [ - "legacy-fabric-api-base-common", - "legacy-fabric-lifecycle-events-v1-common", - "legacy-fabric-keybindings-api-v1-common" - ], - "1.7.10": [ - "legacy-fabric-lifecycle-events-v1" - ] -]) diff --git a/1.8.9/legacy-fabric-keybindings-api-v1/build.gradle b/1.8.9/legacy-fabric-keybindings-api-v1/build.gradle deleted file mode 100644 index a463ff795..000000000 --- a/1.8.9/legacy-fabric-keybindings-api-v1/build.gradle +++ /dev/null @@ -1,12 +0,0 @@ -version = getSubprojectVersion(project) - -moduleDependencies(project, [ - "common": [ - "legacy-fabric-api-base-common", - "legacy-fabric-lifecycle-events-v1-common", - "legacy-fabric-keybindings-api-v1-common" - ], - "1.8.9": [ - "legacy-fabric-lifecycle-events-v1" - ] -]) diff --git a/common/legacy-fabric-keybindings-api-v1-common/build.gradle b/common/legacy-fabric-keybindings-api-v1-common/build.gradle deleted file mode 100644 index 204e91307..000000000 --- a/common/legacy-fabric-keybindings-api-v1-common/build.gradle +++ /dev/null @@ -1,8 +0,0 @@ -version = getSubprojectVersion(project) - -moduleDependencies(project, [ - "common": [ - "legacy-fabric-api-base-common", - "legacy-fabric-lifecycle-events-v1-common" - ] -]) diff --git a/legacy-fabric-keybindings-api-v1/1.7.10/build.gradle b/legacy-fabric-keybindings-api-v1/1.7.10/build.gradle new file mode 100644 index 000000000..e69de29bb diff --git a/legacy-fabric-keybindings-api-v1/1.7.10/gradle.properties b/legacy-fabric-keybindings-api-v1/1.7.10/gradle.properties new file mode 100644 index 000000000..c6dcd9541 --- /dev/null +++ b/legacy-fabric-keybindings-api-v1/1.7.10/gradle.properties @@ -0,0 +1,2 @@ +minVersionIncluded=1.3 +maxVersionIncluded=1.7.10 diff --git a/1.7.10/legacy-fabric-keybindings-api-v1/src/testmod/java/net/legacyfabric/fabric/test/client/keybinding/KeybindingTest.java b/legacy-fabric-keybindings-api-v1/1.7.10/src/testmod/java/net/legacyfabric/fabric/test/client/keybinding/KeybindingTest.java similarity index 100% rename from 1.7.10/legacy-fabric-keybindings-api-v1/src/testmod/java/net/legacyfabric/fabric/test/client/keybinding/KeybindingTest.java rename to legacy-fabric-keybindings-api-v1/1.7.10/src/testmod/java/net/legacyfabric/fabric/test/client/keybinding/KeybindingTest.java diff --git a/1.7.10/legacy-fabric-keybindings-api-v1/src/testmod/resources/fabric.mod.json b/legacy-fabric-keybindings-api-v1/1.7.10/src/testmod/resources/fabric.mod.json similarity index 87% rename from 1.7.10/legacy-fabric-keybindings-api-v1/src/testmod/resources/fabric.mod.json rename to legacy-fabric-keybindings-api-v1/1.7.10/src/testmod/resources/fabric.mod.json index 058b0291c..b9c55e26f 100644 --- a/1.7.10/legacy-fabric-keybindings-api-v1/src/testmod/resources/fabric.mod.json +++ b/legacy-fabric-keybindings-api-v1/1.7.10/src/testmod/resources/fabric.mod.json @@ -9,6 +9,6 @@ ] }, "depends": { - "minecraft": "<=1.7.10" + "minecraft": "${minecraft_version}" } } diff --git a/legacy-fabric-keybindings-api-v1/1.8.9/build.gradle b/legacy-fabric-keybindings-api-v1/1.8.9/build.gradle new file mode 100644 index 000000000..e69de29bb diff --git a/legacy-fabric-keybindings-api-v1/1.8.9/gradle.properties b/legacy-fabric-keybindings-api-v1/1.8.9/gradle.properties new file mode 100644 index 000000000..7d5606688 --- /dev/null +++ b/legacy-fabric-keybindings-api-v1/1.8.9/gradle.properties @@ -0,0 +1,2 @@ +minVersionIncluded=1.8 +maxVersionIncluded=1.12.2 diff --git a/1.8.9/legacy-fabric-keybindings-api-v1/src/testmod/java/net/legacyfabric/fabric/test/client/keybinding/KeybindingTest.java b/legacy-fabric-keybindings-api-v1/1.8.9/src/testmod/java/net/legacyfabric/fabric/test/client/keybinding/KeybindingTest.java similarity index 100% rename from 1.8.9/legacy-fabric-keybindings-api-v1/src/testmod/java/net/legacyfabric/fabric/test/client/keybinding/KeybindingTest.java rename to legacy-fabric-keybindings-api-v1/1.8.9/src/testmod/java/net/legacyfabric/fabric/test/client/keybinding/KeybindingTest.java diff --git a/1.8.9/legacy-fabric-keybindings-api-v1/src/testmod/resources/fabric.mod.json b/legacy-fabric-keybindings-api-v1/1.8.9/src/testmod/resources/fabric.mod.json similarity index 87% rename from 1.8.9/legacy-fabric-keybindings-api-v1/src/testmod/resources/fabric.mod.json rename to legacy-fabric-keybindings-api-v1/1.8.9/src/testmod/resources/fabric.mod.json index cabad2c75..b9c55e26f 100644 --- a/1.8.9/legacy-fabric-keybindings-api-v1/src/testmod/resources/fabric.mod.json +++ b/legacy-fabric-keybindings-api-v1/1.8.9/src/testmod/resources/fabric.mod.json @@ -9,6 +9,6 @@ ] }, "depends": { - "minecraft": ">=1.8 <=1.12.2" + "minecraft": "${minecraft_version}" } } diff --git a/legacy-fabric-keybindings-api-v1/common.gradle b/legacy-fabric-keybindings-api-v1/common.gradle new file mode 100644 index 000000000..28cd8d384 --- /dev/null +++ b/legacy-fabric-keybindings-api-v1/common.gradle @@ -0,0 +1,4 @@ +moduleDependencies(project, [ + "legacy-fabric-api-base", + "legacy-fabric-lifecycle-events-v1" +]) diff --git a/legacy-fabric-keybindings-api-v1/common/build.gradle b/legacy-fabric-keybindings-api-v1/common/build.gradle new file mode 100644 index 000000000..e69de29bb diff --git a/legacy-fabric-keybindings-api-v1/common/gradle.properties b/legacy-fabric-keybindings-api-v1/common/gradle.properties new file mode 100644 index 000000000..13b94f3a1 --- /dev/null +++ b/legacy-fabric-keybindings-api-v1/common/gradle.properties @@ -0,0 +1,2 @@ +minVersionIncluded=1.3 +maxVersionIncluded=1.13.2 diff --git a/common/legacy-fabric-keybindings-api-v1-common/src/main/java/net/legacyfabric/fabric/api/client/keybinding/v1/KeyBindingHelper.java b/legacy-fabric-keybindings-api-v1/common/src/main/java/net/legacyfabric/fabric/api/client/keybinding/v1/KeyBindingHelper.java similarity index 100% rename from common/legacy-fabric-keybindings-api-v1-common/src/main/java/net/legacyfabric/fabric/api/client/keybinding/v1/KeyBindingHelper.java rename to legacy-fabric-keybindings-api-v1/common/src/main/java/net/legacyfabric/fabric/api/client/keybinding/v1/KeyBindingHelper.java diff --git a/common/legacy-fabric-keybindings-api-v1-common/src/main/java/net/legacyfabric/fabric/impl/client/keybinding/KeyBindingRegistryImpl.java b/legacy-fabric-keybindings-api-v1/common/src/main/java/net/legacyfabric/fabric/impl/client/keybinding/KeyBindingRegistryImpl.java similarity index 100% rename from common/legacy-fabric-keybindings-api-v1-common/src/main/java/net/legacyfabric/fabric/impl/client/keybinding/KeyBindingRegistryImpl.java rename to legacy-fabric-keybindings-api-v1/common/src/main/java/net/legacyfabric/fabric/impl/client/keybinding/KeyBindingRegistryImpl.java diff --git a/common/legacy-fabric-keybindings-api-v1-common/src/main/java/net/legacyfabric/fabric/mixin/client/keybinding/GameOptionsMixin.java b/legacy-fabric-keybindings-api-v1/common/src/main/java/net/legacyfabric/fabric/mixin/client/keybinding/GameOptionsMixin.java similarity index 100% rename from common/legacy-fabric-keybindings-api-v1-common/src/main/java/net/legacyfabric/fabric/mixin/client/keybinding/GameOptionsMixin.java rename to legacy-fabric-keybindings-api-v1/common/src/main/java/net/legacyfabric/fabric/mixin/client/keybinding/GameOptionsMixin.java diff --git a/common/legacy-fabric-keybindings-api-v1-common/src/main/resources/assets/legacy-fabric-api/icon.png b/legacy-fabric-keybindings-api-v1/common/src/main/resources/assets/legacy-fabric-api/icon.png similarity index 100% rename from common/legacy-fabric-keybindings-api-v1-common/src/main/resources/assets/legacy-fabric-api/icon.png rename to legacy-fabric-keybindings-api-v1/common/src/main/resources/assets/legacy-fabric-api/icon.png diff --git a/common/legacy-fabric-keybindings-api-v1-common/src/main/resources/fabric.mod.json b/legacy-fabric-keybindings-api-v1/common/src/main/resources/fabric.mod.json similarity index 100% rename from common/legacy-fabric-keybindings-api-v1-common/src/main/resources/fabric.mod.json rename to legacy-fabric-keybindings-api-v1/common/src/main/resources/fabric.mod.json diff --git a/common/legacy-fabric-keybindings-api-v1-common/src/main/resources/legacy-fabric-keybinding-api-v1.mixins.json b/legacy-fabric-keybindings-api-v1/common/src/main/resources/legacy-fabric-keybinding-api-v1.mixins.json similarity index 100% rename from common/legacy-fabric-keybindings-api-v1-common/src/main/resources/legacy-fabric-keybinding-api-v1.mixins.json rename to legacy-fabric-keybindings-api-v1/common/src/main/resources/legacy-fabric-keybinding-api-v1.mixins.json diff --git a/settings.gradle b/settings.gradle index 821735faf..54cb7b1b6 100644 --- a/settings.gradle +++ b/settings.gradle @@ -33,6 +33,7 @@ loadProject("legacy-fabric-command-api-v1") loadProject("legacy-fabric-entity-events-v1") loadProject("legacy-fabric-gamerule-api-v1") loadProject("legacy-fabric-item-groups-v1") +loadProject("legacy-fabric-keybindings-api-v1") //include("common") //include("common:legacy-fabric-logger-api-v1") From cd2d50cb79d5c9dc2d960e1b30dba053c04f76a9 Mon Sep 17 00:00:00 2001 From: Cat Core Date: Thu, 8 Feb 2024 11:17:55 +0100 Subject: [PATCH 13/27] Port legacy-fabric-networking-api-v1 --- 1.12.2/legacy-fabric-networking-api-v1/build.gradle | 8 -------- 1.7.10/legacy-fabric-networking-api-v1/build.gradle | 8 -------- 1.8.9/legacy-fabric-networking-api-v1/build.gradle | 8 -------- .../build.gradle | 7 ------- legacy-fabric-networking-api-v1/1.12.2/build.gradle | 0 .../1.12.2/gradle.properties | 2 ++ .../mixin/networking/ClientConnectionMixin.java | 0 .../networking/CustomPayloadC2SPacketMixin.java | 0 .../mixin/networking/MinecraftServerMixin.java | 0 .../fabric/mixin/networking/PlayerManagerMixin.java | 0 .../client/CustomPayloadS2CPacketMixin.java | 0 .../networking/client/MinecraftClientMixin.java | 0 .../main/resources/assets/legacy-fabric/icon.png | Bin .../1.12.2}/src/main/resources/fabric.mod.json | 2 +- .../legacy-fabric-networking-api-v1.mixins.json | 0 .../fabric/test/network/ServerNetworkingTest.java | 0 .../test/network/client/ClientNetworkingTest.java | 0 .../1.12.2}/src/testmod/resources/fabric.mod.json | 2 +- legacy-fabric-networking-api-v1/1.7.10/build.gradle | 0 .../1.7.10/gradle.properties | 2 ++ .../mixin/networking/ClientConnectionMixin.java | 0 .../networking/CustomPayloadC2SPacketMixin.java | 0 .../mixin/networking/MinecraftServerMixin.java | 0 .../fabric/mixin/networking/PacketByteBufMixin.java | 0 .../fabric/mixin/networking/PlayerManagerMixin.java | 0 .../client/CustomPayloadS2CPacketMixin.java | 0 .../networking/client/MinecraftClientMixin.java | 0 .../main/resources/assets/legacy-fabric/icon.png | Bin .../1.7.10}/src/main/resources/fabric.mod.json | 2 +- .../legacy-fabric-networking-api-v1.mixins.json | 0 .../fabric/test/network/ServerNetworkingTest.java | 0 .../test/network/client/ClientNetworkingTest.java | 0 .../1.7.10}/src/testmod/resources/fabric.mod.json | 2 +- legacy-fabric-networking-api-v1/1.8.9/build.gradle | 0 .../1.8.9/gradle.properties | 2 ++ .../mixin/networking/ClientConnectionMixin.java | 0 .../networking/CustomPayloadC2SPacketMixin.java | 0 .../mixin/networking/MinecraftServerMixin.java | 0 .../fabric/mixin/networking/PlayerManagerMixin.java | 0 .../client/CustomPayloadS2CPacketMixin.java | 0 .../networking/client/MinecraftClientMixin.java | 0 .../main/resources/assets/legacy-fabric/icon.png | Bin .../1.8.9}/src/main/resources/fabric.mod.json | 2 +- .../legacy-fabric-networking-api-v1.mixins.json | 0 .../fabric/test/network/ServerNetworkingTest.java | 0 .../test/network/client/ClientNetworkingTest.java | 0 .../1.8.9}/src/testmod/resources/fabric.mod.json | 2 +- legacy-fabric-networking-api-v1/common.gradle | 3 +++ legacy-fabric-networking-api-v1/common/build.gradle | 0 .../common/gradle.properties | 2 ++ .../client/networking/v1/C2SPlayChannelEvents.java | 0 .../networking/v1/ClientPlayConnectionEvents.java | 0 .../client/networking/v1/ClientPlayNetworking.java | 0 .../api/client/networking/v1/package-info.java | 0 .../api/networking/v1/EntityTrackingEvents.java | 0 .../fabric/api/networking/v1/FutureListeners.java | 0 .../fabric/api/networking/v1/PacketByteBufs.java | 0 .../fabric/api/networking/v1/PacketSender.java | 0 .../fabric/api/networking/v1/PlayerLookup.java | 0 .../api/networking/v1/S2CPlayChannelEvents.java | 0 .../networking/v1/ServerPlayConnectionEvents.java | 0 .../api/networking/v1/ServerPlayNetworking.java | 0 .../fabric/api/networking/v1/package-info.java | 0 .../networking/AbstractChanneledNetworkAddon.java | 0 .../impl/networking/AbstractNetworkAddon.java | 0 .../fabric/impl/networking/ChannelInfoHolder.java | 0 .../impl/networking/ClientConnectionExtension.java | 0 .../impl/networking/DisconnectPacketSource.java | 0 .../impl/networking/GlobalReceiverRegistry.java | 0 .../fabric/impl/networking/NetworkingImpl.java | 0 .../impl/networking/PacketByteBufExtension.java | 0 .../impl/networking/PacketCallbackListener.java | 0 .../networking/client/ClientNetworkingImpl.java | 0 .../networking/client/ClientPlayNetworkAddon.java | 0 .../client/ClientPlayNetworkHandlerExtensions.java | 0 .../client/CustomPayloadS2CPacketExtension.java | 0 .../client/MinecraftClientExtensions.java | 0 .../server/CustomPayloadC2SPacketExtension.java | 0 .../server/MinecraftServerExtensions.java | 0 .../networking/server/ServerNetworkingImpl.java | 0 .../networking/server/ServerPlayNetworkAddon.java | 0 .../server/ServerPlayNetworkHandlerExtensions.java | 0 .../networking/CustomPayloadS2CPacketMixin.java | 0 .../mixin/networking/EntityTrackerAccessor.java | 0 .../networking/EntityTrackerEntryAccessor.java | 0 .../mixin/networking/EntityTrackerEntryMixin.java | 0 .../networking/ServerPlayNetworkHandlerMixin.java | 0 .../client/ClientPlayNetworkHandlerMixin.java | 0 .../networking/client/ConnectScreenAccessor.java | 0 .../networking/client/MinecraftClientAccessor.java | 0 .../main/resources/assets/legacy-fabric/icon.png | Bin .../common}/src/main/resources/fabric.mod.json | 2 +- ...gacy-fabric-networking-api-v1-common.mixins.json | 0 settings.gradle | 1 + 94 files changed, 19 insertions(+), 38 deletions(-) delete mode 100644 1.12.2/legacy-fabric-networking-api-v1/build.gradle delete mode 100644 1.7.10/legacy-fabric-networking-api-v1/build.gradle delete mode 100644 1.8.9/legacy-fabric-networking-api-v1/build.gradle delete mode 100644 common/legacy-fabric-networking-api-v1-common/build.gradle create mode 100644 legacy-fabric-networking-api-v1/1.12.2/build.gradle create mode 100644 legacy-fabric-networking-api-v1/1.12.2/gradle.properties rename {1.12.2/legacy-fabric-networking-api-v1 => legacy-fabric-networking-api-v1/1.12.2}/src/main/java/net/legacyfabric/fabric/mixin/networking/ClientConnectionMixin.java (100%) rename {1.12.2/legacy-fabric-networking-api-v1 => legacy-fabric-networking-api-v1/1.12.2}/src/main/java/net/legacyfabric/fabric/mixin/networking/CustomPayloadC2SPacketMixin.java (100%) rename {1.12.2/legacy-fabric-networking-api-v1 => legacy-fabric-networking-api-v1/1.12.2}/src/main/java/net/legacyfabric/fabric/mixin/networking/MinecraftServerMixin.java (100%) rename {1.12.2/legacy-fabric-networking-api-v1 => legacy-fabric-networking-api-v1/1.12.2}/src/main/java/net/legacyfabric/fabric/mixin/networking/PlayerManagerMixin.java (100%) rename {1.12.2/legacy-fabric-networking-api-v1 => legacy-fabric-networking-api-v1/1.12.2}/src/main/java/net/legacyfabric/fabric/mixin/networking/client/CustomPayloadS2CPacketMixin.java (100%) rename {1.12.2/legacy-fabric-networking-api-v1 => legacy-fabric-networking-api-v1/1.12.2}/src/main/java/net/legacyfabric/fabric/mixin/networking/client/MinecraftClientMixin.java (100%) rename {1.12.2/legacy-fabric-networking-api-v1 => legacy-fabric-networking-api-v1/1.12.2}/src/main/resources/assets/legacy-fabric/icon.png (100%) rename {1.7.10/legacy-fabric-networking-api-v1 => legacy-fabric-networking-api-v1/1.12.2}/src/main/resources/fabric.mod.json (96%) rename {1.12.2/legacy-fabric-networking-api-v1 => legacy-fabric-networking-api-v1/1.12.2}/src/main/resources/legacy-fabric-networking-api-v1.mixins.json (100%) rename {1.12.2/legacy-fabric-networking-api-v1 => legacy-fabric-networking-api-v1/1.12.2}/src/testmod/java/net/legacyfabric/fabric/test/network/ServerNetworkingTest.java (100%) rename {1.12.2/legacy-fabric-networking-api-v1 => legacy-fabric-networking-api-v1/1.12.2}/src/testmod/java/net/legacyfabric/fabric/test/network/client/ClientNetworkingTest.java (100%) rename {1.8.9/legacy-fabric-networking-api-v1 => legacy-fabric-networking-api-v1/1.12.2}/src/testmod/resources/fabric.mod.json (90%) create mode 100644 legacy-fabric-networking-api-v1/1.7.10/build.gradle create mode 100644 legacy-fabric-networking-api-v1/1.7.10/gradle.properties rename {1.7.10/legacy-fabric-networking-api-v1 => legacy-fabric-networking-api-v1/1.7.10}/src/main/java/net/legacyfabric/fabric/mixin/networking/ClientConnectionMixin.java (100%) rename {1.7.10/legacy-fabric-networking-api-v1 => legacy-fabric-networking-api-v1/1.7.10}/src/main/java/net/legacyfabric/fabric/mixin/networking/CustomPayloadC2SPacketMixin.java (100%) rename {1.7.10/legacy-fabric-networking-api-v1 => legacy-fabric-networking-api-v1/1.7.10}/src/main/java/net/legacyfabric/fabric/mixin/networking/MinecraftServerMixin.java (100%) rename {1.7.10/legacy-fabric-networking-api-v1 => legacy-fabric-networking-api-v1/1.7.10}/src/main/java/net/legacyfabric/fabric/mixin/networking/PacketByteBufMixin.java (100%) rename {1.7.10/legacy-fabric-networking-api-v1 => legacy-fabric-networking-api-v1/1.7.10}/src/main/java/net/legacyfabric/fabric/mixin/networking/PlayerManagerMixin.java (100%) rename {1.7.10/legacy-fabric-networking-api-v1 => legacy-fabric-networking-api-v1/1.7.10}/src/main/java/net/legacyfabric/fabric/mixin/networking/client/CustomPayloadS2CPacketMixin.java (100%) rename {1.7.10/legacy-fabric-networking-api-v1 => legacy-fabric-networking-api-v1/1.7.10}/src/main/java/net/legacyfabric/fabric/mixin/networking/client/MinecraftClientMixin.java (100%) rename {1.7.10/legacy-fabric-networking-api-v1 => legacy-fabric-networking-api-v1/1.7.10}/src/main/resources/assets/legacy-fabric/icon.png (100%) rename {1.12.2/legacy-fabric-networking-api-v1 => legacy-fabric-networking-api-v1/1.7.10}/src/main/resources/fabric.mod.json (96%) rename {1.7.10/legacy-fabric-networking-api-v1 => legacy-fabric-networking-api-v1/1.7.10}/src/main/resources/legacy-fabric-networking-api-v1.mixins.json (100%) rename {1.7.10/legacy-fabric-networking-api-v1 => legacy-fabric-networking-api-v1/1.7.10}/src/testmod/java/net/legacyfabric/fabric/test/network/ServerNetworkingTest.java (100%) rename {1.7.10/legacy-fabric-networking-api-v1 => legacy-fabric-networking-api-v1/1.7.10}/src/testmod/java/net/legacyfabric/fabric/test/network/client/ClientNetworkingTest.java (100%) rename {1.12.2/legacy-fabric-networking-api-v1 => legacy-fabric-networking-api-v1/1.7.10}/src/testmod/resources/fabric.mod.json (90%) create mode 100644 legacy-fabric-networking-api-v1/1.8.9/build.gradle create mode 100644 legacy-fabric-networking-api-v1/1.8.9/gradle.properties rename {1.8.9/legacy-fabric-networking-api-v1 => legacy-fabric-networking-api-v1/1.8.9}/src/main/java/net/legacyfabric/fabric/mixin/networking/ClientConnectionMixin.java (100%) rename {1.8.9/legacy-fabric-networking-api-v1 => legacy-fabric-networking-api-v1/1.8.9}/src/main/java/net/legacyfabric/fabric/mixin/networking/CustomPayloadC2SPacketMixin.java (100%) rename {1.8.9/legacy-fabric-networking-api-v1 => legacy-fabric-networking-api-v1/1.8.9}/src/main/java/net/legacyfabric/fabric/mixin/networking/MinecraftServerMixin.java (100%) rename {1.8.9/legacy-fabric-networking-api-v1 => legacy-fabric-networking-api-v1/1.8.9}/src/main/java/net/legacyfabric/fabric/mixin/networking/PlayerManagerMixin.java (100%) rename {1.8.9/legacy-fabric-networking-api-v1 => legacy-fabric-networking-api-v1/1.8.9}/src/main/java/net/legacyfabric/fabric/mixin/networking/client/CustomPayloadS2CPacketMixin.java (100%) rename {1.8.9/legacy-fabric-networking-api-v1 => legacy-fabric-networking-api-v1/1.8.9}/src/main/java/net/legacyfabric/fabric/mixin/networking/client/MinecraftClientMixin.java (100%) rename {1.8.9/legacy-fabric-networking-api-v1 => legacy-fabric-networking-api-v1/1.8.9}/src/main/resources/assets/legacy-fabric/icon.png (100%) rename {1.8.9/legacy-fabric-networking-api-v1 => legacy-fabric-networking-api-v1/1.8.9}/src/main/resources/fabric.mod.json (96%) rename {1.8.9/legacy-fabric-networking-api-v1 => legacy-fabric-networking-api-v1/1.8.9}/src/main/resources/legacy-fabric-networking-api-v1.mixins.json (100%) rename {1.8.9/legacy-fabric-networking-api-v1 => legacy-fabric-networking-api-v1/1.8.9}/src/testmod/java/net/legacyfabric/fabric/test/network/ServerNetworkingTest.java (100%) rename {1.8.9/legacy-fabric-networking-api-v1 => legacy-fabric-networking-api-v1/1.8.9}/src/testmod/java/net/legacyfabric/fabric/test/network/client/ClientNetworkingTest.java (100%) rename {1.7.10/legacy-fabric-networking-api-v1 => legacy-fabric-networking-api-v1/1.8.9}/src/testmod/resources/fabric.mod.json (90%) create mode 100644 legacy-fabric-networking-api-v1/common.gradle create mode 100644 legacy-fabric-networking-api-v1/common/build.gradle create mode 100644 legacy-fabric-networking-api-v1/common/gradle.properties rename {common/legacy-fabric-networking-api-v1-common => legacy-fabric-networking-api-v1/common}/src/main/java/net/legacyfabric/fabric/api/client/networking/v1/C2SPlayChannelEvents.java (100%) rename {common/legacy-fabric-networking-api-v1-common => legacy-fabric-networking-api-v1/common}/src/main/java/net/legacyfabric/fabric/api/client/networking/v1/ClientPlayConnectionEvents.java (100%) rename {common/legacy-fabric-networking-api-v1-common => legacy-fabric-networking-api-v1/common}/src/main/java/net/legacyfabric/fabric/api/client/networking/v1/ClientPlayNetworking.java (100%) rename {common/legacy-fabric-networking-api-v1-common => legacy-fabric-networking-api-v1/common}/src/main/java/net/legacyfabric/fabric/api/client/networking/v1/package-info.java (100%) rename {common/legacy-fabric-networking-api-v1-common => legacy-fabric-networking-api-v1/common}/src/main/java/net/legacyfabric/fabric/api/networking/v1/EntityTrackingEvents.java (100%) rename {common/legacy-fabric-networking-api-v1-common => legacy-fabric-networking-api-v1/common}/src/main/java/net/legacyfabric/fabric/api/networking/v1/FutureListeners.java (100%) rename {common/legacy-fabric-networking-api-v1-common => legacy-fabric-networking-api-v1/common}/src/main/java/net/legacyfabric/fabric/api/networking/v1/PacketByteBufs.java (100%) rename {common/legacy-fabric-networking-api-v1-common => legacy-fabric-networking-api-v1/common}/src/main/java/net/legacyfabric/fabric/api/networking/v1/PacketSender.java (100%) rename {common/legacy-fabric-networking-api-v1-common => legacy-fabric-networking-api-v1/common}/src/main/java/net/legacyfabric/fabric/api/networking/v1/PlayerLookup.java (100%) rename {common/legacy-fabric-networking-api-v1-common => legacy-fabric-networking-api-v1/common}/src/main/java/net/legacyfabric/fabric/api/networking/v1/S2CPlayChannelEvents.java (100%) rename {common/legacy-fabric-networking-api-v1-common => legacy-fabric-networking-api-v1/common}/src/main/java/net/legacyfabric/fabric/api/networking/v1/ServerPlayConnectionEvents.java (100%) rename {common/legacy-fabric-networking-api-v1-common => legacy-fabric-networking-api-v1/common}/src/main/java/net/legacyfabric/fabric/api/networking/v1/ServerPlayNetworking.java (100%) rename {common/legacy-fabric-networking-api-v1-common => legacy-fabric-networking-api-v1/common}/src/main/java/net/legacyfabric/fabric/api/networking/v1/package-info.java (100%) rename {common/legacy-fabric-networking-api-v1-common => legacy-fabric-networking-api-v1/common}/src/main/java/net/legacyfabric/fabric/impl/networking/AbstractChanneledNetworkAddon.java (100%) rename {common/legacy-fabric-networking-api-v1-common => legacy-fabric-networking-api-v1/common}/src/main/java/net/legacyfabric/fabric/impl/networking/AbstractNetworkAddon.java (100%) rename {common/legacy-fabric-networking-api-v1-common => legacy-fabric-networking-api-v1/common}/src/main/java/net/legacyfabric/fabric/impl/networking/ChannelInfoHolder.java (100%) rename {common/legacy-fabric-networking-api-v1-common => legacy-fabric-networking-api-v1/common}/src/main/java/net/legacyfabric/fabric/impl/networking/ClientConnectionExtension.java (100%) rename {common/legacy-fabric-networking-api-v1-common => legacy-fabric-networking-api-v1/common}/src/main/java/net/legacyfabric/fabric/impl/networking/DisconnectPacketSource.java (100%) rename {common/legacy-fabric-networking-api-v1-common => legacy-fabric-networking-api-v1/common}/src/main/java/net/legacyfabric/fabric/impl/networking/GlobalReceiverRegistry.java (100%) rename {common/legacy-fabric-networking-api-v1-common => legacy-fabric-networking-api-v1/common}/src/main/java/net/legacyfabric/fabric/impl/networking/NetworkingImpl.java (100%) rename {common/legacy-fabric-networking-api-v1-common => legacy-fabric-networking-api-v1/common}/src/main/java/net/legacyfabric/fabric/impl/networking/PacketByteBufExtension.java (100%) rename {common/legacy-fabric-networking-api-v1-common => legacy-fabric-networking-api-v1/common}/src/main/java/net/legacyfabric/fabric/impl/networking/PacketCallbackListener.java (100%) rename {common/legacy-fabric-networking-api-v1-common => legacy-fabric-networking-api-v1/common}/src/main/java/net/legacyfabric/fabric/impl/networking/client/ClientNetworkingImpl.java (100%) rename {common/legacy-fabric-networking-api-v1-common => legacy-fabric-networking-api-v1/common}/src/main/java/net/legacyfabric/fabric/impl/networking/client/ClientPlayNetworkAddon.java (100%) rename {common/legacy-fabric-networking-api-v1-common => legacy-fabric-networking-api-v1/common}/src/main/java/net/legacyfabric/fabric/impl/networking/client/ClientPlayNetworkHandlerExtensions.java (100%) rename {common/legacy-fabric-networking-api-v1-common => legacy-fabric-networking-api-v1/common}/src/main/java/net/legacyfabric/fabric/impl/networking/client/CustomPayloadS2CPacketExtension.java (100%) rename {common/legacy-fabric-networking-api-v1-common => legacy-fabric-networking-api-v1/common}/src/main/java/net/legacyfabric/fabric/impl/networking/client/MinecraftClientExtensions.java (100%) rename {common/legacy-fabric-networking-api-v1-common => legacy-fabric-networking-api-v1/common}/src/main/java/net/legacyfabric/fabric/impl/networking/server/CustomPayloadC2SPacketExtension.java (100%) rename {common/legacy-fabric-networking-api-v1-common => legacy-fabric-networking-api-v1/common}/src/main/java/net/legacyfabric/fabric/impl/networking/server/MinecraftServerExtensions.java (100%) rename {common/legacy-fabric-networking-api-v1-common => legacy-fabric-networking-api-v1/common}/src/main/java/net/legacyfabric/fabric/impl/networking/server/ServerNetworkingImpl.java (100%) rename {common/legacy-fabric-networking-api-v1-common => legacy-fabric-networking-api-v1/common}/src/main/java/net/legacyfabric/fabric/impl/networking/server/ServerPlayNetworkAddon.java (100%) rename {common/legacy-fabric-networking-api-v1-common => legacy-fabric-networking-api-v1/common}/src/main/java/net/legacyfabric/fabric/impl/networking/server/ServerPlayNetworkHandlerExtensions.java (100%) rename {common/legacy-fabric-networking-api-v1-common => legacy-fabric-networking-api-v1/common}/src/main/java/net/legacyfabric/fabric/mixin/networking/CustomPayloadS2CPacketMixin.java (100%) rename {common/legacy-fabric-networking-api-v1-common => legacy-fabric-networking-api-v1/common}/src/main/java/net/legacyfabric/fabric/mixin/networking/EntityTrackerAccessor.java (100%) rename {common/legacy-fabric-networking-api-v1-common => legacy-fabric-networking-api-v1/common}/src/main/java/net/legacyfabric/fabric/mixin/networking/EntityTrackerEntryAccessor.java (100%) rename {common/legacy-fabric-networking-api-v1-common => legacy-fabric-networking-api-v1/common}/src/main/java/net/legacyfabric/fabric/mixin/networking/EntityTrackerEntryMixin.java (100%) rename {common/legacy-fabric-networking-api-v1-common => legacy-fabric-networking-api-v1/common}/src/main/java/net/legacyfabric/fabric/mixin/networking/ServerPlayNetworkHandlerMixin.java (100%) rename {common/legacy-fabric-networking-api-v1-common => legacy-fabric-networking-api-v1/common}/src/main/java/net/legacyfabric/fabric/mixin/networking/client/ClientPlayNetworkHandlerMixin.java (100%) rename {common/legacy-fabric-networking-api-v1-common => legacy-fabric-networking-api-v1/common}/src/main/java/net/legacyfabric/fabric/mixin/networking/client/ConnectScreenAccessor.java (100%) rename {common/legacy-fabric-networking-api-v1-common => legacy-fabric-networking-api-v1/common}/src/main/java/net/legacyfabric/fabric/mixin/networking/client/MinecraftClientAccessor.java (100%) rename {common/legacy-fabric-networking-api-v1-common => legacy-fabric-networking-api-v1/common}/src/main/resources/assets/legacy-fabric/icon.png (100%) rename {common/legacy-fabric-networking-api-v1-common => legacy-fabric-networking-api-v1/common}/src/main/resources/fabric.mod.json (96%) rename {common/legacy-fabric-networking-api-v1-common => legacy-fabric-networking-api-v1/common}/src/main/resources/legacy-fabric-networking-api-v1-common.mixins.json (100%) diff --git a/1.12.2/legacy-fabric-networking-api-v1/build.gradle b/1.12.2/legacy-fabric-networking-api-v1/build.gradle deleted file mode 100644 index 83d6f911d..000000000 --- a/1.12.2/legacy-fabric-networking-api-v1/build.gradle +++ /dev/null @@ -1,8 +0,0 @@ -version = getSubprojectVersion(project) - -moduleDependencies(project, [ - "common": [ - "legacy-fabric-api-base-common", - "legacy-fabric-networking-api-v1-common" - ] -]) diff --git a/1.7.10/legacy-fabric-networking-api-v1/build.gradle b/1.7.10/legacy-fabric-networking-api-v1/build.gradle deleted file mode 100644 index 83d6f911d..000000000 --- a/1.7.10/legacy-fabric-networking-api-v1/build.gradle +++ /dev/null @@ -1,8 +0,0 @@ -version = getSubprojectVersion(project) - -moduleDependencies(project, [ - "common": [ - "legacy-fabric-api-base-common", - "legacy-fabric-networking-api-v1-common" - ] -]) diff --git a/1.8.9/legacy-fabric-networking-api-v1/build.gradle b/1.8.9/legacy-fabric-networking-api-v1/build.gradle deleted file mode 100644 index 83d6f911d..000000000 --- a/1.8.9/legacy-fabric-networking-api-v1/build.gradle +++ /dev/null @@ -1,8 +0,0 @@ -version = getSubprojectVersion(project) - -moduleDependencies(project, [ - "common": [ - "legacy-fabric-api-base-common", - "legacy-fabric-networking-api-v1-common" - ] -]) diff --git a/common/legacy-fabric-networking-api-v1-common/build.gradle b/common/legacy-fabric-networking-api-v1-common/build.gradle deleted file mode 100644 index 3ca3a9171..000000000 --- a/common/legacy-fabric-networking-api-v1-common/build.gradle +++ /dev/null @@ -1,7 +0,0 @@ -version = getSubprojectVersion(project) - -moduleDependencies(project, [ - "common": [ - "legacy-fabric-api-base-common" - ] -]) diff --git a/legacy-fabric-networking-api-v1/1.12.2/build.gradle b/legacy-fabric-networking-api-v1/1.12.2/build.gradle new file mode 100644 index 000000000..e69de29bb diff --git a/legacy-fabric-networking-api-v1/1.12.2/gradle.properties b/legacy-fabric-networking-api-v1/1.12.2/gradle.properties new file mode 100644 index 000000000..22c79abec --- /dev/null +++ b/legacy-fabric-networking-api-v1/1.12.2/gradle.properties @@ -0,0 +1,2 @@ +minVersionExcluded=1.8.9 +maxVersionIncluded=1.12.2 diff --git a/1.12.2/legacy-fabric-networking-api-v1/src/main/java/net/legacyfabric/fabric/mixin/networking/ClientConnectionMixin.java b/legacy-fabric-networking-api-v1/1.12.2/src/main/java/net/legacyfabric/fabric/mixin/networking/ClientConnectionMixin.java similarity index 100% rename from 1.12.2/legacy-fabric-networking-api-v1/src/main/java/net/legacyfabric/fabric/mixin/networking/ClientConnectionMixin.java rename to legacy-fabric-networking-api-v1/1.12.2/src/main/java/net/legacyfabric/fabric/mixin/networking/ClientConnectionMixin.java diff --git a/1.12.2/legacy-fabric-networking-api-v1/src/main/java/net/legacyfabric/fabric/mixin/networking/CustomPayloadC2SPacketMixin.java b/legacy-fabric-networking-api-v1/1.12.2/src/main/java/net/legacyfabric/fabric/mixin/networking/CustomPayloadC2SPacketMixin.java similarity index 100% rename from 1.12.2/legacy-fabric-networking-api-v1/src/main/java/net/legacyfabric/fabric/mixin/networking/CustomPayloadC2SPacketMixin.java rename to legacy-fabric-networking-api-v1/1.12.2/src/main/java/net/legacyfabric/fabric/mixin/networking/CustomPayloadC2SPacketMixin.java diff --git a/1.12.2/legacy-fabric-networking-api-v1/src/main/java/net/legacyfabric/fabric/mixin/networking/MinecraftServerMixin.java b/legacy-fabric-networking-api-v1/1.12.2/src/main/java/net/legacyfabric/fabric/mixin/networking/MinecraftServerMixin.java similarity index 100% rename from 1.12.2/legacy-fabric-networking-api-v1/src/main/java/net/legacyfabric/fabric/mixin/networking/MinecraftServerMixin.java rename to legacy-fabric-networking-api-v1/1.12.2/src/main/java/net/legacyfabric/fabric/mixin/networking/MinecraftServerMixin.java diff --git a/1.12.2/legacy-fabric-networking-api-v1/src/main/java/net/legacyfabric/fabric/mixin/networking/PlayerManagerMixin.java b/legacy-fabric-networking-api-v1/1.12.2/src/main/java/net/legacyfabric/fabric/mixin/networking/PlayerManagerMixin.java similarity index 100% rename from 1.12.2/legacy-fabric-networking-api-v1/src/main/java/net/legacyfabric/fabric/mixin/networking/PlayerManagerMixin.java rename to legacy-fabric-networking-api-v1/1.12.2/src/main/java/net/legacyfabric/fabric/mixin/networking/PlayerManagerMixin.java diff --git a/1.12.2/legacy-fabric-networking-api-v1/src/main/java/net/legacyfabric/fabric/mixin/networking/client/CustomPayloadS2CPacketMixin.java b/legacy-fabric-networking-api-v1/1.12.2/src/main/java/net/legacyfabric/fabric/mixin/networking/client/CustomPayloadS2CPacketMixin.java similarity index 100% rename from 1.12.2/legacy-fabric-networking-api-v1/src/main/java/net/legacyfabric/fabric/mixin/networking/client/CustomPayloadS2CPacketMixin.java rename to legacy-fabric-networking-api-v1/1.12.2/src/main/java/net/legacyfabric/fabric/mixin/networking/client/CustomPayloadS2CPacketMixin.java diff --git a/1.12.2/legacy-fabric-networking-api-v1/src/main/java/net/legacyfabric/fabric/mixin/networking/client/MinecraftClientMixin.java b/legacy-fabric-networking-api-v1/1.12.2/src/main/java/net/legacyfabric/fabric/mixin/networking/client/MinecraftClientMixin.java similarity index 100% rename from 1.12.2/legacy-fabric-networking-api-v1/src/main/java/net/legacyfabric/fabric/mixin/networking/client/MinecraftClientMixin.java rename to legacy-fabric-networking-api-v1/1.12.2/src/main/java/net/legacyfabric/fabric/mixin/networking/client/MinecraftClientMixin.java diff --git a/1.12.2/legacy-fabric-networking-api-v1/src/main/resources/assets/legacy-fabric/icon.png b/legacy-fabric-networking-api-v1/1.12.2/src/main/resources/assets/legacy-fabric/icon.png similarity index 100% rename from 1.12.2/legacy-fabric-networking-api-v1/src/main/resources/assets/legacy-fabric/icon.png rename to legacy-fabric-networking-api-v1/1.12.2/src/main/resources/assets/legacy-fabric/icon.png diff --git a/1.7.10/legacy-fabric-networking-api-v1/src/main/resources/fabric.mod.json b/legacy-fabric-networking-api-v1/1.12.2/src/main/resources/fabric.mod.json similarity index 96% rename from 1.7.10/legacy-fabric-networking-api-v1/src/main/resources/fabric.mod.json rename to legacy-fabric-networking-api-v1/1.12.2/src/main/resources/fabric.mod.json index 0ac407905..c9665395f 100644 --- a/1.7.10/legacy-fabric-networking-api-v1/src/main/resources/fabric.mod.json +++ b/legacy-fabric-networking-api-v1/1.12.2/src/main/resources/fabric.mod.json @@ -16,7 +16,7 @@ "FabricMC" ], "depends": { - "minecraft": "<=1.7.10" + "minecraft": "${minecraft_version}" }, "description": "Low-level, vanilla protocol oriented networking hooks.", "mixins": [ diff --git a/1.12.2/legacy-fabric-networking-api-v1/src/main/resources/legacy-fabric-networking-api-v1.mixins.json b/legacy-fabric-networking-api-v1/1.12.2/src/main/resources/legacy-fabric-networking-api-v1.mixins.json similarity index 100% rename from 1.12.2/legacy-fabric-networking-api-v1/src/main/resources/legacy-fabric-networking-api-v1.mixins.json rename to legacy-fabric-networking-api-v1/1.12.2/src/main/resources/legacy-fabric-networking-api-v1.mixins.json diff --git a/1.12.2/legacy-fabric-networking-api-v1/src/testmod/java/net/legacyfabric/fabric/test/network/ServerNetworkingTest.java b/legacy-fabric-networking-api-v1/1.12.2/src/testmod/java/net/legacyfabric/fabric/test/network/ServerNetworkingTest.java similarity index 100% rename from 1.12.2/legacy-fabric-networking-api-v1/src/testmod/java/net/legacyfabric/fabric/test/network/ServerNetworkingTest.java rename to legacy-fabric-networking-api-v1/1.12.2/src/testmod/java/net/legacyfabric/fabric/test/network/ServerNetworkingTest.java diff --git a/1.12.2/legacy-fabric-networking-api-v1/src/testmod/java/net/legacyfabric/fabric/test/network/client/ClientNetworkingTest.java b/legacy-fabric-networking-api-v1/1.12.2/src/testmod/java/net/legacyfabric/fabric/test/network/client/ClientNetworkingTest.java similarity index 100% rename from 1.12.2/legacy-fabric-networking-api-v1/src/testmod/java/net/legacyfabric/fabric/test/network/client/ClientNetworkingTest.java rename to legacy-fabric-networking-api-v1/1.12.2/src/testmod/java/net/legacyfabric/fabric/test/network/client/ClientNetworkingTest.java diff --git a/1.8.9/legacy-fabric-networking-api-v1/src/testmod/resources/fabric.mod.json b/legacy-fabric-networking-api-v1/1.12.2/src/testmod/resources/fabric.mod.json similarity index 90% rename from 1.8.9/legacy-fabric-networking-api-v1/src/testmod/resources/fabric.mod.json rename to legacy-fabric-networking-api-v1/1.12.2/src/testmod/resources/fabric.mod.json index d0a9a6e0f..be761589d 100644 --- a/1.8.9/legacy-fabric-networking-api-v1/src/testmod/resources/fabric.mod.json +++ b/legacy-fabric-networking-api-v1/1.12.2/src/testmod/resources/fabric.mod.json @@ -12,6 +12,6 @@ ] }, "depends": { - "minecraft": ">=1.8 <=1.8.9" + "minecraft": "${minecraft_version}" } } diff --git a/legacy-fabric-networking-api-v1/1.7.10/build.gradle b/legacy-fabric-networking-api-v1/1.7.10/build.gradle new file mode 100644 index 000000000..e69de29bb diff --git a/legacy-fabric-networking-api-v1/1.7.10/gradle.properties b/legacy-fabric-networking-api-v1/1.7.10/gradle.properties new file mode 100644 index 000000000..77baca0c7 --- /dev/null +++ b/legacy-fabric-networking-api-v1/1.7.10/gradle.properties @@ -0,0 +1,2 @@ +minVersionExcluded=1.6.4 +maxVersionIncluded=1.7.10 diff --git a/1.7.10/legacy-fabric-networking-api-v1/src/main/java/net/legacyfabric/fabric/mixin/networking/ClientConnectionMixin.java b/legacy-fabric-networking-api-v1/1.7.10/src/main/java/net/legacyfabric/fabric/mixin/networking/ClientConnectionMixin.java similarity index 100% rename from 1.7.10/legacy-fabric-networking-api-v1/src/main/java/net/legacyfabric/fabric/mixin/networking/ClientConnectionMixin.java rename to legacy-fabric-networking-api-v1/1.7.10/src/main/java/net/legacyfabric/fabric/mixin/networking/ClientConnectionMixin.java diff --git a/1.7.10/legacy-fabric-networking-api-v1/src/main/java/net/legacyfabric/fabric/mixin/networking/CustomPayloadC2SPacketMixin.java b/legacy-fabric-networking-api-v1/1.7.10/src/main/java/net/legacyfabric/fabric/mixin/networking/CustomPayloadC2SPacketMixin.java similarity index 100% rename from 1.7.10/legacy-fabric-networking-api-v1/src/main/java/net/legacyfabric/fabric/mixin/networking/CustomPayloadC2SPacketMixin.java rename to legacy-fabric-networking-api-v1/1.7.10/src/main/java/net/legacyfabric/fabric/mixin/networking/CustomPayloadC2SPacketMixin.java diff --git a/1.7.10/legacy-fabric-networking-api-v1/src/main/java/net/legacyfabric/fabric/mixin/networking/MinecraftServerMixin.java b/legacy-fabric-networking-api-v1/1.7.10/src/main/java/net/legacyfabric/fabric/mixin/networking/MinecraftServerMixin.java similarity index 100% rename from 1.7.10/legacy-fabric-networking-api-v1/src/main/java/net/legacyfabric/fabric/mixin/networking/MinecraftServerMixin.java rename to legacy-fabric-networking-api-v1/1.7.10/src/main/java/net/legacyfabric/fabric/mixin/networking/MinecraftServerMixin.java diff --git a/1.7.10/legacy-fabric-networking-api-v1/src/main/java/net/legacyfabric/fabric/mixin/networking/PacketByteBufMixin.java b/legacy-fabric-networking-api-v1/1.7.10/src/main/java/net/legacyfabric/fabric/mixin/networking/PacketByteBufMixin.java similarity index 100% rename from 1.7.10/legacy-fabric-networking-api-v1/src/main/java/net/legacyfabric/fabric/mixin/networking/PacketByteBufMixin.java rename to legacy-fabric-networking-api-v1/1.7.10/src/main/java/net/legacyfabric/fabric/mixin/networking/PacketByteBufMixin.java diff --git a/1.7.10/legacy-fabric-networking-api-v1/src/main/java/net/legacyfabric/fabric/mixin/networking/PlayerManagerMixin.java b/legacy-fabric-networking-api-v1/1.7.10/src/main/java/net/legacyfabric/fabric/mixin/networking/PlayerManagerMixin.java similarity index 100% rename from 1.7.10/legacy-fabric-networking-api-v1/src/main/java/net/legacyfabric/fabric/mixin/networking/PlayerManagerMixin.java rename to legacy-fabric-networking-api-v1/1.7.10/src/main/java/net/legacyfabric/fabric/mixin/networking/PlayerManagerMixin.java diff --git a/1.7.10/legacy-fabric-networking-api-v1/src/main/java/net/legacyfabric/fabric/mixin/networking/client/CustomPayloadS2CPacketMixin.java b/legacy-fabric-networking-api-v1/1.7.10/src/main/java/net/legacyfabric/fabric/mixin/networking/client/CustomPayloadS2CPacketMixin.java similarity index 100% rename from 1.7.10/legacy-fabric-networking-api-v1/src/main/java/net/legacyfabric/fabric/mixin/networking/client/CustomPayloadS2CPacketMixin.java rename to legacy-fabric-networking-api-v1/1.7.10/src/main/java/net/legacyfabric/fabric/mixin/networking/client/CustomPayloadS2CPacketMixin.java diff --git a/1.7.10/legacy-fabric-networking-api-v1/src/main/java/net/legacyfabric/fabric/mixin/networking/client/MinecraftClientMixin.java b/legacy-fabric-networking-api-v1/1.7.10/src/main/java/net/legacyfabric/fabric/mixin/networking/client/MinecraftClientMixin.java similarity index 100% rename from 1.7.10/legacy-fabric-networking-api-v1/src/main/java/net/legacyfabric/fabric/mixin/networking/client/MinecraftClientMixin.java rename to legacy-fabric-networking-api-v1/1.7.10/src/main/java/net/legacyfabric/fabric/mixin/networking/client/MinecraftClientMixin.java diff --git a/1.7.10/legacy-fabric-networking-api-v1/src/main/resources/assets/legacy-fabric/icon.png b/legacy-fabric-networking-api-v1/1.7.10/src/main/resources/assets/legacy-fabric/icon.png similarity index 100% rename from 1.7.10/legacy-fabric-networking-api-v1/src/main/resources/assets/legacy-fabric/icon.png rename to legacy-fabric-networking-api-v1/1.7.10/src/main/resources/assets/legacy-fabric/icon.png diff --git a/1.12.2/legacy-fabric-networking-api-v1/src/main/resources/fabric.mod.json b/legacy-fabric-networking-api-v1/1.7.10/src/main/resources/fabric.mod.json similarity index 96% rename from 1.12.2/legacy-fabric-networking-api-v1/src/main/resources/fabric.mod.json rename to legacy-fabric-networking-api-v1/1.7.10/src/main/resources/fabric.mod.json index 98052d406..c9665395f 100644 --- a/1.12.2/legacy-fabric-networking-api-v1/src/main/resources/fabric.mod.json +++ b/legacy-fabric-networking-api-v1/1.7.10/src/main/resources/fabric.mod.json @@ -16,7 +16,7 @@ "FabricMC" ], "depends": { - "minecraft": ">1.8.9 <=1.12.2" + "minecraft": "${minecraft_version}" }, "description": "Low-level, vanilla protocol oriented networking hooks.", "mixins": [ diff --git a/1.7.10/legacy-fabric-networking-api-v1/src/main/resources/legacy-fabric-networking-api-v1.mixins.json b/legacy-fabric-networking-api-v1/1.7.10/src/main/resources/legacy-fabric-networking-api-v1.mixins.json similarity index 100% rename from 1.7.10/legacy-fabric-networking-api-v1/src/main/resources/legacy-fabric-networking-api-v1.mixins.json rename to legacy-fabric-networking-api-v1/1.7.10/src/main/resources/legacy-fabric-networking-api-v1.mixins.json diff --git a/1.7.10/legacy-fabric-networking-api-v1/src/testmod/java/net/legacyfabric/fabric/test/network/ServerNetworkingTest.java b/legacy-fabric-networking-api-v1/1.7.10/src/testmod/java/net/legacyfabric/fabric/test/network/ServerNetworkingTest.java similarity index 100% rename from 1.7.10/legacy-fabric-networking-api-v1/src/testmod/java/net/legacyfabric/fabric/test/network/ServerNetworkingTest.java rename to legacy-fabric-networking-api-v1/1.7.10/src/testmod/java/net/legacyfabric/fabric/test/network/ServerNetworkingTest.java diff --git a/1.7.10/legacy-fabric-networking-api-v1/src/testmod/java/net/legacyfabric/fabric/test/network/client/ClientNetworkingTest.java b/legacy-fabric-networking-api-v1/1.7.10/src/testmod/java/net/legacyfabric/fabric/test/network/client/ClientNetworkingTest.java similarity index 100% rename from 1.7.10/legacy-fabric-networking-api-v1/src/testmod/java/net/legacyfabric/fabric/test/network/client/ClientNetworkingTest.java rename to legacy-fabric-networking-api-v1/1.7.10/src/testmod/java/net/legacyfabric/fabric/test/network/client/ClientNetworkingTest.java diff --git a/1.12.2/legacy-fabric-networking-api-v1/src/testmod/resources/fabric.mod.json b/legacy-fabric-networking-api-v1/1.7.10/src/testmod/resources/fabric.mod.json similarity index 90% rename from 1.12.2/legacy-fabric-networking-api-v1/src/testmod/resources/fabric.mod.json rename to legacy-fabric-networking-api-v1/1.7.10/src/testmod/resources/fabric.mod.json index a19bdefc5..be761589d 100644 --- a/1.12.2/legacy-fabric-networking-api-v1/src/testmod/resources/fabric.mod.json +++ b/legacy-fabric-networking-api-v1/1.7.10/src/testmod/resources/fabric.mod.json @@ -12,6 +12,6 @@ ] }, "depends": { - "minecraft": ">1.8.9 <=1.12.2" + "minecraft": "${minecraft_version}" } } diff --git a/legacy-fabric-networking-api-v1/1.8.9/build.gradle b/legacy-fabric-networking-api-v1/1.8.9/build.gradle new file mode 100644 index 000000000..e69de29bb diff --git a/legacy-fabric-networking-api-v1/1.8.9/gradle.properties b/legacy-fabric-networking-api-v1/1.8.9/gradle.properties new file mode 100644 index 000000000..9056fbd37 --- /dev/null +++ b/legacy-fabric-networking-api-v1/1.8.9/gradle.properties @@ -0,0 +1,2 @@ +minVersionIncluded=1.8 +maxVersionIncluded=1.8.9 diff --git a/1.8.9/legacy-fabric-networking-api-v1/src/main/java/net/legacyfabric/fabric/mixin/networking/ClientConnectionMixin.java b/legacy-fabric-networking-api-v1/1.8.9/src/main/java/net/legacyfabric/fabric/mixin/networking/ClientConnectionMixin.java similarity index 100% rename from 1.8.9/legacy-fabric-networking-api-v1/src/main/java/net/legacyfabric/fabric/mixin/networking/ClientConnectionMixin.java rename to legacy-fabric-networking-api-v1/1.8.9/src/main/java/net/legacyfabric/fabric/mixin/networking/ClientConnectionMixin.java diff --git a/1.8.9/legacy-fabric-networking-api-v1/src/main/java/net/legacyfabric/fabric/mixin/networking/CustomPayloadC2SPacketMixin.java b/legacy-fabric-networking-api-v1/1.8.9/src/main/java/net/legacyfabric/fabric/mixin/networking/CustomPayloadC2SPacketMixin.java similarity index 100% rename from 1.8.9/legacy-fabric-networking-api-v1/src/main/java/net/legacyfabric/fabric/mixin/networking/CustomPayloadC2SPacketMixin.java rename to legacy-fabric-networking-api-v1/1.8.9/src/main/java/net/legacyfabric/fabric/mixin/networking/CustomPayloadC2SPacketMixin.java diff --git a/1.8.9/legacy-fabric-networking-api-v1/src/main/java/net/legacyfabric/fabric/mixin/networking/MinecraftServerMixin.java b/legacy-fabric-networking-api-v1/1.8.9/src/main/java/net/legacyfabric/fabric/mixin/networking/MinecraftServerMixin.java similarity index 100% rename from 1.8.9/legacy-fabric-networking-api-v1/src/main/java/net/legacyfabric/fabric/mixin/networking/MinecraftServerMixin.java rename to legacy-fabric-networking-api-v1/1.8.9/src/main/java/net/legacyfabric/fabric/mixin/networking/MinecraftServerMixin.java diff --git a/1.8.9/legacy-fabric-networking-api-v1/src/main/java/net/legacyfabric/fabric/mixin/networking/PlayerManagerMixin.java b/legacy-fabric-networking-api-v1/1.8.9/src/main/java/net/legacyfabric/fabric/mixin/networking/PlayerManagerMixin.java similarity index 100% rename from 1.8.9/legacy-fabric-networking-api-v1/src/main/java/net/legacyfabric/fabric/mixin/networking/PlayerManagerMixin.java rename to legacy-fabric-networking-api-v1/1.8.9/src/main/java/net/legacyfabric/fabric/mixin/networking/PlayerManagerMixin.java diff --git a/1.8.9/legacy-fabric-networking-api-v1/src/main/java/net/legacyfabric/fabric/mixin/networking/client/CustomPayloadS2CPacketMixin.java b/legacy-fabric-networking-api-v1/1.8.9/src/main/java/net/legacyfabric/fabric/mixin/networking/client/CustomPayloadS2CPacketMixin.java similarity index 100% rename from 1.8.9/legacy-fabric-networking-api-v1/src/main/java/net/legacyfabric/fabric/mixin/networking/client/CustomPayloadS2CPacketMixin.java rename to legacy-fabric-networking-api-v1/1.8.9/src/main/java/net/legacyfabric/fabric/mixin/networking/client/CustomPayloadS2CPacketMixin.java diff --git a/1.8.9/legacy-fabric-networking-api-v1/src/main/java/net/legacyfabric/fabric/mixin/networking/client/MinecraftClientMixin.java b/legacy-fabric-networking-api-v1/1.8.9/src/main/java/net/legacyfabric/fabric/mixin/networking/client/MinecraftClientMixin.java similarity index 100% rename from 1.8.9/legacy-fabric-networking-api-v1/src/main/java/net/legacyfabric/fabric/mixin/networking/client/MinecraftClientMixin.java rename to legacy-fabric-networking-api-v1/1.8.9/src/main/java/net/legacyfabric/fabric/mixin/networking/client/MinecraftClientMixin.java diff --git a/1.8.9/legacy-fabric-networking-api-v1/src/main/resources/assets/legacy-fabric/icon.png b/legacy-fabric-networking-api-v1/1.8.9/src/main/resources/assets/legacy-fabric/icon.png similarity index 100% rename from 1.8.9/legacy-fabric-networking-api-v1/src/main/resources/assets/legacy-fabric/icon.png rename to legacy-fabric-networking-api-v1/1.8.9/src/main/resources/assets/legacy-fabric/icon.png diff --git a/1.8.9/legacy-fabric-networking-api-v1/src/main/resources/fabric.mod.json b/legacy-fabric-networking-api-v1/1.8.9/src/main/resources/fabric.mod.json similarity index 96% rename from 1.8.9/legacy-fabric-networking-api-v1/src/main/resources/fabric.mod.json rename to legacy-fabric-networking-api-v1/1.8.9/src/main/resources/fabric.mod.json index f179b67f2..c9665395f 100644 --- a/1.8.9/legacy-fabric-networking-api-v1/src/main/resources/fabric.mod.json +++ b/legacy-fabric-networking-api-v1/1.8.9/src/main/resources/fabric.mod.json @@ -16,7 +16,7 @@ "FabricMC" ], "depends": { - "minecraft": ">=1.8 <=1.8.9" + "minecraft": "${minecraft_version}" }, "description": "Low-level, vanilla protocol oriented networking hooks.", "mixins": [ diff --git a/1.8.9/legacy-fabric-networking-api-v1/src/main/resources/legacy-fabric-networking-api-v1.mixins.json b/legacy-fabric-networking-api-v1/1.8.9/src/main/resources/legacy-fabric-networking-api-v1.mixins.json similarity index 100% rename from 1.8.9/legacy-fabric-networking-api-v1/src/main/resources/legacy-fabric-networking-api-v1.mixins.json rename to legacy-fabric-networking-api-v1/1.8.9/src/main/resources/legacy-fabric-networking-api-v1.mixins.json diff --git a/1.8.9/legacy-fabric-networking-api-v1/src/testmod/java/net/legacyfabric/fabric/test/network/ServerNetworkingTest.java b/legacy-fabric-networking-api-v1/1.8.9/src/testmod/java/net/legacyfabric/fabric/test/network/ServerNetworkingTest.java similarity index 100% rename from 1.8.9/legacy-fabric-networking-api-v1/src/testmod/java/net/legacyfabric/fabric/test/network/ServerNetworkingTest.java rename to legacy-fabric-networking-api-v1/1.8.9/src/testmod/java/net/legacyfabric/fabric/test/network/ServerNetworkingTest.java diff --git a/1.8.9/legacy-fabric-networking-api-v1/src/testmod/java/net/legacyfabric/fabric/test/network/client/ClientNetworkingTest.java b/legacy-fabric-networking-api-v1/1.8.9/src/testmod/java/net/legacyfabric/fabric/test/network/client/ClientNetworkingTest.java similarity index 100% rename from 1.8.9/legacy-fabric-networking-api-v1/src/testmod/java/net/legacyfabric/fabric/test/network/client/ClientNetworkingTest.java rename to legacy-fabric-networking-api-v1/1.8.9/src/testmod/java/net/legacyfabric/fabric/test/network/client/ClientNetworkingTest.java diff --git a/1.7.10/legacy-fabric-networking-api-v1/src/testmod/resources/fabric.mod.json b/legacy-fabric-networking-api-v1/1.8.9/src/testmod/resources/fabric.mod.json similarity index 90% rename from 1.7.10/legacy-fabric-networking-api-v1/src/testmod/resources/fabric.mod.json rename to legacy-fabric-networking-api-v1/1.8.9/src/testmod/resources/fabric.mod.json index f7d5f4cb0..be761589d 100644 --- a/1.7.10/legacy-fabric-networking-api-v1/src/testmod/resources/fabric.mod.json +++ b/legacy-fabric-networking-api-v1/1.8.9/src/testmod/resources/fabric.mod.json @@ -12,6 +12,6 @@ ] }, "depends": { - "minecraft": "<=1.7.10" + "minecraft": "${minecraft_version}" } } diff --git a/legacy-fabric-networking-api-v1/common.gradle b/legacy-fabric-networking-api-v1/common.gradle new file mode 100644 index 000000000..f7bb5a4dd --- /dev/null +++ b/legacy-fabric-networking-api-v1/common.gradle @@ -0,0 +1,3 @@ +moduleDependencies(project, [ + "legacy-fabric-api-base" +]) diff --git a/legacy-fabric-networking-api-v1/common/build.gradle b/legacy-fabric-networking-api-v1/common/build.gradle new file mode 100644 index 000000000..e69de29bb diff --git a/legacy-fabric-networking-api-v1/common/gradle.properties b/legacy-fabric-networking-api-v1/common/gradle.properties new file mode 100644 index 000000000..197d3d229 --- /dev/null +++ b/legacy-fabric-networking-api-v1/common/gradle.properties @@ -0,0 +1,2 @@ +minVersionExcluded=1.6.4 +maxVersionIncluded=1.12.2 diff --git a/common/legacy-fabric-networking-api-v1-common/src/main/java/net/legacyfabric/fabric/api/client/networking/v1/C2SPlayChannelEvents.java b/legacy-fabric-networking-api-v1/common/src/main/java/net/legacyfabric/fabric/api/client/networking/v1/C2SPlayChannelEvents.java similarity index 100% rename from common/legacy-fabric-networking-api-v1-common/src/main/java/net/legacyfabric/fabric/api/client/networking/v1/C2SPlayChannelEvents.java rename to legacy-fabric-networking-api-v1/common/src/main/java/net/legacyfabric/fabric/api/client/networking/v1/C2SPlayChannelEvents.java diff --git a/common/legacy-fabric-networking-api-v1-common/src/main/java/net/legacyfabric/fabric/api/client/networking/v1/ClientPlayConnectionEvents.java b/legacy-fabric-networking-api-v1/common/src/main/java/net/legacyfabric/fabric/api/client/networking/v1/ClientPlayConnectionEvents.java similarity index 100% rename from common/legacy-fabric-networking-api-v1-common/src/main/java/net/legacyfabric/fabric/api/client/networking/v1/ClientPlayConnectionEvents.java rename to legacy-fabric-networking-api-v1/common/src/main/java/net/legacyfabric/fabric/api/client/networking/v1/ClientPlayConnectionEvents.java diff --git a/common/legacy-fabric-networking-api-v1-common/src/main/java/net/legacyfabric/fabric/api/client/networking/v1/ClientPlayNetworking.java b/legacy-fabric-networking-api-v1/common/src/main/java/net/legacyfabric/fabric/api/client/networking/v1/ClientPlayNetworking.java similarity index 100% rename from common/legacy-fabric-networking-api-v1-common/src/main/java/net/legacyfabric/fabric/api/client/networking/v1/ClientPlayNetworking.java rename to legacy-fabric-networking-api-v1/common/src/main/java/net/legacyfabric/fabric/api/client/networking/v1/ClientPlayNetworking.java diff --git a/common/legacy-fabric-networking-api-v1-common/src/main/java/net/legacyfabric/fabric/api/client/networking/v1/package-info.java b/legacy-fabric-networking-api-v1/common/src/main/java/net/legacyfabric/fabric/api/client/networking/v1/package-info.java similarity index 100% rename from common/legacy-fabric-networking-api-v1-common/src/main/java/net/legacyfabric/fabric/api/client/networking/v1/package-info.java rename to legacy-fabric-networking-api-v1/common/src/main/java/net/legacyfabric/fabric/api/client/networking/v1/package-info.java diff --git a/common/legacy-fabric-networking-api-v1-common/src/main/java/net/legacyfabric/fabric/api/networking/v1/EntityTrackingEvents.java b/legacy-fabric-networking-api-v1/common/src/main/java/net/legacyfabric/fabric/api/networking/v1/EntityTrackingEvents.java similarity index 100% rename from common/legacy-fabric-networking-api-v1-common/src/main/java/net/legacyfabric/fabric/api/networking/v1/EntityTrackingEvents.java rename to legacy-fabric-networking-api-v1/common/src/main/java/net/legacyfabric/fabric/api/networking/v1/EntityTrackingEvents.java diff --git a/common/legacy-fabric-networking-api-v1-common/src/main/java/net/legacyfabric/fabric/api/networking/v1/FutureListeners.java b/legacy-fabric-networking-api-v1/common/src/main/java/net/legacyfabric/fabric/api/networking/v1/FutureListeners.java similarity index 100% rename from common/legacy-fabric-networking-api-v1-common/src/main/java/net/legacyfabric/fabric/api/networking/v1/FutureListeners.java rename to legacy-fabric-networking-api-v1/common/src/main/java/net/legacyfabric/fabric/api/networking/v1/FutureListeners.java diff --git a/common/legacy-fabric-networking-api-v1-common/src/main/java/net/legacyfabric/fabric/api/networking/v1/PacketByteBufs.java b/legacy-fabric-networking-api-v1/common/src/main/java/net/legacyfabric/fabric/api/networking/v1/PacketByteBufs.java similarity index 100% rename from common/legacy-fabric-networking-api-v1-common/src/main/java/net/legacyfabric/fabric/api/networking/v1/PacketByteBufs.java rename to legacy-fabric-networking-api-v1/common/src/main/java/net/legacyfabric/fabric/api/networking/v1/PacketByteBufs.java diff --git a/common/legacy-fabric-networking-api-v1-common/src/main/java/net/legacyfabric/fabric/api/networking/v1/PacketSender.java b/legacy-fabric-networking-api-v1/common/src/main/java/net/legacyfabric/fabric/api/networking/v1/PacketSender.java similarity index 100% rename from common/legacy-fabric-networking-api-v1-common/src/main/java/net/legacyfabric/fabric/api/networking/v1/PacketSender.java rename to legacy-fabric-networking-api-v1/common/src/main/java/net/legacyfabric/fabric/api/networking/v1/PacketSender.java diff --git a/common/legacy-fabric-networking-api-v1-common/src/main/java/net/legacyfabric/fabric/api/networking/v1/PlayerLookup.java b/legacy-fabric-networking-api-v1/common/src/main/java/net/legacyfabric/fabric/api/networking/v1/PlayerLookup.java similarity index 100% rename from common/legacy-fabric-networking-api-v1-common/src/main/java/net/legacyfabric/fabric/api/networking/v1/PlayerLookup.java rename to legacy-fabric-networking-api-v1/common/src/main/java/net/legacyfabric/fabric/api/networking/v1/PlayerLookup.java diff --git a/common/legacy-fabric-networking-api-v1-common/src/main/java/net/legacyfabric/fabric/api/networking/v1/S2CPlayChannelEvents.java b/legacy-fabric-networking-api-v1/common/src/main/java/net/legacyfabric/fabric/api/networking/v1/S2CPlayChannelEvents.java similarity index 100% rename from common/legacy-fabric-networking-api-v1-common/src/main/java/net/legacyfabric/fabric/api/networking/v1/S2CPlayChannelEvents.java rename to legacy-fabric-networking-api-v1/common/src/main/java/net/legacyfabric/fabric/api/networking/v1/S2CPlayChannelEvents.java diff --git a/common/legacy-fabric-networking-api-v1-common/src/main/java/net/legacyfabric/fabric/api/networking/v1/ServerPlayConnectionEvents.java b/legacy-fabric-networking-api-v1/common/src/main/java/net/legacyfabric/fabric/api/networking/v1/ServerPlayConnectionEvents.java similarity index 100% rename from common/legacy-fabric-networking-api-v1-common/src/main/java/net/legacyfabric/fabric/api/networking/v1/ServerPlayConnectionEvents.java rename to legacy-fabric-networking-api-v1/common/src/main/java/net/legacyfabric/fabric/api/networking/v1/ServerPlayConnectionEvents.java diff --git a/common/legacy-fabric-networking-api-v1-common/src/main/java/net/legacyfabric/fabric/api/networking/v1/ServerPlayNetworking.java b/legacy-fabric-networking-api-v1/common/src/main/java/net/legacyfabric/fabric/api/networking/v1/ServerPlayNetworking.java similarity index 100% rename from common/legacy-fabric-networking-api-v1-common/src/main/java/net/legacyfabric/fabric/api/networking/v1/ServerPlayNetworking.java rename to legacy-fabric-networking-api-v1/common/src/main/java/net/legacyfabric/fabric/api/networking/v1/ServerPlayNetworking.java diff --git a/common/legacy-fabric-networking-api-v1-common/src/main/java/net/legacyfabric/fabric/api/networking/v1/package-info.java b/legacy-fabric-networking-api-v1/common/src/main/java/net/legacyfabric/fabric/api/networking/v1/package-info.java similarity index 100% rename from common/legacy-fabric-networking-api-v1-common/src/main/java/net/legacyfabric/fabric/api/networking/v1/package-info.java rename to legacy-fabric-networking-api-v1/common/src/main/java/net/legacyfabric/fabric/api/networking/v1/package-info.java diff --git a/common/legacy-fabric-networking-api-v1-common/src/main/java/net/legacyfabric/fabric/impl/networking/AbstractChanneledNetworkAddon.java b/legacy-fabric-networking-api-v1/common/src/main/java/net/legacyfabric/fabric/impl/networking/AbstractChanneledNetworkAddon.java similarity index 100% rename from common/legacy-fabric-networking-api-v1-common/src/main/java/net/legacyfabric/fabric/impl/networking/AbstractChanneledNetworkAddon.java rename to legacy-fabric-networking-api-v1/common/src/main/java/net/legacyfabric/fabric/impl/networking/AbstractChanneledNetworkAddon.java diff --git a/common/legacy-fabric-networking-api-v1-common/src/main/java/net/legacyfabric/fabric/impl/networking/AbstractNetworkAddon.java b/legacy-fabric-networking-api-v1/common/src/main/java/net/legacyfabric/fabric/impl/networking/AbstractNetworkAddon.java similarity index 100% rename from common/legacy-fabric-networking-api-v1-common/src/main/java/net/legacyfabric/fabric/impl/networking/AbstractNetworkAddon.java rename to legacy-fabric-networking-api-v1/common/src/main/java/net/legacyfabric/fabric/impl/networking/AbstractNetworkAddon.java diff --git a/common/legacy-fabric-networking-api-v1-common/src/main/java/net/legacyfabric/fabric/impl/networking/ChannelInfoHolder.java b/legacy-fabric-networking-api-v1/common/src/main/java/net/legacyfabric/fabric/impl/networking/ChannelInfoHolder.java similarity index 100% rename from common/legacy-fabric-networking-api-v1-common/src/main/java/net/legacyfabric/fabric/impl/networking/ChannelInfoHolder.java rename to legacy-fabric-networking-api-v1/common/src/main/java/net/legacyfabric/fabric/impl/networking/ChannelInfoHolder.java diff --git a/common/legacy-fabric-networking-api-v1-common/src/main/java/net/legacyfabric/fabric/impl/networking/ClientConnectionExtension.java b/legacy-fabric-networking-api-v1/common/src/main/java/net/legacyfabric/fabric/impl/networking/ClientConnectionExtension.java similarity index 100% rename from common/legacy-fabric-networking-api-v1-common/src/main/java/net/legacyfabric/fabric/impl/networking/ClientConnectionExtension.java rename to legacy-fabric-networking-api-v1/common/src/main/java/net/legacyfabric/fabric/impl/networking/ClientConnectionExtension.java diff --git a/common/legacy-fabric-networking-api-v1-common/src/main/java/net/legacyfabric/fabric/impl/networking/DisconnectPacketSource.java b/legacy-fabric-networking-api-v1/common/src/main/java/net/legacyfabric/fabric/impl/networking/DisconnectPacketSource.java similarity index 100% rename from common/legacy-fabric-networking-api-v1-common/src/main/java/net/legacyfabric/fabric/impl/networking/DisconnectPacketSource.java rename to legacy-fabric-networking-api-v1/common/src/main/java/net/legacyfabric/fabric/impl/networking/DisconnectPacketSource.java diff --git a/common/legacy-fabric-networking-api-v1-common/src/main/java/net/legacyfabric/fabric/impl/networking/GlobalReceiverRegistry.java b/legacy-fabric-networking-api-v1/common/src/main/java/net/legacyfabric/fabric/impl/networking/GlobalReceiverRegistry.java similarity index 100% rename from common/legacy-fabric-networking-api-v1-common/src/main/java/net/legacyfabric/fabric/impl/networking/GlobalReceiverRegistry.java rename to legacy-fabric-networking-api-v1/common/src/main/java/net/legacyfabric/fabric/impl/networking/GlobalReceiverRegistry.java diff --git a/common/legacy-fabric-networking-api-v1-common/src/main/java/net/legacyfabric/fabric/impl/networking/NetworkingImpl.java b/legacy-fabric-networking-api-v1/common/src/main/java/net/legacyfabric/fabric/impl/networking/NetworkingImpl.java similarity index 100% rename from common/legacy-fabric-networking-api-v1-common/src/main/java/net/legacyfabric/fabric/impl/networking/NetworkingImpl.java rename to legacy-fabric-networking-api-v1/common/src/main/java/net/legacyfabric/fabric/impl/networking/NetworkingImpl.java diff --git a/common/legacy-fabric-networking-api-v1-common/src/main/java/net/legacyfabric/fabric/impl/networking/PacketByteBufExtension.java b/legacy-fabric-networking-api-v1/common/src/main/java/net/legacyfabric/fabric/impl/networking/PacketByteBufExtension.java similarity index 100% rename from common/legacy-fabric-networking-api-v1-common/src/main/java/net/legacyfabric/fabric/impl/networking/PacketByteBufExtension.java rename to legacy-fabric-networking-api-v1/common/src/main/java/net/legacyfabric/fabric/impl/networking/PacketByteBufExtension.java diff --git a/common/legacy-fabric-networking-api-v1-common/src/main/java/net/legacyfabric/fabric/impl/networking/PacketCallbackListener.java b/legacy-fabric-networking-api-v1/common/src/main/java/net/legacyfabric/fabric/impl/networking/PacketCallbackListener.java similarity index 100% rename from common/legacy-fabric-networking-api-v1-common/src/main/java/net/legacyfabric/fabric/impl/networking/PacketCallbackListener.java rename to legacy-fabric-networking-api-v1/common/src/main/java/net/legacyfabric/fabric/impl/networking/PacketCallbackListener.java diff --git a/common/legacy-fabric-networking-api-v1-common/src/main/java/net/legacyfabric/fabric/impl/networking/client/ClientNetworkingImpl.java b/legacy-fabric-networking-api-v1/common/src/main/java/net/legacyfabric/fabric/impl/networking/client/ClientNetworkingImpl.java similarity index 100% rename from common/legacy-fabric-networking-api-v1-common/src/main/java/net/legacyfabric/fabric/impl/networking/client/ClientNetworkingImpl.java rename to legacy-fabric-networking-api-v1/common/src/main/java/net/legacyfabric/fabric/impl/networking/client/ClientNetworkingImpl.java diff --git a/common/legacy-fabric-networking-api-v1-common/src/main/java/net/legacyfabric/fabric/impl/networking/client/ClientPlayNetworkAddon.java b/legacy-fabric-networking-api-v1/common/src/main/java/net/legacyfabric/fabric/impl/networking/client/ClientPlayNetworkAddon.java similarity index 100% rename from common/legacy-fabric-networking-api-v1-common/src/main/java/net/legacyfabric/fabric/impl/networking/client/ClientPlayNetworkAddon.java rename to legacy-fabric-networking-api-v1/common/src/main/java/net/legacyfabric/fabric/impl/networking/client/ClientPlayNetworkAddon.java diff --git a/common/legacy-fabric-networking-api-v1-common/src/main/java/net/legacyfabric/fabric/impl/networking/client/ClientPlayNetworkHandlerExtensions.java b/legacy-fabric-networking-api-v1/common/src/main/java/net/legacyfabric/fabric/impl/networking/client/ClientPlayNetworkHandlerExtensions.java similarity index 100% rename from common/legacy-fabric-networking-api-v1-common/src/main/java/net/legacyfabric/fabric/impl/networking/client/ClientPlayNetworkHandlerExtensions.java rename to legacy-fabric-networking-api-v1/common/src/main/java/net/legacyfabric/fabric/impl/networking/client/ClientPlayNetworkHandlerExtensions.java diff --git a/common/legacy-fabric-networking-api-v1-common/src/main/java/net/legacyfabric/fabric/impl/networking/client/CustomPayloadS2CPacketExtension.java b/legacy-fabric-networking-api-v1/common/src/main/java/net/legacyfabric/fabric/impl/networking/client/CustomPayloadS2CPacketExtension.java similarity index 100% rename from common/legacy-fabric-networking-api-v1-common/src/main/java/net/legacyfabric/fabric/impl/networking/client/CustomPayloadS2CPacketExtension.java rename to legacy-fabric-networking-api-v1/common/src/main/java/net/legacyfabric/fabric/impl/networking/client/CustomPayloadS2CPacketExtension.java diff --git a/common/legacy-fabric-networking-api-v1-common/src/main/java/net/legacyfabric/fabric/impl/networking/client/MinecraftClientExtensions.java b/legacy-fabric-networking-api-v1/common/src/main/java/net/legacyfabric/fabric/impl/networking/client/MinecraftClientExtensions.java similarity index 100% rename from common/legacy-fabric-networking-api-v1-common/src/main/java/net/legacyfabric/fabric/impl/networking/client/MinecraftClientExtensions.java rename to legacy-fabric-networking-api-v1/common/src/main/java/net/legacyfabric/fabric/impl/networking/client/MinecraftClientExtensions.java diff --git a/common/legacy-fabric-networking-api-v1-common/src/main/java/net/legacyfabric/fabric/impl/networking/server/CustomPayloadC2SPacketExtension.java b/legacy-fabric-networking-api-v1/common/src/main/java/net/legacyfabric/fabric/impl/networking/server/CustomPayloadC2SPacketExtension.java similarity index 100% rename from common/legacy-fabric-networking-api-v1-common/src/main/java/net/legacyfabric/fabric/impl/networking/server/CustomPayloadC2SPacketExtension.java rename to legacy-fabric-networking-api-v1/common/src/main/java/net/legacyfabric/fabric/impl/networking/server/CustomPayloadC2SPacketExtension.java diff --git a/common/legacy-fabric-networking-api-v1-common/src/main/java/net/legacyfabric/fabric/impl/networking/server/MinecraftServerExtensions.java b/legacy-fabric-networking-api-v1/common/src/main/java/net/legacyfabric/fabric/impl/networking/server/MinecraftServerExtensions.java similarity index 100% rename from common/legacy-fabric-networking-api-v1-common/src/main/java/net/legacyfabric/fabric/impl/networking/server/MinecraftServerExtensions.java rename to legacy-fabric-networking-api-v1/common/src/main/java/net/legacyfabric/fabric/impl/networking/server/MinecraftServerExtensions.java diff --git a/common/legacy-fabric-networking-api-v1-common/src/main/java/net/legacyfabric/fabric/impl/networking/server/ServerNetworkingImpl.java b/legacy-fabric-networking-api-v1/common/src/main/java/net/legacyfabric/fabric/impl/networking/server/ServerNetworkingImpl.java similarity index 100% rename from common/legacy-fabric-networking-api-v1-common/src/main/java/net/legacyfabric/fabric/impl/networking/server/ServerNetworkingImpl.java rename to legacy-fabric-networking-api-v1/common/src/main/java/net/legacyfabric/fabric/impl/networking/server/ServerNetworkingImpl.java diff --git a/common/legacy-fabric-networking-api-v1-common/src/main/java/net/legacyfabric/fabric/impl/networking/server/ServerPlayNetworkAddon.java b/legacy-fabric-networking-api-v1/common/src/main/java/net/legacyfabric/fabric/impl/networking/server/ServerPlayNetworkAddon.java similarity index 100% rename from common/legacy-fabric-networking-api-v1-common/src/main/java/net/legacyfabric/fabric/impl/networking/server/ServerPlayNetworkAddon.java rename to legacy-fabric-networking-api-v1/common/src/main/java/net/legacyfabric/fabric/impl/networking/server/ServerPlayNetworkAddon.java diff --git a/common/legacy-fabric-networking-api-v1-common/src/main/java/net/legacyfabric/fabric/impl/networking/server/ServerPlayNetworkHandlerExtensions.java b/legacy-fabric-networking-api-v1/common/src/main/java/net/legacyfabric/fabric/impl/networking/server/ServerPlayNetworkHandlerExtensions.java similarity index 100% rename from common/legacy-fabric-networking-api-v1-common/src/main/java/net/legacyfabric/fabric/impl/networking/server/ServerPlayNetworkHandlerExtensions.java rename to legacy-fabric-networking-api-v1/common/src/main/java/net/legacyfabric/fabric/impl/networking/server/ServerPlayNetworkHandlerExtensions.java diff --git a/common/legacy-fabric-networking-api-v1-common/src/main/java/net/legacyfabric/fabric/mixin/networking/CustomPayloadS2CPacketMixin.java b/legacy-fabric-networking-api-v1/common/src/main/java/net/legacyfabric/fabric/mixin/networking/CustomPayloadS2CPacketMixin.java similarity index 100% rename from common/legacy-fabric-networking-api-v1-common/src/main/java/net/legacyfabric/fabric/mixin/networking/CustomPayloadS2CPacketMixin.java rename to legacy-fabric-networking-api-v1/common/src/main/java/net/legacyfabric/fabric/mixin/networking/CustomPayloadS2CPacketMixin.java diff --git a/common/legacy-fabric-networking-api-v1-common/src/main/java/net/legacyfabric/fabric/mixin/networking/EntityTrackerAccessor.java b/legacy-fabric-networking-api-v1/common/src/main/java/net/legacyfabric/fabric/mixin/networking/EntityTrackerAccessor.java similarity index 100% rename from common/legacy-fabric-networking-api-v1-common/src/main/java/net/legacyfabric/fabric/mixin/networking/EntityTrackerAccessor.java rename to legacy-fabric-networking-api-v1/common/src/main/java/net/legacyfabric/fabric/mixin/networking/EntityTrackerAccessor.java diff --git a/common/legacy-fabric-networking-api-v1-common/src/main/java/net/legacyfabric/fabric/mixin/networking/EntityTrackerEntryAccessor.java b/legacy-fabric-networking-api-v1/common/src/main/java/net/legacyfabric/fabric/mixin/networking/EntityTrackerEntryAccessor.java similarity index 100% rename from common/legacy-fabric-networking-api-v1-common/src/main/java/net/legacyfabric/fabric/mixin/networking/EntityTrackerEntryAccessor.java rename to legacy-fabric-networking-api-v1/common/src/main/java/net/legacyfabric/fabric/mixin/networking/EntityTrackerEntryAccessor.java diff --git a/common/legacy-fabric-networking-api-v1-common/src/main/java/net/legacyfabric/fabric/mixin/networking/EntityTrackerEntryMixin.java b/legacy-fabric-networking-api-v1/common/src/main/java/net/legacyfabric/fabric/mixin/networking/EntityTrackerEntryMixin.java similarity index 100% rename from common/legacy-fabric-networking-api-v1-common/src/main/java/net/legacyfabric/fabric/mixin/networking/EntityTrackerEntryMixin.java rename to legacy-fabric-networking-api-v1/common/src/main/java/net/legacyfabric/fabric/mixin/networking/EntityTrackerEntryMixin.java diff --git a/common/legacy-fabric-networking-api-v1-common/src/main/java/net/legacyfabric/fabric/mixin/networking/ServerPlayNetworkHandlerMixin.java b/legacy-fabric-networking-api-v1/common/src/main/java/net/legacyfabric/fabric/mixin/networking/ServerPlayNetworkHandlerMixin.java similarity index 100% rename from common/legacy-fabric-networking-api-v1-common/src/main/java/net/legacyfabric/fabric/mixin/networking/ServerPlayNetworkHandlerMixin.java rename to legacy-fabric-networking-api-v1/common/src/main/java/net/legacyfabric/fabric/mixin/networking/ServerPlayNetworkHandlerMixin.java diff --git a/common/legacy-fabric-networking-api-v1-common/src/main/java/net/legacyfabric/fabric/mixin/networking/client/ClientPlayNetworkHandlerMixin.java b/legacy-fabric-networking-api-v1/common/src/main/java/net/legacyfabric/fabric/mixin/networking/client/ClientPlayNetworkHandlerMixin.java similarity index 100% rename from common/legacy-fabric-networking-api-v1-common/src/main/java/net/legacyfabric/fabric/mixin/networking/client/ClientPlayNetworkHandlerMixin.java rename to legacy-fabric-networking-api-v1/common/src/main/java/net/legacyfabric/fabric/mixin/networking/client/ClientPlayNetworkHandlerMixin.java diff --git a/common/legacy-fabric-networking-api-v1-common/src/main/java/net/legacyfabric/fabric/mixin/networking/client/ConnectScreenAccessor.java b/legacy-fabric-networking-api-v1/common/src/main/java/net/legacyfabric/fabric/mixin/networking/client/ConnectScreenAccessor.java similarity index 100% rename from common/legacy-fabric-networking-api-v1-common/src/main/java/net/legacyfabric/fabric/mixin/networking/client/ConnectScreenAccessor.java rename to legacy-fabric-networking-api-v1/common/src/main/java/net/legacyfabric/fabric/mixin/networking/client/ConnectScreenAccessor.java diff --git a/common/legacy-fabric-networking-api-v1-common/src/main/java/net/legacyfabric/fabric/mixin/networking/client/MinecraftClientAccessor.java b/legacy-fabric-networking-api-v1/common/src/main/java/net/legacyfabric/fabric/mixin/networking/client/MinecraftClientAccessor.java similarity index 100% rename from common/legacy-fabric-networking-api-v1-common/src/main/java/net/legacyfabric/fabric/mixin/networking/client/MinecraftClientAccessor.java rename to legacy-fabric-networking-api-v1/common/src/main/java/net/legacyfabric/fabric/mixin/networking/client/MinecraftClientAccessor.java diff --git a/common/legacy-fabric-networking-api-v1-common/src/main/resources/assets/legacy-fabric/icon.png b/legacy-fabric-networking-api-v1/common/src/main/resources/assets/legacy-fabric/icon.png similarity index 100% rename from common/legacy-fabric-networking-api-v1-common/src/main/resources/assets/legacy-fabric/icon.png rename to legacy-fabric-networking-api-v1/common/src/main/resources/assets/legacy-fabric/icon.png diff --git a/common/legacy-fabric-networking-api-v1-common/src/main/resources/fabric.mod.json b/legacy-fabric-networking-api-v1/common/src/main/resources/fabric.mod.json similarity index 96% rename from common/legacy-fabric-networking-api-v1-common/src/main/resources/fabric.mod.json rename to legacy-fabric-networking-api-v1/common/src/main/resources/fabric.mod.json index a0791ac55..22a97e4bc 100644 --- a/common/legacy-fabric-networking-api-v1-common/src/main/resources/fabric.mod.json +++ b/legacy-fabric-networking-api-v1/common/src/main/resources/fabric.mod.json @@ -16,7 +16,7 @@ "FabricMC" ], "depends": { - "minecraft": ">1.6.4 <=1.12.2" + "minecraft": "${minecraft_version}" }, "description": "Low-level, vanilla protocol oriented networking hooks.", "mixins": [ diff --git a/common/legacy-fabric-networking-api-v1-common/src/main/resources/legacy-fabric-networking-api-v1-common.mixins.json b/legacy-fabric-networking-api-v1/common/src/main/resources/legacy-fabric-networking-api-v1-common.mixins.json similarity index 100% rename from common/legacy-fabric-networking-api-v1-common/src/main/resources/legacy-fabric-networking-api-v1-common.mixins.json rename to legacy-fabric-networking-api-v1/common/src/main/resources/legacy-fabric-networking-api-v1-common.mixins.json diff --git a/settings.gradle b/settings.gradle index 54cb7b1b6..a5e541728 100644 --- a/settings.gradle +++ b/settings.gradle @@ -34,6 +34,7 @@ loadProject("legacy-fabric-entity-events-v1") loadProject("legacy-fabric-gamerule-api-v1") loadProject("legacy-fabric-item-groups-v1") loadProject("legacy-fabric-keybindings-api-v1") +loadProject("legacy-fabric-networking-api-v1") //include("common") //include("common:legacy-fabric-logger-api-v1") From 2038d0b297e73d3274105457ea951d077f8b7d93 Mon Sep 17 00:00:00 2001 From: Cat Core Date: Thu, 8 Feb 2024 11:23:27 +0100 Subject: [PATCH 14/27] Port legacy-fabric-permissions-api-v1 --- 1.8.9/legacy-fabric-permissions-api-v1/build.gradle | 8 -------- .../build.gradle | 7 ------- legacy-fabric-permissions-api-v1/1.8.9/build.gradle | 0 .../1.8.9/gradle.properties | 2 ++ .../mixin/permission/CommandBlockExecutorMixin.java | 0 .../mixin/permission/CommandStats_1Mixin.java | 0 .../fabric/mixin/permission/ConsoleMixin.java | 0 .../fabric/mixin/permission/EntityMixin.java | 0 .../mixin/permission/ExecuteCommand_1Mixin.java | 0 .../mixin/permission/ServerPlayerEntityMixin.java | 0 .../mixin/permission/SignBlockEntity_1Mixin.java | 0 .../mixin/permission/SignBlockEntity_2Mixin.java | 0 .../legacy-fabric-permissions-api-v1/icon.png | Bin .../1.8.9}/src/main/resources/fabric.mod.json | 2 +- .../legacy-fabric-permissions-api-v1.mixins.json | 0 legacy-fabric-permissions-api-v1/common.gradle | 3 +++ .../common/build.gradle | 0 .../common/gradle.properties | 2 ++ .../api/permission/v1/PermissibleCommandSource.java | 0 .../api/permission/v1/PermissionsApiHolder.java | 0 .../api/permission/v1/PlayerPermissionsApi.java | 0 .../legacy-fabric-permissions-api-v1/icon.png | Bin .../common}/src/main/resources/fabric.mod.json | 2 +- settings.gradle | 1 + 24 files changed, 10 insertions(+), 17 deletions(-) delete mode 100644 1.8.9/legacy-fabric-permissions-api-v1/build.gradle delete mode 100644 common/legacy-fabric-permissions-api-v1-common/build.gradle create mode 100644 legacy-fabric-permissions-api-v1/1.8.9/build.gradle create mode 100644 legacy-fabric-permissions-api-v1/1.8.9/gradle.properties rename {1.8.9/legacy-fabric-permissions-api-v1 => legacy-fabric-permissions-api-v1/1.8.9}/src/main/java/net/legacyfabric/fabric/mixin/permission/CommandBlockExecutorMixin.java (100%) rename {1.8.9/legacy-fabric-permissions-api-v1 => legacy-fabric-permissions-api-v1/1.8.9}/src/main/java/net/legacyfabric/fabric/mixin/permission/CommandStats_1Mixin.java (100%) rename {1.8.9/legacy-fabric-permissions-api-v1 => legacy-fabric-permissions-api-v1/1.8.9}/src/main/java/net/legacyfabric/fabric/mixin/permission/ConsoleMixin.java (100%) rename {1.8.9/legacy-fabric-permissions-api-v1 => legacy-fabric-permissions-api-v1/1.8.9}/src/main/java/net/legacyfabric/fabric/mixin/permission/EntityMixin.java (100%) rename {1.8.9/legacy-fabric-permissions-api-v1 => legacy-fabric-permissions-api-v1/1.8.9}/src/main/java/net/legacyfabric/fabric/mixin/permission/ExecuteCommand_1Mixin.java (100%) rename {1.8.9/legacy-fabric-permissions-api-v1 => legacy-fabric-permissions-api-v1/1.8.9}/src/main/java/net/legacyfabric/fabric/mixin/permission/ServerPlayerEntityMixin.java (100%) rename {1.8.9/legacy-fabric-permissions-api-v1 => legacy-fabric-permissions-api-v1/1.8.9}/src/main/java/net/legacyfabric/fabric/mixin/permission/SignBlockEntity_1Mixin.java (100%) rename {1.8.9/legacy-fabric-permissions-api-v1 => legacy-fabric-permissions-api-v1/1.8.9}/src/main/java/net/legacyfabric/fabric/mixin/permission/SignBlockEntity_2Mixin.java (100%) rename {1.8.9/legacy-fabric-permissions-api-v1 => legacy-fabric-permissions-api-v1/1.8.9}/src/main/resources/assets/legacy-fabric-permissions-api-v1/icon.png (100%) rename {1.8.9/legacy-fabric-permissions-api-v1 => legacy-fabric-permissions-api-v1/1.8.9}/src/main/resources/fabric.mod.json (96%) rename {1.8.9/legacy-fabric-permissions-api-v1 => legacy-fabric-permissions-api-v1/1.8.9}/src/main/resources/legacy-fabric-permissions-api-v1.mixins.json (100%) create mode 100644 legacy-fabric-permissions-api-v1/common.gradle create mode 100644 legacy-fabric-permissions-api-v1/common/build.gradle create mode 100644 legacy-fabric-permissions-api-v1/common/gradle.properties rename {common/legacy-fabric-permissions-api-v1-common => legacy-fabric-permissions-api-v1/common}/src/main/java/net/legacyfabric/fabric/api/permission/v1/PermissibleCommandSource.java (100%) rename {common/legacy-fabric-permissions-api-v1-common => legacy-fabric-permissions-api-v1/common}/src/main/java/net/legacyfabric/fabric/api/permission/v1/PermissionsApiHolder.java (100%) rename {common/legacy-fabric-permissions-api-v1-common => legacy-fabric-permissions-api-v1/common}/src/main/java/net/legacyfabric/fabric/api/permission/v1/PlayerPermissionsApi.java (100%) rename {common/legacy-fabric-permissions-api-v1-common => legacy-fabric-permissions-api-v1/common}/src/main/resources/assets/legacy-fabric-permissions-api-v1/icon.png (100%) rename {common/legacy-fabric-permissions-api-v1-common => legacy-fabric-permissions-api-v1/common}/src/main/resources/fabric.mod.json (96%) diff --git a/1.8.9/legacy-fabric-permissions-api-v1/build.gradle b/1.8.9/legacy-fabric-permissions-api-v1/build.gradle deleted file mode 100644 index 05a8cce1b..000000000 --- a/1.8.9/legacy-fabric-permissions-api-v1/build.gradle +++ /dev/null @@ -1,8 +0,0 @@ -version = getSubprojectVersion(project) - -moduleDependencies(project, [ - "common": [ - "legacy-fabric-api-base-common", - "legacy-fabric-permissions-api-v1-common" - ] -]) diff --git a/common/legacy-fabric-permissions-api-v1-common/build.gradle b/common/legacy-fabric-permissions-api-v1-common/build.gradle deleted file mode 100644 index 3ca3a9171..000000000 --- a/common/legacy-fabric-permissions-api-v1-common/build.gradle +++ /dev/null @@ -1,7 +0,0 @@ -version = getSubprojectVersion(project) - -moduleDependencies(project, [ - "common": [ - "legacy-fabric-api-base-common" - ] -]) diff --git a/legacy-fabric-permissions-api-v1/1.8.9/build.gradle b/legacy-fabric-permissions-api-v1/1.8.9/build.gradle new file mode 100644 index 000000000..e69de29bb diff --git a/legacy-fabric-permissions-api-v1/1.8.9/gradle.properties b/legacy-fabric-permissions-api-v1/1.8.9/gradle.properties new file mode 100644 index 000000000..d523a75a0 --- /dev/null +++ b/legacy-fabric-permissions-api-v1/1.8.9/gradle.properties @@ -0,0 +1,2 @@ +minVersionIncluded=1.3 +maxVersionIncluded=1.12.2 diff --git a/1.8.9/legacy-fabric-permissions-api-v1/src/main/java/net/legacyfabric/fabric/mixin/permission/CommandBlockExecutorMixin.java b/legacy-fabric-permissions-api-v1/1.8.9/src/main/java/net/legacyfabric/fabric/mixin/permission/CommandBlockExecutorMixin.java similarity index 100% rename from 1.8.9/legacy-fabric-permissions-api-v1/src/main/java/net/legacyfabric/fabric/mixin/permission/CommandBlockExecutorMixin.java rename to legacy-fabric-permissions-api-v1/1.8.9/src/main/java/net/legacyfabric/fabric/mixin/permission/CommandBlockExecutorMixin.java diff --git a/1.8.9/legacy-fabric-permissions-api-v1/src/main/java/net/legacyfabric/fabric/mixin/permission/CommandStats_1Mixin.java b/legacy-fabric-permissions-api-v1/1.8.9/src/main/java/net/legacyfabric/fabric/mixin/permission/CommandStats_1Mixin.java similarity index 100% rename from 1.8.9/legacy-fabric-permissions-api-v1/src/main/java/net/legacyfabric/fabric/mixin/permission/CommandStats_1Mixin.java rename to legacy-fabric-permissions-api-v1/1.8.9/src/main/java/net/legacyfabric/fabric/mixin/permission/CommandStats_1Mixin.java diff --git a/1.8.9/legacy-fabric-permissions-api-v1/src/main/java/net/legacyfabric/fabric/mixin/permission/ConsoleMixin.java b/legacy-fabric-permissions-api-v1/1.8.9/src/main/java/net/legacyfabric/fabric/mixin/permission/ConsoleMixin.java similarity index 100% rename from 1.8.9/legacy-fabric-permissions-api-v1/src/main/java/net/legacyfabric/fabric/mixin/permission/ConsoleMixin.java rename to legacy-fabric-permissions-api-v1/1.8.9/src/main/java/net/legacyfabric/fabric/mixin/permission/ConsoleMixin.java diff --git a/1.8.9/legacy-fabric-permissions-api-v1/src/main/java/net/legacyfabric/fabric/mixin/permission/EntityMixin.java b/legacy-fabric-permissions-api-v1/1.8.9/src/main/java/net/legacyfabric/fabric/mixin/permission/EntityMixin.java similarity index 100% rename from 1.8.9/legacy-fabric-permissions-api-v1/src/main/java/net/legacyfabric/fabric/mixin/permission/EntityMixin.java rename to legacy-fabric-permissions-api-v1/1.8.9/src/main/java/net/legacyfabric/fabric/mixin/permission/EntityMixin.java diff --git a/1.8.9/legacy-fabric-permissions-api-v1/src/main/java/net/legacyfabric/fabric/mixin/permission/ExecuteCommand_1Mixin.java b/legacy-fabric-permissions-api-v1/1.8.9/src/main/java/net/legacyfabric/fabric/mixin/permission/ExecuteCommand_1Mixin.java similarity index 100% rename from 1.8.9/legacy-fabric-permissions-api-v1/src/main/java/net/legacyfabric/fabric/mixin/permission/ExecuteCommand_1Mixin.java rename to legacy-fabric-permissions-api-v1/1.8.9/src/main/java/net/legacyfabric/fabric/mixin/permission/ExecuteCommand_1Mixin.java diff --git a/1.8.9/legacy-fabric-permissions-api-v1/src/main/java/net/legacyfabric/fabric/mixin/permission/ServerPlayerEntityMixin.java b/legacy-fabric-permissions-api-v1/1.8.9/src/main/java/net/legacyfabric/fabric/mixin/permission/ServerPlayerEntityMixin.java similarity index 100% rename from 1.8.9/legacy-fabric-permissions-api-v1/src/main/java/net/legacyfabric/fabric/mixin/permission/ServerPlayerEntityMixin.java rename to legacy-fabric-permissions-api-v1/1.8.9/src/main/java/net/legacyfabric/fabric/mixin/permission/ServerPlayerEntityMixin.java diff --git a/1.8.9/legacy-fabric-permissions-api-v1/src/main/java/net/legacyfabric/fabric/mixin/permission/SignBlockEntity_1Mixin.java b/legacy-fabric-permissions-api-v1/1.8.9/src/main/java/net/legacyfabric/fabric/mixin/permission/SignBlockEntity_1Mixin.java similarity index 100% rename from 1.8.9/legacy-fabric-permissions-api-v1/src/main/java/net/legacyfabric/fabric/mixin/permission/SignBlockEntity_1Mixin.java rename to legacy-fabric-permissions-api-v1/1.8.9/src/main/java/net/legacyfabric/fabric/mixin/permission/SignBlockEntity_1Mixin.java diff --git a/1.8.9/legacy-fabric-permissions-api-v1/src/main/java/net/legacyfabric/fabric/mixin/permission/SignBlockEntity_2Mixin.java b/legacy-fabric-permissions-api-v1/1.8.9/src/main/java/net/legacyfabric/fabric/mixin/permission/SignBlockEntity_2Mixin.java similarity index 100% rename from 1.8.9/legacy-fabric-permissions-api-v1/src/main/java/net/legacyfabric/fabric/mixin/permission/SignBlockEntity_2Mixin.java rename to legacy-fabric-permissions-api-v1/1.8.9/src/main/java/net/legacyfabric/fabric/mixin/permission/SignBlockEntity_2Mixin.java diff --git a/1.8.9/legacy-fabric-permissions-api-v1/src/main/resources/assets/legacy-fabric-permissions-api-v1/icon.png b/legacy-fabric-permissions-api-v1/1.8.9/src/main/resources/assets/legacy-fabric-permissions-api-v1/icon.png similarity index 100% rename from 1.8.9/legacy-fabric-permissions-api-v1/src/main/resources/assets/legacy-fabric-permissions-api-v1/icon.png rename to legacy-fabric-permissions-api-v1/1.8.9/src/main/resources/assets/legacy-fabric-permissions-api-v1/icon.png diff --git a/1.8.9/legacy-fabric-permissions-api-v1/src/main/resources/fabric.mod.json b/legacy-fabric-permissions-api-v1/1.8.9/src/main/resources/fabric.mod.json similarity index 96% rename from 1.8.9/legacy-fabric-permissions-api-v1/src/main/resources/fabric.mod.json rename to legacy-fabric-permissions-api-v1/1.8.9/src/main/resources/fabric.mod.json index 4f39ff17a..919f98876 100644 --- a/1.8.9/legacy-fabric-permissions-api-v1/src/main/resources/fabric.mod.json +++ b/legacy-fabric-permissions-api-v1/1.8.9/src/main/resources/fabric.mod.json @@ -17,7 +17,7 @@ ], "depends": { "fabricloader": ">=0.4.0", - "minecraft": "<=1.12.2" + "minecraft": "${minecraft_version}" }, "description": "Simple permission api", "mixins": [ diff --git a/1.8.9/legacy-fabric-permissions-api-v1/src/main/resources/legacy-fabric-permissions-api-v1.mixins.json b/legacy-fabric-permissions-api-v1/1.8.9/src/main/resources/legacy-fabric-permissions-api-v1.mixins.json similarity index 100% rename from 1.8.9/legacy-fabric-permissions-api-v1/src/main/resources/legacy-fabric-permissions-api-v1.mixins.json rename to legacy-fabric-permissions-api-v1/1.8.9/src/main/resources/legacy-fabric-permissions-api-v1.mixins.json diff --git a/legacy-fabric-permissions-api-v1/common.gradle b/legacy-fabric-permissions-api-v1/common.gradle new file mode 100644 index 000000000..f7bb5a4dd --- /dev/null +++ b/legacy-fabric-permissions-api-v1/common.gradle @@ -0,0 +1,3 @@ +moduleDependencies(project, [ + "legacy-fabric-api-base" +]) diff --git a/legacy-fabric-permissions-api-v1/common/build.gradle b/legacy-fabric-permissions-api-v1/common/build.gradle new file mode 100644 index 000000000..e69de29bb diff --git a/legacy-fabric-permissions-api-v1/common/gradle.properties b/legacy-fabric-permissions-api-v1/common/gradle.properties new file mode 100644 index 000000000..d523a75a0 --- /dev/null +++ b/legacy-fabric-permissions-api-v1/common/gradle.properties @@ -0,0 +1,2 @@ +minVersionIncluded=1.3 +maxVersionIncluded=1.12.2 diff --git a/common/legacy-fabric-permissions-api-v1-common/src/main/java/net/legacyfabric/fabric/api/permission/v1/PermissibleCommandSource.java b/legacy-fabric-permissions-api-v1/common/src/main/java/net/legacyfabric/fabric/api/permission/v1/PermissibleCommandSource.java similarity index 100% rename from common/legacy-fabric-permissions-api-v1-common/src/main/java/net/legacyfabric/fabric/api/permission/v1/PermissibleCommandSource.java rename to legacy-fabric-permissions-api-v1/common/src/main/java/net/legacyfabric/fabric/api/permission/v1/PermissibleCommandSource.java diff --git a/common/legacy-fabric-permissions-api-v1-common/src/main/java/net/legacyfabric/fabric/api/permission/v1/PermissionsApiHolder.java b/legacy-fabric-permissions-api-v1/common/src/main/java/net/legacyfabric/fabric/api/permission/v1/PermissionsApiHolder.java similarity index 100% rename from common/legacy-fabric-permissions-api-v1-common/src/main/java/net/legacyfabric/fabric/api/permission/v1/PermissionsApiHolder.java rename to legacy-fabric-permissions-api-v1/common/src/main/java/net/legacyfabric/fabric/api/permission/v1/PermissionsApiHolder.java diff --git a/common/legacy-fabric-permissions-api-v1-common/src/main/java/net/legacyfabric/fabric/api/permission/v1/PlayerPermissionsApi.java b/legacy-fabric-permissions-api-v1/common/src/main/java/net/legacyfabric/fabric/api/permission/v1/PlayerPermissionsApi.java similarity index 100% rename from common/legacy-fabric-permissions-api-v1-common/src/main/java/net/legacyfabric/fabric/api/permission/v1/PlayerPermissionsApi.java rename to legacy-fabric-permissions-api-v1/common/src/main/java/net/legacyfabric/fabric/api/permission/v1/PlayerPermissionsApi.java diff --git a/common/legacy-fabric-permissions-api-v1-common/src/main/resources/assets/legacy-fabric-permissions-api-v1/icon.png b/legacy-fabric-permissions-api-v1/common/src/main/resources/assets/legacy-fabric-permissions-api-v1/icon.png similarity index 100% rename from common/legacy-fabric-permissions-api-v1-common/src/main/resources/assets/legacy-fabric-permissions-api-v1/icon.png rename to legacy-fabric-permissions-api-v1/common/src/main/resources/assets/legacy-fabric-permissions-api-v1/icon.png diff --git a/common/legacy-fabric-permissions-api-v1-common/src/main/resources/fabric.mod.json b/legacy-fabric-permissions-api-v1/common/src/main/resources/fabric.mod.json similarity index 96% rename from common/legacy-fabric-permissions-api-v1-common/src/main/resources/fabric.mod.json rename to legacy-fabric-permissions-api-v1/common/src/main/resources/fabric.mod.json index 56e69f958..ebf36e9a6 100644 --- a/common/legacy-fabric-permissions-api-v1-common/src/main/resources/fabric.mod.json +++ b/legacy-fabric-permissions-api-v1/common/src/main/resources/fabric.mod.json @@ -17,7 +17,7 @@ ], "depends": { "fabricloader": ">=0.4.0", - "minecraft": "<=1.12.2" + "minecraft": "${minecraft_version}" }, "description": "Simple permission api", "mixins": [], diff --git a/settings.gradle b/settings.gradle index a5e541728..814910d87 100644 --- a/settings.gradle +++ b/settings.gradle @@ -35,6 +35,7 @@ loadProject("legacy-fabric-gamerule-api-v1") loadProject("legacy-fabric-item-groups-v1") loadProject("legacy-fabric-keybindings-api-v1") loadProject("legacy-fabric-networking-api-v1") +loadProject("legacy-fabric-permissions-api-v1") //include("common") //include("common:legacy-fabric-logger-api-v1") From 561bc78389b61b7e937cc354fa5dc417b4f7d46a Mon Sep 17 00:00:00 2001 From: Cat Core Date: Thu, 8 Feb 2024 11:35:30 +0100 Subject: [PATCH 15/27] Port legacy-fabric-registry-sync-api-v1 --- .../build.gradle | 13 ------------- .../build.gradle | 13 ------------- .../build.gradle | 16 ---------------- .../build.gradle | 13 ------------- .../build.gradle | 17 ----------------- .../src/testmod/resources/fabric.mod.json | 14 -------------- .../build.gradle | 13 ------------- .../src/testmod/resources/fabric.mod.json | 14 -------------- .../build.gradle | 8 -------- .../1.10.2/build.gradle | 0 .../1.10.2/gradle.properties | 2 ++ .../sync/RegistrySyncEarlyInitializer.java | 0 .../mixin/registry/sync/BiomeAccessor.java | 0 .../registry/sync/BlockEntityAccessor.java | 0 .../mixin/registry/sync/BlockEntityMixin.java | 0 .../fabric/mixin/registry/sync/BlockMixin.java | 0 .../mixin/registry/sync/EntityMixin.java | 0 .../registry/sync/EntityTypeAccessor.java | 0 .../mixin/registry/sync/EntityTypeMixin.java | 0 .../fabric/mixin/registry/sync/ItemMixin.java | 0 .../registry/sync/MutableRegistryMixin.java | 0 .../registry/sync/PacketByteBufMixin.java | 0 .../registry/sync/PlayerManagerMixin.java | 0 .../registry/sync/SimpleRegistryMixin.java | 0 .../registry/sync/SpawnEggDataAccessor.java | 0 .../mixin/registry/sync/class_2929Mixin.java | 0 .../resources/assets/legacy-fabric/icon.png | Bin .../1.10.2}/src/main/resources/fabric.mod.json | 2 +- ...acy-fabric-registry-sync-api-v1.mixins.json | 0 .../fabric/test/registry/RegistryTest.java | 0 .../src/testmod/resources/fabric.mod.json | 2 +- .../1.12.2/build.gradle | 0 .../1.12.2/gradle.properties | 2 ++ .../sync/RegistrySyncEarlyInitializer.java | 0 .../mixin/registry/sync/BiomeAccessor.java | 0 .../registry/sync/BlockEntityAccessor.java | 0 .../fabric/mixin/registry/sync/BlockMixin.java | 0 .../registry/sync/EntityTypeAccessor.java | 0 .../fabric/mixin/registry/sync/ItemMixin.java | 0 .../registry/sync/MutableRegistryMixin.java | 0 .../registry/sync/PacketByteBufMixin.java | 0 .../registry/sync/PlayerManagerMixin.java | 0 .../registry/sync/SimpleRegistryMixin.java | 0 .../mixin/registry/sync/class_2929Mixin.java | 0 .../resources/assets/legacy-fabric/icon.png | Bin .../1.12.2}/src/main/resources/fabric.mod.json | 2 +- ...acy-fabric-registry-sync-api-v1.mixins.json | 0 .../fabric/test/registry/RegistryTest.java | 0 .../src/testmod/resources/fabric.mod.json | 2 +- .../1.7.10/build.gradle | 0 .../1.7.10/gradle.properties | 2 ++ .../sync/RegistrySyncEarlyInitializer.java | 0 .../mixin/registry/sync/BiomeAccessor.java | 0 .../registry/sync/BlockEntityAccessor.java | 0 .../mixin/registry/sync/BlockEntityMixin.java | 0 .../registry/sync/EnchantmentAccessor.java | 0 .../mixin/registry/sync/EntityMixin.java | 0 .../registry/sync/EntityTypeAccessor.java | 0 .../mixin/registry/sync/EntityTypeMixin.java | 0 .../registry/sync/PacketByteBufMixin.java | 0 .../registry/sync/PlayerManagerMixin.java | 0 .../registry/sync/SimpleRegistryMixin.java | 0 .../mixin/registry/sync/SpawnEggItemMixin.java | 0 .../registry/sync/StatusEffectAccessor.java | 0 .../icon.png | Bin .../1.7.10}/src/main/resources/fabric.mod.json | 2 +- ...acy-fabric-registry-sync-api-v1.mixins.json | 0 .../main/resources/registrysync.accesswidener | 0 .../fabric/test/registry/RegistryTest.java | 0 .../src/testmod/resources/fabric.mod.json | 2 +- .../1.8.9/build.gradle | 0 .../1.8.9/gradle.properties | 2 ++ .../sync/RegistrySyncEarlyInitializer.java | 0 .../mixin/registry/sync/BiomeAccessor.java | 0 .../registry/sync/BlockEntityAccessor.java | 0 .../mixin/registry/sync/BlockEntityMixin.java | 0 .../fabric/mixin/registry/sync/BlockMixin.java | 0 .../registry/sync/EnchantmentAccessor.java | 0 .../mixin/registry/sync/EntityMixin.java | 0 .../registry/sync/EntityTypeAccessor.java | 0 .../mixin/registry/sync/EntityTypeMixin.java | 0 .../fabric/mixin/registry/sync/ItemMixin.java | 0 .../registry/sync/MutableRegistryMixin.java | 0 .../registry/sync/PacketByteBufMixin.java | 0 .../registry/sync/PlayerManagerMixin.java | 0 .../registry/sync/SimpleRegistryMixin.java | 0 .../mixin/registry/sync/SpawnEggItemMixin.java | 0 .../registry/sync/StatusEffectAccessor.java | 0 .../icon.png | Bin .../1.8.9}/src/main/resources/fabric.mod.json | 2 +- ...acy-fabric-registry-sync-api-v1.mixins.json | 0 .../fabric/test/registry/RegistryTest.java | 0 .../src/testmod/resources/fabric.mod.json | 2 +- .../1.8/build.gradle | 0 .../1.8/gradle.properties | 2 ++ .../sync/RegistrySyncEarlyInitializer.java | 0 .../mixin/registry/sync/BiomeAccessor.java | 0 .../registry/sync/BlockEntityAccessor.java | 0 .../mixin/registry/sync/BlockEntityMixin.java | 0 .../fabric/mixin/registry/sync/BlockMixin.java | 0 .../registry/sync/EnchantmentAccessor.java | 0 .../mixin/registry/sync/EntityMixin.java | 0 .../registry/sync/EntityTypeAccessor.java | 0 .../mixin/registry/sync/EntityTypeMixin.java | 0 .../fabric/mixin/registry/sync/ItemMixin.java | 0 .../registry/sync/MutableRegistryMixin.java | 0 .../registry/sync/PacketByteBufMixin.java | 0 .../registry/sync/PlayerManagerMixin.java | 0 .../registry/sync/SimpleRegistryMixin.java | 0 .../mixin/registry/sync/SpawnEggItemMixin.java | 0 .../registry/sync/StatusEffectAccessor.java | 0 .../icon.png | Bin .../1.8}/src/main/resources/fabric.mod.json | 2 +- ...acy-fabric-registry-sync-api-v1.mixins.json | 0 .../main/resources/registrysync.accesswidener | 0 .../fabric/test/registry/RegistryTest.java | 0 .../1.8/src/testmod/resources/fabric.mod.json | 14 ++++++++++++++ .../1.9.4/build.gradle | 0 .../1.9.4/gradle.properties | 2 ++ .../sync/RegistrySyncEarlyInitializer.java | 0 .../mixin/registry/sync/BiomeAccessor.java | 0 .../registry/sync/BlockEntityAccessor.java | 0 .../mixin/registry/sync/BlockEntityMixin.java | 0 .../fabric/mixin/registry/sync/BlockMixin.java | 0 .../mixin/registry/sync/EntityMixin.java | 0 .../registry/sync/EntityTypeAccessor.java | 0 .../mixin/registry/sync/EntityTypeMixin.java | 0 .../fabric/mixin/registry/sync/ItemMixin.java | 0 .../registry/sync/MutableRegistryMixin.java | 0 .../registry/sync/PacketByteBufMixin.java | 0 .../registry/sync/PlayerManagerMixin.java | 0 .../registry/sync/SimpleRegistryMixin.java | 0 .../registry/sync/SpawnEggDataAccessor.java | 0 .../mixin/registry/sync/class_2929Mixin.java | 0 .../icon.png | Bin .../1.9.4}/src/main/resources/fabric.mod.json | 2 +- ...acy-fabric-registry-sync-api-v1.mixins.json | 0 .../fabric/test/registry/RegistryTest.java | 0 .../src/testmod/resources/fabric.mod.json | 14 ++++++++++++++ .../common.gradle | 5 +++++ .../common/build.gradle | 0 .../common/gradle.properties | 2 ++ .../fabric/api/registry/v1/BiomeIds.java | 0 .../api/registry/v1/BlockEntityTypeIds.java | 0 .../fabric/api/registry/v1/BlockIds.java | 0 .../fabric/api/registry/v1/EnchantmentIds.java | 0 .../fabric/api/registry/v1/EntityTypeIds.java | 0 .../fabric/api/registry/v1/ItemIds.java | 0 .../registry/v1/RegistryEntryAddCallback.java | 0 .../v1/RegistryEntryRemapCallback.java | 0 .../fabric/api/registry/v1/RegistryHelper.java | 0 .../fabric/api/registry/v1/RegistryIds.java | 0 .../api/registry/v1/StatusEffectIds.java | 0 .../registry/sync/ClientRegistryRemapper.java | 0 .../registry/sync/ClientRemapInitializer.java | 0 .../impl/registry/RegistryHelperImpl.java | 0 .../registry/registries/OldBiomeRegistry.java | 0 .../registries/OldBlockEntityRegistry.java | 0 .../registries/OldEnchantmentRegistry.java | 0 .../registries/OldEntityTypeRegistry.java | 0 .../registries/OldStatusEffectRegistry.java | 0 .../registries/ReallyOldBiomeRegistry.java | 0 .../ReallyOldEnchantmentRegistry.java | 0 .../ReallyOldStatusEffectRegistry.java | 0 .../registries/RegistryRemapperRegistry.java | 0 .../registry/sync/RegistryRemapperAccess.java | 0 .../registry/sync/ServerRegistryRemapper.java | 0 .../impl/registry/sync/compat/BlockCompat.java | 0 .../registry/sync/compat/IdListCompat.java | 0 .../impl/registry/sync/compat/ItemCompat.java | 0 .../sync/compat/PacketByteBufCompat.java | 0 .../registry/sync/compat/RegistriesGetter.java | 0 .../sync/compat/SimpleRegistryCompat.java | 0 .../sync/remappers/BiomeRegistryRemapper.java | 0 .../BlockEntityTypeRegistryRemapper.java | 0 .../sync/remappers/BlockRegistryRemapper.java | 0 .../remappers/EnchantmentRegistryRemapper.java | 0 .../remappers/EntityTypeRegistryRemapper.java | 0 .../sync/remappers/ItemRegistryRemapper.java | 0 .../sync/remappers/RegistryRemapper.java | 0 .../RegistryRemapperRegistryRemapper.java | 0 .../StatusEffectRegistryRemapper.java | 0 .../util/ArrayAndMapBasedRegistry.java | 0 .../impl/registry/util/ArrayBasedRegistry.java | 0 .../impl/registry/util/MapBasedRegistry.java | 0 .../registry/util/OldRemappedRegistry.java | 0 .../registry/util/RegistryEventsHolder.java | 0 .../registry/util/VanillaLikeRegistry.java | 0 .../mixin/registry/sync/IdListMixin.java | 0 .../registry/sync/MinecraftServerMixin.java | 0 .../registry/sync/WorldSaveHandlerMixin.java | 0 .../sync/client/MinecraftClientMixin.java | 0 .../registry/sync/registry/BiomeMixin.java | 0 .../sync/registry/BlockEntityMixin.java | 0 .../registry/sync/registry/BlockMixin.java | 0 .../sync/registry/EnchantmentMixin.java | 0 .../sync/registry/EntityTypeMixin.java | 0 .../registry/sync/registry/ItemMixin.java | 0 .../sync/registry/StatusEffectMixin.java | 0 .../resources/assets/legacy-fabric/icon.png | Bin .../common}/src/main/resources/fabric.mod.json | 0 ...ric-registry-sync-api-v1-common.mixins.json | 0 .../models/item/test_item.json | 0 .../textures/items/test_item.png | Bin .../src/testmod/resources/fabric.mod.json | 2 +- settings.gradle | 1 + 206 files changed, 59 insertions(+), 132 deletions(-) delete mode 100644 1.10.2/legacy-fabric-registry-sync-api-v1/build.gradle delete mode 100644 1.12.2/legacy-fabric-registry-sync-api-v1/build.gradle delete mode 100644 1.7.10/legacy-fabric-registry-sync-api-v1/build.gradle delete mode 100644 1.8.9/legacy-fabric-registry-sync-api-v1/build.gradle delete mode 100644 1.8/legacy-fabric-registry-sync-api-v1/build.gradle delete mode 100644 1.8/legacy-fabric-registry-sync-api-v1/src/testmod/resources/fabric.mod.json delete mode 100644 1.9.4/legacy-fabric-registry-sync-api-v1/build.gradle delete mode 100644 1.9.4/legacy-fabric-registry-sync-api-v1/src/testmod/resources/fabric.mod.json delete mode 100644 common/legacy-fabric-registry-sync-api-v1-common/build.gradle create mode 100644 legacy-fabric-registry-sync-api-v1/1.10.2/build.gradle create mode 100644 legacy-fabric-registry-sync-api-v1/1.10.2/gradle.properties rename {1.10.2/legacy-fabric-registry-sync-api-v1 => legacy-fabric-registry-sync-api-v1/1.10.2}/src/main/java/net/legacyfabric/fabric/impl/registry/sync/RegistrySyncEarlyInitializer.java (100%) rename {1.10.2/legacy-fabric-registry-sync-api-v1 => legacy-fabric-registry-sync-api-v1/1.10.2}/src/main/java/net/legacyfabric/fabric/mixin/registry/sync/BiomeAccessor.java (100%) rename {1.10.2/legacy-fabric-registry-sync-api-v1 => legacy-fabric-registry-sync-api-v1/1.10.2}/src/main/java/net/legacyfabric/fabric/mixin/registry/sync/BlockEntityAccessor.java (100%) rename {1.10.2/legacy-fabric-registry-sync-api-v1 => legacy-fabric-registry-sync-api-v1/1.10.2}/src/main/java/net/legacyfabric/fabric/mixin/registry/sync/BlockEntityMixin.java (100%) rename {1.10.2/legacy-fabric-registry-sync-api-v1 => legacy-fabric-registry-sync-api-v1/1.10.2}/src/main/java/net/legacyfabric/fabric/mixin/registry/sync/BlockMixin.java (100%) rename {1.10.2/legacy-fabric-registry-sync-api-v1 => legacy-fabric-registry-sync-api-v1/1.10.2}/src/main/java/net/legacyfabric/fabric/mixin/registry/sync/EntityMixin.java (100%) rename {1.10.2/legacy-fabric-registry-sync-api-v1 => legacy-fabric-registry-sync-api-v1/1.10.2}/src/main/java/net/legacyfabric/fabric/mixin/registry/sync/EntityTypeAccessor.java (100%) rename {1.10.2/legacy-fabric-registry-sync-api-v1 => legacy-fabric-registry-sync-api-v1/1.10.2}/src/main/java/net/legacyfabric/fabric/mixin/registry/sync/EntityTypeMixin.java (100%) rename {1.10.2/legacy-fabric-registry-sync-api-v1 => legacy-fabric-registry-sync-api-v1/1.10.2}/src/main/java/net/legacyfabric/fabric/mixin/registry/sync/ItemMixin.java (100%) rename {1.10.2/legacy-fabric-registry-sync-api-v1 => legacy-fabric-registry-sync-api-v1/1.10.2}/src/main/java/net/legacyfabric/fabric/mixin/registry/sync/MutableRegistryMixin.java (100%) rename {1.10.2/legacy-fabric-registry-sync-api-v1 => legacy-fabric-registry-sync-api-v1/1.10.2}/src/main/java/net/legacyfabric/fabric/mixin/registry/sync/PacketByteBufMixin.java (100%) rename {1.10.2/legacy-fabric-registry-sync-api-v1 => legacy-fabric-registry-sync-api-v1/1.10.2}/src/main/java/net/legacyfabric/fabric/mixin/registry/sync/PlayerManagerMixin.java (100%) rename {1.10.2/legacy-fabric-registry-sync-api-v1 => legacy-fabric-registry-sync-api-v1/1.10.2}/src/main/java/net/legacyfabric/fabric/mixin/registry/sync/SimpleRegistryMixin.java (100%) rename {1.10.2/legacy-fabric-registry-sync-api-v1 => legacy-fabric-registry-sync-api-v1/1.10.2}/src/main/java/net/legacyfabric/fabric/mixin/registry/sync/SpawnEggDataAccessor.java (100%) rename {1.10.2/legacy-fabric-registry-sync-api-v1 => legacy-fabric-registry-sync-api-v1/1.10.2}/src/main/java/net/legacyfabric/fabric/mixin/registry/sync/class_2929Mixin.java (100%) rename {1.10.2/legacy-fabric-registry-sync-api-v1 => legacy-fabric-registry-sync-api-v1/1.10.2}/src/main/resources/assets/legacy-fabric/icon.png (100%) rename {1.12.2/legacy-fabric-registry-sync-api-v1 => legacy-fabric-registry-sync-api-v1/1.10.2}/src/main/resources/fabric.mod.json (96%) rename {1.10.2/legacy-fabric-registry-sync-api-v1 => legacy-fabric-registry-sync-api-v1/1.10.2}/src/main/resources/legacy-fabric-registry-sync-api-v1.mixins.json (100%) rename {1.10.2/legacy-fabric-registry-sync-api-v1 => legacy-fabric-registry-sync-api-v1/1.10.2}/src/testmod/java/net/legacyfabric/fabric/test/registry/RegistryTest.java (100%) rename {1.8.9/legacy-fabric-registry-sync-api-v1 => legacy-fabric-registry-sync-api-v1/1.10.2}/src/testmod/resources/fabric.mod.json (86%) create mode 100644 legacy-fabric-registry-sync-api-v1/1.12.2/build.gradle create mode 100644 legacy-fabric-registry-sync-api-v1/1.12.2/gradle.properties rename {1.12.2/legacy-fabric-registry-sync-api-v1 => legacy-fabric-registry-sync-api-v1/1.12.2}/src/main/java/net/legacyfabric/fabric/impl/registry/sync/RegistrySyncEarlyInitializer.java (100%) rename {1.12.2/legacy-fabric-registry-sync-api-v1 => legacy-fabric-registry-sync-api-v1/1.12.2}/src/main/java/net/legacyfabric/fabric/mixin/registry/sync/BiomeAccessor.java (100%) rename {1.12.2/legacy-fabric-registry-sync-api-v1 => legacy-fabric-registry-sync-api-v1/1.12.2}/src/main/java/net/legacyfabric/fabric/mixin/registry/sync/BlockEntityAccessor.java (100%) rename {1.12.2/legacy-fabric-registry-sync-api-v1 => legacy-fabric-registry-sync-api-v1/1.12.2}/src/main/java/net/legacyfabric/fabric/mixin/registry/sync/BlockMixin.java (100%) rename {1.12.2/legacy-fabric-registry-sync-api-v1 => legacy-fabric-registry-sync-api-v1/1.12.2}/src/main/java/net/legacyfabric/fabric/mixin/registry/sync/EntityTypeAccessor.java (100%) rename {1.12.2/legacy-fabric-registry-sync-api-v1 => legacy-fabric-registry-sync-api-v1/1.12.2}/src/main/java/net/legacyfabric/fabric/mixin/registry/sync/ItemMixin.java (100%) rename {1.12.2/legacy-fabric-registry-sync-api-v1 => legacy-fabric-registry-sync-api-v1/1.12.2}/src/main/java/net/legacyfabric/fabric/mixin/registry/sync/MutableRegistryMixin.java (100%) rename {1.12.2/legacy-fabric-registry-sync-api-v1 => legacy-fabric-registry-sync-api-v1/1.12.2}/src/main/java/net/legacyfabric/fabric/mixin/registry/sync/PacketByteBufMixin.java (100%) rename {1.12.2/legacy-fabric-registry-sync-api-v1 => legacy-fabric-registry-sync-api-v1/1.12.2}/src/main/java/net/legacyfabric/fabric/mixin/registry/sync/PlayerManagerMixin.java (100%) rename {1.12.2/legacy-fabric-registry-sync-api-v1 => legacy-fabric-registry-sync-api-v1/1.12.2}/src/main/java/net/legacyfabric/fabric/mixin/registry/sync/SimpleRegistryMixin.java (100%) rename {1.12.2/legacy-fabric-registry-sync-api-v1 => legacy-fabric-registry-sync-api-v1/1.12.2}/src/main/java/net/legacyfabric/fabric/mixin/registry/sync/class_2929Mixin.java (100%) rename {1.12.2/legacy-fabric-registry-sync-api-v1 => legacy-fabric-registry-sync-api-v1/1.12.2}/src/main/resources/assets/legacy-fabric/icon.png (100%) rename {1.10.2/legacy-fabric-registry-sync-api-v1 => legacy-fabric-registry-sync-api-v1/1.12.2}/src/main/resources/fabric.mod.json (96%) rename {1.12.2/legacy-fabric-registry-sync-api-v1 => legacy-fabric-registry-sync-api-v1/1.12.2}/src/main/resources/legacy-fabric-registry-sync-api-v1.mixins.json (100%) rename {1.12.2/legacy-fabric-registry-sync-api-v1 => legacy-fabric-registry-sync-api-v1/1.12.2}/src/testmod/java/net/legacyfabric/fabric/test/registry/RegistryTest.java (100%) rename {1.7.10/legacy-fabric-registry-sync-api-v1 => legacy-fabric-registry-sync-api-v1/1.12.2}/src/testmod/resources/fabric.mod.json (86%) create mode 100644 legacy-fabric-registry-sync-api-v1/1.7.10/build.gradle create mode 100644 legacy-fabric-registry-sync-api-v1/1.7.10/gradle.properties rename {1.7.10/legacy-fabric-registry-sync-api-v1 => legacy-fabric-registry-sync-api-v1/1.7.10}/src/main/java/net/legacyfabric/fabric/impl/registry/sync/RegistrySyncEarlyInitializer.java (100%) rename {1.7.10/legacy-fabric-registry-sync-api-v1 => legacy-fabric-registry-sync-api-v1/1.7.10}/src/main/java/net/legacyfabric/fabric/mixin/registry/sync/BiomeAccessor.java (100%) rename {1.7.10/legacy-fabric-registry-sync-api-v1 => legacy-fabric-registry-sync-api-v1/1.7.10}/src/main/java/net/legacyfabric/fabric/mixin/registry/sync/BlockEntityAccessor.java (100%) rename {1.7.10/legacy-fabric-registry-sync-api-v1 => legacy-fabric-registry-sync-api-v1/1.7.10}/src/main/java/net/legacyfabric/fabric/mixin/registry/sync/BlockEntityMixin.java (100%) rename {1.7.10/legacy-fabric-registry-sync-api-v1 => legacy-fabric-registry-sync-api-v1/1.7.10}/src/main/java/net/legacyfabric/fabric/mixin/registry/sync/EnchantmentAccessor.java (100%) rename {1.7.10/legacy-fabric-registry-sync-api-v1 => legacy-fabric-registry-sync-api-v1/1.7.10}/src/main/java/net/legacyfabric/fabric/mixin/registry/sync/EntityMixin.java (100%) rename {1.7.10/legacy-fabric-registry-sync-api-v1 => legacy-fabric-registry-sync-api-v1/1.7.10}/src/main/java/net/legacyfabric/fabric/mixin/registry/sync/EntityTypeAccessor.java (100%) rename {1.7.10/legacy-fabric-registry-sync-api-v1 => legacy-fabric-registry-sync-api-v1/1.7.10}/src/main/java/net/legacyfabric/fabric/mixin/registry/sync/EntityTypeMixin.java (100%) rename {1.7.10/legacy-fabric-registry-sync-api-v1 => legacy-fabric-registry-sync-api-v1/1.7.10}/src/main/java/net/legacyfabric/fabric/mixin/registry/sync/PacketByteBufMixin.java (100%) rename {1.7.10/legacy-fabric-registry-sync-api-v1 => legacy-fabric-registry-sync-api-v1/1.7.10}/src/main/java/net/legacyfabric/fabric/mixin/registry/sync/PlayerManagerMixin.java (100%) rename {1.7.10/legacy-fabric-registry-sync-api-v1 => legacy-fabric-registry-sync-api-v1/1.7.10}/src/main/java/net/legacyfabric/fabric/mixin/registry/sync/SimpleRegistryMixin.java (100%) rename {1.7.10/legacy-fabric-registry-sync-api-v1 => legacy-fabric-registry-sync-api-v1/1.7.10}/src/main/java/net/legacyfabric/fabric/mixin/registry/sync/SpawnEggItemMixin.java (100%) rename {1.7.10/legacy-fabric-registry-sync-api-v1 => legacy-fabric-registry-sync-api-v1/1.7.10}/src/main/java/net/legacyfabric/fabric/mixin/registry/sync/StatusEffectAccessor.java (100%) rename {1.7.10/legacy-fabric-registry-sync-api-v1 => legacy-fabric-registry-sync-api-v1/1.7.10}/src/main/resources/assets/legacy-fabric-registry-sync-api-v1/icon.png (100%) rename {1.8/legacy-fabric-registry-sync-api-v1 => legacy-fabric-registry-sync-api-v1/1.7.10}/src/main/resources/fabric.mod.json (96%) rename {1.7.10/legacy-fabric-registry-sync-api-v1 => legacy-fabric-registry-sync-api-v1/1.7.10}/src/main/resources/legacy-fabric-registry-sync-api-v1.mixins.json (100%) rename {1.7.10/legacy-fabric-registry-sync-api-v1 => legacy-fabric-registry-sync-api-v1/1.7.10}/src/main/resources/registrysync.accesswidener (100%) rename {1.7.10/legacy-fabric-registry-sync-api-v1 => legacy-fabric-registry-sync-api-v1/1.7.10}/src/testmod/java/net/legacyfabric/fabric/test/registry/RegistryTest.java (100%) rename {1.10.2/legacy-fabric-registry-sync-api-v1 => legacy-fabric-registry-sync-api-v1/1.7.10}/src/testmod/resources/fabric.mod.json (86%) create mode 100644 legacy-fabric-registry-sync-api-v1/1.8.9/build.gradle create mode 100644 legacy-fabric-registry-sync-api-v1/1.8.9/gradle.properties rename {1.8.9/legacy-fabric-registry-sync-api-v1 => legacy-fabric-registry-sync-api-v1/1.8.9}/src/main/java/net/legacyfabric/fabric/impl/registry/sync/RegistrySyncEarlyInitializer.java (100%) rename {1.8.9/legacy-fabric-registry-sync-api-v1 => legacy-fabric-registry-sync-api-v1/1.8.9}/src/main/java/net/legacyfabric/fabric/mixin/registry/sync/BiomeAccessor.java (100%) rename {1.8.9/legacy-fabric-registry-sync-api-v1 => legacy-fabric-registry-sync-api-v1/1.8.9}/src/main/java/net/legacyfabric/fabric/mixin/registry/sync/BlockEntityAccessor.java (100%) rename {1.8.9/legacy-fabric-registry-sync-api-v1 => legacy-fabric-registry-sync-api-v1/1.8.9}/src/main/java/net/legacyfabric/fabric/mixin/registry/sync/BlockEntityMixin.java (100%) rename {1.8.9/legacy-fabric-registry-sync-api-v1 => legacy-fabric-registry-sync-api-v1/1.8.9}/src/main/java/net/legacyfabric/fabric/mixin/registry/sync/BlockMixin.java (100%) rename {1.8.9/legacy-fabric-registry-sync-api-v1 => legacy-fabric-registry-sync-api-v1/1.8.9}/src/main/java/net/legacyfabric/fabric/mixin/registry/sync/EnchantmentAccessor.java (100%) rename {1.8.9/legacy-fabric-registry-sync-api-v1 => legacy-fabric-registry-sync-api-v1/1.8.9}/src/main/java/net/legacyfabric/fabric/mixin/registry/sync/EntityMixin.java (100%) rename {1.8.9/legacy-fabric-registry-sync-api-v1 => legacy-fabric-registry-sync-api-v1/1.8.9}/src/main/java/net/legacyfabric/fabric/mixin/registry/sync/EntityTypeAccessor.java (100%) rename {1.8.9/legacy-fabric-registry-sync-api-v1 => legacy-fabric-registry-sync-api-v1/1.8.9}/src/main/java/net/legacyfabric/fabric/mixin/registry/sync/EntityTypeMixin.java (100%) rename {1.8.9/legacy-fabric-registry-sync-api-v1 => legacy-fabric-registry-sync-api-v1/1.8.9}/src/main/java/net/legacyfabric/fabric/mixin/registry/sync/ItemMixin.java (100%) rename {1.8.9/legacy-fabric-registry-sync-api-v1 => legacy-fabric-registry-sync-api-v1/1.8.9}/src/main/java/net/legacyfabric/fabric/mixin/registry/sync/MutableRegistryMixin.java (100%) rename {1.8.9/legacy-fabric-registry-sync-api-v1 => legacy-fabric-registry-sync-api-v1/1.8.9}/src/main/java/net/legacyfabric/fabric/mixin/registry/sync/PacketByteBufMixin.java (100%) rename {1.8.9/legacy-fabric-registry-sync-api-v1 => legacy-fabric-registry-sync-api-v1/1.8.9}/src/main/java/net/legacyfabric/fabric/mixin/registry/sync/PlayerManagerMixin.java (100%) rename {1.8.9/legacy-fabric-registry-sync-api-v1 => legacy-fabric-registry-sync-api-v1/1.8.9}/src/main/java/net/legacyfabric/fabric/mixin/registry/sync/SimpleRegistryMixin.java (100%) rename {1.8.9/legacy-fabric-registry-sync-api-v1 => legacy-fabric-registry-sync-api-v1/1.8.9}/src/main/java/net/legacyfabric/fabric/mixin/registry/sync/SpawnEggItemMixin.java (100%) rename {1.8.9/legacy-fabric-registry-sync-api-v1 => legacy-fabric-registry-sync-api-v1/1.8.9}/src/main/java/net/legacyfabric/fabric/mixin/registry/sync/StatusEffectAccessor.java (100%) rename {1.8.9/legacy-fabric-registry-sync-api-v1 => legacy-fabric-registry-sync-api-v1/1.8.9}/src/main/resources/assets/legacy-fabric-registry-sync-api-v1/icon.png (100%) rename {1.9.4/legacy-fabric-registry-sync-api-v1 => legacy-fabric-registry-sync-api-v1/1.8.9}/src/main/resources/fabric.mod.json (96%) rename {1.8.9/legacy-fabric-registry-sync-api-v1 => legacy-fabric-registry-sync-api-v1/1.8.9}/src/main/resources/legacy-fabric-registry-sync-api-v1.mixins.json (100%) rename {1.8.9/legacy-fabric-registry-sync-api-v1 => legacy-fabric-registry-sync-api-v1/1.8.9}/src/testmod/java/net/legacyfabric/fabric/test/registry/RegistryTest.java (100%) rename {1.12.2/legacy-fabric-registry-sync-api-v1 => legacy-fabric-registry-sync-api-v1/1.8.9}/src/testmod/resources/fabric.mod.json (86%) create mode 100644 legacy-fabric-registry-sync-api-v1/1.8/build.gradle create mode 100644 legacy-fabric-registry-sync-api-v1/1.8/gradle.properties rename {1.8/legacy-fabric-registry-sync-api-v1 => legacy-fabric-registry-sync-api-v1/1.8}/src/main/java/net/legacyfabric/fabric/impl/registry/sync/RegistrySyncEarlyInitializer.java (100%) rename {1.8/legacy-fabric-registry-sync-api-v1 => legacy-fabric-registry-sync-api-v1/1.8}/src/main/java/net/legacyfabric/fabric/mixin/registry/sync/BiomeAccessor.java (100%) rename {1.8/legacy-fabric-registry-sync-api-v1 => legacy-fabric-registry-sync-api-v1/1.8}/src/main/java/net/legacyfabric/fabric/mixin/registry/sync/BlockEntityAccessor.java (100%) rename {1.8/legacy-fabric-registry-sync-api-v1 => legacy-fabric-registry-sync-api-v1/1.8}/src/main/java/net/legacyfabric/fabric/mixin/registry/sync/BlockEntityMixin.java (100%) rename {1.8/legacy-fabric-registry-sync-api-v1 => legacy-fabric-registry-sync-api-v1/1.8}/src/main/java/net/legacyfabric/fabric/mixin/registry/sync/BlockMixin.java (100%) rename {1.8/legacy-fabric-registry-sync-api-v1 => legacy-fabric-registry-sync-api-v1/1.8}/src/main/java/net/legacyfabric/fabric/mixin/registry/sync/EnchantmentAccessor.java (100%) rename {1.8/legacy-fabric-registry-sync-api-v1 => legacy-fabric-registry-sync-api-v1/1.8}/src/main/java/net/legacyfabric/fabric/mixin/registry/sync/EntityMixin.java (100%) rename {1.8/legacy-fabric-registry-sync-api-v1 => legacy-fabric-registry-sync-api-v1/1.8}/src/main/java/net/legacyfabric/fabric/mixin/registry/sync/EntityTypeAccessor.java (100%) rename {1.8/legacy-fabric-registry-sync-api-v1 => legacy-fabric-registry-sync-api-v1/1.8}/src/main/java/net/legacyfabric/fabric/mixin/registry/sync/EntityTypeMixin.java (100%) rename {1.8/legacy-fabric-registry-sync-api-v1 => legacy-fabric-registry-sync-api-v1/1.8}/src/main/java/net/legacyfabric/fabric/mixin/registry/sync/ItemMixin.java (100%) rename {1.8/legacy-fabric-registry-sync-api-v1 => legacy-fabric-registry-sync-api-v1/1.8}/src/main/java/net/legacyfabric/fabric/mixin/registry/sync/MutableRegistryMixin.java (100%) rename {1.8/legacy-fabric-registry-sync-api-v1 => legacy-fabric-registry-sync-api-v1/1.8}/src/main/java/net/legacyfabric/fabric/mixin/registry/sync/PacketByteBufMixin.java (100%) rename {1.8/legacy-fabric-registry-sync-api-v1 => legacy-fabric-registry-sync-api-v1/1.8}/src/main/java/net/legacyfabric/fabric/mixin/registry/sync/PlayerManagerMixin.java (100%) rename {1.8/legacy-fabric-registry-sync-api-v1 => legacy-fabric-registry-sync-api-v1/1.8}/src/main/java/net/legacyfabric/fabric/mixin/registry/sync/SimpleRegistryMixin.java (100%) rename {1.8/legacy-fabric-registry-sync-api-v1 => legacy-fabric-registry-sync-api-v1/1.8}/src/main/java/net/legacyfabric/fabric/mixin/registry/sync/SpawnEggItemMixin.java (100%) rename {1.8/legacy-fabric-registry-sync-api-v1 => legacy-fabric-registry-sync-api-v1/1.8}/src/main/java/net/legacyfabric/fabric/mixin/registry/sync/StatusEffectAccessor.java (100%) rename {1.8/legacy-fabric-registry-sync-api-v1 => legacy-fabric-registry-sync-api-v1/1.8}/src/main/resources/assets/legacy-fabric-registry-sync-api-v1/icon.png (100%) rename {1.7.10/legacy-fabric-registry-sync-api-v1 => legacy-fabric-registry-sync-api-v1/1.8}/src/main/resources/fabric.mod.json (96%) rename {1.8/legacy-fabric-registry-sync-api-v1 => legacy-fabric-registry-sync-api-v1/1.8}/src/main/resources/legacy-fabric-registry-sync-api-v1.mixins.json (100%) rename {1.8/legacy-fabric-registry-sync-api-v1 => legacy-fabric-registry-sync-api-v1/1.8}/src/main/resources/registrysync.accesswidener (100%) rename {1.8/legacy-fabric-registry-sync-api-v1 => legacy-fabric-registry-sync-api-v1/1.8}/src/testmod/java/net/legacyfabric/fabric/test/registry/RegistryTest.java (100%) create mode 100644 legacy-fabric-registry-sync-api-v1/1.8/src/testmod/resources/fabric.mod.json create mode 100644 legacy-fabric-registry-sync-api-v1/1.9.4/build.gradle create mode 100644 legacy-fabric-registry-sync-api-v1/1.9.4/gradle.properties rename {1.9.4/legacy-fabric-registry-sync-api-v1 => legacy-fabric-registry-sync-api-v1/1.9.4}/src/main/java/net/legacyfabric/fabric/impl/registry/sync/RegistrySyncEarlyInitializer.java (100%) rename {1.9.4/legacy-fabric-registry-sync-api-v1 => legacy-fabric-registry-sync-api-v1/1.9.4}/src/main/java/net/legacyfabric/fabric/mixin/registry/sync/BiomeAccessor.java (100%) rename {1.9.4/legacy-fabric-registry-sync-api-v1 => legacy-fabric-registry-sync-api-v1/1.9.4}/src/main/java/net/legacyfabric/fabric/mixin/registry/sync/BlockEntityAccessor.java (100%) rename {1.9.4/legacy-fabric-registry-sync-api-v1 => legacy-fabric-registry-sync-api-v1/1.9.4}/src/main/java/net/legacyfabric/fabric/mixin/registry/sync/BlockEntityMixin.java (100%) rename {1.9.4/legacy-fabric-registry-sync-api-v1 => legacy-fabric-registry-sync-api-v1/1.9.4}/src/main/java/net/legacyfabric/fabric/mixin/registry/sync/BlockMixin.java (100%) rename {1.9.4/legacy-fabric-registry-sync-api-v1 => legacy-fabric-registry-sync-api-v1/1.9.4}/src/main/java/net/legacyfabric/fabric/mixin/registry/sync/EntityMixin.java (100%) rename {1.9.4/legacy-fabric-registry-sync-api-v1 => legacy-fabric-registry-sync-api-v1/1.9.4}/src/main/java/net/legacyfabric/fabric/mixin/registry/sync/EntityTypeAccessor.java (100%) rename {1.9.4/legacy-fabric-registry-sync-api-v1 => legacy-fabric-registry-sync-api-v1/1.9.4}/src/main/java/net/legacyfabric/fabric/mixin/registry/sync/EntityTypeMixin.java (100%) rename {1.9.4/legacy-fabric-registry-sync-api-v1 => legacy-fabric-registry-sync-api-v1/1.9.4}/src/main/java/net/legacyfabric/fabric/mixin/registry/sync/ItemMixin.java (100%) rename {1.9.4/legacy-fabric-registry-sync-api-v1 => legacy-fabric-registry-sync-api-v1/1.9.4}/src/main/java/net/legacyfabric/fabric/mixin/registry/sync/MutableRegistryMixin.java (100%) rename {1.9.4/legacy-fabric-registry-sync-api-v1 => legacy-fabric-registry-sync-api-v1/1.9.4}/src/main/java/net/legacyfabric/fabric/mixin/registry/sync/PacketByteBufMixin.java (100%) rename {1.9.4/legacy-fabric-registry-sync-api-v1 => legacy-fabric-registry-sync-api-v1/1.9.4}/src/main/java/net/legacyfabric/fabric/mixin/registry/sync/PlayerManagerMixin.java (100%) rename {1.9.4/legacy-fabric-registry-sync-api-v1 => legacy-fabric-registry-sync-api-v1/1.9.4}/src/main/java/net/legacyfabric/fabric/mixin/registry/sync/SimpleRegistryMixin.java (100%) rename {1.9.4/legacy-fabric-registry-sync-api-v1 => legacy-fabric-registry-sync-api-v1/1.9.4}/src/main/java/net/legacyfabric/fabric/mixin/registry/sync/SpawnEggDataAccessor.java (100%) rename {1.9.4/legacy-fabric-registry-sync-api-v1 => legacy-fabric-registry-sync-api-v1/1.9.4}/src/main/java/net/legacyfabric/fabric/mixin/registry/sync/class_2929Mixin.java (100%) rename {1.9.4/legacy-fabric-registry-sync-api-v1 => legacy-fabric-registry-sync-api-v1/1.9.4}/src/main/resources/assets/legacy-fabric-registry-sync-api-v1/icon.png (100%) rename {1.8.9/legacy-fabric-registry-sync-api-v1 => legacy-fabric-registry-sync-api-v1/1.9.4}/src/main/resources/fabric.mod.json (96%) rename {1.9.4/legacy-fabric-registry-sync-api-v1 => legacy-fabric-registry-sync-api-v1/1.9.4}/src/main/resources/legacy-fabric-registry-sync-api-v1.mixins.json (100%) rename {1.9.4/legacy-fabric-registry-sync-api-v1 => legacy-fabric-registry-sync-api-v1/1.9.4}/src/testmod/java/net/legacyfabric/fabric/test/registry/RegistryTest.java (100%) create mode 100644 legacy-fabric-registry-sync-api-v1/1.9.4/src/testmod/resources/fabric.mod.json create mode 100644 legacy-fabric-registry-sync-api-v1/common.gradle create mode 100644 legacy-fabric-registry-sync-api-v1/common/build.gradle create mode 100644 legacy-fabric-registry-sync-api-v1/common/gradle.properties rename {common/legacy-fabric-registry-sync-api-v1-common => legacy-fabric-registry-sync-api-v1/common}/src/main/java/net/legacyfabric/fabric/api/registry/v1/BiomeIds.java (100%) rename {common/legacy-fabric-registry-sync-api-v1-common => legacy-fabric-registry-sync-api-v1/common}/src/main/java/net/legacyfabric/fabric/api/registry/v1/BlockEntityTypeIds.java (100%) rename {common/legacy-fabric-registry-sync-api-v1-common => legacy-fabric-registry-sync-api-v1/common}/src/main/java/net/legacyfabric/fabric/api/registry/v1/BlockIds.java (100%) rename {common/legacy-fabric-registry-sync-api-v1-common => legacy-fabric-registry-sync-api-v1/common}/src/main/java/net/legacyfabric/fabric/api/registry/v1/EnchantmentIds.java (100%) rename {common/legacy-fabric-registry-sync-api-v1-common => legacy-fabric-registry-sync-api-v1/common}/src/main/java/net/legacyfabric/fabric/api/registry/v1/EntityTypeIds.java (100%) rename {common/legacy-fabric-registry-sync-api-v1-common => legacy-fabric-registry-sync-api-v1/common}/src/main/java/net/legacyfabric/fabric/api/registry/v1/ItemIds.java (100%) rename {common/legacy-fabric-registry-sync-api-v1-common => legacy-fabric-registry-sync-api-v1/common}/src/main/java/net/legacyfabric/fabric/api/registry/v1/RegistryEntryAddCallback.java (100%) rename {common/legacy-fabric-registry-sync-api-v1-common => legacy-fabric-registry-sync-api-v1/common}/src/main/java/net/legacyfabric/fabric/api/registry/v1/RegistryEntryRemapCallback.java (100%) rename {common/legacy-fabric-registry-sync-api-v1-common => legacy-fabric-registry-sync-api-v1/common}/src/main/java/net/legacyfabric/fabric/api/registry/v1/RegistryHelper.java (100%) rename {common/legacy-fabric-registry-sync-api-v1-common => legacy-fabric-registry-sync-api-v1/common}/src/main/java/net/legacyfabric/fabric/api/registry/v1/RegistryIds.java (100%) rename {common/legacy-fabric-registry-sync-api-v1-common => legacy-fabric-registry-sync-api-v1/common}/src/main/java/net/legacyfabric/fabric/api/registry/v1/StatusEffectIds.java (100%) rename {common/legacy-fabric-registry-sync-api-v1-common => legacy-fabric-registry-sync-api-v1/common}/src/main/java/net/legacyfabric/fabric/impl/client/registry/sync/ClientRegistryRemapper.java (100%) rename {common/legacy-fabric-registry-sync-api-v1-common => legacy-fabric-registry-sync-api-v1/common}/src/main/java/net/legacyfabric/fabric/impl/client/registry/sync/ClientRemapInitializer.java (100%) rename {common/legacy-fabric-registry-sync-api-v1-common => legacy-fabric-registry-sync-api-v1/common}/src/main/java/net/legacyfabric/fabric/impl/registry/RegistryHelperImpl.java (100%) rename {common/legacy-fabric-registry-sync-api-v1-common => legacy-fabric-registry-sync-api-v1/common}/src/main/java/net/legacyfabric/fabric/impl/registry/registries/OldBiomeRegistry.java (100%) rename {common/legacy-fabric-registry-sync-api-v1-common => legacy-fabric-registry-sync-api-v1/common}/src/main/java/net/legacyfabric/fabric/impl/registry/registries/OldBlockEntityRegistry.java (100%) rename {common/legacy-fabric-registry-sync-api-v1-common => legacy-fabric-registry-sync-api-v1/common}/src/main/java/net/legacyfabric/fabric/impl/registry/registries/OldEnchantmentRegistry.java (100%) rename {common/legacy-fabric-registry-sync-api-v1-common => legacy-fabric-registry-sync-api-v1/common}/src/main/java/net/legacyfabric/fabric/impl/registry/registries/OldEntityTypeRegistry.java (100%) rename {common/legacy-fabric-registry-sync-api-v1-common => legacy-fabric-registry-sync-api-v1/common}/src/main/java/net/legacyfabric/fabric/impl/registry/registries/OldStatusEffectRegistry.java (100%) rename {common/legacy-fabric-registry-sync-api-v1-common => legacy-fabric-registry-sync-api-v1/common}/src/main/java/net/legacyfabric/fabric/impl/registry/registries/ReallyOldBiomeRegistry.java (100%) rename {common/legacy-fabric-registry-sync-api-v1-common => legacy-fabric-registry-sync-api-v1/common}/src/main/java/net/legacyfabric/fabric/impl/registry/registries/ReallyOldEnchantmentRegistry.java (100%) rename {common/legacy-fabric-registry-sync-api-v1-common => legacy-fabric-registry-sync-api-v1/common}/src/main/java/net/legacyfabric/fabric/impl/registry/registries/ReallyOldStatusEffectRegistry.java (100%) rename {common/legacy-fabric-registry-sync-api-v1-common => legacy-fabric-registry-sync-api-v1/common}/src/main/java/net/legacyfabric/fabric/impl/registry/registries/RegistryRemapperRegistry.java (100%) rename {common/legacy-fabric-registry-sync-api-v1-common => legacy-fabric-registry-sync-api-v1/common}/src/main/java/net/legacyfabric/fabric/impl/registry/sync/RegistryRemapperAccess.java (100%) rename {common/legacy-fabric-registry-sync-api-v1-common => legacy-fabric-registry-sync-api-v1/common}/src/main/java/net/legacyfabric/fabric/impl/registry/sync/ServerRegistryRemapper.java (100%) rename {common/legacy-fabric-registry-sync-api-v1-common => legacy-fabric-registry-sync-api-v1/common}/src/main/java/net/legacyfabric/fabric/impl/registry/sync/compat/BlockCompat.java (100%) rename {common/legacy-fabric-registry-sync-api-v1-common => legacy-fabric-registry-sync-api-v1/common}/src/main/java/net/legacyfabric/fabric/impl/registry/sync/compat/IdListCompat.java (100%) rename {common/legacy-fabric-registry-sync-api-v1-common => legacy-fabric-registry-sync-api-v1/common}/src/main/java/net/legacyfabric/fabric/impl/registry/sync/compat/ItemCompat.java (100%) rename {common/legacy-fabric-registry-sync-api-v1-common => legacy-fabric-registry-sync-api-v1/common}/src/main/java/net/legacyfabric/fabric/impl/registry/sync/compat/PacketByteBufCompat.java (100%) rename {common/legacy-fabric-registry-sync-api-v1-common => legacy-fabric-registry-sync-api-v1/common}/src/main/java/net/legacyfabric/fabric/impl/registry/sync/compat/RegistriesGetter.java (100%) rename {common/legacy-fabric-registry-sync-api-v1-common => legacy-fabric-registry-sync-api-v1/common}/src/main/java/net/legacyfabric/fabric/impl/registry/sync/compat/SimpleRegistryCompat.java (100%) rename {common/legacy-fabric-registry-sync-api-v1-common => legacy-fabric-registry-sync-api-v1/common}/src/main/java/net/legacyfabric/fabric/impl/registry/sync/remappers/BiomeRegistryRemapper.java (100%) rename {common/legacy-fabric-registry-sync-api-v1-common => legacy-fabric-registry-sync-api-v1/common}/src/main/java/net/legacyfabric/fabric/impl/registry/sync/remappers/BlockEntityTypeRegistryRemapper.java (100%) rename {common/legacy-fabric-registry-sync-api-v1-common => legacy-fabric-registry-sync-api-v1/common}/src/main/java/net/legacyfabric/fabric/impl/registry/sync/remappers/BlockRegistryRemapper.java (100%) rename {common/legacy-fabric-registry-sync-api-v1-common => legacy-fabric-registry-sync-api-v1/common}/src/main/java/net/legacyfabric/fabric/impl/registry/sync/remappers/EnchantmentRegistryRemapper.java (100%) rename {common/legacy-fabric-registry-sync-api-v1-common => legacy-fabric-registry-sync-api-v1/common}/src/main/java/net/legacyfabric/fabric/impl/registry/sync/remappers/EntityTypeRegistryRemapper.java (100%) rename {common/legacy-fabric-registry-sync-api-v1-common => legacy-fabric-registry-sync-api-v1/common}/src/main/java/net/legacyfabric/fabric/impl/registry/sync/remappers/ItemRegistryRemapper.java (100%) rename {common/legacy-fabric-registry-sync-api-v1-common => legacy-fabric-registry-sync-api-v1/common}/src/main/java/net/legacyfabric/fabric/impl/registry/sync/remappers/RegistryRemapper.java (100%) rename {common/legacy-fabric-registry-sync-api-v1-common => legacy-fabric-registry-sync-api-v1/common}/src/main/java/net/legacyfabric/fabric/impl/registry/sync/remappers/RegistryRemapperRegistryRemapper.java (100%) rename {common/legacy-fabric-registry-sync-api-v1-common => legacy-fabric-registry-sync-api-v1/common}/src/main/java/net/legacyfabric/fabric/impl/registry/sync/remappers/StatusEffectRegistryRemapper.java (100%) rename {common/legacy-fabric-registry-sync-api-v1-common => legacy-fabric-registry-sync-api-v1/common}/src/main/java/net/legacyfabric/fabric/impl/registry/util/ArrayAndMapBasedRegistry.java (100%) rename {common/legacy-fabric-registry-sync-api-v1-common => legacy-fabric-registry-sync-api-v1/common}/src/main/java/net/legacyfabric/fabric/impl/registry/util/ArrayBasedRegistry.java (100%) rename {common/legacy-fabric-registry-sync-api-v1-common => legacy-fabric-registry-sync-api-v1/common}/src/main/java/net/legacyfabric/fabric/impl/registry/util/MapBasedRegistry.java (100%) rename {common/legacy-fabric-registry-sync-api-v1-common => legacy-fabric-registry-sync-api-v1/common}/src/main/java/net/legacyfabric/fabric/impl/registry/util/OldRemappedRegistry.java (100%) rename {common/legacy-fabric-registry-sync-api-v1-common => legacy-fabric-registry-sync-api-v1/common}/src/main/java/net/legacyfabric/fabric/impl/registry/util/RegistryEventsHolder.java (100%) rename {common/legacy-fabric-registry-sync-api-v1-common => legacy-fabric-registry-sync-api-v1/common}/src/main/java/net/legacyfabric/fabric/impl/registry/util/VanillaLikeRegistry.java (100%) rename {common/legacy-fabric-registry-sync-api-v1-common => legacy-fabric-registry-sync-api-v1/common}/src/main/java/net/legacyfabric/fabric/mixin/registry/sync/IdListMixin.java (100%) rename {common/legacy-fabric-registry-sync-api-v1-common => legacy-fabric-registry-sync-api-v1/common}/src/main/java/net/legacyfabric/fabric/mixin/registry/sync/MinecraftServerMixin.java (100%) rename {common/legacy-fabric-registry-sync-api-v1-common => legacy-fabric-registry-sync-api-v1/common}/src/main/java/net/legacyfabric/fabric/mixin/registry/sync/WorldSaveHandlerMixin.java (100%) rename {common/legacy-fabric-registry-sync-api-v1-common => legacy-fabric-registry-sync-api-v1/common}/src/main/java/net/legacyfabric/fabric/mixin/registry/sync/client/MinecraftClientMixin.java (100%) rename {common/legacy-fabric-registry-sync-api-v1-common => legacy-fabric-registry-sync-api-v1/common}/src/main/java/net/legacyfabric/fabric/mixin/registry/sync/registry/BiomeMixin.java (100%) rename {common/legacy-fabric-registry-sync-api-v1-common => legacy-fabric-registry-sync-api-v1/common}/src/main/java/net/legacyfabric/fabric/mixin/registry/sync/registry/BlockEntityMixin.java (100%) rename {common/legacy-fabric-registry-sync-api-v1-common => legacy-fabric-registry-sync-api-v1/common}/src/main/java/net/legacyfabric/fabric/mixin/registry/sync/registry/BlockMixin.java (100%) rename {common/legacy-fabric-registry-sync-api-v1-common => legacy-fabric-registry-sync-api-v1/common}/src/main/java/net/legacyfabric/fabric/mixin/registry/sync/registry/EnchantmentMixin.java (100%) rename {common/legacy-fabric-registry-sync-api-v1-common => legacy-fabric-registry-sync-api-v1/common}/src/main/java/net/legacyfabric/fabric/mixin/registry/sync/registry/EntityTypeMixin.java (100%) rename {common/legacy-fabric-registry-sync-api-v1-common => legacy-fabric-registry-sync-api-v1/common}/src/main/java/net/legacyfabric/fabric/mixin/registry/sync/registry/ItemMixin.java (100%) rename {common/legacy-fabric-registry-sync-api-v1-common => legacy-fabric-registry-sync-api-v1/common}/src/main/java/net/legacyfabric/fabric/mixin/registry/sync/registry/StatusEffectMixin.java (100%) rename {common/legacy-fabric-registry-sync-api-v1-common => legacy-fabric-registry-sync-api-v1/common}/src/main/resources/assets/legacy-fabric/icon.png (100%) rename {common/legacy-fabric-registry-sync-api-v1-common => legacy-fabric-registry-sync-api-v1/common}/src/main/resources/fabric.mod.json (100%) rename {common/legacy-fabric-registry-sync-api-v1-common => legacy-fabric-registry-sync-api-v1/common}/src/main/resources/legacy-fabric-registry-sync-api-v1-common.mixins.json (100%) rename {common/legacy-fabric-registry-sync-api-v1-common => legacy-fabric-registry-sync-api-v1/common}/src/testmod/resources/assets/legacy-fabric-api/models/item/test_item.json (100%) rename {common/legacy-fabric-registry-sync-api-v1-common => legacy-fabric-registry-sync-api-v1/common}/src/testmod/resources/assets/legacy-fabric-api/textures/items/test_item.png (100%) rename {common/legacy-fabric-registry-sync-api-v1-common => legacy-fabric-registry-sync-api-v1/common}/src/testmod/resources/fabric.mod.json (83%) diff --git a/1.10.2/legacy-fabric-registry-sync-api-v1/build.gradle b/1.10.2/legacy-fabric-registry-sync-api-v1/build.gradle deleted file mode 100644 index 531529996..000000000 --- a/1.10.2/legacy-fabric-registry-sync-api-v1/build.gradle +++ /dev/null @@ -1,13 +0,0 @@ -version = getSubprojectVersion(project) - -moduleDependencies(project, [ - "common": [ - "legacy-fabric-api-base-common", - "legacy-fabric-networking-api-v1-common", - "legacy-fabric-registry-sync-api-v1-common", - "legacy-fabric-resource-loader-v1-common" - ], - "1.8.9": [ - "legacy-fabric-api-base" - ] -]) diff --git a/1.12.2/legacy-fabric-registry-sync-api-v1/build.gradle b/1.12.2/legacy-fabric-registry-sync-api-v1/build.gradle deleted file mode 100644 index 531529996..000000000 --- a/1.12.2/legacy-fabric-registry-sync-api-v1/build.gradle +++ /dev/null @@ -1,13 +0,0 @@ -version = getSubprojectVersion(project) - -moduleDependencies(project, [ - "common": [ - "legacy-fabric-api-base-common", - "legacy-fabric-networking-api-v1-common", - "legacy-fabric-registry-sync-api-v1-common", - "legacy-fabric-resource-loader-v1-common" - ], - "1.8.9": [ - "legacy-fabric-api-base" - ] -]) diff --git a/1.7.10/legacy-fabric-registry-sync-api-v1/build.gradle b/1.7.10/legacy-fabric-registry-sync-api-v1/build.gradle deleted file mode 100644 index 04e768c3d..000000000 --- a/1.7.10/legacy-fabric-registry-sync-api-v1/build.gradle +++ /dev/null @@ -1,16 +0,0 @@ -version = getSubprojectVersion(project) - -moduleDependencies(project, [ - "common": [ - "legacy-fabric-api-base-common", - "legacy-fabric-networking-api-v1-common", - "legacy-fabric-registry-sync-api-v1-common" - ], - "1.7.10": [ - "legacy-fabric-api-base" - ] -]) - -loom { - accessWidenerPath = file("src/main/resources/registrysync.accesswidener") -} diff --git a/1.8.9/legacy-fabric-registry-sync-api-v1/build.gradle b/1.8.9/legacy-fabric-registry-sync-api-v1/build.gradle deleted file mode 100644 index 531529996..000000000 --- a/1.8.9/legacy-fabric-registry-sync-api-v1/build.gradle +++ /dev/null @@ -1,13 +0,0 @@ -version = getSubprojectVersion(project) - -moduleDependencies(project, [ - "common": [ - "legacy-fabric-api-base-common", - "legacy-fabric-networking-api-v1-common", - "legacy-fabric-registry-sync-api-v1-common", - "legacy-fabric-resource-loader-v1-common" - ], - "1.8.9": [ - "legacy-fabric-api-base" - ] -]) diff --git a/1.8/legacy-fabric-registry-sync-api-v1/build.gradle b/1.8/legacy-fabric-registry-sync-api-v1/build.gradle deleted file mode 100644 index 122731564..000000000 --- a/1.8/legacy-fabric-registry-sync-api-v1/build.gradle +++ /dev/null @@ -1,17 +0,0 @@ -version = getSubprojectVersion(project) - -moduleDependencies(project, [ - "common": [ - "legacy-fabric-api-base-common", - "legacy-fabric-networking-api-v1-common", - "legacy-fabric-registry-sync-api-v1-common", - "legacy-fabric-resource-loader-v1-common" - ], - "1.8.9": [ - "legacy-fabric-api-base" - ] -]) - -loom { - accessWidenerPath = file("src/main/resources/registrysync.accesswidener") -} diff --git a/1.8/legacy-fabric-registry-sync-api-v1/src/testmod/resources/fabric.mod.json b/1.8/legacy-fabric-registry-sync-api-v1/src/testmod/resources/fabric.mod.json deleted file mode 100644 index a206ca090..000000000 --- a/1.8/legacy-fabric-registry-sync-api-v1/src/testmod/resources/fabric.mod.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "schemaVersion": 1, - "id": "legacy-fabric-registry-sync-api-v1-testmod", - "description": "Tests for registry", - "version": "1.0.0", - "entrypoints": { - "main": [ - "net.legacyfabric.fabric.test.registry.RegistryTest" - ] - }, - "depends": { - "minecraft": "1.8" - } -} diff --git a/1.9.4/legacy-fabric-registry-sync-api-v1/build.gradle b/1.9.4/legacy-fabric-registry-sync-api-v1/build.gradle deleted file mode 100644 index 531529996..000000000 --- a/1.9.4/legacy-fabric-registry-sync-api-v1/build.gradle +++ /dev/null @@ -1,13 +0,0 @@ -version = getSubprojectVersion(project) - -moduleDependencies(project, [ - "common": [ - "legacy-fabric-api-base-common", - "legacy-fabric-networking-api-v1-common", - "legacy-fabric-registry-sync-api-v1-common", - "legacy-fabric-resource-loader-v1-common" - ], - "1.8.9": [ - "legacy-fabric-api-base" - ] -]) diff --git a/1.9.4/legacy-fabric-registry-sync-api-v1/src/testmod/resources/fabric.mod.json b/1.9.4/legacy-fabric-registry-sync-api-v1/src/testmod/resources/fabric.mod.json deleted file mode 100644 index ea76d5927..000000000 --- a/1.9.4/legacy-fabric-registry-sync-api-v1/src/testmod/resources/fabric.mod.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "schemaVersion": 1, - "id": "legacy-fabric-registry-sync-api-v1-testmod", - "description": "Tests for registry", - "version": "1.0.0", - "entrypoints": { - "main": [ - "net.legacyfabric.fabric.test.registry.RegistryTest" - ] - }, - "depends": { - "minecraft": ">1.8.9 <=1.9.4" - } -} diff --git a/common/legacy-fabric-registry-sync-api-v1-common/build.gradle b/common/legacy-fabric-registry-sync-api-v1-common/build.gradle deleted file mode 100644 index 0f48fe3a7..000000000 --- a/common/legacy-fabric-registry-sync-api-v1-common/build.gradle +++ /dev/null @@ -1,8 +0,0 @@ -version = getSubprojectVersion(project) - -moduleDependencies(project, [ - "common": [ - "legacy-fabric-api-base-common", - "legacy-fabric-networking-api-v1-common" - ] -]) diff --git a/legacy-fabric-registry-sync-api-v1/1.10.2/build.gradle b/legacy-fabric-registry-sync-api-v1/1.10.2/build.gradle new file mode 100644 index 000000000..e69de29bb diff --git a/legacy-fabric-registry-sync-api-v1/1.10.2/gradle.properties b/legacy-fabric-registry-sync-api-v1/1.10.2/gradle.properties new file mode 100644 index 000000000..2108465ed --- /dev/null +++ b/legacy-fabric-registry-sync-api-v1/1.10.2/gradle.properties @@ -0,0 +1,2 @@ +minVersionExcluded=1.9.4 +maxVersionIncluded=1.10.2 diff --git a/1.10.2/legacy-fabric-registry-sync-api-v1/src/main/java/net/legacyfabric/fabric/impl/registry/sync/RegistrySyncEarlyInitializer.java b/legacy-fabric-registry-sync-api-v1/1.10.2/src/main/java/net/legacyfabric/fabric/impl/registry/sync/RegistrySyncEarlyInitializer.java similarity index 100% rename from 1.10.2/legacy-fabric-registry-sync-api-v1/src/main/java/net/legacyfabric/fabric/impl/registry/sync/RegistrySyncEarlyInitializer.java rename to legacy-fabric-registry-sync-api-v1/1.10.2/src/main/java/net/legacyfabric/fabric/impl/registry/sync/RegistrySyncEarlyInitializer.java diff --git a/1.10.2/legacy-fabric-registry-sync-api-v1/src/main/java/net/legacyfabric/fabric/mixin/registry/sync/BiomeAccessor.java b/legacy-fabric-registry-sync-api-v1/1.10.2/src/main/java/net/legacyfabric/fabric/mixin/registry/sync/BiomeAccessor.java similarity index 100% rename from 1.10.2/legacy-fabric-registry-sync-api-v1/src/main/java/net/legacyfabric/fabric/mixin/registry/sync/BiomeAccessor.java rename to legacy-fabric-registry-sync-api-v1/1.10.2/src/main/java/net/legacyfabric/fabric/mixin/registry/sync/BiomeAccessor.java diff --git a/1.10.2/legacy-fabric-registry-sync-api-v1/src/main/java/net/legacyfabric/fabric/mixin/registry/sync/BlockEntityAccessor.java b/legacy-fabric-registry-sync-api-v1/1.10.2/src/main/java/net/legacyfabric/fabric/mixin/registry/sync/BlockEntityAccessor.java similarity index 100% rename from 1.10.2/legacy-fabric-registry-sync-api-v1/src/main/java/net/legacyfabric/fabric/mixin/registry/sync/BlockEntityAccessor.java rename to legacy-fabric-registry-sync-api-v1/1.10.2/src/main/java/net/legacyfabric/fabric/mixin/registry/sync/BlockEntityAccessor.java diff --git a/1.10.2/legacy-fabric-registry-sync-api-v1/src/main/java/net/legacyfabric/fabric/mixin/registry/sync/BlockEntityMixin.java b/legacy-fabric-registry-sync-api-v1/1.10.2/src/main/java/net/legacyfabric/fabric/mixin/registry/sync/BlockEntityMixin.java similarity index 100% rename from 1.10.2/legacy-fabric-registry-sync-api-v1/src/main/java/net/legacyfabric/fabric/mixin/registry/sync/BlockEntityMixin.java rename to legacy-fabric-registry-sync-api-v1/1.10.2/src/main/java/net/legacyfabric/fabric/mixin/registry/sync/BlockEntityMixin.java diff --git a/1.10.2/legacy-fabric-registry-sync-api-v1/src/main/java/net/legacyfabric/fabric/mixin/registry/sync/BlockMixin.java b/legacy-fabric-registry-sync-api-v1/1.10.2/src/main/java/net/legacyfabric/fabric/mixin/registry/sync/BlockMixin.java similarity index 100% rename from 1.10.2/legacy-fabric-registry-sync-api-v1/src/main/java/net/legacyfabric/fabric/mixin/registry/sync/BlockMixin.java rename to legacy-fabric-registry-sync-api-v1/1.10.2/src/main/java/net/legacyfabric/fabric/mixin/registry/sync/BlockMixin.java diff --git a/1.10.2/legacy-fabric-registry-sync-api-v1/src/main/java/net/legacyfabric/fabric/mixin/registry/sync/EntityMixin.java b/legacy-fabric-registry-sync-api-v1/1.10.2/src/main/java/net/legacyfabric/fabric/mixin/registry/sync/EntityMixin.java similarity index 100% rename from 1.10.2/legacy-fabric-registry-sync-api-v1/src/main/java/net/legacyfabric/fabric/mixin/registry/sync/EntityMixin.java rename to legacy-fabric-registry-sync-api-v1/1.10.2/src/main/java/net/legacyfabric/fabric/mixin/registry/sync/EntityMixin.java diff --git a/1.10.2/legacy-fabric-registry-sync-api-v1/src/main/java/net/legacyfabric/fabric/mixin/registry/sync/EntityTypeAccessor.java b/legacy-fabric-registry-sync-api-v1/1.10.2/src/main/java/net/legacyfabric/fabric/mixin/registry/sync/EntityTypeAccessor.java similarity index 100% rename from 1.10.2/legacy-fabric-registry-sync-api-v1/src/main/java/net/legacyfabric/fabric/mixin/registry/sync/EntityTypeAccessor.java rename to legacy-fabric-registry-sync-api-v1/1.10.2/src/main/java/net/legacyfabric/fabric/mixin/registry/sync/EntityTypeAccessor.java diff --git a/1.10.2/legacy-fabric-registry-sync-api-v1/src/main/java/net/legacyfabric/fabric/mixin/registry/sync/EntityTypeMixin.java b/legacy-fabric-registry-sync-api-v1/1.10.2/src/main/java/net/legacyfabric/fabric/mixin/registry/sync/EntityTypeMixin.java similarity index 100% rename from 1.10.2/legacy-fabric-registry-sync-api-v1/src/main/java/net/legacyfabric/fabric/mixin/registry/sync/EntityTypeMixin.java rename to legacy-fabric-registry-sync-api-v1/1.10.2/src/main/java/net/legacyfabric/fabric/mixin/registry/sync/EntityTypeMixin.java diff --git a/1.10.2/legacy-fabric-registry-sync-api-v1/src/main/java/net/legacyfabric/fabric/mixin/registry/sync/ItemMixin.java b/legacy-fabric-registry-sync-api-v1/1.10.2/src/main/java/net/legacyfabric/fabric/mixin/registry/sync/ItemMixin.java similarity index 100% rename from 1.10.2/legacy-fabric-registry-sync-api-v1/src/main/java/net/legacyfabric/fabric/mixin/registry/sync/ItemMixin.java rename to legacy-fabric-registry-sync-api-v1/1.10.2/src/main/java/net/legacyfabric/fabric/mixin/registry/sync/ItemMixin.java diff --git a/1.10.2/legacy-fabric-registry-sync-api-v1/src/main/java/net/legacyfabric/fabric/mixin/registry/sync/MutableRegistryMixin.java b/legacy-fabric-registry-sync-api-v1/1.10.2/src/main/java/net/legacyfabric/fabric/mixin/registry/sync/MutableRegistryMixin.java similarity index 100% rename from 1.10.2/legacy-fabric-registry-sync-api-v1/src/main/java/net/legacyfabric/fabric/mixin/registry/sync/MutableRegistryMixin.java rename to legacy-fabric-registry-sync-api-v1/1.10.2/src/main/java/net/legacyfabric/fabric/mixin/registry/sync/MutableRegistryMixin.java diff --git a/1.10.2/legacy-fabric-registry-sync-api-v1/src/main/java/net/legacyfabric/fabric/mixin/registry/sync/PacketByteBufMixin.java b/legacy-fabric-registry-sync-api-v1/1.10.2/src/main/java/net/legacyfabric/fabric/mixin/registry/sync/PacketByteBufMixin.java similarity index 100% rename from 1.10.2/legacy-fabric-registry-sync-api-v1/src/main/java/net/legacyfabric/fabric/mixin/registry/sync/PacketByteBufMixin.java rename to legacy-fabric-registry-sync-api-v1/1.10.2/src/main/java/net/legacyfabric/fabric/mixin/registry/sync/PacketByteBufMixin.java diff --git a/1.10.2/legacy-fabric-registry-sync-api-v1/src/main/java/net/legacyfabric/fabric/mixin/registry/sync/PlayerManagerMixin.java b/legacy-fabric-registry-sync-api-v1/1.10.2/src/main/java/net/legacyfabric/fabric/mixin/registry/sync/PlayerManagerMixin.java similarity index 100% rename from 1.10.2/legacy-fabric-registry-sync-api-v1/src/main/java/net/legacyfabric/fabric/mixin/registry/sync/PlayerManagerMixin.java rename to legacy-fabric-registry-sync-api-v1/1.10.2/src/main/java/net/legacyfabric/fabric/mixin/registry/sync/PlayerManagerMixin.java diff --git a/1.10.2/legacy-fabric-registry-sync-api-v1/src/main/java/net/legacyfabric/fabric/mixin/registry/sync/SimpleRegistryMixin.java b/legacy-fabric-registry-sync-api-v1/1.10.2/src/main/java/net/legacyfabric/fabric/mixin/registry/sync/SimpleRegistryMixin.java similarity index 100% rename from 1.10.2/legacy-fabric-registry-sync-api-v1/src/main/java/net/legacyfabric/fabric/mixin/registry/sync/SimpleRegistryMixin.java rename to legacy-fabric-registry-sync-api-v1/1.10.2/src/main/java/net/legacyfabric/fabric/mixin/registry/sync/SimpleRegistryMixin.java diff --git a/1.10.2/legacy-fabric-registry-sync-api-v1/src/main/java/net/legacyfabric/fabric/mixin/registry/sync/SpawnEggDataAccessor.java b/legacy-fabric-registry-sync-api-v1/1.10.2/src/main/java/net/legacyfabric/fabric/mixin/registry/sync/SpawnEggDataAccessor.java similarity index 100% rename from 1.10.2/legacy-fabric-registry-sync-api-v1/src/main/java/net/legacyfabric/fabric/mixin/registry/sync/SpawnEggDataAccessor.java rename to legacy-fabric-registry-sync-api-v1/1.10.2/src/main/java/net/legacyfabric/fabric/mixin/registry/sync/SpawnEggDataAccessor.java diff --git a/1.10.2/legacy-fabric-registry-sync-api-v1/src/main/java/net/legacyfabric/fabric/mixin/registry/sync/class_2929Mixin.java b/legacy-fabric-registry-sync-api-v1/1.10.2/src/main/java/net/legacyfabric/fabric/mixin/registry/sync/class_2929Mixin.java similarity index 100% rename from 1.10.2/legacy-fabric-registry-sync-api-v1/src/main/java/net/legacyfabric/fabric/mixin/registry/sync/class_2929Mixin.java rename to legacy-fabric-registry-sync-api-v1/1.10.2/src/main/java/net/legacyfabric/fabric/mixin/registry/sync/class_2929Mixin.java diff --git a/1.10.2/legacy-fabric-registry-sync-api-v1/src/main/resources/assets/legacy-fabric/icon.png b/legacy-fabric-registry-sync-api-v1/1.10.2/src/main/resources/assets/legacy-fabric/icon.png similarity index 100% rename from 1.10.2/legacy-fabric-registry-sync-api-v1/src/main/resources/assets/legacy-fabric/icon.png rename to legacy-fabric-registry-sync-api-v1/1.10.2/src/main/resources/assets/legacy-fabric/icon.png diff --git a/1.12.2/legacy-fabric-registry-sync-api-v1/src/main/resources/fabric.mod.json b/legacy-fabric-registry-sync-api-v1/1.10.2/src/main/resources/fabric.mod.json similarity index 96% rename from 1.12.2/legacy-fabric-registry-sync-api-v1/src/main/resources/fabric.mod.json rename to legacy-fabric-registry-sync-api-v1/1.10.2/src/main/resources/fabric.mod.json index 4ed860769..c4d681021 100644 --- a/1.12.2/legacy-fabric-registry-sync-api-v1/src/main/resources/fabric.mod.json +++ b/legacy-fabric-registry-sync-api-v1/1.10.2/src/main/resources/fabric.mod.json @@ -17,7 +17,7 @@ ], "depends": { "fabricloader": ">=0.4.0", - "minecraft": ">1.10.2 <=1.12.2" + "minecraft": "${minecraft_version}" }, "description": "Registry hooks", "entrypoints": { diff --git a/1.10.2/legacy-fabric-registry-sync-api-v1/src/main/resources/legacy-fabric-registry-sync-api-v1.mixins.json b/legacy-fabric-registry-sync-api-v1/1.10.2/src/main/resources/legacy-fabric-registry-sync-api-v1.mixins.json similarity index 100% rename from 1.10.2/legacy-fabric-registry-sync-api-v1/src/main/resources/legacy-fabric-registry-sync-api-v1.mixins.json rename to legacy-fabric-registry-sync-api-v1/1.10.2/src/main/resources/legacy-fabric-registry-sync-api-v1.mixins.json diff --git a/1.10.2/legacy-fabric-registry-sync-api-v1/src/testmod/java/net/legacyfabric/fabric/test/registry/RegistryTest.java b/legacy-fabric-registry-sync-api-v1/1.10.2/src/testmod/java/net/legacyfabric/fabric/test/registry/RegistryTest.java similarity index 100% rename from 1.10.2/legacy-fabric-registry-sync-api-v1/src/testmod/java/net/legacyfabric/fabric/test/registry/RegistryTest.java rename to legacy-fabric-registry-sync-api-v1/1.10.2/src/testmod/java/net/legacyfabric/fabric/test/registry/RegistryTest.java diff --git a/1.8.9/legacy-fabric-registry-sync-api-v1/src/testmod/resources/fabric.mod.json b/legacy-fabric-registry-sync-api-v1/1.10.2/src/testmod/resources/fabric.mod.json similarity index 86% rename from 1.8.9/legacy-fabric-registry-sync-api-v1/src/testmod/resources/fabric.mod.json rename to legacy-fabric-registry-sync-api-v1/1.10.2/src/testmod/resources/fabric.mod.json index 17e7c112d..d6b0884ad 100644 --- a/1.8.9/legacy-fabric-registry-sync-api-v1/src/testmod/resources/fabric.mod.json +++ b/legacy-fabric-registry-sync-api-v1/1.10.2/src/testmod/resources/fabric.mod.json @@ -9,6 +9,6 @@ ] }, "depends": { - "minecraft": "1.8.9" + "minecraft": "${minecraft_version}" } } diff --git a/legacy-fabric-registry-sync-api-v1/1.12.2/build.gradle b/legacy-fabric-registry-sync-api-v1/1.12.2/build.gradle new file mode 100644 index 000000000..e69de29bb diff --git a/legacy-fabric-registry-sync-api-v1/1.12.2/gradle.properties b/legacy-fabric-registry-sync-api-v1/1.12.2/gradle.properties new file mode 100644 index 000000000..a104a3a86 --- /dev/null +++ b/legacy-fabric-registry-sync-api-v1/1.12.2/gradle.properties @@ -0,0 +1,2 @@ +minVersionExcluded=1.10.2 +maxVersionIncluded=1.12.2 diff --git a/1.12.2/legacy-fabric-registry-sync-api-v1/src/main/java/net/legacyfabric/fabric/impl/registry/sync/RegistrySyncEarlyInitializer.java b/legacy-fabric-registry-sync-api-v1/1.12.2/src/main/java/net/legacyfabric/fabric/impl/registry/sync/RegistrySyncEarlyInitializer.java similarity index 100% rename from 1.12.2/legacy-fabric-registry-sync-api-v1/src/main/java/net/legacyfabric/fabric/impl/registry/sync/RegistrySyncEarlyInitializer.java rename to legacy-fabric-registry-sync-api-v1/1.12.2/src/main/java/net/legacyfabric/fabric/impl/registry/sync/RegistrySyncEarlyInitializer.java diff --git a/1.12.2/legacy-fabric-registry-sync-api-v1/src/main/java/net/legacyfabric/fabric/mixin/registry/sync/BiomeAccessor.java b/legacy-fabric-registry-sync-api-v1/1.12.2/src/main/java/net/legacyfabric/fabric/mixin/registry/sync/BiomeAccessor.java similarity index 100% rename from 1.12.2/legacy-fabric-registry-sync-api-v1/src/main/java/net/legacyfabric/fabric/mixin/registry/sync/BiomeAccessor.java rename to legacy-fabric-registry-sync-api-v1/1.12.2/src/main/java/net/legacyfabric/fabric/mixin/registry/sync/BiomeAccessor.java diff --git a/1.12.2/legacy-fabric-registry-sync-api-v1/src/main/java/net/legacyfabric/fabric/mixin/registry/sync/BlockEntityAccessor.java b/legacy-fabric-registry-sync-api-v1/1.12.2/src/main/java/net/legacyfabric/fabric/mixin/registry/sync/BlockEntityAccessor.java similarity index 100% rename from 1.12.2/legacy-fabric-registry-sync-api-v1/src/main/java/net/legacyfabric/fabric/mixin/registry/sync/BlockEntityAccessor.java rename to legacy-fabric-registry-sync-api-v1/1.12.2/src/main/java/net/legacyfabric/fabric/mixin/registry/sync/BlockEntityAccessor.java diff --git a/1.12.2/legacy-fabric-registry-sync-api-v1/src/main/java/net/legacyfabric/fabric/mixin/registry/sync/BlockMixin.java b/legacy-fabric-registry-sync-api-v1/1.12.2/src/main/java/net/legacyfabric/fabric/mixin/registry/sync/BlockMixin.java similarity index 100% rename from 1.12.2/legacy-fabric-registry-sync-api-v1/src/main/java/net/legacyfabric/fabric/mixin/registry/sync/BlockMixin.java rename to legacy-fabric-registry-sync-api-v1/1.12.2/src/main/java/net/legacyfabric/fabric/mixin/registry/sync/BlockMixin.java diff --git a/1.12.2/legacy-fabric-registry-sync-api-v1/src/main/java/net/legacyfabric/fabric/mixin/registry/sync/EntityTypeAccessor.java b/legacy-fabric-registry-sync-api-v1/1.12.2/src/main/java/net/legacyfabric/fabric/mixin/registry/sync/EntityTypeAccessor.java similarity index 100% rename from 1.12.2/legacy-fabric-registry-sync-api-v1/src/main/java/net/legacyfabric/fabric/mixin/registry/sync/EntityTypeAccessor.java rename to legacy-fabric-registry-sync-api-v1/1.12.2/src/main/java/net/legacyfabric/fabric/mixin/registry/sync/EntityTypeAccessor.java diff --git a/1.12.2/legacy-fabric-registry-sync-api-v1/src/main/java/net/legacyfabric/fabric/mixin/registry/sync/ItemMixin.java b/legacy-fabric-registry-sync-api-v1/1.12.2/src/main/java/net/legacyfabric/fabric/mixin/registry/sync/ItemMixin.java similarity index 100% rename from 1.12.2/legacy-fabric-registry-sync-api-v1/src/main/java/net/legacyfabric/fabric/mixin/registry/sync/ItemMixin.java rename to legacy-fabric-registry-sync-api-v1/1.12.2/src/main/java/net/legacyfabric/fabric/mixin/registry/sync/ItemMixin.java diff --git a/1.12.2/legacy-fabric-registry-sync-api-v1/src/main/java/net/legacyfabric/fabric/mixin/registry/sync/MutableRegistryMixin.java b/legacy-fabric-registry-sync-api-v1/1.12.2/src/main/java/net/legacyfabric/fabric/mixin/registry/sync/MutableRegistryMixin.java similarity index 100% rename from 1.12.2/legacy-fabric-registry-sync-api-v1/src/main/java/net/legacyfabric/fabric/mixin/registry/sync/MutableRegistryMixin.java rename to legacy-fabric-registry-sync-api-v1/1.12.2/src/main/java/net/legacyfabric/fabric/mixin/registry/sync/MutableRegistryMixin.java diff --git a/1.12.2/legacy-fabric-registry-sync-api-v1/src/main/java/net/legacyfabric/fabric/mixin/registry/sync/PacketByteBufMixin.java b/legacy-fabric-registry-sync-api-v1/1.12.2/src/main/java/net/legacyfabric/fabric/mixin/registry/sync/PacketByteBufMixin.java similarity index 100% rename from 1.12.2/legacy-fabric-registry-sync-api-v1/src/main/java/net/legacyfabric/fabric/mixin/registry/sync/PacketByteBufMixin.java rename to legacy-fabric-registry-sync-api-v1/1.12.2/src/main/java/net/legacyfabric/fabric/mixin/registry/sync/PacketByteBufMixin.java diff --git a/1.12.2/legacy-fabric-registry-sync-api-v1/src/main/java/net/legacyfabric/fabric/mixin/registry/sync/PlayerManagerMixin.java b/legacy-fabric-registry-sync-api-v1/1.12.2/src/main/java/net/legacyfabric/fabric/mixin/registry/sync/PlayerManagerMixin.java similarity index 100% rename from 1.12.2/legacy-fabric-registry-sync-api-v1/src/main/java/net/legacyfabric/fabric/mixin/registry/sync/PlayerManagerMixin.java rename to legacy-fabric-registry-sync-api-v1/1.12.2/src/main/java/net/legacyfabric/fabric/mixin/registry/sync/PlayerManagerMixin.java diff --git a/1.12.2/legacy-fabric-registry-sync-api-v1/src/main/java/net/legacyfabric/fabric/mixin/registry/sync/SimpleRegistryMixin.java b/legacy-fabric-registry-sync-api-v1/1.12.2/src/main/java/net/legacyfabric/fabric/mixin/registry/sync/SimpleRegistryMixin.java similarity index 100% rename from 1.12.2/legacy-fabric-registry-sync-api-v1/src/main/java/net/legacyfabric/fabric/mixin/registry/sync/SimpleRegistryMixin.java rename to legacy-fabric-registry-sync-api-v1/1.12.2/src/main/java/net/legacyfabric/fabric/mixin/registry/sync/SimpleRegistryMixin.java diff --git a/1.12.2/legacy-fabric-registry-sync-api-v1/src/main/java/net/legacyfabric/fabric/mixin/registry/sync/class_2929Mixin.java b/legacy-fabric-registry-sync-api-v1/1.12.2/src/main/java/net/legacyfabric/fabric/mixin/registry/sync/class_2929Mixin.java similarity index 100% rename from 1.12.2/legacy-fabric-registry-sync-api-v1/src/main/java/net/legacyfabric/fabric/mixin/registry/sync/class_2929Mixin.java rename to legacy-fabric-registry-sync-api-v1/1.12.2/src/main/java/net/legacyfabric/fabric/mixin/registry/sync/class_2929Mixin.java diff --git a/1.12.2/legacy-fabric-registry-sync-api-v1/src/main/resources/assets/legacy-fabric/icon.png b/legacy-fabric-registry-sync-api-v1/1.12.2/src/main/resources/assets/legacy-fabric/icon.png similarity index 100% rename from 1.12.2/legacy-fabric-registry-sync-api-v1/src/main/resources/assets/legacy-fabric/icon.png rename to legacy-fabric-registry-sync-api-v1/1.12.2/src/main/resources/assets/legacy-fabric/icon.png diff --git a/1.10.2/legacy-fabric-registry-sync-api-v1/src/main/resources/fabric.mod.json b/legacy-fabric-registry-sync-api-v1/1.12.2/src/main/resources/fabric.mod.json similarity index 96% rename from 1.10.2/legacy-fabric-registry-sync-api-v1/src/main/resources/fabric.mod.json rename to legacy-fabric-registry-sync-api-v1/1.12.2/src/main/resources/fabric.mod.json index 652ef210c..c4d681021 100644 --- a/1.10.2/legacy-fabric-registry-sync-api-v1/src/main/resources/fabric.mod.json +++ b/legacy-fabric-registry-sync-api-v1/1.12.2/src/main/resources/fabric.mod.json @@ -17,7 +17,7 @@ ], "depends": { "fabricloader": ">=0.4.0", - "minecraft": ">1.9.4 <=1.10.2" + "minecraft": "${minecraft_version}" }, "description": "Registry hooks", "entrypoints": { diff --git a/1.12.2/legacy-fabric-registry-sync-api-v1/src/main/resources/legacy-fabric-registry-sync-api-v1.mixins.json b/legacy-fabric-registry-sync-api-v1/1.12.2/src/main/resources/legacy-fabric-registry-sync-api-v1.mixins.json similarity index 100% rename from 1.12.2/legacy-fabric-registry-sync-api-v1/src/main/resources/legacy-fabric-registry-sync-api-v1.mixins.json rename to legacy-fabric-registry-sync-api-v1/1.12.2/src/main/resources/legacy-fabric-registry-sync-api-v1.mixins.json diff --git a/1.12.2/legacy-fabric-registry-sync-api-v1/src/testmod/java/net/legacyfabric/fabric/test/registry/RegistryTest.java b/legacy-fabric-registry-sync-api-v1/1.12.2/src/testmod/java/net/legacyfabric/fabric/test/registry/RegistryTest.java similarity index 100% rename from 1.12.2/legacy-fabric-registry-sync-api-v1/src/testmod/java/net/legacyfabric/fabric/test/registry/RegistryTest.java rename to legacy-fabric-registry-sync-api-v1/1.12.2/src/testmod/java/net/legacyfabric/fabric/test/registry/RegistryTest.java diff --git a/1.7.10/legacy-fabric-registry-sync-api-v1/src/testmod/resources/fabric.mod.json b/legacy-fabric-registry-sync-api-v1/1.12.2/src/testmod/resources/fabric.mod.json similarity index 86% rename from 1.7.10/legacy-fabric-registry-sync-api-v1/src/testmod/resources/fabric.mod.json rename to legacy-fabric-registry-sync-api-v1/1.12.2/src/testmod/resources/fabric.mod.json index 5283931d3..d6b0884ad 100644 --- a/1.7.10/legacy-fabric-registry-sync-api-v1/src/testmod/resources/fabric.mod.json +++ b/legacy-fabric-registry-sync-api-v1/1.12.2/src/testmod/resources/fabric.mod.json @@ -9,6 +9,6 @@ ] }, "depends": { - "minecraft": "<=1.7.10" + "minecraft": "${minecraft_version}" } } diff --git a/legacy-fabric-registry-sync-api-v1/1.7.10/build.gradle b/legacy-fabric-registry-sync-api-v1/1.7.10/build.gradle new file mode 100644 index 000000000..e69de29bb diff --git a/legacy-fabric-registry-sync-api-v1/1.7.10/gradle.properties b/legacy-fabric-registry-sync-api-v1/1.7.10/gradle.properties new file mode 100644 index 000000000..c01c52c6b --- /dev/null +++ b/legacy-fabric-registry-sync-api-v1/1.7.10/gradle.properties @@ -0,0 +1,2 @@ +minVersionIncluded=1.7 +maxVersionIncluded=1.7.10 diff --git a/1.7.10/legacy-fabric-registry-sync-api-v1/src/main/java/net/legacyfabric/fabric/impl/registry/sync/RegistrySyncEarlyInitializer.java b/legacy-fabric-registry-sync-api-v1/1.7.10/src/main/java/net/legacyfabric/fabric/impl/registry/sync/RegistrySyncEarlyInitializer.java similarity index 100% rename from 1.7.10/legacy-fabric-registry-sync-api-v1/src/main/java/net/legacyfabric/fabric/impl/registry/sync/RegistrySyncEarlyInitializer.java rename to legacy-fabric-registry-sync-api-v1/1.7.10/src/main/java/net/legacyfabric/fabric/impl/registry/sync/RegistrySyncEarlyInitializer.java diff --git a/1.7.10/legacy-fabric-registry-sync-api-v1/src/main/java/net/legacyfabric/fabric/mixin/registry/sync/BiomeAccessor.java b/legacy-fabric-registry-sync-api-v1/1.7.10/src/main/java/net/legacyfabric/fabric/mixin/registry/sync/BiomeAccessor.java similarity index 100% rename from 1.7.10/legacy-fabric-registry-sync-api-v1/src/main/java/net/legacyfabric/fabric/mixin/registry/sync/BiomeAccessor.java rename to legacy-fabric-registry-sync-api-v1/1.7.10/src/main/java/net/legacyfabric/fabric/mixin/registry/sync/BiomeAccessor.java diff --git a/1.7.10/legacy-fabric-registry-sync-api-v1/src/main/java/net/legacyfabric/fabric/mixin/registry/sync/BlockEntityAccessor.java b/legacy-fabric-registry-sync-api-v1/1.7.10/src/main/java/net/legacyfabric/fabric/mixin/registry/sync/BlockEntityAccessor.java similarity index 100% rename from 1.7.10/legacy-fabric-registry-sync-api-v1/src/main/java/net/legacyfabric/fabric/mixin/registry/sync/BlockEntityAccessor.java rename to legacy-fabric-registry-sync-api-v1/1.7.10/src/main/java/net/legacyfabric/fabric/mixin/registry/sync/BlockEntityAccessor.java diff --git a/1.7.10/legacy-fabric-registry-sync-api-v1/src/main/java/net/legacyfabric/fabric/mixin/registry/sync/BlockEntityMixin.java b/legacy-fabric-registry-sync-api-v1/1.7.10/src/main/java/net/legacyfabric/fabric/mixin/registry/sync/BlockEntityMixin.java similarity index 100% rename from 1.7.10/legacy-fabric-registry-sync-api-v1/src/main/java/net/legacyfabric/fabric/mixin/registry/sync/BlockEntityMixin.java rename to legacy-fabric-registry-sync-api-v1/1.7.10/src/main/java/net/legacyfabric/fabric/mixin/registry/sync/BlockEntityMixin.java diff --git a/1.7.10/legacy-fabric-registry-sync-api-v1/src/main/java/net/legacyfabric/fabric/mixin/registry/sync/EnchantmentAccessor.java b/legacy-fabric-registry-sync-api-v1/1.7.10/src/main/java/net/legacyfabric/fabric/mixin/registry/sync/EnchantmentAccessor.java similarity index 100% rename from 1.7.10/legacy-fabric-registry-sync-api-v1/src/main/java/net/legacyfabric/fabric/mixin/registry/sync/EnchantmentAccessor.java rename to legacy-fabric-registry-sync-api-v1/1.7.10/src/main/java/net/legacyfabric/fabric/mixin/registry/sync/EnchantmentAccessor.java diff --git a/1.7.10/legacy-fabric-registry-sync-api-v1/src/main/java/net/legacyfabric/fabric/mixin/registry/sync/EntityMixin.java b/legacy-fabric-registry-sync-api-v1/1.7.10/src/main/java/net/legacyfabric/fabric/mixin/registry/sync/EntityMixin.java similarity index 100% rename from 1.7.10/legacy-fabric-registry-sync-api-v1/src/main/java/net/legacyfabric/fabric/mixin/registry/sync/EntityMixin.java rename to legacy-fabric-registry-sync-api-v1/1.7.10/src/main/java/net/legacyfabric/fabric/mixin/registry/sync/EntityMixin.java diff --git a/1.7.10/legacy-fabric-registry-sync-api-v1/src/main/java/net/legacyfabric/fabric/mixin/registry/sync/EntityTypeAccessor.java b/legacy-fabric-registry-sync-api-v1/1.7.10/src/main/java/net/legacyfabric/fabric/mixin/registry/sync/EntityTypeAccessor.java similarity index 100% rename from 1.7.10/legacy-fabric-registry-sync-api-v1/src/main/java/net/legacyfabric/fabric/mixin/registry/sync/EntityTypeAccessor.java rename to legacy-fabric-registry-sync-api-v1/1.7.10/src/main/java/net/legacyfabric/fabric/mixin/registry/sync/EntityTypeAccessor.java diff --git a/1.7.10/legacy-fabric-registry-sync-api-v1/src/main/java/net/legacyfabric/fabric/mixin/registry/sync/EntityTypeMixin.java b/legacy-fabric-registry-sync-api-v1/1.7.10/src/main/java/net/legacyfabric/fabric/mixin/registry/sync/EntityTypeMixin.java similarity index 100% rename from 1.7.10/legacy-fabric-registry-sync-api-v1/src/main/java/net/legacyfabric/fabric/mixin/registry/sync/EntityTypeMixin.java rename to legacy-fabric-registry-sync-api-v1/1.7.10/src/main/java/net/legacyfabric/fabric/mixin/registry/sync/EntityTypeMixin.java diff --git a/1.7.10/legacy-fabric-registry-sync-api-v1/src/main/java/net/legacyfabric/fabric/mixin/registry/sync/PacketByteBufMixin.java b/legacy-fabric-registry-sync-api-v1/1.7.10/src/main/java/net/legacyfabric/fabric/mixin/registry/sync/PacketByteBufMixin.java similarity index 100% rename from 1.7.10/legacy-fabric-registry-sync-api-v1/src/main/java/net/legacyfabric/fabric/mixin/registry/sync/PacketByteBufMixin.java rename to legacy-fabric-registry-sync-api-v1/1.7.10/src/main/java/net/legacyfabric/fabric/mixin/registry/sync/PacketByteBufMixin.java diff --git a/1.7.10/legacy-fabric-registry-sync-api-v1/src/main/java/net/legacyfabric/fabric/mixin/registry/sync/PlayerManagerMixin.java b/legacy-fabric-registry-sync-api-v1/1.7.10/src/main/java/net/legacyfabric/fabric/mixin/registry/sync/PlayerManagerMixin.java similarity index 100% rename from 1.7.10/legacy-fabric-registry-sync-api-v1/src/main/java/net/legacyfabric/fabric/mixin/registry/sync/PlayerManagerMixin.java rename to legacy-fabric-registry-sync-api-v1/1.7.10/src/main/java/net/legacyfabric/fabric/mixin/registry/sync/PlayerManagerMixin.java diff --git a/1.7.10/legacy-fabric-registry-sync-api-v1/src/main/java/net/legacyfabric/fabric/mixin/registry/sync/SimpleRegistryMixin.java b/legacy-fabric-registry-sync-api-v1/1.7.10/src/main/java/net/legacyfabric/fabric/mixin/registry/sync/SimpleRegistryMixin.java similarity index 100% rename from 1.7.10/legacy-fabric-registry-sync-api-v1/src/main/java/net/legacyfabric/fabric/mixin/registry/sync/SimpleRegistryMixin.java rename to legacy-fabric-registry-sync-api-v1/1.7.10/src/main/java/net/legacyfabric/fabric/mixin/registry/sync/SimpleRegistryMixin.java diff --git a/1.7.10/legacy-fabric-registry-sync-api-v1/src/main/java/net/legacyfabric/fabric/mixin/registry/sync/SpawnEggItemMixin.java b/legacy-fabric-registry-sync-api-v1/1.7.10/src/main/java/net/legacyfabric/fabric/mixin/registry/sync/SpawnEggItemMixin.java similarity index 100% rename from 1.7.10/legacy-fabric-registry-sync-api-v1/src/main/java/net/legacyfabric/fabric/mixin/registry/sync/SpawnEggItemMixin.java rename to legacy-fabric-registry-sync-api-v1/1.7.10/src/main/java/net/legacyfabric/fabric/mixin/registry/sync/SpawnEggItemMixin.java diff --git a/1.7.10/legacy-fabric-registry-sync-api-v1/src/main/java/net/legacyfabric/fabric/mixin/registry/sync/StatusEffectAccessor.java b/legacy-fabric-registry-sync-api-v1/1.7.10/src/main/java/net/legacyfabric/fabric/mixin/registry/sync/StatusEffectAccessor.java similarity index 100% rename from 1.7.10/legacy-fabric-registry-sync-api-v1/src/main/java/net/legacyfabric/fabric/mixin/registry/sync/StatusEffectAccessor.java rename to legacy-fabric-registry-sync-api-v1/1.7.10/src/main/java/net/legacyfabric/fabric/mixin/registry/sync/StatusEffectAccessor.java diff --git a/1.7.10/legacy-fabric-registry-sync-api-v1/src/main/resources/assets/legacy-fabric-registry-sync-api-v1/icon.png b/legacy-fabric-registry-sync-api-v1/1.7.10/src/main/resources/assets/legacy-fabric-registry-sync-api-v1/icon.png similarity index 100% rename from 1.7.10/legacy-fabric-registry-sync-api-v1/src/main/resources/assets/legacy-fabric-registry-sync-api-v1/icon.png rename to legacy-fabric-registry-sync-api-v1/1.7.10/src/main/resources/assets/legacy-fabric-registry-sync-api-v1/icon.png diff --git a/1.8/legacy-fabric-registry-sync-api-v1/src/main/resources/fabric.mod.json b/legacy-fabric-registry-sync-api-v1/1.7.10/src/main/resources/fabric.mod.json similarity index 96% rename from 1.8/legacy-fabric-registry-sync-api-v1/src/main/resources/fabric.mod.json rename to legacy-fabric-registry-sync-api-v1/1.7.10/src/main/resources/fabric.mod.json index f4bcd0488..909da100a 100644 --- a/1.8/legacy-fabric-registry-sync-api-v1/src/main/resources/fabric.mod.json +++ b/legacy-fabric-registry-sync-api-v1/1.7.10/src/main/resources/fabric.mod.json @@ -17,7 +17,7 @@ ], "depends": { "fabricloader": ">=0.4.0", - "minecraft": "1.8" + "minecraft": "${minecraft_version}" }, "description": "Registry hooks", "entrypoints": { diff --git a/1.7.10/legacy-fabric-registry-sync-api-v1/src/main/resources/legacy-fabric-registry-sync-api-v1.mixins.json b/legacy-fabric-registry-sync-api-v1/1.7.10/src/main/resources/legacy-fabric-registry-sync-api-v1.mixins.json similarity index 100% rename from 1.7.10/legacy-fabric-registry-sync-api-v1/src/main/resources/legacy-fabric-registry-sync-api-v1.mixins.json rename to legacy-fabric-registry-sync-api-v1/1.7.10/src/main/resources/legacy-fabric-registry-sync-api-v1.mixins.json diff --git a/1.7.10/legacy-fabric-registry-sync-api-v1/src/main/resources/registrysync.accesswidener b/legacy-fabric-registry-sync-api-v1/1.7.10/src/main/resources/registrysync.accesswidener similarity index 100% rename from 1.7.10/legacy-fabric-registry-sync-api-v1/src/main/resources/registrysync.accesswidener rename to legacy-fabric-registry-sync-api-v1/1.7.10/src/main/resources/registrysync.accesswidener diff --git a/1.7.10/legacy-fabric-registry-sync-api-v1/src/testmod/java/net/legacyfabric/fabric/test/registry/RegistryTest.java b/legacy-fabric-registry-sync-api-v1/1.7.10/src/testmod/java/net/legacyfabric/fabric/test/registry/RegistryTest.java similarity index 100% rename from 1.7.10/legacy-fabric-registry-sync-api-v1/src/testmod/java/net/legacyfabric/fabric/test/registry/RegistryTest.java rename to legacy-fabric-registry-sync-api-v1/1.7.10/src/testmod/java/net/legacyfabric/fabric/test/registry/RegistryTest.java diff --git a/1.10.2/legacy-fabric-registry-sync-api-v1/src/testmod/resources/fabric.mod.json b/legacy-fabric-registry-sync-api-v1/1.7.10/src/testmod/resources/fabric.mod.json similarity index 86% rename from 1.10.2/legacy-fabric-registry-sync-api-v1/src/testmod/resources/fabric.mod.json rename to legacy-fabric-registry-sync-api-v1/1.7.10/src/testmod/resources/fabric.mod.json index b53084efe..d6b0884ad 100644 --- a/1.10.2/legacy-fabric-registry-sync-api-v1/src/testmod/resources/fabric.mod.json +++ b/legacy-fabric-registry-sync-api-v1/1.7.10/src/testmod/resources/fabric.mod.json @@ -9,6 +9,6 @@ ] }, "depends": { - "minecraft": ">1.9.4 <=1.10.2" + "minecraft": "${minecraft_version}" } } diff --git a/legacy-fabric-registry-sync-api-v1/1.8.9/build.gradle b/legacy-fabric-registry-sync-api-v1/1.8.9/build.gradle new file mode 100644 index 000000000..e69de29bb diff --git a/legacy-fabric-registry-sync-api-v1/1.8.9/gradle.properties b/legacy-fabric-registry-sync-api-v1/1.8.9/gradle.properties new file mode 100644 index 000000000..770b8d576 --- /dev/null +++ b/legacy-fabric-registry-sync-api-v1/1.8.9/gradle.properties @@ -0,0 +1,2 @@ +minVersionIncluded=1.8.9 +maxVersionIncluded=1.8.9 diff --git a/1.8.9/legacy-fabric-registry-sync-api-v1/src/main/java/net/legacyfabric/fabric/impl/registry/sync/RegistrySyncEarlyInitializer.java b/legacy-fabric-registry-sync-api-v1/1.8.9/src/main/java/net/legacyfabric/fabric/impl/registry/sync/RegistrySyncEarlyInitializer.java similarity index 100% rename from 1.8.9/legacy-fabric-registry-sync-api-v1/src/main/java/net/legacyfabric/fabric/impl/registry/sync/RegistrySyncEarlyInitializer.java rename to legacy-fabric-registry-sync-api-v1/1.8.9/src/main/java/net/legacyfabric/fabric/impl/registry/sync/RegistrySyncEarlyInitializer.java diff --git a/1.8.9/legacy-fabric-registry-sync-api-v1/src/main/java/net/legacyfabric/fabric/mixin/registry/sync/BiomeAccessor.java b/legacy-fabric-registry-sync-api-v1/1.8.9/src/main/java/net/legacyfabric/fabric/mixin/registry/sync/BiomeAccessor.java similarity index 100% rename from 1.8.9/legacy-fabric-registry-sync-api-v1/src/main/java/net/legacyfabric/fabric/mixin/registry/sync/BiomeAccessor.java rename to legacy-fabric-registry-sync-api-v1/1.8.9/src/main/java/net/legacyfabric/fabric/mixin/registry/sync/BiomeAccessor.java diff --git a/1.8.9/legacy-fabric-registry-sync-api-v1/src/main/java/net/legacyfabric/fabric/mixin/registry/sync/BlockEntityAccessor.java b/legacy-fabric-registry-sync-api-v1/1.8.9/src/main/java/net/legacyfabric/fabric/mixin/registry/sync/BlockEntityAccessor.java similarity index 100% rename from 1.8.9/legacy-fabric-registry-sync-api-v1/src/main/java/net/legacyfabric/fabric/mixin/registry/sync/BlockEntityAccessor.java rename to legacy-fabric-registry-sync-api-v1/1.8.9/src/main/java/net/legacyfabric/fabric/mixin/registry/sync/BlockEntityAccessor.java diff --git a/1.8.9/legacy-fabric-registry-sync-api-v1/src/main/java/net/legacyfabric/fabric/mixin/registry/sync/BlockEntityMixin.java b/legacy-fabric-registry-sync-api-v1/1.8.9/src/main/java/net/legacyfabric/fabric/mixin/registry/sync/BlockEntityMixin.java similarity index 100% rename from 1.8.9/legacy-fabric-registry-sync-api-v1/src/main/java/net/legacyfabric/fabric/mixin/registry/sync/BlockEntityMixin.java rename to legacy-fabric-registry-sync-api-v1/1.8.9/src/main/java/net/legacyfabric/fabric/mixin/registry/sync/BlockEntityMixin.java diff --git a/1.8.9/legacy-fabric-registry-sync-api-v1/src/main/java/net/legacyfabric/fabric/mixin/registry/sync/BlockMixin.java b/legacy-fabric-registry-sync-api-v1/1.8.9/src/main/java/net/legacyfabric/fabric/mixin/registry/sync/BlockMixin.java similarity index 100% rename from 1.8.9/legacy-fabric-registry-sync-api-v1/src/main/java/net/legacyfabric/fabric/mixin/registry/sync/BlockMixin.java rename to legacy-fabric-registry-sync-api-v1/1.8.9/src/main/java/net/legacyfabric/fabric/mixin/registry/sync/BlockMixin.java diff --git a/1.8.9/legacy-fabric-registry-sync-api-v1/src/main/java/net/legacyfabric/fabric/mixin/registry/sync/EnchantmentAccessor.java b/legacy-fabric-registry-sync-api-v1/1.8.9/src/main/java/net/legacyfabric/fabric/mixin/registry/sync/EnchantmentAccessor.java similarity index 100% rename from 1.8.9/legacy-fabric-registry-sync-api-v1/src/main/java/net/legacyfabric/fabric/mixin/registry/sync/EnchantmentAccessor.java rename to legacy-fabric-registry-sync-api-v1/1.8.9/src/main/java/net/legacyfabric/fabric/mixin/registry/sync/EnchantmentAccessor.java diff --git a/1.8.9/legacy-fabric-registry-sync-api-v1/src/main/java/net/legacyfabric/fabric/mixin/registry/sync/EntityMixin.java b/legacy-fabric-registry-sync-api-v1/1.8.9/src/main/java/net/legacyfabric/fabric/mixin/registry/sync/EntityMixin.java similarity index 100% rename from 1.8.9/legacy-fabric-registry-sync-api-v1/src/main/java/net/legacyfabric/fabric/mixin/registry/sync/EntityMixin.java rename to legacy-fabric-registry-sync-api-v1/1.8.9/src/main/java/net/legacyfabric/fabric/mixin/registry/sync/EntityMixin.java diff --git a/1.8.9/legacy-fabric-registry-sync-api-v1/src/main/java/net/legacyfabric/fabric/mixin/registry/sync/EntityTypeAccessor.java b/legacy-fabric-registry-sync-api-v1/1.8.9/src/main/java/net/legacyfabric/fabric/mixin/registry/sync/EntityTypeAccessor.java similarity index 100% rename from 1.8.9/legacy-fabric-registry-sync-api-v1/src/main/java/net/legacyfabric/fabric/mixin/registry/sync/EntityTypeAccessor.java rename to legacy-fabric-registry-sync-api-v1/1.8.9/src/main/java/net/legacyfabric/fabric/mixin/registry/sync/EntityTypeAccessor.java diff --git a/1.8.9/legacy-fabric-registry-sync-api-v1/src/main/java/net/legacyfabric/fabric/mixin/registry/sync/EntityTypeMixin.java b/legacy-fabric-registry-sync-api-v1/1.8.9/src/main/java/net/legacyfabric/fabric/mixin/registry/sync/EntityTypeMixin.java similarity index 100% rename from 1.8.9/legacy-fabric-registry-sync-api-v1/src/main/java/net/legacyfabric/fabric/mixin/registry/sync/EntityTypeMixin.java rename to legacy-fabric-registry-sync-api-v1/1.8.9/src/main/java/net/legacyfabric/fabric/mixin/registry/sync/EntityTypeMixin.java diff --git a/1.8.9/legacy-fabric-registry-sync-api-v1/src/main/java/net/legacyfabric/fabric/mixin/registry/sync/ItemMixin.java b/legacy-fabric-registry-sync-api-v1/1.8.9/src/main/java/net/legacyfabric/fabric/mixin/registry/sync/ItemMixin.java similarity index 100% rename from 1.8.9/legacy-fabric-registry-sync-api-v1/src/main/java/net/legacyfabric/fabric/mixin/registry/sync/ItemMixin.java rename to legacy-fabric-registry-sync-api-v1/1.8.9/src/main/java/net/legacyfabric/fabric/mixin/registry/sync/ItemMixin.java diff --git a/1.8.9/legacy-fabric-registry-sync-api-v1/src/main/java/net/legacyfabric/fabric/mixin/registry/sync/MutableRegistryMixin.java b/legacy-fabric-registry-sync-api-v1/1.8.9/src/main/java/net/legacyfabric/fabric/mixin/registry/sync/MutableRegistryMixin.java similarity index 100% rename from 1.8.9/legacy-fabric-registry-sync-api-v1/src/main/java/net/legacyfabric/fabric/mixin/registry/sync/MutableRegistryMixin.java rename to legacy-fabric-registry-sync-api-v1/1.8.9/src/main/java/net/legacyfabric/fabric/mixin/registry/sync/MutableRegistryMixin.java diff --git a/1.8.9/legacy-fabric-registry-sync-api-v1/src/main/java/net/legacyfabric/fabric/mixin/registry/sync/PacketByteBufMixin.java b/legacy-fabric-registry-sync-api-v1/1.8.9/src/main/java/net/legacyfabric/fabric/mixin/registry/sync/PacketByteBufMixin.java similarity index 100% rename from 1.8.9/legacy-fabric-registry-sync-api-v1/src/main/java/net/legacyfabric/fabric/mixin/registry/sync/PacketByteBufMixin.java rename to legacy-fabric-registry-sync-api-v1/1.8.9/src/main/java/net/legacyfabric/fabric/mixin/registry/sync/PacketByteBufMixin.java diff --git a/1.8.9/legacy-fabric-registry-sync-api-v1/src/main/java/net/legacyfabric/fabric/mixin/registry/sync/PlayerManagerMixin.java b/legacy-fabric-registry-sync-api-v1/1.8.9/src/main/java/net/legacyfabric/fabric/mixin/registry/sync/PlayerManagerMixin.java similarity index 100% rename from 1.8.9/legacy-fabric-registry-sync-api-v1/src/main/java/net/legacyfabric/fabric/mixin/registry/sync/PlayerManagerMixin.java rename to legacy-fabric-registry-sync-api-v1/1.8.9/src/main/java/net/legacyfabric/fabric/mixin/registry/sync/PlayerManagerMixin.java diff --git a/1.8.9/legacy-fabric-registry-sync-api-v1/src/main/java/net/legacyfabric/fabric/mixin/registry/sync/SimpleRegistryMixin.java b/legacy-fabric-registry-sync-api-v1/1.8.9/src/main/java/net/legacyfabric/fabric/mixin/registry/sync/SimpleRegistryMixin.java similarity index 100% rename from 1.8.9/legacy-fabric-registry-sync-api-v1/src/main/java/net/legacyfabric/fabric/mixin/registry/sync/SimpleRegistryMixin.java rename to legacy-fabric-registry-sync-api-v1/1.8.9/src/main/java/net/legacyfabric/fabric/mixin/registry/sync/SimpleRegistryMixin.java diff --git a/1.8.9/legacy-fabric-registry-sync-api-v1/src/main/java/net/legacyfabric/fabric/mixin/registry/sync/SpawnEggItemMixin.java b/legacy-fabric-registry-sync-api-v1/1.8.9/src/main/java/net/legacyfabric/fabric/mixin/registry/sync/SpawnEggItemMixin.java similarity index 100% rename from 1.8.9/legacy-fabric-registry-sync-api-v1/src/main/java/net/legacyfabric/fabric/mixin/registry/sync/SpawnEggItemMixin.java rename to legacy-fabric-registry-sync-api-v1/1.8.9/src/main/java/net/legacyfabric/fabric/mixin/registry/sync/SpawnEggItemMixin.java diff --git a/1.8.9/legacy-fabric-registry-sync-api-v1/src/main/java/net/legacyfabric/fabric/mixin/registry/sync/StatusEffectAccessor.java b/legacy-fabric-registry-sync-api-v1/1.8.9/src/main/java/net/legacyfabric/fabric/mixin/registry/sync/StatusEffectAccessor.java similarity index 100% rename from 1.8.9/legacy-fabric-registry-sync-api-v1/src/main/java/net/legacyfabric/fabric/mixin/registry/sync/StatusEffectAccessor.java rename to legacy-fabric-registry-sync-api-v1/1.8.9/src/main/java/net/legacyfabric/fabric/mixin/registry/sync/StatusEffectAccessor.java diff --git a/1.8.9/legacy-fabric-registry-sync-api-v1/src/main/resources/assets/legacy-fabric-registry-sync-api-v1/icon.png b/legacy-fabric-registry-sync-api-v1/1.8.9/src/main/resources/assets/legacy-fabric-registry-sync-api-v1/icon.png similarity index 100% rename from 1.8.9/legacy-fabric-registry-sync-api-v1/src/main/resources/assets/legacy-fabric-registry-sync-api-v1/icon.png rename to legacy-fabric-registry-sync-api-v1/1.8.9/src/main/resources/assets/legacy-fabric-registry-sync-api-v1/icon.png diff --git a/1.9.4/legacy-fabric-registry-sync-api-v1/src/main/resources/fabric.mod.json b/legacy-fabric-registry-sync-api-v1/1.8.9/src/main/resources/fabric.mod.json similarity index 96% rename from 1.9.4/legacy-fabric-registry-sync-api-v1/src/main/resources/fabric.mod.json rename to legacy-fabric-registry-sync-api-v1/1.8.9/src/main/resources/fabric.mod.json index 850f399df..ac4e75d72 100644 --- a/1.9.4/legacy-fabric-registry-sync-api-v1/src/main/resources/fabric.mod.json +++ b/legacy-fabric-registry-sync-api-v1/1.8.9/src/main/resources/fabric.mod.json @@ -17,7 +17,7 @@ ], "depends": { "fabricloader": ">=0.4.0", - "minecraft": ">1.8.9 <=1.9.4" + "minecraft": "${minecraft_version}" }, "description": "Registry hooks", "entrypoints": { diff --git a/1.8.9/legacy-fabric-registry-sync-api-v1/src/main/resources/legacy-fabric-registry-sync-api-v1.mixins.json b/legacy-fabric-registry-sync-api-v1/1.8.9/src/main/resources/legacy-fabric-registry-sync-api-v1.mixins.json similarity index 100% rename from 1.8.9/legacy-fabric-registry-sync-api-v1/src/main/resources/legacy-fabric-registry-sync-api-v1.mixins.json rename to legacy-fabric-registry-sync-api-v1/1.8.9/src/main/resources/legacy-fabric-registry-sync-api-v1.mixins.json diff --git a/1.8.9/legacy-fabric-registry-sync-api-v1/src/testmod/java/net/legacyfabric/fabric/test/registry/RegistryTest.java b/legacy-fabric-registry-sync-api-v1/1.8.9/src/testmod/java/net/legacyfabric/fabric/test/registry/RegistryTest.java similarity index 100% rename from 1.8.9/legacy-fabric-registry-sync-api-v1/src/testmod/java/net/legacyfabric/fabric/test/registry/RegistryTest.java rename to legacy-fabric-registry-sync-api-v1/1.8.9/src/testmod/java/net/legacyfabric/fabric/test/registry/RegistryTest.java diff --git a/1.12.2/legacy-fabric-registry-sync-api-v1/src/testmod/resources/fabric.mod.json b/legacy-fabric-registry-sync-api-v1/1.8.9/src/testmod/resources/fabric.mod.json similarity index 86% rename from 1.12.2/legacy-fabric-registry-sync-api-v1/src/testmod/resources/fabric.mod.json rename to legacy-fabric-registry-sync-api-v1/1.8.9/src/testmod/resources/fabric.mod.json index e31603ee2..d6b0884ad 100644 --- a/1.12.2/legacy-fabric-registry-sync-api-v1/src/testmod/resources/fabric.mod.json +++ b/legacy-fabric-registry-sync-api-v1/1.8.9/src/testmod/resources/fabric.mod.json @@ -9,6 +9,6 @@ ] }, "depends": { - "minecraft": ">1.10.2 <=1.12.2" + "minecraft": "${minecraft_version}" } } diff --git a/legacy-fabric-registry-sync-api-v1/1.8/build.gradle b/legacy-fabric-registry-sync-api-v1/1.8/build.gradle new file mode 100644 index 000000000..e69de29bb diff --git a/legacy-fabric-registry-sync-api-v1/1.8/gradle.properties b/legacy-fabric-registry-sync-api-v1/1.8/gradle.properties new file mode 100644 index 000000000..8dcacbf34 --- /dev/null +++ b/legacy-fabric-registry-sync-api-v1/1.8/gradle.properties @@ -0,0 +1,2 @@ +minVersionIncluded=1.8 +maxVersionIncluded=1.8 diff --git a/1.8/legacy-fabric-registry-sync-api-v1/src/main/java/net/legacyfabric/fabric/impl/registry/sync/RegistrySyncEarlyInitializer.java b/legacy-fabric-registry-sync-api-v1/1.8/src/main/java/net/legacyfabric/fabric/impl/registry/sync/RegistrySyncEarlyInitializer.java similarity index 100% rename from 1.8/legacy-fabric-registry-sync-api-v1/src/main/java/net/legacyfabric/fabric/impl/registry/sync/RegistrySyncEarlyInitializer.java rename to legacy-fabric-registry-sync-api-v1/1.8/src/main/java/net/legacyfabric/fabric/impl/registry/sync/RegistrySyncEarlyInitializer.java diff --git a/1.8/legacy-fabric-registry-sync-api-v1/src/main/java/net/legacyfabric/fabric/mixin/registry/sync/BiomeAccessor.java b/legacy-fabric-registry-sync-api-v1/1.8/src/main/java/net/legacyfabric/fabric/mixin/registry/sync/BiomeAccessor.java similarity index 100% rename from 1.8/legacy-fabric-registry-sync-api-v1/src/main/java/net/legacyfabric/fabric/mixin/registry/sync/BiomeAccessor.java rename to legacy-fabric-registry-sync-api-v1/1.8/src/main/java/net/legacyfabric/fabric/mixin/registry/sync/BiomeAccessor.java diff --git a/1.8/legacy-fabric-registry-sync-api-v1/src/main/java/net/legacyfabric/fabric/mixin/registry/sync/BlockEntityAccessor.java b/legacy-fabric-registry-sync-api-v1/1.8/src/main/java/net/legacyfabric/fabric/mixin/registry/sync/BlockEntityAccessor.java similarity index 100% rename from 1.8/legacy-fabric-registry-sync-api-v1/src/main/java/net/legacyfabric/fabric/mixin/registry/sync/BlockEntityAccessor.java rename to legacy-fabric-registry-sync-api-v1/1.8/src/main/java/net/legacyfabric/fabric/mixin/registry/sync/BlockEntityAccessor.java diff --git a/1.8/legacy-fabric-registry-sync-api-v1/src/main/java/net/legacyfabric/fabric/mixin/registry/sync/BlockEntityMixin.java b/legacy-fabric-registry-sync-api-v1/1.8/src/main/java/net/legacyfabric/fabric/mixin/registry/sync/BlockEntityMixin.java similarity index 100% rename from 1.8/legacy-fabric-registry-sync-api-v1/src/main/java/net/legacyfabric/fabric/mixin/registry/sync/BlockEntityMixin.java rename to legacy-fabric-registry-sync-api-v1/1.8/src/main/java/net/legacyfabric/fabric/mixin/registry/sync/BlockEntityMixin.java diff --git a/1.8/legacy-fabric-registry-sync-api-v1/src/main/java/net/legacyfabric/fabric/mixin/registry/sync/BlockMixin.java b/legacy-fabric-registry-sync-api-v1/1.8/src/main/java/net/legacyfabric/fabric/mixin/registry/sync/BlockMixin.java similarity index 100% rename from 1.8/legacy-fabric-registry-sync-api-v1/src/main/java/net/legacyfabric/fabric/mixin/registry/sync/BlockMixin.java rename to legacy-fabric-registry-sync-api-v1/1.8/src/main/java/net/legacyfabric/fabric/mixin/registry/sync/BlockMixin.java diff --git a/1.8/legacy-fabric-registry-sync-api-v1/src/main/java/net/legacyfabric/fabric/mixin/registry/sync/EnchantmentAccessor.java b/legacy-fabric-registry-sync-api-v1/1.8/src/main/java/net/legacyfabric/fabric/mixin/registry/sync/EnchantmentAccessor.java similarity index 100% rename from 1.8/legacy-fabric-registry-sync-api-v1/src/main/java/net/legacyfabric/fabric/mixin/registry/sync/EnchantmentAccessor.java rename to legacy-fabric-registry-sync-api-v1/1.8/src/main/java/net/legacyfabric/fabric/mixin/registry/sync/EnchantmentAccessor.java diff --git a/1.8/legacy-fabric-registry-sync-api-v1/src/main/java/net/legacyfabric/fabric/mixin/registry/sync/EntityMixin.java b/legacy-fabric-registry-sync-api-v1/1.8/src/main/java/net/legacyfabric/fabric/mixin/registry/sync/EntityMixin.java similarity index 100% rename from 1.8/legacy-fabric-registry-sync-api-v1/src/main/java/net/legacyfabric/fabric/mixin/registry/sync/EntityMixin.java rename to legacy-fabric-registry-sync-api-v1/1.8/src/main/java/net/legacyfabric/fabric/mixin/registry/sync/EntityMixin.java diff --git a/1.8/legacy-fabric-registry-sync-api-v1/src/main/java/net/legacyfabric/fabric/mixin/registry/sync/EntityTypeAccessor.java b/legacy-fabric-registry-sync-api-v1/1.8/src/main/java/net/legacyfabric/fabric/mixin/registry/sync/EntityTypeAccessor.java similarity index 100% rename from 1.8/legacy-fabric-registry-sync-api-v1/src/main/java/net/legacyfabric/fabric/mixin/registry/sync/EntityTypeAccessor.java rename to legacy-fabric-registry-sync-api-v1/1.8/src/main/java/net/legacyfabric/fabric/mixin/registry/sync/EntityTypeAccessor.java diff --git a/1.8/legacy-fabric-registry-sync-api-v1/src/main/java/net/legacyfabric/fabric/mixin/registry/sync/EntityTypeMixin.java b/legacy-fabric-registry-sync-api-v1/1.8/src/main/java/net/legacyfabric/fabric/mixin/registry/sync/EntityTypeMixin.java similarity index 100% rename from 1.8/legacy-fabric-registry-sync-api-v1/src/main/java/net/legacyfabric/fabric/mixin/registry/sync/EntityTypeMixin.java rename to legacy-fabric-registry-sync-api-v1/1.8/src/main/java/net/legacyfabric/fabric/mixin/registry/sync/EntityTypeMixin.java diff --git a/1.8/legacy-fabric-registry-sync-api-v1/src/main/java/net/legacyfabric/fabric/mixin/registry/sync/ItemMixin.java b/legacy-fabric-registry-sync-api-v1/1.8/src/main/java/net/legacyfabric/fabric/mixin/registry/sync/ItemMixin.java similarity index 100% rename from 1.8/legacy-fabric-registry-sync-api-v1/src/main/java/net/legacyfabric/fabric/mixin/registry/sync/ItemMixin.java rename to legacy-fabric-registry-sync-api-v1/1.8/src/main/java/net/legacyfabric/fabric/mixin/registry/sync/ItemMixin.java diff --git a/1.8/legacy-fabric-registry-sync-api-v1/src/main/java/net/legacyfabric/fabric/mixin/registry/sync/MutableRegistryMixin.java b/legacy-fabric-registry-sync-api-v1/1.8/src/main/java/net/legacyfabric/fabric/mixin/registry/sync/MutableRegistryMixin.java similarity index 100% rename from 1.8/legacy-fabric-registry-sync-api-v1/src/main/java/net/legacyfabric/fabric/mixin/registry/sync/MutableRegistryMixin.java rename to legacy-fabric-registry-sync-api-v1/1.8/src/main/java/net/legacyfabric/fabric/mixin/registry/sync/MutableRegistryMixin.java diff --git a/1.8/legacy-fabric-registry-sync-api-v1/src/main/java/net/legacyfabric/fabric/mixin/registry/sync/PacketByteBufMixin.java b/legacy-fabric-registry-sync-api-v1/1.8/src/main/java/net/legacyfabric/fabric/mixin/registry/sync/PacketByteBufMixin.java similarity index 100% rename from 1.8/legacy-fabric-registry-sync-api-v1/src/main/java/net/legacyfabric/fabric/mixin/registry/sync/PacketByteBufMixin.java rename to legacy-fabric-registry-sync-api-v1/1.8/src/main/java/net/legacyfabric/fabric/mixin/registry/sync/PacketByteBufMixin.java diff --git a/1.8/legacy-fabric-registry-sync-api-v1/src/main/java/net/legacyfabric/fabric/mixin/registry/sync/PlayerManagerMixin.java b/legacy-fabric-registry-sync-api-v1/1.8/src/main/java/net/legacyfabric/fabric/mixin/registry/sync/PlayerManagerMixin.java similarity index 100% rename from 1.8/legacy-fabric-registry-sync-api-v1/src/main/java/net/legacyfabric/fabric/mixin/registry/sync/PlayerManagerMixin.java rename to legacy-fabric-registry-sync-api-v1/1.8/src/main/java/net/legacyfabric/fabric/mixin/registry/sync/PlayerManagerMixin.java diff --git a/1.8/legacy-fabric-registry-sync-api-v1/src/main/java/net/legacyfabric/fabric/mixin/registry/sync/SimpleRegistryMixin.java b/legacy-fabric-registry-sync-api-v1/1.8/src/main/java/net/legacyfabric/fabric/mixin/registry/sync/SimpleRegistryMixin.java similarity index 100% rename from 1.8/legacy-fabric-registry-sync-api-v1/src/main/java/net/legacyfabric/fabric/mixin/registry/sync/SimpleRegistryMixin.java rename to legacy-fabric-registry-sync-api-v1/1.8/src/main/java/net/legacyfabric/fabric/mixin/registry/sync/SimpleRegistryMixin.java diff --git a/1.8/legacy-fabric-registry-sync-api-v1/src/main/java/net/legacyfabric/fabric/mixin/registry/sync/SpawnEggItemMixin.java b/legacy-fabric-registry-sync-api-v1/1.8/src/main/java/net/legacyfabric/fabric/mixin/registry/sync/SpawnEggItemMixin.java similarity index 100% rename from 1.8/legacy-fabric-registry-sync-api-v1/src/main/java/net/legacyfabric/fabric/mixin/registry/sync/SpawnEggItemMixin.java rename to legacy-fabric-registry-sync-api-v1/1.8/src/main/java/net/legacyfabric/fabric/mixin/registry/sync/SpawnEggItemMixin.java diff --git a/1.8/legacy-fabric-registry-sync-api-v1/src/main/java/net/legacyfabric/fabric/mixin/registry/sync/StatusEffectAccessor.java b/legacy-fabric-registry-sync-api-v1/1.8/src/main/java/net/legacyfabric/fabric/mixin/registry/sync/StatusEffectAccessor.java similarity index 100% rename from 1.8/legacy-fabric-registry-sync-api-v1/src/main/java/net/legacyfabric/fabric/mixin/registry/sync/StatusEffectAccessor.java rename to legacy-fabric-registry-sync-api-v1/1.8/src/main/java/net/legacyfabric/fabric/mixin/registry/sync/StatusEffectAccessor.java diff --git a/1.8/legacy-fabric-registry-sync-api-v1/src/main/resources/assets/legacy-fabric-registry-sync-api-v1/icon.png b/legacy-fabric-registry-sync-api-v1/1.8/src/main/resources/assets/legacy-fabric-registry-sync-api-v1/icon.png similarity index 100% rename from 1.8/legacy-fabric-registry-sync-api-v1/src/main/resources/assets/legacy-fabric-registry-sync-api-v1/icon.png rename to legacy-fabric-registry-sync-api-v1/1.8/src/main/resources/assets/legacy-fabric-registry-sync-api-v1/icon.png diff --git a/1.7.10/legacy-fabric-registry-sync-api-v1/src/main/resources/fabric.mod.json b/legacy-fabric-registry-sync-api-v1/1.8/src/main/resources/fabric.mod.json similarity index 96% rename from 1.7.10/legacy-fabric-registry-sync-api-v1/src/main/resources/fabric.mod.json rename to legacy-fabric-registry-sync-api-v1/1.8/src/main/resources/fabric.mod.json index 23d88cfa8..909da100a 100644 --- a/1.7.10/legacy-fabric-registry-sync-api-v1/src/main/resources/fabric.mod.json +++ b/legacy-fabric-registry-sync-api-v1/1.8/src/main/resources/fabric.mod.json @@ -17,7 +17,7 @@ ], "depends": { "fabricloader": ">=0.4.0", - "minecraft": "<=1.7.10" + "minecraft": "${minecraft_version}" }, "description": "Registry hooks", "entrypoints": { diff --git a/1.8/legacy-fabric-registry-sync-api-v1/src/main/resources/legacy-fabric-registry-sync-api-v1.mixins.json b/legacy-fabric-registry-sync-api-v1/1.8/src/main/resources/legacy-fabric-registry-sync-api-v1.mixins.json similarity index 100% rename from 1.8/legacy-fabric-registry-sync-api-v1/src/main/resources/legacy-fabric-registry-sync-api-v1.mixins.json rename to legacy-fabric-registry-sync-api-v1/1.8/src/main/resources/legacy-fabric-registry-sync-api-v1.mixins.json diff --git a/1.8/legacy-fabric-registry-sync-api-v1/src/main/resources/registrysync.accesswidener b/legacy-fabric-registry-sync-api-v1/1.8/src/main/resources/registrysync.accesswidener similarity index 100% rename from 1.8/legacy-fabric-registry-sync-api-v1/src/main/resources/registrysync.accesswidener rename to legacy-fabric-registry-sync-api-v1/1.8/src/main/resources/registrysync.accesswidener diff --git a/1.8/legacy-fabric-registry-sync-api-v1/src/testmod/java/net/legacyfabric/fabric/test/registry/RegistryTest.java b/legacy-fabric-registry-sync-api-v1/1.8/src/testmod/java/net/legacyfabric/fabric/test/registry/RegistryTest.java similarity index 100% rename from 1.8/legacy-fabric-registry-sync-api-v1/src/testmod/java/net/legacyfabric/fabric/test/registry/RegistryTest.java rename to legacy-fabric-registry-sync-api-v1/1.8/src/testmod/java/net/legacyfabric/fabric/test/registry/RegistryTest.java diff --git a/legacy-fabric-registry-sync-api-v1/1.8/src/testmod/resources/fabric.mod.json b/legacy-fabric-registry-sync-api-v1/1.8/src/testmod/resources/fabric.mod.json new file mode 100644 index 000000000..d6b0884ad --- /dev/null +++ b/legacy-fabric-registry-sync-api-v1/1.8/src/testmod/resources/fabric.mod.json @@ -0,0 +1,14 @@ +{ + "schemaVersion": 1, + "id": "legacy-fabric-registry-sync-api-v1-testmod", + "description": "Tests for registry", + "version": "1.0.0", + "entrypoints": { + "main": [ + "net.legacyfabric.fabric.test.registry.RegistryTest" + ] + }, + "depends": { + "minecraft": "${minecraft_version}" + } +} diff --git a/legacy-fabric-registry-sync-api-v1/1.9.4/build.gradle b/legacy-fabric-registry-sync-api-v1/1.9.4/build.gradle new file mode 100644 index 000000000..e69de29bb diff --git a/legacy-fabric-registry-sync-api-v1/1.9.4/gradle.properties b/legacy-fabric-registry-sync-api-v1/1.9.4/gradle.properties new file mode 100644 index 000000000..34201081c --- /dev/null +++ b/legacy-fabric-registry-sync-api-v1/1.9.4/gradle.properties @@ -0,0 +1,2 @@ +minVersionExcluded=1.8.9 +maxVersionIncluded=1.9.4 diff --git a/1.9.4/legacy-fabric-registry-sync-api-v1/src/main/java/net/legacyfabric/fabric/impl/registry/sync/RegistrySyncEarlyInitializer.java b/legacy-fabric-registry-sync-api-v1/1.9.4/src/main/java/net/legacyfabric/fabric/impl/registry/sync/RegistrySyncEarlyInitializer.java similarity index 100% rename from 1.9.4/legacy-fabric-registry-sync-api-v1/src/main/java/net/legacyfabric/fabric/impl/registry/sync/RegistrySyncEarlyInitializer.java rename to legacy-fabric-registry-sync-api-v1/1.9.4/src/main/java/net/legacyfabric/fabric/impl/registry/sync/RegistrySyncEarlyInitializer.java diff --git a/1.9.4/legacy-fabric-registry-sync-api-v1/src/main/java/net/legacyfabric/fabric/mixin/registry/sync/BiomeAccessor.java b/legacy-fabric-registry-sync-api-v1/1.9.4/src/main/java/net/legacyfabric/fabric/mixin/registry/sync/BiomeAccessor.java similarity index 100% rename from 1.9.4/legacy-fabric-registry-sync-api-v1/src/main/java/net/legacyfabric/fabric/mixin/registry/sync/BiomeAccessor.java rename to legacy-fabric-registry-sync-api-v1/1.9.4/src/main/java/net/legacyfabric/fabric/mixin/registry/sync/BiomeAccessor.java diff --git a/1.9.4/legacy-fabric-registry-sync-api-v1/src/main/java/net/legacyfabric/fabric/mixin/registry/sync/BlockEntityAccessor.java b/legacy-fabric-registry-sync-api-v1/1.9.4/src/main/java/net/legacyfabric/fabric/mixin/registry/sync/BlockEntityAccessor.java similarity index 100% rename from 1.9.4/legacy-fabric-registry-sync-api-v1/src/main/java/net/legacyfabric/fabric/mixin/registry/sync/BlockEntityAccessor.java rename to legacy-fabric-registry-sync-api-v1/1.9.4/src/main/java/net/legacyfabric/fabric/mixin/registry/sync/BlockEntityAccessor.java diff --git a/1.9.4/legacy-fabric-registry-sync-api-v1/src/main/java/net/legacyfabric/fabric/mixin/registry/sync/BlockEntityMixin.java b/legacy-fabric-registry-sync-api-v1/1.9.4/src/main/java/net/legacyfabric/fabric/mixin/registry/sync/BlockEntityMixin.java similarity index 100% rename from 1.9.4/legacy-fabric-registry-sync-api-v1/src/main/java/net/legacyfabric/fabric/mixin/registry/sync/BlockEntityMixin.java rename to legacy-fabric-registry-sync-api-v1/1.9.4/src/main/java/net/legacyfabric/fabric/mixin/registry/sync/BlockEntityMixin.java diff --git a/1.9.4/legacy-fabric-registry-sync-api-v1/src/main/java/net/legacyfabric/fabric/mixin/registry/sync/BlockMixin.java b/legacy-fabric-registry-sync-api-v1/1.9.4/src/main/java/net/legacyfabric/fabric/mixin/registry/sync/BlockMixin.java similarity index 100% rename from 1.9.4/legacy-fabric-registry-sync-api-v1/src/main/java/net/legacyfabric/fabric/mixin/registry/sync/BlockMixin.java rename to legacy-fabric-registry-sync-api-v1/1.9.4/src/main/java/net/legacyfabric/fabric/mixin/registry/sync/BlockMixin.java diff --git a/1.9.4/legacy-fabric-registry-sync-api-v1/src/main/java/net/legacyfabric/fabric/mixin/registry/sync/EntityMixin.java b/legacy-fabric-registry-sync-api-v1/1.9.4/src/main/java/net/legacyfabric/fabric/mixin/registry/sync/EntityMixin.java similarity index 100% rename from 1.9.4/legacy-fabric-registry-sync-api-v1/src/main/java/net/legacyfabric/fabric/mixin/registry/sync/EntityMixin.java rename to legacy-fabric-registry-sync-api-v1/1.9.4/src/main/java/net/legacyfabric/fabric/mixin/registry/sync/EntityMixin.java diff --git a/1.9.4/legacy-fabric-registry-sync-api-v1/src/main/java/net/legacyfabric/fabric/mixin/registry/sync/EntityTypeAccessor.java b/legacy-fabric-registry-sync-api-v1/1.9.4/src/main/java/net/legacyfabric/fabric/mixin/registry/sync/EntityTypeAccessor.java similarity index 100% rename from 1.9.4/legacy-fabric-registry-sync-api-v1/src/main/java/net/legacyfabric/fabric/mixin/registry/sync/EntityTypeAccessor.java rename to legacy-fabric-registry-sync-api-v1/1.9.4/src/main/java/net/legacyfabric/fabric/mixin/registry/sync/EntityTypeAccessor.java diff --git a/1.9.4/legacy-fabric-registry-sync-api-v1/src/main/java/net/legacyfabric/fabric/mixin/registry/sync/EntityTypeMixin.java b/legacy-fabric-registry-sync-api-v1/1.9.4/src/main/java/net/legacyfabric/fabric/mixin/registry/sync/EntityTypeMixin.java similarity index 100% rename from 1.9.4/legacy-fabric-registry-sync-api-v1/src/main/java/net/legacyfabric/fabric/mixin/registry/sync/EntityTypeMixin.java rename to legacy-fabric-registry-sync-api-v1/1.9.4/src/main/java/net/legacyfabric/fabric/mixin/registry/sync/EntityTypeMixin.java diff --git a/1.9.4/legacy-fabric-registry-sync-api-v1/src/main/java/net/legacyfabric/fabric/mixin/registry/sync/ItemMixin.java b/legacy-fabric-registry-sync-api-v1/1.9.4/src/main/java/net/legacyfabric/fabric/mixin/registry/sync/ItemMixin.java similarity index 100% rename from 1.9.4/legacy-fabric-registry-sync-api-v1/src/main/java/net/legacyfabric/fabric/mixin/registry/sync/ItemMixin.java rename to legacy-fabric-registry-sync-api-v1/1.9.4/src/main/java/net/legacyfabric/fabric/mixin/registry/sync/ItemMixin.java diff --git a/1.9.4/legacy-fabric-registry-sync-api-v1/src/main/java/net/legacyfabric/fabric/mixin/registry/sync/MutableRegistryMixin.java b/legacy-fabric-registry-sync-api-v1/1.9.4/src/main/java/net/legacyfabric/fabric/mixin/registry/sync/MutableRegistryMixin.java similarity index 100% rename from 1.9.4/legacy-fabric-registry-sync-api-v1/src/main/java/net/legacyfabric/fabric/mixin/registry/sync/MutableRegistryMixin.java rename to legacy-fabric-registry-sync-api-v1/1.9.4/src/main/java/net/legacyfabric/fabric/mixin/registry/sync/MutableRegistryMixin.java diff --git a/1.9.4/legacy-fabric-registry-sync-api-v1/src/main/java/net/legacyfabric/fabric/mixin/registry/sync/PacketByteBufMixin.java b/legacy-fabric-registry-sync-api-v1/1.9.4/src/main/java/net/legacyfabric/fabric/mixin/registry/sync/PacketByteBufMixin.java similarity index 100% rename from 1.9.4/legacy-fabric-registry-sync-api-v1/src/main/java/net/legacyfabric/fabric/mixin/registry/sync/PacketByteBufMixin.java rename to legacy-fabric-registry-sync-api-v1/1.9.4/src/main/java/net/legacyfabric/fabric/mixin/registry/sync/PacketByteBufMixin.java diff --git a/1.9.4/legacy-fabric-registry-sync-api-v1/src/main/java/net/legacyfabric/fabric/mixin/registry/sync/PlayerManagerMixin.java b/legacy-fabric-registry-sync-api-v1/1.9.4/src/main/java/net/legacyfabric/fabric/mixin/registry/sync/PlayerManagerMixin.java similarity index 100% rename from 1.9.4/legacy-fabric-registry-sync-api-v1/src/main/java/net/legacyfabric/fabric/mixin/registry/sync/PlayerManagerMixin.java rename to legacy-fabric-registry-sync-api-v1/1.9.4/src/main/java/net/legacyfabric/fabric/mixin/registry/sync/PlayerManagerMixin.java diff --git a/1.9.4/legacy-fabric-registry-sync-api-v1/src/main/java/net/legacyfabric/fabric/mixin/registry/sync/SimpleRegistryMixin.java b/legacy-fabric-registry-sync-api-v1/1.9.4/src/main/java/net/legacyfabric/fabric/mixin/registry/sync/SimpleRegistryMixin.java similarity index 100% rename from 1.9.4/legacy-fabric-registry-sync-api-v1/src/main/java/net/legacyfabric/fabric/mixin/registry/sync/SimpleRegistryMixin.java rename to legacy-fabric-registry-sync-api-v1/1.9.4/src/main/java/net/legacyfabric/fabric/mixin/registry/sync/SimpleRegistryMixin.java diff --git a/1.9.4/legacy-fabric-registry-sync-api-v1/src/main/java/net/legacyfabric/fabric/mixin/registry/sync/SpawnEggDataAccessor.java b/legacy-fabric-registry-sync-api-v1/1.9.4/src/main/java/net/legacyfabric/fabric/mixin/registry/sync/SpawnEggDataAccessor.java similarity index 100% rename from 1.9.4/legacy-fabric-registry-sync-api-v1/src/main/java/net/legacyfabric/fabric/mixin/registry/sync/SpawnEggDataAccessor.java rename to legacy-fabric-registry-sync-api-v1/1.9.4/src/main/java/net/legacyfabric/fabric/mixin/registry/sync/SpawnEggDataAccessor.java diff --git a/1.9.4/legacy-fabric-registry-sync-api-v1/src/main/java/net/legacyfabric/fabric/mixin/registry/sync/class_2929Mixin.java b/legacy-fabric-registry-sync-api-v1/1.9.4/src/main/java/net/legacyfabric/fabric/mixin/registry/sync/class_2929Mixin.java similarity index 100% rename from 1.9.4/legacy-fabric-registry-sync-api-v1/src/main/java/net/legacyfabric/fabric/mixin/registry/sync/class_2929Mixin.java rename to legacy-fabric-registry-sync-api-v1/1.9.4/src/main/java/net/legacyfabric/fabric/mixin/registry/sync/class_2929Mixin.java diff --git a/1.9.4/legacy-fabric-registry-sync-api-v1/src/main/resources/assets/legacy-fabric-registry-sync-api-v1/icon.png b/legacy-fabric-registry-sync-api-v1/1.9.4/src/main/resources/assets/legacy-fabric-registry-sync-api-v1/icon.png similarity index 100% rename from 1.9.4/legacy-fabric-registry-sync-api-v1/src/main/resources/assets/legacy-fabric-registry-sync-api-v1/icon.png rename to legacy-fabric-registry-sync-api-v1/1.9.4/src/main/resources/assets/legacy-fabric-registry-sync-api-v1/icon.png diff --git a/1.8.9/legacy-fabric-registry-sync-api-v1/src/main/resources/fabric.mod.json b/legacy-fabric-registry-sync-api-v1/1.9.4/src/main/resources/fabric.mod.json similarity index 96% rename from 1.8.9/legacy-fabric-registry-sync-api-v1/src/main/resources/fabric.mod.json rename to legacy-fabric-registry-sync-api-v1/1.9.4/src/main/resources/fabric.mod.json index c3c54cbd8..ac4e75d72 100644 --- a/1.8.9/legacy-fabric-registry-sync-api-v1/src/main/resources/fabric.mod.json +++ b/legacy-fabric-registry-sync-api-v1/1.9.4/src/main/resources/fabric.mod.json @@ -17,7 +17,7 @@ ], "depends": { "fabricloader": ">=0.4.0", - "minecraft": "1.8.9" + "minecraft": "${minecraft_version}" }, "description": "Registry hooks", "entrypoints": { diff --git a/1.9.4/legacy-fabric-registry-sync-api-v1/src/main/resources/legacy-fabric-registry-sync-api-v1.mixins.json b/legacy-fabric-registry-sync-api-v1/1.9.4/src/main/resources/legacy-fabric-registry-sync-api-v1.mixins.json similarity index 100% rename from 1.9.4/legacy-fabric-registry-sync-api-v1/src/main/resources/legacy-fabric-registry-sync-api-v1.mixins.json rename to legacy-fabric-registry-sync-api-v1/1.9.4/src/main/resources/legacy-fabric-registry-sync-api-v1.mixins.json diff --git a/1.9.4/legacy-fabric-registry-sync-api-v1/src/testmod/java/net/legacyfabric/fabric/test/registry/RegistryTest.java b/legacy-fabric-registry-sync-api-v1/1.9.4/src/testmod/java/net/legacyfabric/fabric/test/registry/RegistryTest.java similarity index 100% rename from 1.9.4/legacy-fabric-registry-sync-api-v1/src/testmod/java/net/legacyfabric/fabric/test/registry/RegistryTest.java rename to legacy-fabric-registry-sync-api-v1/1.9.4/src/testmod/java/net/legacyfabric/fabric/test/registry/RegistryTest.java diff --git a/legacy-fabric-registry-sync-api-v1/1.9.4/src/testmod/resources/fabric.mod.json b/legacy-fabric-registry-sync-api-v1/1.9.4/src/testmod/resources/fabric.mod.json new file mode 100644 index 000000000..d6b0884ad --- /dev/null +++ b/legacy-fabric-registry-sync-api-v1/1.9.4/src/testmod/resources/fabric.mod.json @@ -0,0 +1,14 @@ +{ + "schemaVersion": 1, + "id": "legacy-fabric-registry-sync-api-v1-testmod", + "description": "Tests for registry", + "version": "1.0.0", + "entrypoints": { + "main": [ + "net.legacyfabric.fabric.test.registry.RegistryTest" + ] + }, + "depends": { + "minecraft": "${minecraft_version}" + } +} diff --git a/legacy-fabric-registry-sync-api-v1/common.gradle b/legacy-fabric-registry-sync-api-v1/common.gradle new file mode 100644 index 000000000..594e150a8 --- /dev/null +++ b/legacy-fabric-registry-sync-api-v1/common.gradle @@ -0,0 +1,5 @@ +moduleDependencies(project, [ + "legacy-fabric-api-base", + "legacy-fabric-networking-api-v1", + "legacy-fabric-resource-loader-v1" +]) diff --git a/legacy-fabric-registry-sync-api-v1/common/build.gradle b/legacy-fabric-registry-sync-api-v1/common/build.gradle new file mode 100644 index 000000000..e69de29bb diff --git a/legacy-fabric-registry-sync-api-v1/common/gradle.properties b/legacy-fabric-registry-sync-api-v1/common/gradle.properties new file mode 100644 index 000000000..a499ab733 --- /dev/null +++ b/legacy-fabric-registry-sync-api-v1/common/gradle.properties @@ -0,0 +1,2 @@ +minVersionIncluded=1.7 +maxVersionIncluded=1.12.2 diff --git a/common/legacy-fabric-registry-sync-api-v1-common/src/main/java/net/legacyfabric/fabric/api/registry/v1/BiomeIds.java b/legacy-fabric-registry-sync-api-v1/common/src/main/java/net/legacyfabric/fabric/api/registry/v1/BiomeIds.java similarity index 100% rename from common/legacy-fabric-registry-sync-api-v1-common/src/main/java/net/legacyfabric/fabric/api/registry/v1/BiomeIds.java rename to legacy-fabric-registry-sync-api-v1/common/src/main/java/net/legacyfabric/fabric/api/registry/v1/BiomeIds.java diff --git a/common/legacy-fabric-registry-sync-api-v1-common/src/main/java/net/legacyfabric/fabric/api/registry/v1/BlockEntityTypeIds.java b/legacy-fabric-registry-sync-api-v1/common/src/main/java/net/legacyfabric/fabric/api/registry/v1/BlockEntityTypeIds.java similarity index 100% rename from common/legacy-fabric-registry-sync-api-v1-common/src/main/java/net/legacyfabric/fabric/api/registry/v1/BlockEntityTypeIds.java rename to legacy-fabric-registry-sync-api-v1/common/src/main/java/net/legacyfabric/fabric/api/registry/v1/BlockEntityTypeIds.java diff --git a/common/legacy-fabric-registry-sync-api-v1-common/src/main/java/net/legacyfabric/fabric/api/registry/v1/BlockIds.java b/legacy-fabric-registry-sync-api-v1/common/src/main/java/net/legacyfabric/fabric/api/registry/v1/BlockIds.java similarity index 100% rename from common/legacy-fabric-registry-sync-api-v1-common/src/main/java/net/legacyfabric/fabric/api/registry/v1/BlockIds.java rename to legacy-fabric-registry-sync-api-v1/common/src/main/java/net/legacyfabric/fabric/api/registry/v1/BlockIds.java diff --git a/common/legacy-fabric-registry-sync-api-v1-common/src/main/java/net/legacyfabric/fabric/api/registry/v1/EnchantmentIds.java b/legacy-fabric-registry-sync-api-v1/common/src/main/java/net/legacyfabric/fabric/api/registry/v1/EnchantmentIds.java similarity index 100% rename from common/legacy-fabric-registry-sync-api-v1-common/src/main/java/net/legacyfabric/fabric/api/registry/v1/EnchantmentIds.java rename to legacy-fabric-registry-sync-api-v1/common/src/main/java/net/legacyfabric/fabric/api/registry/v1/EnchantmentIds.java diff --git a/common/legacy-fabric-registry-sync-api-v1-common/src/main/java/net/legacyfabric/fabric/api/registry/v1/EntityTypeIds.java b/legacy-fabric-registry-sync-api-v1/common/src/main/java/net/legacyfabric/fabric/api/registry/v1/EntityTypeIds.java similarity index 100% rename from common/legacy-fabric-registry-sync-api-v1-common/src/main/java/net/legacyfabric/fabric/api/registry/v1/EntityTypeIds.java rename to legacy-fabric-registry-sync-api-v1/common/src/main/java/net/legacyfabric/fabric/api/registry/v1/EntityTypeIds.java diff --git a/common/legacy-fabric-registry-sync-api-v1-common/src/main/java/net/legacyfabric/fabric/api/registry/v1/ItemIds.java b/legacy-fabric-registry-sync-api-v1/common/src/main/java/net/legacyfabric/fabric/api/registry/v1/ItemIds.java similarity index 100% rename from common/legacy-fabric-registry-sync-api-v1-common/src/main/java/net/legacyfabric/fabric/api/registry/v1/ItemIds.java rename to legacy-fabric-registry-sync-api-v1/common/src/main/java/net/legacyfabric/fabric/api/registry/v1/ItemIds.java diff --git a/common/legacy-fabric-registry-sync-api-v1-common/src/main/java/net/legacyfabric/fabric/api/registry/v1/RegistryEntryAddCallback.java b/legacy-fabric-registry-sync-api-v1/common/src/main/java/net/legacyfabric/fabric/api/registry/v1/RegistryEntryAddCallback.java similarity index 100% rename from common/legacy-fabric-registry-sync-api-v1-common/src/main/java/net/legacyfabric/fabric/api/registry/v1/RegistryEntryAddCallback.java rename to legacy-fabric-registry-sync-api-v1/common/src/main/java/net/legacyfabric/fabric/api/registry/v1/RegistryEntryAddCallback.java diff --git a/common/legacy-fabric-registry-sync-api-v1-common/src/main/java/net/legacyfabric/fabric/api/registry/v1/RegistryEntryRemapCallback.java b/legacy-fabric-registry-sync-api-v1/common/src/main/java/net/legacyfabric/fabric/api/registry/v1/RegistryEntryRemapCallback.java similarity index 100% rename from common/legacy-fabric-registry-sync-api-v1-common/src/main/java/net/legacyfabric/fabric/api/registry/v1/RegistryEntryRemapCallback.java rename to legacy-fabric-registry-sync-api-v1/common/src/main/java/net/legacyfabric/fabric/api/registry/v1/RegistryEntryRemapCallback.java diff --git a/common/legacy-fabric-registry-sync-api-v1-common/src/main/java/net/legacyfabric/fabric/api/registry/v1/RegistryHelper.java b/legacy-fabric-registry-sync-api-v1/common/src/main/java/net/legacyfabric/fabric/api/registry/v1/RegistryHelper.java similarity index 100% rename from common/legacy-fabric-registry-sync-api-v1-common/src/main/java/net/legacyfabric/fabric/api/registry/v1/RegistryHelper.java rename to legacy-fabric-registry-sync-api-v1/common/src/main/java/net/legacyfabric/fabric/api/registry/v1/RegistryHelper.java diff --git a/common/legacy-fabric-registry-sync-api-v1-common/src/main/java/net/legacyfabric/fabric/api/registry/v1/RegistryIds.java b/legacy-fabric-registry-sync-api-v1/common/src/main/java/net/legacyfabric/fabric/api/registry/v1/RegistryIds.java similarity index 100% rename from common/legacy-fabric-registry-sync-api-v1-common/src/main/java/net/legacyfabric/fabric/api/registry/v1/RegistryIds.java rename to legacy-fabric-registry-sync-api-v1/common/src/main/java/net/legacyfabric/fabric/api/registry/v1/RegistryIds.java diff --git a/common/legacy-fabric-registry-sync-api-v1-common/src/main/java/net/legacyfabric/fabric/api/registry/v1/StatusEffectIds.java b/legacy-fabric-registry-sync-api-v1/common/src/main/java/net/legacyfabric/fabric/api/registry/v1/StatusEffectIds.java similarity index 100% rename from common/legacy-fabric-registry-sync-api-v1-common/src/main/java/net/legacyfabric/fabric/api/registry/v1/StatusEffectIds.java rename to legacy-fabric-registry-sync-api-v1/common/src/main/java/net/legacyfabric/fabric/api/registry/v1/StatusEffectIds.java diff --git a/common/legacy-fabric-registry-sync-api-v1-common/src/main/java/net/legacyfabric/fabric/impl/client/registry/sync/ClientRegistryRemapper.java b/legacy-fabric-registry-sync-api-v1/common/src/main/java/net/legacyfabric/fabric/impl/client/registry/sync/ClientRegistryRemapper.java similarity index 100% rename from common/legacy-fabric-registry-sync-api-v1-common/src/main/java/net/legacyfabric/fabric/impl/client/registry/sync/ClientRegistryRemapper.java rename to legacy-fabric-registry-sync-api-v1/common/src/main/java/net/legacyfabric/fabric/impl/client/registry/sync/ClientRegistryRemapper.java diff --git a/common/legacy-fabric-registry-sync-api-v1-common/src/main/java/net/legacyfabric/fabric/impl/client/registry/sync/ClientRemapInitializer.java b/legacy-fabric-registry-sync-api-v1/common/src/main/java/net/legacyfabric/fabric/impl/client/registry/sync/ClientRemapInitializer.java similarity index 100% rename from common/legacy-fabric-registry-sync-api-v1-common/src/main/java/net/legacyfabric/fabric/impl/client/registry/sync/ClientRemapInitializer.java rename to legacy-fabric-registry-sync-api-v1/common/src/main/java/net/legacyfabric/fabric/impl/client/registry/sync/ClientRemapInitializer.java diff --git a/common/legacy-fabric-registry-sync-api-v1-common/src/main/java/net/legacyfabric/fabric/impl/registry/RegistryHelperImpl.java b/legacy-fabric-registry-sync-api-v1/common/src/main/java/net/legacyfabric/fabric/impl/registry/RegistryHelperImpl.java similarity index 100% rename from common/legacy-fabric-registry-sync-api-v1-common/src/main/java/net/legacyfabric/fabric/impl/registry/RegistryHelperImpl.java rename to legacy-fabric-registry-sync-api-v1/common/src/main/java/net/legacyfabric/fabric/impl/registry/RegistryHelperImpl.java diff --git a/common/legacy-fabric-registry-sync-api-v1-common/src/main/java/net/legacyfabric/fabric/impl/registry/registries/OldBiomeRegistry.java b/legacy-fabric-registry-sync-api-v1/common/src/main/java/net/legacyfabric/fabric/impl/registry/registries/OldBiomeRegistry.java similarity index 100% rename from common/legacy-fabric-registry-sync-api-v1-common/src/main/java/net/legacyfabric/fabric/impl/registry/registries/OldBiomeRegistry.java rename to legacy-fabric-registry-sync-api-v1/common/src/main/java/net/legacyfabric/fabric/impl/registry/registries/OldBiomeRegistry.java diff --git a/common/legacy-fabric-registry-sync-api-v1-common/src/main/java/net/legacyfabric/fabric/impl/registry/registries/OldBlockEntityRegistry.java b/legacy-fabric-registry-sync-api-v1/common/src/main/java/net/legacyfabric/fabric/impl/registry/registries/OldBlockEntityRegistry.java similarity index 100% rename from common/legacy-fabric-registry-sync-api-v1-common/src/main/java/net/legacyfabric/fabric/impl/registry/registries/OldBlockEntityRegistry.java rename to legacy-fabric-registry-sync-api-v1/common/src/main/java/net/legacyfabric/fabric/impl/registry/registries/OldBlockEntityRegistry.java diff --git a/common/legacy-fabric-registry-sync-api-v1-common/src/main/java/net/legacyfabric/fabric/impl/registry/registries/OldEnchantmentRegistry.java b/legacy-fabric-registry-sync-api-v1/common/src/main/java/net/legacyfabric/fabric/impl/registry/registries/OldEnchantmentRegistry.java similarity index 100% rename from common/legacy-fabric-registry-sync-api-v1-common/src/main/java/net/legacyfabric/fabric/impl/registry/registries/OldEnchantmentRegistry.java rename to legacy-fabric-registry-sync-api-v1/common/src/main/java/net/legacyfabric/fabric/impl/registry/registries/OldEnchantmentRegistry.java diff --git a/common/legacy-fabric-registry-sync-api-v1-common/src/main/java/net/legacyfabric/fabric/impl/registry/registries/OldEntityTypeRegistry.java b/legacy-fabric-registry-sync-api-v1/common/src/main/java/net/legacyfabric/fabric/impl/registry/registries/OldEntityTypeRegistry.java similarity index 100% rename from common/legacy-fabric-registry-sync-api-v1-common/src/main/java/net/legacyfabric/fabric/impl/registry/registries/OldEntityTypeRegistry.java rename to legacy-fabric-registry-sync-api-v1/common/src/main/java/net/legacyfabric/fabric/impl/registry/registries/OldEntityTypeRegistry.java diff --git a/common/legacy-fabric-registry-sync-api-v1-common/src/main/java/net/legacyfabric/fabric/impl/registry/registries/OldStatusEffectRegistry.java b/legacy-fabric-registry-sync-api-v1/common/src/main/java/net/legacyfabric/fabric/impl/registry/registries/OldStatusEffectRegistry.java similarity index 100% rename from common/legacy-fabric-registry-sync-api-v1-common/src/main/java/net/legacyfabric/fabric/impl/registry/registries/OldStatusEffectRegistry.java rename to legacy-fabric-registry-sync-api-v1/common/src/main/java/net/legacyfabric/fabric/impl/registry/registries/OldStatusEffectRegistry.java diff --git a/common/legacy-fabric-registry-sync-api-v1-common/src/main/java/net/legacyfabric/fabric/impl/registry/registries/ReallyOldBiomeRegistry.java b/legacy-fabric-registry-sync-api-v1/common/src/main/java/net/legacyfabric/fabric/impl/registry/registries/ReallyOldBiomeRegistry.java similarity index 100% rename from common/legacy-fabric-registry-sync-api-v1-common/src/main/java/net/legacyfabric/fabric/impl/registry/registries/ReallyOldBiomeRegistry.java rename to legacy-fabric-registry-sync-api-v1/common/src/main/java/net/legacyfabric/fabric/impl/registry/registries/ReallyOldBiomeRegistry.java diff --git a/common/legacy-fabric-registry-sync-api-v1-common/src/main/java/net/legacyfabric/fabric/impl/registry/registries/ReallyOldEnchantmentRegistry.java b/legacy-fabric-registry-sync-api-v1/common/src/main/java/net/legacyfabric/fabric/impl/registry/registries/ReallyOldEnchantmentRegistry.java similarity index 100% rename from common/legacy-fabric-registry-sync-api-v1-common/src/main/java/net/legacyfabric/fabric/impl/registry/registries/ReallyOldEnchantmentRegistry.java rename to legacy-fabric-registry-sync-api-v1/common/src/main/java/net/legacyfabric/fabric/impl/registry/registries/ReallyOldEnchantmentRegistry.java diff --git a/common/legacy-fabric-registry-sync-api-v1-common/src/main/java/net/legacyfabric/fabric/impl/registry/registries/ReallyOldStatusEffectRegistry.java b/legacy-fabric-registry-sync-api-v1/common/src/main/java/net/legacyfabric/fabric/impl/registry/registries/ReallyOldStatusEffectRegistry.java similarity index 100% rename from common/legacy-fabric-registry-sync-api-v1-common/src/main/java/net/legacyfabric/fabric/impl/registry/registries/ReallyOldStatusEffectRegistry.java rename to legacy-fabric-registry-sync-api-v1/common/src/main/java/net/legacyfabric/fabric/impl/registry/registries/ReallyOldStatusEffectRegistry.java diff --git a/common/legacy-fabric-registry-sync-api-v1-common/src/main/java/net/legacyfabric/fabric/impl/registry/registries/RegistryRemapperRegistry.java b/legacy-fabric-registry-sync-api-v1/common/src/main/java/net/legacyfabric/fabric/impl/registry/registries/RegistryRemapperRegistry.java similarity index 100% rename from common/legacy-fabric-registry-sync-api-v1-common/src/main/java/net/legacyfabric/fabric/impl/registry/registries/RegistryRemapperRegistry.java rename to legacy-fabric-registry-sync-api-v1/common/src/main/java/net/legacyfabric/fabric/impl/registry/registries/RegistryRemapperRegistry.java diff --git a/common/legacy-fabric-registry-sync-api-v1-common/src/main/java/net/legacyfabric/fabric/impl/registry/sync/RegistryRemapperAccess.java b/legacy-fabric-registry-sync-api-v1/common/src/main/java/net/legacyfabric/fabric/impl/registry/sync/RegistryRemapperAccess.java similarity index 100% rename from common/legacy-fabric-registry-sync-api-v1-common/src/main/java/net/legacyfabric/fabric/impl/registry/sync/RegistryRemapperAccess.java rename to legacy-fabric-registry-sync-api-v1/common/src/main/java/net/legacyfabric/fabric/impl/registry/sync/RegistryRemapperAccess.java diff --git a/common/legacy-fabric-registry-sync-api-v1-common/src/main/java/net/legacyfabric/fabric/impl/registry/sync/ServerRegistryRemapper.java b/legacy-fabric-registry-sync-api-v1/common/src/main/java/net/legacyfabric/fabric/impl/registry/sync/ServerRegistryRemapper.java similarity index 100% rename from common/legacy-fabric-registry-sync-api-v1-common/src/main/java/net/legacyfabric/fabric/impl/registry/sync/ServerRegistryRemapper.java rename to legacy-fabric-registry-sync-api-v1/common/src/main/java/net/legacyfabric/fabric/impl/registry/sync/ServerRegistryRemapper.java diff --git a/common/legacy-fabric-registry-sync-api-v1-common/src/main/java/net/legacyfabric/fabric/impl/registry/sync/compat/BlockCompat.java b/legacy-fabric-registry-sync-api-v1/common/src/main/java/net/legacyfabric/fabric/impl/registry/sync/compat/BlockCompat.java similarity index 100% rename from common/legacy-fabric-registry-sync-api-v1-common/src/main/java/net/legacyfabric/fabric/impl/registry/sync/compat/BlockCompat.java rename to legacy-fabric-registry-sync-api-v1/common/src/main/java/net/legacyfabric/fabric/impl/registry/sync/compat/BlockCompat.java diff --git a/common/legacy-fabric-registry-sync-api-v1-common/src/main/java/net/legacyfabric/fabric/impl/registry/sync/compat/IdListCompat.java b/legacy-fabric-registry-sync-api-v1/common/src/main/java/net/legacyfabric/fabric/impl/registry/sync/compat/IdListCompat.java similarity index 100% rename from common/legacy-fabric-registry-sync-api-v1-common/src/main/java/net/legacyfabric/fabric/impl/registry/sync/compat/IdListCompat.java rename to legacy-fabric-registry-sync-api-v1/common/src/main/java/net/legacyfabric/fabric/impl/registry/sync/compat/IdListCompat.java diff --git a/common/legacy-fabric-registry-sync-api-v1-common/src/main/java/net/legacyfabric/fabric/impl/registry/sync/compat/ItemCompat.java b/legacy-fabric-registry-sync-api-v1/common/src/main/java/net/legacyfabric/fabric/impl/registry/sync/compat/ItemCompat.java similarity index 100% rename from common/legacy-fabric-registry-sync-api-v1-common/src/main/java/net/legacyfabric/fabric/impl/registry/sync/compat/ItemCompat.java rename to legacy-fabric-registry-sync-api-v1/common/src/main/java/net/legacyfabric/fabric/impl/registry/sync/compat/ItemCompat.java diff --git a/common/legacy-fabric-registry-sync-api-v1-common/src/main/java/net/legacyfabric/fabric/impl/registry/sync/compat/PacketByteBufCompat.java b/legacy-fabric-registry-sync-api-v1/common/src/main/java/net/legacyfabric/fabric/impl/registry/sync/compat/PacketByteBufCompat.java similarity index 100% rename from common/legacy-fabric-registry-sync-api-v1-common/src/main/java/net/legacyfabric/fabric/impl/registry/sync/compat/PacketByteBufCompat.java rename to legacy-fabric-registry-sync-api-v1/common/src/main/java/net/legacyfabric/fabric/impl/registry/sync/compat/PacketByteBufCompat.java diff --git a/common/legacy-fabric-registry-sync-api-v1-common/src/main/java/net/legacyfabric/fabric/impl/registry/sync/compat/RegistriesGetter.java b/legacy-fabric-registry-sync-api-v1/common/src/main/java/net/legacyfabric/fabric/impl/registry/sync/compat/RegistriesGetter.java similarity index 100% rename from common/legacy-fabric-registry-sync-api-v1-common/src/main/java/net/legacyfabric/fabric/impl/registry/sync/compat/RegistriesGetter.java rename to legacy-fabric-registry-sync-api-v1/common/src/main/java/net/legacyfabric/fabric/impl/registry/sync/compat/RegistriesGetter.java diff --git a/common/legacy-fabric-registry-sync-api-v1-common/src/main/java/net/legacyfabric/fabric/impl/registry/sync/compat/SimpleRegistryCompat.java b/legacy-fabric-registry-sync-api-v1/common/src/main/java/net/legacyfabric/fabric/impl/registry/sync/compat/SimpleRegistryCompat.java similarity index 100% rename from common/legacy-fabric-registry-sync-api-v1-common/src/main/java/net/legacyfabric/fabric/impl/registry/sync/compat/SimpleRegistryCompat.java rename to legacy-fabric-registry-sync-api-v1/common/src/main/java/net/legacyfabric/fabric/impl/registry/sync/compat/SimpleRegistryCompat.java diff --git a/common/legacy-fabric-registry-sync-api-v1-common/src/main/java/net/legacyfabric/fabric/impl/registry/sync/remappers/BiomeRegistryRemapper.java b/legacy-fabric-registry-sync-api-v1/common/src/main/java/net/legacyfabric/fabric/impl/registry/sync/remappers/BiomeRegistryRemapper.java similarity index 100% rename from common/legacy-fabric-registry-sync-api-v1-common/src/main/java/net/legacyfabric/fabric/impl/registry/sync/remappers/BiomeRegistryRemapper.java rename to legacy-fabric-registry-sync-api-v1/common/src/main/java/net/legacyfabric/fabric/impl/registry/sync/remappers/BiomeRegistryRemapper.java diff --git a/common/legacy-fabric-registry-sync-api-v1-common/src/main/java/net/legacyfabric/fabric/impl/registry/sync/remappers/BlockEntityTypeRegistryRemapper.java b/legacy-fabric-registry-sync-api-v1/common/src/main/java/net/legacyfabric/fabric/impl/registry/sync/remappers/BlockEntityTypeRegistryRemapper.java similarity index 100% rename from common/legacy-fabric-registry-sync-api-v1-common/src/main/java/net/legacyfabric/fabric/impl/registry/sync/remappers/BlockEntityTypeRegistryRemapper.java rename to legacy-fabric-registry-sync-api-v1/common/src/main/java/net/legacyfabric/fabric/impl/registry/sync/remappers/BlockEntityTypeRegistryRemapper.java diff --git a/common/legacy-fabric-registry-sync-api-v1-common/src/main/java/net/legacyfabric/fabric/impl/registry/sync/remappers/BlockRegistryRemapper.java b/legacy-fabric-registry-sync-api-v1/common/src/main/java/net/legacyfabric/fabric/impl/registry/sync/remappers/BlockRegistryRemapper.java similarity index 100% rename from common/legacy-fabric-registry-sync-api-v1-common/src/main/java/net/legacyfabric/fabric/impl/registry/sync/remappers/BlockRegistryRemapper.java rename to legacy-fabric-registry-sync-api-v1/common/src/main/java/net/legacyfabric/fabric/impl/registry/sync/remappers/BlockRegistryRemapper.java diff --git a/common/legacy-fabric-registry-sync-api-v1-common/src/main/java/net/legacyfabric/fabric/impl/registry/sync/remappers/EnchantmentRegistryRemapper.java b/legacy-fabric-registry-sync-api-v1/common/src/main/java/net/legacyfabric/fabric/impl/registry/sync/remappers/EnchantmentRegistryRemapper.java similarity index 100% rename from common/legacy-fabric-registry-sync-api-v1-common/src/main/java/net/legacyfabric/fabric/impl/registry/sync/remappers/EnchantmentRegistryRemapper.java rename to legacy-fabric-registry-sync-api-v1/common/src/main/java/net/legacyfabric/fabric/impl/registry/sync/remappers/EnchantmentRegistryRemapper.java diff --git a/common/legacy-fabric-registry-sync-api-v1-common/src/main/java/net/legacyfabric/fabric/impl/registry/sync/remappers/EntityTypeRegistryRemapper.java b/legacy-fabric-registry-sync-api-v1/common/src/main/java/net/legacyfabric/fabric/impl/registry/sync/remappers/EntityTypeRegistryRemapper.java similarity index 100% rename from common/legacy-fabric-registry-sync-api-v1-common/src/main/java/net/legacyfabric/fabric/impl/registry/sync/remappers/EntityTypeRegistryRemapper.java rename to legacy-fabric-registry-sync-api-v1/common/src/main/java/net/legacyfabric/fabric/impl/registry/sync/remappers/EntityTypeRegistryRemapper.java diff --git a/common/legacy-fabric-registry-sync-api-v1-common/src/main/java/net/legacyfabric/fabric/impl/registry/sync/remappers/ItemRegistryRemapper.java b/legacy-fabric-registry-sync-api-v1/common/src/main/java/net/legacyfabric/fabric/impl/registry/sync/remappers/ItemRegistryRemapper.java similarity index 100% rename from common/legacy-fabric-registry-sync-api-v1-common/src/main/java/net/legacyfabric/fabric/impl/registry/sync/remappers/ItemRegistryRemapper.java rename to legacy-fabric-registry-sync-api-v1/common/src/main/java/net/legacyfabric/fabric/impl/registry/sync/remappers/ItemRegistryRemapper.java diff --git a/common/legacy-fabric-registry-sync-api-v1-common/src/main/java/net/legacyfabric/fabric/impl/registry/sync/remappers/RegistryRemapper.java b/legacy-fabric-registry-sync-api-v1/common/src/main/java/net/legacyfabric/fabric/impl/registry/sync/remappers/RegistryRemapper.java similarity index 100% rename from common/legacy-fabric-registry-sync-api-v1-common/src/main/java/net/legacyfabric/fabric/impl/registry/sync/remappers/RegistryRemapper.java rename to legacy-fabric-registry-sync-api-v1/common/src/main/java/net/legacyfabric/fabric/impl/registry/sync/remappers/RegistryRemapper.java diff --git a/common/legacy-fabric-registry-sync-api-v1-common/src/main/java/net/legacyfabric/fabric/impl/registry/sync/remappers/RegistryRemapperRegistryRemapper.java b/legacy-fabric-registry-sync-api-v1/common/src/main/java/net/legacyfabric/fabric/impl/registry/sync/remappers/RegistryRemapperRegistryRemapper.java similarity index 100% rename from common/legacy-fabric-registry-sync-api-v1-common/src/main/java/net/legacyfabric/fabric/impl/registry/sync/remappers/RegistryRemapperRegistryRemapper.java rename to legacy-fabric-registry-sync-api-v1/common/src/main/java/net/legacyfabric/fabric/impl/registry/sync/remappers/RegistryRemapperRegistryRemapper.java diff --git a/common/legacy-fabric-registry-sync-api-v1-common/src/main/java/net/legacyfabric/fabric/impl/registry/sync/remappers/StatusEffectRegistryRemapper.java b/legacy-fabric-registry-sync-api-v1/common/src/main/java/net/legacyfabric/fabric/impl/registry/sync/remappers/StatusEffectRegistryRemapper.java similarity index 100% rename from common/legacy-fabric-registry-sync-api-v1-common/src/main/java/net/legacyfabric/fabric/impl/registry/sync/remappers/StatusEffectRegistryRemapper.java rename to legacy-fabric-registry-sync-api-v1/common/src/main/java/net/legacyfabric/fabric/impl/registry/sync/remappers/StatusEffectRegistryRemapper.java diff --git a/common/legacy-fabric-registry-sync-api-v1-common/src/main/java/net/legacyfabric/fabric/impl/registry/util/ArrayAndMapBasedRegistry.java b/legacy-fabric-registry-sync-api-v1/common/src/main/java/net/legacyfabric/fabric/impl/registry/util/ArrayAndMapBasedRegistry.java similarity index 100% rename from common/legacy-fabric-registry-sync-api-v1-common/src/main/java/net/legacyfabric/fabric/impl/registry/util/ArrayAndMapBasedRegistry.java rename to legacy-fabric-registry-sync-api-v1/common/src/main/java/net/legacyfabric/fabric/impl/registry/util/ArrayAndMapBasedRegistry.java diff --git a/common/legacy-fabric-registry-sync-api-v1-common/src/main/java/net/legacyfabric/fabric/impl/registry/util/ArrayBasedRegistry.java b/legacy-fabric-registry-sync-api-v1/common/src/main/java/net/legacyfabric/fabric/impl/registry/util/ArrayBasedRegistry.java similarity index 100% rename from common/legacy-fabric-registry-sync-api-v1-common/src/main/java/net/legacyfabric/fabric/impl/registry/util/ArrayBasedRegistry.java rename to legacy-fabric-registry-sync-api-v1/common/src/main/java/net/legacyfabric/fabric/impl/registry/util/ArrayBasedRegistry.java diff --git a/common/legacy-fabric-registry-sync-api-v1-common/src/main/java/net/legacyfabric/fabric/impl/registry/util/MapBasedRegistry.java b/legacy-fabric-registry-sync-api-v1/common/src/main/java/net/legacyfabric/fabric/impl/registry/util/MapBasedRegistry.java similarity index 100% rename from common/legacy-fabric-registry-sync-api-v1-common/src/main/java/net/legacyfabric/fabric/impl/registry/util/MapBasedRegistry.java rename to legacy-fabric-registry-sync-api-v1/common/src/main/java/net/legacyfabric/fabric/impl/registry/util/MapBasedRegistry.java diff --git a/common/legacy-fabric-registry-sync-api-v1-common/src/main/java/net/legacyfabric/fabric/impl/registry/util/OldRemappedRegistry.java b/legacy-fabric-registry-sync-api-v1/common/src/main/java/net/legacyfabric/fabric/impl/registry/util/OldRemappedRegistry.java similarity index 100% rename from common/legacy-fabric-registry-sync-api-v1-common/src/main/java/net/legacyfabric/fabric/impl/registry/util/OldRemappedRegistry.java rename to legacy-fabric-registry-sync-api-v1/common/src/main/java/net/legacyfabric/fabric/impl/registry/util/OldRemappedRegistry.java diff --git a/common/legacy-fabric-registry-sync-api-v1-common/src/main/java/net/legacyfabric/fabric/impl/registry/util/RegistryEventsHolder.java b/legacy-fabric-registry-sync-api-v1/common/src/main/java/net/legacyfabric/fabric/impl/registry/util/RegistryEventsHolder.java similarity index 100% rename from common/legacy-fabric-registry-sync-api-v1-common/src/main/java/net/legacyfabric/fabric/impl/registry/util/RegistryEventsHolder.java rename to legacy-fabric-registry-sync-api-v1/common/src/main/java/net/legacyfabric/fabric/impl/registry/util/RegistryEventsHolder.java diff --git a/common/legacy-fabric-registry-sync-api-v1-common/src/main/java/net/legacyfabric/fabric/impl/registry/util/VanillaLikeRegistry.java b/legacy-fabric-registry-sync-api-v1/common/src/main/java/net/legacyfabric/fabric/impl/registry/util/VanillaLikeRegistry.java similarity index 100% rename from common/legacy-fabric-registry-sync-api-v1-common/src/main/java/net/legacyfabric/fabric/impl/registry/util/VanillaLikeRegistry.java rename to legacy-fabric-registry-sync-api-v1/common/src/main/java/net/legacyfabric/fabric/impl/registry/util/VanillaLikeRegistry.java diff --git a/common/legacy-fabric-registry-sync-api-v1-common/src/main/java/net/legacyfabric/fabric/mixin/registry/sync/IdListMixin.java b/legacy-fabric-registry-sync-api-v1/common/src/main/java/net/legacyfabric/fabric/mixin/registry/sync/IdListMixin.java similarity index 100% rename from common/legacy-fabric-registry-sync-api-v1-common/src/main/java/net/legacyfabric/fabric/mixin/registry/sync/IdListMixin.java rename to legacy-fabric-registry-sync-api-v1/common/src/main/java/net/legacyfabric/fabric/mixin/registry/sync/IdListMixin.java diff --git a/common/legacy-fabric-registry-sync-api-v1-common/src/main/java/net/legacyfabric/fabric/mixin/registry/sync/MinecraftServerMixin.java b/legacy-fabric-registry-sync-api-v1/common/src/main/java/net/legacyfabric/fabric/mixin/registry/sync/MinecraftServerMixin.java similarity index 100% rename from common/legacy-fabric-registry-sync-api-v1-common/src/main/java/net/legacyfabric/fabric/mixin/registry/sync/MinecraftServerMixin.java rename to legacy-fabric-registry-sync-api-v1/common/src/main/java/net/legacyfabric/fabric/mixin/registry/sync/MinecraftServerMixin.java diff --git a/common/legacy-fabric-registry-sync-api-v1-common/src/main/java/net/legacyfabric/fabric/mixin/registry/sync/WorldSaveHandlerMixin.java b/legacy-fabric-registry-sync-api-v1/common/src/main/java/net/legacyfabric/fabric/mixin/registry/sync/WorldSaveHandlerMixin.java similarity index 100% rename from common/legacy-fabric-registry-sync-api-v1-common/src/main/java/net/legacyfabric/fabric/mixin/registry/sync/WorldSaveHandlerMixin.java rename to legacy-fabric-registry-sync-api-v1/common/src/main/java/net/legacyfabric/fabric/mixin/registry/sync/WorldSaveHandlerMixin.java diff --git a/common/legacy-fabric-registry-sync-api-v1-common/src/main/java/net/legacyfabric/fabric/mixin/registry/sync/client/MinecraftClientMixin.java b/legacy-fabric-registry-sync-api-v1/common/src/main/java/net/legacyfabric/fabric/mixin/registry/sync/client/MinecraftClientMixin.java similarity index 100% rename from common/legacy-fabric-registry-sync-api-v1-common/src/main/java/net/legacyfabric/fabric/mixin/registry/sync/client/MinecraftClientMixin.java rename to legacy-fabric-registry-sync-api-v1/common/src/main/java/net/legacyfabric/fabric/mixin/registry/sync/client/MinecraftClientMixin.java diff --git a/common/legacy-fabric-registry-sync-api-v1-common/src/main/java/net/legacyfabric/fabric/mixin/registry/sync/registry/BiomeMixin.java b/legacy-fabric-registry-sync-api-v1/common/src/main/java/net/legacyfabric/fabric/mixin/registry/sync/registry/BiomeMixin.java similarity index 100% rename from common/legacy-fabric-registry-sync-api-v1-common/src/main/java/net/legacyfabric/fabric/mixin/registry/sync/registry/BiomeMixin.java rename to legacy-fabric-registry-sync-api-v1/common/src/main/java/net/legacyfabric/fabric/mixin/registry/sync/registry/BiomeMixin.java diff --git a/common/legacy-fabric-registry-sync-api-v1-common/src/main/java/net/legacyfabric/fabric/mixin/registry/sync/registry/BlockEntityMixin.java b/legacy-fabric-registry-sync-api-v1/common/src/main/java/net/legacyfabric/fabric/mixin/registry/sync/registry/BlockEntityMixin.java similarity index 100% rename from common/legacy-fabric-registry-sync-api-v1-common/src/main/java/net/legacyfabric/fabric/mixin/registry/sync/registry/BlockEntityMixin.java rename to legacy-fabric-registry-sync-api-v1/common/src/main/java/net/legacyfabric/fabric/mixin/registry/sync/registry/BlockEntityMixin.java diff --git a/common/legacy-fabric-registry-sync-api-v1-common/src/main/java/net/legacyfabric/fabric/mixin/registry/sync/registry/BlockMixin.java b/legacy-fabric-registry-sync-api-v1/common/src/main/java/net/legacyfabric/fabric/mixin/registry/sync/registry/BlockMixin.java similarity index 100% rename from common/legacy-fabric-registry-sync-api-v1-common/src/main/java/net/legacyfabric/fabric/mixin/registry/sync/registry/BlockMixin.java rename to legacy-fabric-registry-sync-api-v1/common/src/main/java/net/legacyfabric/fabric/mixin/registry/sync/registry/BlockMixin.java diff --git a/common/legacy-fabric-registry-sync-api-v1-common/src/main/java/net/legacyfabric/fabric/mixin/registry/sync/registry/EnchantmentMixin.java b/legacy-fabric-registry-sync-api-v1/common/src/main/java/net/legacyfabric/fabric/mixin/registry/sync/registry/EnchantmentMixin.java similarity index 100% rename from common/legacy-fabric-registry-sync-api-v1-common/src/main/java/net/legacyfabric/fabric/mixin/registry/sync/registry/EnchantmentMixin.java rename to legacy-fabric-registry-sync-api-v1/common/src/main/java/net/legacyfabric/fabric/mixin/registry/sync/registry/EnchantmentMixin.java diff --git a/common/legacy-fabric-registry-sync-api-v1-common/src/main/java/net/legacyfabric/fabric/mixin/registry/sync/registry/EntityTypeMixin.java b/legacy-fabric-registry-sync-api-v1/common/src/main/java/net/legacyfabric/fabric/mixin/registry/sync/registry/EntityTypeMixin.java similarity index 100% rename from common/legacy-fabric-registry-sync-api-v1-common/src/main/java/net/legacyfabric/fabric/mixin/registry/sync/registry/EntityTypeMixin.java rename to legacy-fabric-registry-sync-api-v1/common/src/main/java/net/legacyfabric/fabric/mixin/registry/sync/registry/EntityTypeMixin.java diff --git a/common/legacy-fabric-registry-sync-api-v1-common/src/main/java/net/legacyfabric/fabric/mixin/registry/sync/registry/ItemMixin.java b/legacy-fabric-registry-sync-api-v1/common/src/main/java/net/legacyfabric/fabric/mixin/registry/sync/registry/ItemMixin.java similarity index 100% rename from common/legacy-fabric-registry-sync-api-v1-common/src/main/java/net/legacyfabric/fabric/mixin/registry/sync/registry/ItemMixin.java rename to legacy-fabric-registry-sync-api-v1/common/src/main/java/net/legacyfabric/fabric/mixin/registry/sync/registry/ItemMixin.java diff --git a/common/legacy-fabric-registry-sync-api-v1-common/src/main/java/net/legacyfabric/fabric/mixin/registry/sync/registry/StatusEffectMixin.java b/legacy-fabric-registry-sync-api-v1/common/src/main/java/net/legacyfabric/fabric/mixin/registry/sync/registry/StatusEffectMixin.java similarity index 100% rename from common/legacy-fabric-registry-sync-api-v1-common/src/main/java/net/legacyfabric/fabric/mixin/registry/sync/registry/StatusEffectMixin.java rename to legacy-fabric-registry-sync-api-v1/common/src/main/java/net/legacyfabric/fabric/mixin/registry/sync/registry/StatusEffectMixin.java diff --git a/common/legacy-fabric-registry-sync-api-v1-common/src/main/resources/assets/legacy-fabric/icon.png b/legacy-fabric-registry-sync-api-v1/common/src/main/resources/assets/legacy-fabric/icon.png similarity index 100% rename from common/legacy-fabric-registry-sync-api-v1-common/src/main/resources/assets/legacy-fabric/icon.png rename to legacy-fabric-registry-sync-api-v1/common/src/main/resources/assets/legacy-fabric/icon.png diff --git a/common/legacy-fabric-registry-sync-api-v1-common/src/main/resources/fabric.mod.json b/legacy-fabric-registry-sync-api-v1/common/src/main/resources/fabric.mod.json similarity index 100% rename from common/legacy-fabric-registry-sync-api-v1-common/src/main/resources/fabric.mod.json rename to legacy-fabric-registry-sync-api-v1/common/src/main/resources/fabric.mod.json diff --git a/common/legacy-fabric-registry-sync-api-v1-common/src/main/resources/legacy-fabric-registry-sync-api-v1-common.mixins.json b/legacy-fabric-registry-sync-api-v1/common/src/main/resources/legacy-fabric-registry-sync-api-v1-common.mixins.json similarity index 100% rename from common/legacy-fabric-registry-sync-api-v1-common/src/main/resources/legacy-fabric-registry-sync-api-v1-common.mixins.json rename to legacy-fabric-registry-sync-api-v1/common/src/main/resources/legacy-fabric-registry-sync-api-v1-common.mixins.json diff --git a/common/legacy-fabric-registry-sync-api-v1-common/src/testmod/resources/assets/legacy-fabric-api/models/item/test_item.json b/legacy-fabric-registry-sync-api-v1/common/src/testmod/resources/assets/legacy-fabric-api/models/item/test_item.json similarity index 100% rename from common/legacy-fabric-registry-sync-api-v1-common/src/testmod/resources/assets/legacy-fabric-api/models/item/test_item.json rename to legacy-fabric-registry-sync-api-v1/common/src/testmod/resources/assets/legacy-fabric-api/models/item/test_item.json diff --git a/common/legacy-fabric-registry-sync-api-v1-common/src/testmod/resources/assets/legacy-fabric-api/textures/items/test_item.png b/legacy-fabric-registry-sync-api-v1/common/src/testmod/resources/assets/legacy-fabric-api/textures/items/test_item.png similarity index 100% rename from common/legacy-fabric-registry-sync-api-v1-common/src/testmod/resources/assets/legacy-fabric-api/textures/items/test_item.png rename to legacy-fabric-registry-sync-api-v1/common/src/testmod/resources/assets/legacy-fabric-api/textures/items/test_item.png diff --git a/common/legacy-fabric-registry-sync-api-v1-common/src/testmod/resources/fabric.mod.json b/legacy-fabric-registry-sync-api-v1/common/src/testmod/resources/fabric.mod.json similarity index 83% rename from common/legacy-fabric-registry-sync-api-v1-common/src/testmod/resources/fabric.mod.json rename to legacy-fabric-registry-sync-api-v1/common/src/testmod/resources/fabric.mod.json index 4896a5495..55fab3b5e 100644 --- a/common/legacy-fabric-registry-sync-api-v1-common/src/testmod/resources/fabric.mod.json +++ b/legacy-fabric-registry-sync-api-v1/common/src/testmod/resources/fabric.mod.json @@ -7,6 +7,6 @@ "main": [] }, "depends": { - "minecraft": ">=1.7" + "minecraft": "${minecraft_version}" } } diff --git a/settings.gradle b/settings.gradle index 814910d87..c24f27226 100644 --- a/settings.gradle +++ b/settings.gradle @@ -36,6 +36,7 @@ loadProject("legacy-fabric-item-groups-v1") loadProject("legacy-fabric-keybindings-api-v1") loadProject("legacy-fabric-networking-api-v1") loadProject("legacy-fabric-permissions-api-v1") +loadProject("legacy-fabric-registry-sync-api-v1") //include("common") //include("common:legacy-fabric-logger-api-v1") From f1ebfd419c167f7a6f511a2f5bf351f6e1153d5d Mon Sep 17 00:00:00 2001 From: Cat Core Date: Thu, 8 Feb 2024 11:41:45 +0100 Subject: [PATCH 16/27] Port legacy-fabric-rendering-api-v1 --- .../build.gradle | 8 -- .../build.gradle | 7 -- .../1.7.10/build.gradle | 0 .../1.7.10/gradle.properties | 2 + .../rendering/v1/EntityRendererRegistry.java | 98 ++++++++++++++++++ ...tyFeatureRendererRegistrationCallback.java | 62 +++++++++++ .../EntityRenderDispatcherMixin.java | 62 +++++++++++ .../client/rendering/InGameHudMixin.java | 43 ++++++++ .../client/rendering/ItemRendererMixin.java | 36 +++++++ .../resources/assets/legacy-fabric/icon.png | Bin .../src/main/resources/fabric.mod.json | 2 +- ...legacy-fabric-rendering-api-v1.mixins.json | 13 +++ .../client/rendering/RenderingEventsTest.java | 0 .../assets/legacy-fabric-api/lang/en_us.json | 0 .../src/testmod/resources/fabric.mod.json | 14 +++ .../1.8.9/build.gradle | 0 .../1.8.9/gradle.properties | 2 + .../rendering/v1/EntityRendererRegistry.java | 0 ...tyFeatureRendererRegistrationCallback.java | 0 .../rendering/RegistrationHelperImpl.java | 0 .../EntityRenderDispatcherMixin.java | 0 .../client/rendering/InGameHudMixin.java | 0 .../client/rendering/ItemRendererMixin.java | 0 .../LivingEntityRendererAccessor.java | 0 .../resources/assets/legacy-fabric/icon.png | Bin .../1.8.9/src/main/resources/fabric.mod.json | 37 +++++++ ...legacy-fabric-rendering-api-v1.mixins.json | 0 .../client/rendering/ModelFeatureTest.java | 0 .../client/rendering/RenderingEventsTest.java | 43 ++++++++ .../assets/legacy-fabric-api/lang/en_us.json | 4 + .../src/testmod/resources/fabric.mod.json | 2 +- legacy-fabric-rendering-api-v1/common.gradle | 3 + .../common/build.gradle | 0 .../common/gradle.properties | 2 + .../v1/BlockEntityRendererRegistry.java | 0 .../v1/BuiltinItemRendererRegistry.java | 0 .../rendering/v1/HudRenderCallback.java | 0 .../v1/InvalidateRenderStateCallback.java | 0 .../BlockEntityRendererRegistryImpl.java | 0 .../BuiltinItemRendererRegistryImpl.java | 0 .../BlockEntityRenderDispatcherMixin.java | 0 .../client/rendering/WorldRendererMixin.java | 0 .../resources/assets/legacy-fabric/icon.png | Bin 0 -> 1579 bytes .../src/main/resources/fabric.mod.json | 2 +- ...fabric-rendering-api-v1-common.mixins.json | 0 settings.gradle | 1 + 46 files changed, 425 insertions(+), 18 deletions(-) delete mode 100644 1.8.9/legacy-fabric-rendering-api-v1/build.gradle delete mode 100644 common/legacy-fabric-rendering-api-v1-common/build.gradle create mode 100644 legacy-fabric-rendering-api-v1/1.7.10/build.gradle create mode 100644 legacy-fabric-rendering-api-v1/1.7.10/gradle.properties create mode 100644 legacy-fabric-rendering-api-v1/1.7.10/src/main/java/net/legacyfabric/fabric/api/client/rendering/v1/EntityRendererRegistry.java create mode 100644 legacy-fabric-rendering-api-v1/1.7.10/src/main/java/net/legacyfabric/fabric/api/client/rendering/v1/LivingEntityFeatureRendererRegistrationCallback.java create mode 100644 legacy-fabric-rendering-api-v1/1.7.10/src/main/java/net/legacyfabric/fabric/mixin/client/rendering/EntityRenderDispatcherMixin.java create mode 100644 legacy-fabric-rendering-api-v1/1.7.10/src/main/java/net/legacyfabric/fabric/mixin/client/rendering/InGameHudMixin.java create mode 100644 legacy-fabric-rendering-api-v1/1.7.10/src/main/java/net/legacyfabric/fabric/mixin/client/rendering/ItemRendererMixin.java rename {1.8.9/legacy-fabric-rendering-api-v1 => legacy-fabric-rendering-api-v1/1.7.10}/src/main/resources/assets/legacy-fabric/icon.png (100%) rename {1.8.9/legacy-fabric-rendering-api-v1 => legacy-fabric-rendering-api-v1/1.7.10}/src/main/resources/fabric.mod.json (96%) create mode 100644 legacy-fabric-rendering-api-v1/1.7.10/src/main/resources/legacy-fabric-rendering-api-v1.mixins.json rename {1.8.9/legacy-fabric-rendering-api-v1 => legacy-fabric-rendering-api-v1/1.7.10}/src/testmod/java/net/legacyfabric/fabric/test/client/rendering/RenderingEventsTest.java (100%) rename {1.8.9/legacy-fabric-rendering-api-v1 => legacy-fabric-rendering-api-v1/1.7.10}/src/testmod/resources/assets/legacy-fabric-api/lang/en_us.json (100%) create mode 100644 legacy-fabric-rendering-api-v1/1.7.10/src/testmod/resources/fabric.mod.json create mode 100644 legacy-fabric-rendering-api-v1/1.8.9/build.gradle create mode 100644 legacy-fabric-rendering-api-v1/1.8.9/gradle.properties rename {1.8.9/legacy-fabric-rendering-api-v1 => legacy-fabric-rendering-api-v1/1.8.9}/src/main/java/net/legacyfabric/fabric/api/client/rendering/v1/EntityRendererRegistry.java (100%) rename {1.8.9/legacy-fabric-rendering-api-v1 => legacy-fabric-rendering-api-v1/1.8.9}/src/main/java/net/legacyfabric/fabric/api/client/rendering/v1/LivingEntityFeatureRendererRegistrationCallback.java (100%) rename {1.8.9/legacy-fabric-rendering-api-v1 => legacy-fabric-rendering-api-v1/1.8.9}/src/main/java/net/legacyfabric/fabric/impl/client/rendering/RegistrationHelperImpl.java (100%) rename {1.8.9/legacy-fabric-rendering-api-v1 => legacy-fabric-rendering-api-v1/1.8.9}/src/main/java/net/legacyfabric/fabric/mixin/client/rendering/EntityRenderDispatcherMixin.java (100%) rename {1.8.9/legacy-fabric-rendering-api-v1 => legacy-fabric-rendering-api-v1/1.8.9}/src/main/java/net/legacyfabric/fabric/mixin/client/rendering/InGameHudMixin.java (100%) rename {1.8.9/legacy-fabric-rendering-api-v1 => legacy-fabric-rendering-api-v1/1.8.9}/src/main/java/net/legacyfabric/fabric/mixin/client/rendering/ItemRendererMixin.java (100%) rename {1.8.9/legacy-fabric-rendering-api-v1 => legacy-fabric-rendering-api-v1/1.8.9}/src/main/java/net/legacyfabric/fabric/mixin/client/rendering/LivingEntityRendererAccessor.java (100%) rename {common/legacy-fabric-rendering-api-v1-common => legacy-fabric-rendering-api-v1/1.8.9}/src/main/resources/assets/legacy-fabric/icon.png (100%) create mode 100644 legacy-fabric-rendering-api-v1/1.8.9/src/main/resources/fabric.mod.json rename {1.8.9/legacy-fabric-rendering-api-v1 => legacy-fabric-rendering-api-v1/1.8.9}/src/main/resources/legacy-fabric-rendering-api-v1.mixins.json (100%) rename {1.8.9/legacy-fabric-rendering-api-v1 => legacy-fabric-rendering-api-v1/1.8.9}/src/testmod/java/net/legacyfabric/fabric/test/client/rendering/ModelFeatureTest.java (100%) create mode 100644 legacy-fabric-rendering-api-v1/1.8.9/src/testmod/java/net/legacyfabric/fabric/test/client/rendering/RenderingEventsTest.java create mode 100644 legacy-fabric-rendering-api-v1/1.8.9/src/testmod/resources/assets/legacy-fabric-api/lang/en_us.json rename {1.8.9/legacy-fabric-rendering-api-v1 => legacy-fabric-rendering-api-v1/1.8.9}/src/testmod/resources/fabric.mod.json (89%) create mode 100644 legacy-fabric-rendering-api-v1/common.gradle create mode 100644 legacy-fabric-rendering-api-v1/common/build.gradle create mode 100644 legacy-fabric-rendering-api-v1/common/gradle.properties rename {common/legacy-fabric-rendering-api-v1-common => legacy-fabric-rendering-api-v1/common}/src/main/java/net/legacyfabric/fabric/api/client/rendering/v1/BlockEntityRendererRegistry.java (100%) rename {common/legacy-fabric-rendering-api-v1-common => legacy-fabric-rendering-api-v1/common}/src/main/java/net/legacyfabric/fabric/api/client/rendering/v1/BuiltinItemRendererRegistry.java (100%) rename {common/legacy-fabric-rendering-api-v1-common => legacy-fabric-rendering-api-v1/common}/src/main/java/net/legacyfabric/fabric/api/client/rendering/v1/HudRenderCallback.java (100%) rename {common/legacy-fabric-rendering-api-v1-common => legacy-fabric-rendering-api-v1/common}/src/main/java/net/legacyfabric/fabric/api/client/rendering/v1/InvalidateRenderStateCallback.java (100%) rename {common/legacy-fabric-rendering-api-v1-common => legacy-fabric-rendering-api-v1/common}/src/main/java/net/legacyfabric/fabric/impl/client/rendering/BlockEntityRendererRegistryImpl.java (100%) rename {common/legacy-fabric-rendering-api-v1-common => legacy-fabric-rendering-api-v1/common}/src/main/java/net/legacyfabric/fabric/impl/client/rendering/BuiltinItemRendererRegistryImpl.java (100%) rename {common/legacy-fabric-rendering-api-v1-common => legacy-fabric-rendering-api-v1/common}/src/main/java/net/legacyfabric/fabric/mixin/client/rendering/BlockEntityRenderDispatcherMixin.java (100%) rename {common/legacy-fabric-rendering-api-v1-common => legacy-fabric-rendering-api-v1/common}/src/main/java/net/legacyfabric/fabric/mixin/client/rendering/WorldRendererMixin.java (100%) create mode 100644 legacy-fabric-rendering-api-v1/common/src/main/resources/assets/legacy-fabric/icon.png rename {common/legacy-fabric-rendering-api-v1-common => legacy-fabric-rendering-api-v1/common}/src/main/resources/fabric.mod.json (96%) rename {common/legacy-fabric-rendering-api-v1-common => legacy-fabric-rendering-api-v1/common}/src/main/resources/legacy-fabric-rendering-api-v1-common.mixins.json (100%) diff --git a/1.8.9/legacy-fabric-rendering-api-v1/build.gradle b/1.8.9/legacy-fabric-rendering-api-v1/build.gradle deleted file mode 100644 index 2cc311417..000000000 --- a/1.8.9/legacy-fabric-rendering-api-v1/build.gradle +++ /dev/null @@ -1,8 +0,0 @@ -version = getSubprojectVersion(project) - -moduleDependencies(project, [ - "common": [ - "legacy-fabric-api-base-common", - "legacy-fabric-rendering-api-v1-common" - ] -]) diff --git a/common/legacy-fabric-rendering-api-v1-common/build.gradle b/common/legacy-fabric-rendering-api-v1-common/build.gradle deleted file mode 100644 index 3ca3a9171..000000000 --- a/common/legacy-fabric-rendering-api-v1-common/build.gradle +++ /dev/null @@ -1,7 +0,0 @@ -version = getSubprojectVersion(project) - -moduleDependencies(project, [ - "common": [ - "legacy-fabric-api-base-common" - ] -]) diff --git a/legacy-fabric-rendering-api-v1/1.7.10/build.gradle b/legacy-fabric-rendering-api-v1/1.7.10/build.gradle new file mode 100644 index 000000000..e69de29bb diff --git a/legacy-fabric-rendering-api-v1/1.7.10/gradle.properties b/legacy-fabric-rendering-api-v1/1.7.10/gradle.properties new file mode 100644 index 000000000..c6dcd9541 --- /dev/null +++ b/legacy-fabric-rendering-api-v1/1.7.10/gradle.properties @@ -0,0 +1,2 @@ +minVersionIncluded=1.3 +maxVersionIncluded=1.7.10 diff --git a/legacy-fabric-rendering-api-v1/1.7.10/src/main/java/net/legacyfabric/fabric/api/client/rendering/v1/EntityRendererRegistry.java b/legacy-fabric-rendering-api-v1/1.7.10/src/main/java/net/legacyfabric/fabric/api/client/rendering/v1/EntityRendererRegistry.java new file mode 100644 index 000000000..bc4b62f9c --- /dev/null +++ b/legacy-fabric-rendering-api-v1/1.7.10/src/main/java/net/legacyfabric/fabric/api/client/rendering/v1/EntityRendererRegistry.java @@ -0,0 +1,98 @@ +/* + * Copyright (c) 2020 - 2022 Legacy Fabric + * Copyright (c) 2016 - 2022 FabricMC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package net.legacyfabric.fabric.api.client.rendering.v1; + +import java.util.HashMap; +import java.util.Map; +import java.util.WeakHashMap; + +import net.minecraft.client.render.entity.EntityRenderDispatcher; +import net.minecraft.client.render.entity.EntityRenderer; +import net.minecraft.client.render.item.ItemRenderer; +import net.minecraft.client.texture.TextureManager; +import net.minecraft.entity.Entity; +import net.minecraft.resource.ResourceManager; + +/** + * Helper class for registering EntityRenderers. + */ +public class EntityRendererRegistry { + @FunctionalInterface + public interface Factory { + EntityRenderer create(EntityRenderDispatcher manager, Context context); + } + + public static final class Context { + private final TextureManager textureManager; + private final ResourceManager resourceManager; + private final ItemRenderer itemRenderer; + private final Map, EntityRenderer> rendererMap; + + private Context(TextureManager textureManager, ResourceManager resourceManager, ItemRenderer itemRenderer, Map, EntityRenderer> rendererMap) { + this.textureManager = textureManager; + this.resourceManager = resourceManager; + this.itemRenderer = itemRenderer; + this.rendererMap = rendererMap; + } + + public TextureManager getTextureManager() { + return textureManager; + } + + public ResourceManager getResourceManager() { + return resourceManager; + } + + public ItemRenderer getItemRenderer() { + return itemRenderer; + } + } + + public static final EntityRendererRegistry INSTANCE = new EntityRendererRegistry(); + private final Map renderManagerMap = new WeakHashMap<>(); + private final Map, Factory> renderSupplierMap = new HashMap<>(); + + private EntityRendererRegistry() { + } + + public void initialize(EntityRenderDispatcher manager, TextureManager textureManager, ResourceManager resourceManager, ItemRenderer itemRenderer, Map, EntityRenderer> renderers) { + synchronized (renderSupplierMap) { + if (renderManagerMap.containsKey(manager)) { + return; + } + + Context context = new Context(textureManager, resourceManager, itemRenderer, renderers); + renderManagerMap.put(manager, context); + + for (Class c : renderSupplierMap.keySet()) { + renderers.put(c, renderSupplierMap.get(c).create(manager, context)); + } + } + } + + public void register(Class entityClass, Factory factory) { + synchronized (renderSupplierMap) { + // TODO: warn on duplicate + renderSupplierMap.put(entityClass, factory); + + for (EntityRenderDispatcher manager : renderManagerMap.keySet()) { + renderManagerMap.get(manager).rendererMap.put(entityClass, factory.create(manager, renderManagerMap.get(manager))); + } + } + } +} diff --git a/legacy-fabric-rendering-api-v1/1.7.10/src/main/java/net/legacyfabric/fabric/api/client/rendering/v1/LivingEntityFeatureRendererRegistrationCallback.java b/legacy-fabric-rendering-api-v1/1.7.10/src/main/java/net/legacyfabric/fabric/api/client/rendering/v1/LivingEntityFeatureRendererRegistrationCallback.java new file mode 100644 index 000000000..195c4d997 --- /dev/null +++ b/legacy-fabric-rendering-api-v1/1.7.10/src/main/java/net/legacyfabric/fabric/api/client/rendering/v1/LivingEntityFeatureRendererRegistrationCallback.java @@ -0,0 +1,62 @@ +/* + * Copyright (c) 2020 - 2022 Legacy Fabric + * Copyright (c) 2016 - 2022 FabricMC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package net.legacyfabric.fabric.api.client.rendering.v1; + +import net.minecraft.client.render.entity.LivingEntityRenderer; +import net.minecraft.entity.LivingEntity; + +import net.fabricmc.api.EnvType; +import net.fabricmc.api.Environment; + +import net.legacyfabric.fabric.api.event.Event; +import net.legacyfabric.fabric.api.event.EventFactory; + +/** + * Called when {NOT_IN_1_7 feature renderers} for a {@link LivingEntityRenderer living entity renderer} are registered. + * + *

Feature renderers are typically used for rendering additional objects on an entity, such as armor, an elytra or {@link UNKNOWN Deadmau5's ears}. + * This callback lets developers add additional feature renderers for use in entity rendering. + * Listeners should filter out the specific entity renderer they want to hook into, usually through {@code instanceof} checks or filtering by entity type. + * Once listeners find a suitable entity renderer, they should register their feature renderer via the registration helper. + * + *

For example, to register a feature renderer for a player model, the example below may used: + *

+ * LivingEntityFeatureRendererRegistrationCallback.EVENT.register((entityType, entityRenderer, registrationHelper) -> {
+ * 	if (entityRenderer instanceof PlayerEntityModel) {
+ * 		registrationHelper.register(new MyFeatureRenderer((PlayerEntityModel) entityRenderer));
+ *    }
+ * });
+ * 
+ */ +@FunctionalInterface +@Environment(EnvType.CLIENT) +public interface LivingEntityFeatureRendererRegistrationCallback { + Event EVENT = EventFactory.createArrayBacked(LivingEntityFeatureRendererRegistrationCallback.class, callbacks -> (entityClass, entityRenderer) -> { + for (LivingEntityFeatureRendererRegistrationCallback callback : callbacks) { + callback.registerRenderers(entityClass, entityRenderer); + } + }); + + /** + * Called when feature renderers may be registered. + * + * @param entityClass the entity class + * @param entityRenderer the entity renderer + */ + void registerRenderers(Class entityClass, LivingEntityRenderer entityRenderer); +} diff --git a/legacy-fabric-rendering-api-v1/1.7.10/src/main/java/net/legacyfabric/fabric/mixin/client/rendering/EntityRenderDispatcherMixin.java b/legacy-fabric-rendering-api-v1/1.7.10/src/main/java/net/legacyfabric/fabric/mixin/client/rendering/EntityRenderDispatcherMixin.java new file mode 100644 index 000000000..df5946748 --- /dev/null +++ b/legacy-fabric-rendering-api-v1/1.7.10/src/main/java/net/legacyfabric/fabric/mixin/client/rendering/EntityRenderDispatcherMixin.java @@ -0,0 +1,62 @@ +/* + * Copyright (c) 2020 - 2022 Legacy Fabric + * Copyright (c) 2016 - 2022 FabricMC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package net.legacyfabric.fabric.mixin.client.rendering; + +import java.util.Map; + +import org.spongepowered.asm.mixin.Mixin; +import org.spongepowered.asm.mixin.Shadow; +import org.spongepowered.asm.mixin.injection.At; +import org.spongepowered.asm.mixin.injection.Inject; +import org.spongepowered.asm.mixin.injection.callback.CallbackInfo; + +import net.minecraft.client.MinecraftClient; +import net.minecraft.client.render.entity.EntityRenderDispatcher; +import net.minecraft.client.render.entity.EntityRenderer; +import net.minecraft.client.render.entity.LivingEntityRenderer; +import net.minecraft.client.render.item.ItemRenderer; +import net.minecraft.client.texture.TextureManager; +import net.minecraft.entity.Entity; +import net.minecraft.entity.LivingEntity; + +import net.legacyfabric.fabric.api.client.rendering.v1.EntityRendererRegistry; +import net.legacyfabric.fabric.api.client.rendering.v1.LivingEntityFeatureRendererRegistrationCallback; + +@Mixin(EntityRenderDispatcher.class) +public abstract class EntityRenderDispatcherMixin { + @Shadow + private Map, EntityRenderer> renderers; + @Shadow + public TextureManager textureManager; + //TODO: Make this something more useful. + private ItemRenderer itemRenderer = new ItemRenderer(); + + @SuppressWarnings({"unchecked", "rawtypes"}) + @Inject(method = "", at = @At("TAIL")) + private void afterRegisterRenderers(CallbackInfo ci) { + final EntityRenderDispatcher me = (EntityRenderDispatcher) (Object) this; + EntityRendererRegistry.INSTANCE.initialize(me, this.textureManager, MinecraftClient.getInstance().getResourceManager(), itemRenderer, renderers); + + for (Map.Entry, EntityRenderer> entry : this.renderers.entrySet()) { + if (entry.getValue() instanceof LivingEntityRenderer) { + /**"Features" are built into the entity renderer in versions < 1.8.*/ + LivingEntityFeatureRendererRegistrationCallback.EVENT.invoker().registerRenderers((Class) entry.getKey(), (LivingEntityRenderer) entry.getValue()); + } + } + } +} diff --git a/legacy-fabric-rendering-api-v1/1.7.10/src/main/java/net/legacyfabric/fabric/mixin/client/rendering/InGameHudMixin.java b/legacy-fabric-rendering-api-v1/1.7.10/src/main/java/net/legacyfabric/fabric/mixin/client/rendering/InGameHudMixin.java new file mode 100644 index 000000000..dd10e8f05 --- /dev/null +++ b/legacy-fabric-rendering-api-v1/1.7.10/src/main/java/net/legacyfabric/fabric/mixin/client/rendering/InGameHudMixin.java @@ -0,0 +1,43 @@ +/* + * Copyright (c) 2020 - 2022 Legacy Fabric + * Copyright (c) 2016 - 2022 FabricMC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package net.legacyfabric.fabric.mixin.client.rendering; + +import org.spongepowered.asm.mixin.Final; +import org.spongepowered.asm.mixin.Mixin; +import org.spongepowered.asm.mixin.Shadow; +import org.spongepowered.asm.mixin.injection.At; +import org.spongepowered.asm.mixin.injection.Inject; +import org.spongepowered.asm.mixin.injection.Slice; +import org.spongepowered.asm.mixin.injection.callback.CallbackInfo; + +import net.minecraft.client.MinecraftClient; +import net.minecraft.client.gui.hud.InGameHud; + +import net.legacyfabric.fabric.api.client.rendering.v1.HudRenderCallback; + +@Mixin(InGameHud.class) +public class InGameHudMixin { + @Shadow + @Final + private MinecraftClient client; + + @Inject(method = "method_979", at = @At(value = "INVOKE", target = "Lorg/lwjgl/opengl/GL11;glColor4f(FFFF)V", remap = false), slice = @Slice(from = @At(value = "INVOKE", target = "Lnet/minecraft/client/gui/hud/ChatHud;render(I)V"))) + public void render(float bl, boolean i, int j, int par4, CallbackInfo ci) { + HudRenderCallback.EVENT.invoker().onHudRender(this.client, bl); + } +} diff --git a/legacy-fabric-rendering-api-v1/1.7.10/src/main/java/net/legacyfabric/fabric/mixin/client/rendering/ItemRendererMixin.java b/legacy-fabric-rendering-api-v1/1.7.10/src/main/java/net/legacyfabric/fabric/mixin/client/rendering/ItemRendererMixin.java new file mode 100644 index 000000000..30b1bb17d --- /dev/null +++ b/legacy-fabric-rendering-api-v1/1.7.10/src/main/java/net/legacyfabric/fabric/mixin/client/rendering/ItemRendererMixin.java @@ -0,0 +1,36 @@ +/* + * Copyright (c) 2020 - 2022 Legacy Fabric + * Copyright (c) 2016 - 2022 FabricMC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package net.legacyfabric.fabric.mixin.client.rendering; + +import org.spongepowered.asm.mixin.Mixin; + +import net.minecraft.client.render.item.ItemRenderer; + +@Mixin(ItemRenderer.class) +public class ItemRendererMixin { + // @Redirect(method = "method_10243", at = @At(value = "INVOKE", target = "Lnet/minecraft/client/render/block/entity/BlockEntityItemStackRenderHelper;renderItem(Lnet/minecraft/item/ItemStack;)V")) + // public void onRender(BlockEntityItemStackRenderHelper instance, ItemStack stack, ItemStack itemStack, BakedModel bakedModel) { + // BuiltinItemRendererRegistry.DynamicItemRenderer renderer = BuiltinItemRendererRegistryImpl.getRenderer(stack.getItem()); + // + // if (renderer != null) { + // renderer.render(stack, bakedModel.getTransformation()); + // } else { + // instance.renderItem(stack); + // } + // } +} diff --git a/1.8.9/legacy-fabric-rendering-api-v1/src/main/resources/assets/legacy-fabric/icon.png b/legacy-fabric-rendering-api-v1/1.7.10/src/main/resources/assets/legacy-fabric/icon.png similarity index 100% rename from 1.8.9/legacy-fabric-rendering-api-v1/src/main/resources/assets/legacy-fabric/icon.png rename to legacy-fabric-rendering-api-v1/1.7.10/src/main/resources/assets/legacy-fabric/icon.png diff --git a/1.8.9/legacy-fabric-rendering-api-v1/src/main/resources/fabric.mod.json b/legacy-fabric-rendering-api-v1/1.7.10/src/main/resources/fabric.mod.json similarity index 96% rename from 1.8.9/legacy-fabric-rendering-api-v1/src/main/resources/fabric.mod.json rename to legacy-fabric-rendering-api-v1/1.7.10/src/main/resources/fabric.mod.json index 9d5ce6b85..d4fef5f38 100644 --- a/1.8.9/legacy-fabric-rendering-api-v1/src/main/resources/fabric.mod.json +++ b/legacy-fabric-rendering-api-v1/1.7.10/src/main/resources/fabric.mod.json @@ -20,7 +20,7 @@ "legacy-fabric-rendering-api-v1.mixins.json" ], "depends": { - "minecraft": ">=1.8 <=1.12.2" + "minecraft": "${minecraft_version}" }, "custom": { "modmenu": { diff --git a/legacy-fabric-rendering-api-v1/1.7.10/src/main/resources/legacy-fabric-rendering-api-v1.mixins.json b/legacy-fabric-rendering-api-v1/1.7.10/src/main/resources/legacy-fabric-rendering-api-v1.mixins.json new file mode 100644 index 000000000..b3cc7cfaf --- /dev/null +++ b/legacy-fabric-rendering-api-v1/1.7.10/src/main/resources/legacy-fabric-rendering-api-v1.mixins.json @@ -0,0 +1,13 @@ +{ + "required": true, + "package": "net.legacyfabric.fabric.mixin.client.rendering", + "compatibilityLevel": "JAVA_8", + "client": [ + "EntityRenderDispatcherMixin", + "ItemRendererMixin", + "InGameHudMixin" + ], + "injectors": { + "defaultRequire": 1 + } +} diff --git a/1.8.9/legacy-fabric-rendering-api-v1/src/testmod/java/net/legacyfabric/fabric/test/client/rendering/RenderingEventsTest.java b/legacy-fabric-rendering-api-v1/1.7.10/src/testmod/java/net/legacyfabric/fabric/test/client/rendering/RenderingEventsTest.java similarity index 100% rename from 1.8.9/legacy-fabric-rendering-api-v1/src/testmod/java/net/legacyfabric/fabric/test/client/rendering/RenderingEventsTest.java rename to legacy-fabric-rendering-api-v1/1.7.10/src/testmod/java/net/legacyfabric/fabric/test/client/rendering/RenderingEventsTest.java diff --git a/1.8.9/legacy-fabric-rendering-api-v1/src/testmod/resources/assets/legacy-fabric-api/lang/en_us.json b/legacy-fabric-rendering-api-v1/1.7.10/src/testmod/resources/assets/legacy-fabric-api/lang/en_us.json similarity index 100% rename from 1.8.9/legacy-fabric-rendering-api-v1/src/testmod/resources/assets/legacy-fabric-api/lang/en_us.json rename to legacy-fabric-rendering-api-v1/1.7.10/src/testmod/resources/assets/legacy-fabric-api/lang/en_us.json diff --git a/legacy-fabric-rendering-api-v1/1.7.10/src/testmod/resources/fabric.mod.json b/legacy-fabric-rendering-api-v1/1.7.10/src/testmod/resources/fabric.mod.json new file mode 100644 index 000000000..70b0ecd70 --- /dev/null +++ b/legacy-fabric-rendering-api-v1/1.7.10/src/testmod/resources/fabric.mod.json @@ -0,0 +1,14 @@ +{ + "schemaVersion": 1, + "id": "legacy-fabric-rendering-api-v1-testmod", + "description": "Tests for rendering hooks", + "version": "1.0.0", + "entrypoints": { + "client": [ + "net.legacyfabric.fabric.test.client.rendering.RenderingEventsTest" + ] + }, + "depends": { + "minecraft": "${minecraft_version}" + } +} diff --git a/legacy-fabric-rendering-api-v1/1.8.9/build.gradle b/legacy-fabric-rendering-api-v1/1.8.9/build.gradle new file mode 100644 index 000000000..e69de29bb diff --git a/legacy-fabric-rendering-api-v1/1.8.9/gradle.properties b/legacy-fabric-rendering-api-v1/1.8.9/gradle.properties new file mode 100644 index 000000000..7d5606688 --- /dev/null +++ b/legacy-fabric-rendering-api-v1/1.8.9/gradle.properties @@ -0,0 +1,2 @@ +minVersionIncluded=1.8 +maxVersionIncluded=1.12.2 diff --git a/1.8.9/legacy-fabric-rendering-api-v1/src/main/java/net/legacyfabric/fabric/api/client/rendering/v1/EntityRendererRegistry.java b/legacy-fabric-rendering-api-v1/1.8.9/src/main/java/net/legacyfabric/fabric/api/client/rendering/v1/EntityRendererRegistry.java similarity index 100% rename from 1.8.9/legacy-fabric-rendering-api-v1/src/main/java/net/legacyfabric/fabric/api/client/rendering/v1/EntityRendererRegistry.java rename to legacy-fabric-rendering-api-v1/1.8.9/src/main/java/net/legacyfabric/fabric/api/client/rendering/v1/EntityRendererRegistry.java diff --git a/1.8.9/legacy-fabric-rendering-api-v1/src/main/java/net/legacyfabric/fabric/api/client/rendering/v1/LivingEntityFeatureRendererRegistrationCallback.java b/legacy-fabric-rendering-api-v1/1.8.9/src/main/java/net/legacyfabric/fabric/api/client/rendering/v1/LivingEntityFeatureRendererRegistrationCallback.java similarity index 100% rename from 1.8.9/legacy-fabric-rendering-api-v1/src/main/java/net/legacyfabric/fabric/api/client/rendering/v1/LivingEntityFeatureRendererRegistrationCallback.java rename to legacy-fabric-rendering-api-v1/1.8.9/src/main/java/net/legacyfabric/fabric/api/client/rendering/v1/LivingEntityFeatureRendererRegistrationCallback.java diff --git a/1.8.9/legacy-fabric-rendering-api-v1/src/main/java/net/legacyfabric/fabric/impl/client/rendering/RegistrationHelperImpl.java b/legacy-fabric-rendering-api-v1/1.8.9/src/main/java/net/legacyfabric/fabric/impl/client/rendering/RegistrationHelperImpl.java similarity index 100% rename from 1.8.9/legacy-fabric-rendering-api-v1/src/main/java/net/legacyfabric/fabric/impl/client/rendering/RegistrationHelperImpl.java rename to legacy-fabric-rendering-api-v1/1.8.9/src/main/java/net/legacyfabric/fabric/impl/client/rendering/RegistrationHelperImpl.java diff --git a/1.8.9/legacy-fabric-rendering-api-v1/src/main/java/net/legacyfabric/fabric/mixin/client/rendering/EntityRenderDispatcherMixin.java b/legacy-fabric-rendering-api-v1/1.8.9/src/main/java/net/legacyfabric/fabric/mixin/client/rendering/EntityRenderDispatcherMixin.java similarity index 100% rename from 1.8.9/legacy-fabric-rendering-api-v1/src/main/java/net/legacyfabric/fabric/mixin/client/rendering/EntityRenderDispatcherMixin.java rename to legacy-fabric-rendering-api-v1/1.8.9/src/main/java/net/legacyfabric/fabric/mixin/client/rendering/EntityRenderDispatcherMixin.java diff --git a/1.8.9/legacy-fabric-rendering-api-v1/src/main/java/net/legacyfabric/fabric/mixin/client/rendering/InGameHudMixin.java b/legacy-fabric-rendering-api-v1/1.8.9/src/main/java/net/legacyfabric/fabric/mixin/client/rendering/InGameHudMixin.java similarity index 100% rename from 1.8.9/legacy-fabric-rendering-api-v1/src/main/java/net/legacyfabric/fabric/mixin/client/rendering/InGameHudMixin.java rename to legacy-fabric-rendering-api-v1/1.8.9/src/main/java/net/legacyfabric/fabric/mixin/client/rendering/InGameHudMixin.java diff --git a/1.8.9/legacy-fabric-rendering-api-v1/src/main/java/net/legacyfabric/fabric/mixin/client/rendering/ItemRendererMixin.java b/legacy-fabric-rendering-api-v1/1.8.9/src/main/java/net/legacyfabric/fabric/mixin/client/rendering/ItemRendererMixin.java similarity index 100% rename from 1.8.9/legacy-fabric-rendering-api-v1/src/main/java/net/legacyfabric/fabric/mixin/client/rendering/ItemRendererMixin.java rename to legacy-fabric-rendering-api-v1/1.8.9/src/main/java/net/legacyfabric/fabric/mixin/client/rendering/ItemRendererMixin.java diff --git a/1.8.9/legacy-fabric-rendering-api-v1/src/main/java/net/legacyfabric/fabric/mixin/client/rendering/LivingEntityRendererAccessor.java b/legacy-fabric-rendering-api-v1/1.8.9/src/main/java/net/legacyfabric/fabric/mixin/client/rendering/LivingEntityRendererAccessor.java similarity index 100% rename from 1.8.9/legacy-fabric-rendering-api-v1/src/main/java/net/legacyfabric/fabric/mixin/client/rendering/LivingEntityRendererAccessor.java rename to legacy-fabric-rendering-api-v1/1.8.9/src/main/java/net/legacyfabric/fabric/mixin/client/rendering/LivingEntityRendererAccessor.java diff --git a/common/legacy-fabric-rendering-api-v1-common/src/main/resources/assets/legacy-fabric/icon.png b/legacy-fabric-rendering-api-v1/1.8.9/src/main/resources/assets/legacy-fabric/icon.png similarity index 100% rename from common/legacy-fabric-rendering-api-v1-common/src/main/resources/assets/legacy-fabric/icon.png rename to legacy-fabric-rendering-api-v1/1.8.9/src/main/resources/assets/legacy-fabric/icon.png diff --git a/legacy-fabric-rendering-api-v1/1.8.9/src/main/resources/fabric.mod.json b/legacy-fabric-rendering-api-v1/1.8.9/src/main/resources/fabric.mod.json new file mode 100644 index 000000000..d4fef5f38 --- /dev/null +++ b/legacy-fabric-rendering-api-v1/1.8.9/src/main/resources/fabric.mod.json @@ -0,0 +1,37 @@ +{ + "schemaVersion": 1, + "id": "legacy-fabric-rendering-api-v1", + "name": "Legacy Fabric Rendering API (V1)", + "version": "${version}", + "environment": "client", + "license": "Apache-2.0", + "icon": "assets/legacy-fabric/icon.png", + "contact": { + "homepage": "https://legacy-fabric.github.io/", + "issues": "https://github.com/Legacy-Fabric/fabric/issues", + "sources": "https://github.com/Legacy-Fabric/fabric" + }, + "authors": [ + "Legacy Fabric", + "FabricMC" + ], + "description": "Hooks and registries for rendering-related things.", + "mixins": [ + "legacy-fabric-rendering-api-v1.mixins.json" + ], + "depends": { + "minecraft": "${minecraft_version}" + }, + "custom": { + "modmenu": { + "badges": [ "library" ], + "parent": { + "id": "legacy-fabric-api", + "name": "Legacy Fabric API", + "badges": [ "library" ], + "description": "Core API module providing key hooks and inter-compatibility features for Minecraft 1.7.10-1.12.2.", + "icon": "assets/legacy-fabric/icon.png" + } + } + } +} diff --git a/1.8.9/legacy-fabric-rendering-api-v1/src/main/resources/legacy-fabric-rendering-api-v1.mixins.json b/legacy-fabric-rendering-api-v1/1.8.9/src/main/resources/legacy-fabric-rendering-api-v1.mixins.json similarity index 100% rename from 1.8.9/legacy-fabric-rendering-api-v1/src/main/resources/legacy-fabric-rendering-api-v1.mixins.json rename to legacy-fabric-rendering-api-v1/1.8.9/src/main/resources/legacy-fabric-rendering-api-v1.mixins.json diff --git a/1.8.9/legacy-fabric-rendering-api-v1/src/testmod/java/net/legacyfabric/fabric/test/client/rendering/ModelFeatureTest.java b/legacy-fabric-rendering-api-v1/1.8.9/src/testmod/java/net/legacyfabric/fabric/test/client/rendering/ModelFeatureTest.java similarity index 100% rename from 1.8.9/legacy-fabric-rendering-api-v1/src/testmod/java/net/legacyfabric/fabric/test/client/rendering/ModelFeatureTest.java rename to legacy-fabric-rendering-api-v1/1.8.9/src/testmod/java/net/legacyfabric/fabric/test/client/rendering/ModelFeatureTest.java diff --git a/legacy-fabric-rendering-api-v1/1.8.9/src/testmod/java/net/legacyfabric/fabric/test/client/rendering/RenderingEventsTest.java b/legacy-fabric-rendering-api-v1/1.8.9/src/testmod/java/net/legacyfabric/fabric/test/client/rendering/RenderingEventsTest.java new file mode 100644 index 000000000..aedeec647 --- /dev/null +++ b/legacy-fabric-rendering-api-v1/1.8.9/src/testmod/java/net/legacyfabric/fabric/test/client/rendering/RenderingEventsTest.java @@ -0,0 +1,43 @@ +/* + * Copyright (c) 2020 - 2022 Legacy Fabric + * Copyright (c) 2016 - 2022 FabricMC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package net.legacyfabric.fabric.test.client.rendering; + +import java.awt.Color; + +import net.minecraft.client.resource.language.I18n; + +import net.fabricmc.api.ClientModInitializer; + +import net.legacyfabric.fabric.api.client.rendering.v1.HudRenderCallback; +import net.legacyfabric.fabric.api.client.rendering.v1.InvalidateRenderStateCallback; +import net.legacyfabric.fabric.api.logger.v1.Logger; +import net.legacyfabric.fabric.impl.logger.LoggerImpl; + +public class RenderingEventsTest implements ClientModInitializer { + private static final Logger LOGGER = Logger.get(LoggerImpl.API, "Test", "RenderingEvents"); + + @Override + public void onInitializeClient() { + HudRenderCallback.EVENT.register((client, tickDelta) -> { + client.textRenderer.draw(I18n.translate("legacyfabric.api.youreTesting"), 10, 10, Color.RED.getRGB()); + }); + InvalidateRenderStateCallback.EVENT.register(() -> { + LOGGER.info("Render state invalidated"); + }); + } +} diff --git a/legacy-fabric-rendering-api-v1/1.8.9/src/testmod/resources/assets/legacy-fabric-api/lang/en_us.json b/legacy-fabric-rendering-api-v1/1.8.9/src/testmod/resources/assets/legacy-fabric-api/lang/en_us.json new file mode 100644 index 000000000..676b62a43 --- /dev/null +++ b/legacy-fabric-rendering-api-v1/1.8.9/src/testmod/resources/assets/legacy-fabric-api/lang/en_us.json @@ -0,0 +1,4 @@ +{ + "api.keybinding.testTranslationKey": "Test Keybinding", + "legacyfabric.api.youreTesting": "You're Testing Fabric API!" +} diff --git a/1.8.9/legacy-fabric-rendering-api-v1/src/testmod/resources/fabric.mod.json b/legacy-fabric-rendering-api-v1/1.8.9/src/testmod/resources/fabric.mod.json similarity index 89% rename from 1.8.9/legacy-fabric-rendering-api-v1/src/testmod/resources/fabric.mod.json rename to legacy-fabric-rendering-api-v1/1.8.9/src/testmod/resources/fabric.mod.json index 449dcb609..e78f5cdac 100644 --- a/1.8.9/legacy-fabric-rendering-api-v1/src/testmod/resources/fabric.mod.json +++ b/legacy-fabric-rendering-api-v1/1.8.9/src/testmod/resources/fabric.mod.json @@ -10,6 +10,6 @@ ] }, "depends": { - "minecraft": ">=1.8 <=1.12.2" + "minecraft": "${minecraft_version}" } } diff --git a/legacy-fabric-rendering-api-v1/common.gradle b/legacy-fabric-rendering-api-v1/common.gradle new file mode 100644 index 000000000..f7bb5a4dd --- /dev/null +++ b/legacy-fabric-rendering-api-v1/common.gradle @@ -0,0 +1,3 @@ +moduleDependencies(project, [ + "legacy-fabric-api-base" +]) diff --git a/legacy-fabric-rendering-api-v1/common/build.gradle b/legacy-fabric-rendering-api-v1/common/build.gradle new file mode 100644 index 000000000..e69de29bb diff --git a/legacy-fabric-rendering-api-v1/common/gradle.properties b/legacy-fabric-rendering-api-v1/common/gradle.properties new file mode 100644 index 000000000..d523a75a0 --- /dev/null +++ b/legacy-fabric-rendering-api-v1/common/gradle.properties @@ -0,0 +1,2 @@ +minVersionIncluded=1.3 +maxVersionIncluded=1.12.2 diff --git a/common/legacy-fabric-rendering-api-v1-common/src/main/java/net/legacyfabric/fabric/api/client/rendering/v1/BlockEntityRendererRegistry.java b/legacy-fabric-rendering-api-v1/common/src/main/java/net/legacyfabric/fabric/api/client/rendering/v1/BlockEntityRendererRegistry.java similarity index 100% rename from common/legacy-fabric-rendering-api-v1-common/src/main/java/net/legacyfabric/fabric/api/client/rendering/v1/BlockEntityRendererRegistry.java rename to legacy-fabric-rendering-api-v1/common/src/main/java/net/legacyfabric/fabric/api/client/rendering/v1/BlockEntityRendererRegistry.java diff --git a/common/legacy-fabric-rendering-api-v1-common/src/main/java/net/legacyfabric/fabric/api/client/rendering/v1/BuiltinItemRendererRegistry.java b/legacy-fabric-rendering-api-v1/common/src/main/java/net/legacyfabric/fabric/api/client/rendering/v1/BuiltinItemRendererRegistry.java similarity index 100% rename from common/legacy-fabric-rendering-api-v1-common/src/main/java/net/legacyfabric/fabric/api/client/rendering/v1/BuiltinItemRendererRegistry.java rename to legacy-fabric-rendering-api-v1/common/src/main/java/net/legacyfabric/fabric/api/client/rendering/v1/BuiltinItemRendererRegistry.java diff --git a/common/legacy-fabric-rendering-api-v1-common/src/main/java/net/legacyfabric/fabric/api/client/rendering/v1/HudRenderCallback.java b/legacy-fabric-rendering-api-v1/common/src/main/java/net/legacyfabric/fabric/api/client/rendering/v1/HudRenderCallback.java similarity index 100% rename from common/legacy-fabric-rendering-api-v1-common/src/main/java/net/legacyfabric/fabric/api/client/rendering/v1/HudRenderCallback.java rename to legacy-fabric-rendering-api-v1/common/src/main/java/net/legacyfabric/fabric/api/client/rendering/v1/HudRenderCallback.java diff --git a/common/legacy-fabric-rendering-api-v1-common/src/main/java/net/legacyfabric/fabric/api/client/rendering/v1/InvalidateRenderStateCallback.java b/legacy-fabric-rendering-api-v1/common/src/main/java/net/legacyfabric/fabric/api/client/rendering/v1/InvalidateRenderStateCallback.java similarity index 100% rename from common/legacy-fabric-rendering-api-v1-common/src/main/java/net/legacyfabric/fabric/api/client/rendering/v1/InvalidateRenderStateCallback.java rename to legacy-fabric-rendering-api-v1/common/src/main/java/net/legacyfabric/fabric/api/client/rendering/v1/InvalidateRenderStateCallback.java diff --git a/common/legacy-fabric-rendering-api-v1-common/src/main/java/net/legacyfabric/fabric/impl/client/rendering/BlockEntityRendererRegistryImpl.java b/legacy-fabric-rendering-api-v1/common/src/main/java/net/legacyfabric/fabric/impl/client/rendering/BlockEntityRendererRegistryImpl.java similarity index 100% rename from common/legacy-fabric-rendering-api-v1-common/src/main/java/net/legacyfabric/fabric/impl/client/rendering/BlockEntityRendererRegistryImpl.java rename to legacy-fabric-rendering-api-v1/common/src/main/java/net/legacyfabric/fabric/impl/client/rendering/BlockEntityRendererRegistryImpl.java diff --git a/common/legacy-fabric-rendering-api-v1-common/src/main/java/net/legacyfabric/fabric/impl/client/rendering/BuiltinItemRendererRegistryImpl.java b/legacy-fabric-rendering-api-v1/common/src/main/java/net/legacyfabric/fabric/impl/client/rendering/BuiltinItemRendererRegistryImpl.java similarity index 100% rename from common/legacy-fabric-rendering-api-v1-common/src/main/java/net/legacyfabric/fabric/impl/client/rendering/BuiltinItemRendererRegistryImpl.java rename to legacy-fabric-rendering-api-v1/common/src/main/java/net/legacyfabric/fabric/impl/client/rendering/BuiltinItemRendererRegistryImpl.java diff --git a/common/legacy-fabric-rendering-api-v1-common/src/main/java/net/legacyfabric/fabric/mixin/client/rendering/BlockEntityRenderDispatcherMixin.java b/legacy-fabric-rendering-api-v1/common/src/main/java/net/legacyfabric/fabric/mixin/client/rendering/BlockEntityRenderDispatcherMixin.java similarity index 100% rename from common/legacy-fabric-rendering-api-v1-common/src/main/java/net/legacyfabric/fabric/mixin/client/rendering/BlockEntityRenderDispatcherMixin.java rename to legacy-fabric-rendering-api-v1/common/src/main/java/net/legacyfabric/fabric/mixin/client/rendering/BlockEntityRenderDispatcherMixin.java diff --git a/common/legacy-fabric-rendering-api-v1-common/src/main/java/net/legacyfabric/fabric/mixin/client/rendering/WorldRendererMixin.java b/legacy-fabric-rendering-api-v1/common/src/main/java/net/legacyfabric/fabric/mixin/client/rendering/WorldRendererMixin.java similarity index 100% rename from common/legacy-fabric-rendering-api-v1-common/src/main/java/net/legacyfabric/fabric/mixin/client/rendering/WorldRendererMixin.java rename to legacy-fabric-rendering-api-v1/common/src/main/java/net/legacyfabric/fabric/mixin/client/rendering/WorldRendererMixin.java diff --git a/legacy-fabric-rendering-api-v1/common/src/main/resources/assets/legacy-fabric/icon.png b/legacy-fabric-rendering-api-v1/common/src/main/resources/assets/legacy-fabric/icon.png new file mode 100644 index 0000000000000000000000000000000000000000..2931efbf610873c0084debb8690902b0103d27fe GIT binary patch literal 1579 zcmbVMTWB0r7@iGm)TAXsYw<=rnU=;v=W=GRbL=!tc4Brl6GO7t2vVJ$IlDV#XU;e? z+r2ymsZdMQqAyaFLLUo;RumtE8Z@?uf_*4nP^4;o6fOFoSkN+o1$K?f2nE9_*b5G-l)AV)k5Qhb^- zU{V4ZnTKgnmXdpcB*Kg!W(1hvM2N&RO30x1u~eI9meGQGe@_?PDQq%q1CiV$8~M7 z?MQ_mOdqCh^a65Sv|ntwSXjV5se1;VK1|Kr8G7TQoQL&*ctt{L{fClG}xPK5k^yK3%T69N6J=>3jBqc zDNvZsrJ-yOXI^^mWf1cmY^XST)CVzIGjvEPENowmy}ax zvJ8_(Cf#+H-dBlH53`_u-~6BVAMz|(g?jCVdBWNZ(+A}(pFV7>S3QgPiQcMaflkIC z-3Ti|VT~{au*vq0ts9O&m$p&Gl=L6+q6_m$IcVq}o~+Pl{g>1esQp4%wp~|*zk1n` zZ7T6Toc4`y88s}riCP|ZXrJ?FLz@^KTcyqLjey zu95Yz%F&S{<0~f)Iomek?+hQ%MhCu%T^zsg>C_L`1`Br`xNY&))k9yTQb$JC>)w_f zpU(^tu^Q)y%W~lVz`jz;_ jF?g&s@Y=Qe&c#kW|JbvqK0Y=Rw)4XDoVqsk_>;c_`@;F@ literal 0 HcmV?d00001 diff --git a/common/legacy-fabric-rendering-api-v1-common/src/main/resources/fabric.mod.json b/legacy-fabric-rendering-api-v1/common/src/main/resources/fabric.mod.json similarity index 96% rename from common/legacy-fabric-rendering-api-v1-common/src/main/resources/fabric.mod.json rename to legacy-fabric-rendering-api-v1/common/src/main/resources/fabric.mod.json index 2ed39e9bd..1d45b8a16 100644 --- a/common/legacy-fabric-rendering-api-v1-common/src/main/resources/fabric.mod.json +++ b/legacy-fabric-rendering-api-v1/common/src/main/resources/fabric.mod.json @@ -20,7 +20,7 @@ "legacy-fabric-rendering-api-v1-common.mixins.json" ], "depends": { - "minecraft": "<=1.12.2" + "minecraft": "${minecraft_version}" }, "custom": { "modmenu": { diff --git a/common/legacy-fabric-rendering-api-v1-common/src/main/resources/legacy-fabric-rendering-api-v1-common.mixins.json b/legacy-fabric-rendering-api-v1/common/src/main/resources/legacy-fabric-rendering-api-v1-common.mixins.json similarity index 100% rename from common/legacy-fabric-rendering-api-v1-common/src/main/resources/legacy-fabric-rendering-api-v1-common.mixins.json rename to legacy-fabric-rendering-api-v1/common/src/main/resources/legacy-fabric-rendering-api-v1-common.mixins.json diff --git a/settings.gradle b/settings.gradle index c24f27226..ce8237818 100644 --- a/settings.gradle +++ b/settings.gradle @@ -37,6 +37,7 @@ loadProject("legacy-fabric-keybindings-api-v1") loadProject("legacy-fabric-networking-api-v1") loadProject("legacy-fabric-permissions-api-v1") loadProject("legacy-fabric-registry-sync-api-v1") +loadProject("legacy-fabric-rendering-api-v1") //include("common") //include("common:legacy-fabric-logger-api-v1") From 7864519c5ea39656ad06b2818448355b15fee0d6 Mon Sep 17 00:00:00 2001 From: Cat Core Date: Thu, 8 Feb 2024 11:44:32 +0100 Subject: [PATCH 17/27] Port legacy-fabric-crash-report-info-v1 --- .../build.gradle | 8 -- .../rendering/v1/EntityRendererRegistry.java | 98 ------------------ ...tyFeatureRendererRegistrationCallback.java | 62 ----------- .../EntityRenderDispatcherMixin.java | 62 ----------- .../client/rendering/InGameHudMixin.java | 43 -------- .../client/rendering/ItemRendererMixin.java | 36 ------- .../src/main/resources/fabric.mod.json | 37 ------- ...legacy-fabric-rendering-api-v1.mixins.json | 13 --- .../client/rendering/RenderingEventsTest.java | 43 -------- .../assets/legacy-fabric-api/lang/en_us.json | 4 - .../src/testmod/resources/fabric.mod.json | 14 --- .../build.gradle | 1 - .../resources/assets/legacy-fabric/icon.png | Bin 1579 -> 0 bytes .../common.gradle | 1 + .../common/build.gradle | 0 .../common/gradle.properties | 3 + .../crash/report/info/CrashReportMixin.java | 0 .../resources/assets/legacy-fabric/icon.png | Bin .../src/main/resources/fabric.mod.json | 0 ...cy-fabric-crash-report-info-v1.mixins.json | 0 settings.gradle | 1 + 21 files changed, 5 insertions(+), 421 deletions(-) delete mode 100644 1.7.10/legacy-fabric-rendering-api-v1/build.gradle delete mode 100644 1.7.10/legacy-fabric-rendering-api-v1/src/main/java/net/legacyfabric/fabric/api/client/rendering/v1/EntityRendererRegistry.java delete mode 100644 1.7.10/legacy-fabric-rendering-api-v1/src/main/java/net/legacyfabric/fabric/api/client/rendering/v1/LivingEntityFeatureRendererRegistrationCallback.java delete mode 100644 1.7.10/legacy-fabric-rendering-api-v1/src/main/java/net/legacyfabric/fabric/mixin/client/rendering/EntityRenderDispatcherMixin.java delete mode 100644 1.7.10/legacy-fabric-rendering-api-v1/src/main/java/net/legacyfabric/fabric/mixin/client/rendering/InGameHudMixin.java delete mode 100644 1.7.10/legacy-fabric-rendering-api-v1/src/main/java/net/legacyfabric/fabric/mixin/client/rendering/ItemRendererMixin.java delete mode 100644 1.7.10/legacy-fabric-rendering-api-v1/src/main/resources/fabric.mod.json delete mode 100644 1.7.10/legacy-fabric-rendering-api-v1/src/main/resources/legacy-fabric-rendering-api-v1.mixins.json delete mode 100644 1.7.10/legacy-fabric-rendering-api-v1/src/testmod/java/net/legacyfabric/fabric/test/client/rendering/RenderingEventsTest.java delete mode 100644 1.7.10/legacy-fabric-rendering-api-v1/src/testmod/resources/assets/legacy-fabric-api/lang/en_us.json delete mode 100644 1.7.10/legacy-fabric-rendering-api-v1/src/testmod/resources/fabric.mod.json delete mode 100644 1.8.9/legacy-fabric-crash-report-info-v1/build.gradle delete mode 100644 1.8.9/legacy-fabric-crash-report-info-v1/src/main/resources/assets/legacy-fabric/icon.png create mode 100644 legacy-fabric-crash-report-info-v1/common.gradle create mode 100644 legacy-fabric-crash-report-info-v1/common/build.gradle create mode 100644 legacy-fabric-crash-report-info-v1/common/gradle.properties rename {1.8.9/legacy-fabric-crash-report-info-v1 => legacy-fabric-crash-report-info-v1/common}/src/main/java/net/legacyfabric/fabric/mixin/crash/report/info/CrashReportMixin.java (100%) rename {1.7.10/legacy-fabric-rendering-api-v1 => legacy-fabric-crash-report-info-v1/common}/src/main/resources/assets/legacy-fabric/icon.png (100%) rename {1.8.9/legacy-fabric-crash-report-info-v1 => legacy-fabric-crash-report-info-v1/common}/src/main/resources/fabric.mod.json (100%) rename {1.8.9/legacy-fabric-crash-report-info-v1 => legacy-fabric-crash-report-info-v1/common}/src/main/resources/legacy-fabric-crash-report-info-v1.mixins.json (100%) diff --git a/1.7.10/legacy-fabric-rendering-api-v1/build.gradle b/1.7.10/legacy-fabric-rendering-api-v1/build.gradle deleted file mode 100644 index 2cc311417..000000000 --- a/1.7.10/legacy-fabric-rendering-api-v1/build.gradle +++ /dev/null @@ -1,8 +0,0 @@ -version = getSubprojectVersion(project) - -moduleDependencies(project, [ - "common": [ - "legacy-fabric-api-base-common", - "legacy-fabric-rendering-api-v1-common" - ] -]) diff --git a/1.7.10/legacy-fabric-rendering-api-v1/src/main/java/net/legacyfabric/fabric/api/client/rendering/v1/EntityRendererRegistry.java b/1.7.10/legacy-fabric-rendering-api-v1/src/main/java/net/legacyfabric/fabric/api/client/rendering/v1/EntityRendererRegistry.java deleted file mode 100644 index bc4b62f9c..000000000 --- a/1.7.10/legacy-fabric-rendering-api-v1/src/main/java/net/legacyfabric/fabric/api/client/rendering/v1/EntityRendererRegistry.java +++ /dev/null @@ -1,98 +0,0 @@ -/* - * Copyright (c) 2020 - 2022 Legacy Fabric - * Copyright (c) 2016 - 2022 FabricMC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -package net.legacyfabric.fabric.api.client.rendering.v1; - -import java.util.HashMap; -import java.util.Map; -import java.util.WeakHashMap; - -import net.minecraft.client.render.entity.EntityRenderDispatcher; -import net.minecraft.client.render.entity.EntityRenderer; -import net.minecraft.client.render.item.ItemRenderer; -import net.minecraft.client.texture.TextureManager; -import net.minecraft.entity.Entity; -import net.minecraft.resource.ResourceManager; - -/** - * Helper class for registering EntityRenderers. - */ -public class EntityRendererRegistry { - @FunctionalInterface - public interface Factory { - EntityRenderer create(EntityRenderDispatcher manager, Context context); - } - - public static final class Context { - private final TextureManager textureManager; - private final ResourceManager resourceManager; - private final ItemRenderer itemRenderer; - private final Map, EntityRenderer> rendererMap; - - private Context(TextureManager textureManager, ResourceManager resourceManager, ItemRenderer itemRenderer, Map, EntityRenderer> rendererMap) { - this.textureManager = textureManager; - this.resourceManager = resourceManager; - this.itemRenderer = itemRenderer; - this.rendererMap = rendererMap; - } - - public TextureManager getTextureManager() { - return textureManager; - } - - public ResourceManager getResourceManager() { - return resourceManager; - } - - public ItemRenderer getItemRenderer() { - return itemRenderer; - } - } - - public static final EntityRendererRegistry INSTANCE = new EntityRendererRegistry(); - private final Map renderManagerMap = new WeakHashMap<>(); - private final Map, Factory> renderSupplierMap = new HashMap<>(); - - private EntityRendererRegistry() { - } - - public void initialize(EntityRenderDispatcher manager, TextureManager textureManager, ResourceManager resourceManager, ItemRenderer itemRenderer, Map, EntityRenderer> renderers) { - synchronized (renderSupplierMap) { - if (renderManagerMap.containsKey(manager)) { - return; - } - - Context context = new Context(textureManager, resourceManager, itemRenderer, renderers); - renderManagerMap.put(manager, context); - - for (Class c : renderSupplierMap.keySet()) { - renderers.put(c, renderSupplierMap.get(c).create(manager, context)); - } - } - } - - public void register(Class entityClass, Factory factory) { - synchronized (renderSupplierMap) { - // TODO: warn on duplicate - renderSupplierMap.put(entityClass, factory); - - for (EntityRenderDispatcher manager : renderManagerMap.keySet()) { - renderManagerMap.get(manager).rendererMap.put(entityClass, factory.create(manager, renderManagerMap.get(manager))); - } - } - } -} diff --git a/1.7.10/legacy-fabric-rendering-api-v1/src/main/java/net/legacyfabric/fabric/api/client/rendering/v1/LivingEntityFeatureRendererRegistrationCallback.java b/1.7.10/legacy-fabric-rendering-api-v1/src/main/java/net/legacyfabric/fabric/api/client/rendering/v1/LivingEntityFeatureRendererRegistrationCallback.java deleted file mode 100644 index 195c4d997..000000000 --- a/1.7.10/legacy-fabric-rendering-api-v1/src/main/java/net/legacyfabric/fabric/api/client/rendering/v1/LivingEntityFeatureRendererRegistrationCallback.java +++ /dev/null @@ -1,62 +0,0 @@ -/* - * Copyright (c) 2020 - 2022 Legacy Fabric - * Copyright (c) 2016 - 2022 FabricMC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -package net.legacyfabric.fabric.api.client.rendering.v1; - -import net.minecraft.client.render.entity.LivingEntityRenderer; -import net.minecraft.entity.LivingEntity; - -import net.fabricmc.api.EnvType; -import net.fabricmc.api.Environment; - -import net.legacyfabric.fabric.api.event.Event; -import net.legacyfabric.fabric.api.event.EventFactory; - -/** - * Called when {NOT_IN_1_7 feature renderers} for a {@link LivingEntityRenderer living entity renderer} are registered. - * - *

Feature renderers are typically used for rendering additional objects on an entity, such as armor, an elytra or {@link UNKNOWN Deadmau5's ears}. - * This callback lets developers add additional feature renderers for use in entity rendering. - * Listeners should filter out the specific entity renderer they want to hook into, usually through {@code instanceof} checks or filtering by entity type. - * Once listeners find a suitable entity renderer, they should register their feature renderer via the registration helper. - * - *

For example, to register a feature renderer for a player model, the example below may used: - *

- * LivingEntityFeatureRendererRegistrationCallback.EVENT.register((entityType, entityRenderer, registrationHelper) -> {
- * 	if (entityRenderer instanceof PlayerEntityModel) {
- * 		registrationHelper.register(new MyFeatureRenderer((PlayerEntityModel) entityRenderer));
- *    }
- * });
- * 
- */ -@FunctionalInterface -@Environment(EnvType.CLIENT) -public interface LivingEntityFeatureRendererRegistrationCallback { - Event EVENT = EventFactory.createArrayBacked(LivingEntityFeatureRendererRegistrationCallback.class, callbacks -> (entityClass, entityRenderer) -> { - for (LivingEntityFeatureRendererRegistrationCallback callback : callbacks) { - callback.registerRenderers(entityClass, entityRenderer); - } - }); - - /** - * Called when feature renderers may be registered. - * - * @param entityClass the entity class - * @param entityRenderer the entity renderer - */ - void registerRenderers(Class entityClass, LivingEntityRenderer entityRenderer); -} diff --git a/1.7.10/legacy-fabric-rendering-api-v1/src/main/java/net/legacyfabric/fabric/mixin/client/rendering/EntityRenderDispatcherMixin.java b/1.7.10/legacy-fabric-rendering-api-v1/src/main/java/net/legacyfabric/fabric/mixin/client/rendering/EntityRenderDispatcherMixin.java deleted file mode 100644 index df5946748..000000000 --- a/1.7.10/legacy-fabric-rendering-api-v1/src/main/java/net/legacyfabric/fabric/mixin/client/rendering/EntityRenderDispatcherMixin.java +++ /dev/null @@ -1,62 +0,0 @@ -/* - * Copyright (c) 2020 - 2022 Legacy Fabric - * Copyright (c) 2016 - 2022 FabricMC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -package net.legacyfabric.fabric.mixin.client.rendering; - -import java.util.Map; - -import org.spongepowered.asm.mixin.Mixin; -import org.spongepowered.asm.mixin.Shadow; -import org.spongepowered.asm.mixin.injection.At; -import org.spongepowered.asm.mixin.injection.Inject; -import org.spongepowered.asm.mixin.injection.callback.CallbackInfo; - -import net.minecraft.client.MinecraftClient; -import net.minecraft.client.render.entity.EntityRenderDispatcher; -import net.minecraft.client.render.entity.EntityRenderer; -import net.minecraft.client.render.entity.LivingEntityRenderer; -import net.minecraft.client.render.item.ItemRenderer; -import net.minecraft.client.texture.TextureManager; -import net.minecraft.entity.Entity; -import net.minecraft.entity.LivingEntity; - -import net.legacyfabric.fabric.api.client.rendering.v1.EntityRendererRegistry; -import net.legacyfabric.fabric.api.client.rendering.v1.LivingEntityFeatureRendererRegistrationCallback; - -@Mixin(EntityRenderDispatcher.class) -public abstract class EntityRenderDispatcherMixin { - @Shadow - private Map, EntityRenderer> renderers; - @Shadow - public TextureManager textureManager; - //TODO: Make this something more useful. - private ItemRenderer itemRenderer = new ItemRenderer(); - - @SuppressWarnings({"unchecked", "rawtypes"}) - @Inject(method = "", at = @At("TAIL")) - private void afterRegisterRenderers(CallbackInfo ci) { - final EntityRenderDispatcher me = (EntityRenderDispatcher) (Object) this; - EntityRendererRegistry.INSTANCE.initialize(me, this.textureManager, MinecraftClient.getInstance().getResourceManager(), itemRenderer, renderers); - - for (Map.Entry, EntityRenderer> entry : this.renderers.entrySet()) { - if (entry.getValue() instanceof LivingEntityRenderer) { - /**"Features" are built into the entity renderer in versions < 1.8.*/ - LivingEntityFeatureRendererRegistrationCallback.EVENT.invoker().registerRenderers((Class) entry.getKey(), (LivingEntityRenderer) entry.getValue()); - } - } - } -} diff --git a/1.7.10/legacy-fabric-rendering-api-v1/src/main/java/net/legacyfabric/fabric/mixin/client/rendering/InGameHudMixin.java b/1.7.10/legacy-fabric-rendering-api-v1/src/main/java/net/legacyfabric/fabric/mixin/client/rendering/InGameHudMixin.java deleted file mode 100644 index dd10e8f05..000000000 --- a/1.7.10/legacy-fabric-rendering-api-v1/src/main/java/net/legacyfabric/fabric/mixin/client/rendering/InGameHudMixin.java +++ /dev/null @@ -1,43 +0,0 @@ -/* - * Copyright (c) 2020 - 2022 Legacy Fabric - * Copyright (c) 2016 - 2022 FabricMC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -package net.legacyfabric.fabric.mixin.client.rendering; - -import org.spongepowered.asm.mixin.Final; -import org.spongepowered.asm.mixin.Mixin; -import org.spongepowered.asm.mixin.Shadow; -import org.spongepowered.asm.mixin.injection.At; -import org.spongepowered.asm.mixin.injection.Inject; -import org.spongepowered.asm.mixin.injection.Slice; -import org.spongepowered.asm.mixin.injection.callback.CallbackInfo; - -import net.minecraft.client.MinecraftClient; -import net.minecraft.client.gui.hud.InGameHud; - -import net.legacyfabric.fabric.api.client.rendering.v1.HudRenderCallback; - -@Mixin(InGameHud.class) -public class InGameHudMixin { - @Shadow - @Final - private MinecraftClient client; - - @Inject(method = "method_979", at = @At(value = "INVOKE", target = "Lorg/lwjgl/opengl/GL11;glColor4f(FFFF)V", remap = false), slice = @Slice(from = @At(value = "INVOKE", target = "Lnet/minecraft/client/gui/hud/ChatHud;render(I)V"))) - public void render(float bl, boolean i, int j, int par4, CallbackInfo ci) { - HudRenderCallback.EVENT.invoker().onHudRender(this.client, bl); - } -} diff --git a/1.7.10/legacy-fabric-rendering-api-v1/src/main/java/net/legacyfabric/fabric/mixin/client/rendering/ItemRendererMixin.java b/1.7.10/legacy-fabric-rendering-api-v1/src/main/java/net/legacyfabric/fabric/mixin/client/rendering/ItemRendererMixin.java deleted file mode 100644 index 30b1bb17d..000000000 --- a/1.7.10/legacy-fabric-rendering-api-v1/src/main/java/net/legacyfabric/fabric/mixin/client/rendering/ItemRendererMixin.java +++ /dev/null @@ -1,36 +0,0 @@ -/* - * Copyright (c) 2020 - 2022 Legacy Fabric - * Copyright (c) 2016 - 2022 FabricMC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -package net.legacyfabric.fabric.mixin.client.rendering; - -import org.spongepowered.asm.mixin.Mixin; - -import net.minecraft.client.render.item.ItemRenderer; - -@Mixin(ItemRenderer.class) -public class ItemRendererMixin { - // @Redirect(method = "method_10243", at = @At(value = "INVOKE", target = "Lnet/minecraft/client/render/block/entity/BlockEntityItemStackRenderHelper;renderItem(Lnet/minecraft/item/ItemStack;)V")) - // public void onRender(BlockEntityItemStackRenderHelper instance, ItemStack stack, ItemStack itemStack, BakedModel bakedModel) { - // BuiltinItemRendererRegistry.DynamicItemRenderer renderer = BuiltinItemRendererRegistryImpl.getRenderer(stack.getItem()); - // - // if (renderer != null) { - // renderer.render(stack, bakedModel.getTransformation()); - // } else { - // instance.renderItem(stack); - // } - // } -} diff --git a/1.7.10/legacy-fabric-rendering-api-v1/src/main/resources/fabric.mod.json b/1.7.10/legacy-fabric-rendering-api-v1/src/main/resources/fabric.mod.json deleted file mode 100644 index 033356d57..000000000 --- a/1.7.10/legacy-fabric-rendering-api-v1/src/main/resources/fabric.mod.json +++ /dev/null @@ -1,37 +0,0 @@ -{ - "schemaVersion": 1, - "id": "legacy-fabric-rendering-api-v1", - "name": "Legacy Fabric Rendering API (V1)", - "version": "${version}", - "environment": "client", - "license": "Apache-2.0", - "icon": "assets/legacy-fabric/icon.png", - "contact": { - "homepage": "https://legacy-fabric.github.io/", - "issues": "https://github.com/Legacy-Fabric/fabric/issues", - "sources": "https://github.com/Legacy-Fabric/fabric" - }, - "authors": [ - "Legacy Fabric", - "FabricMC" - ], - "description": "Hooks and registries for rendering-related things.", - "mixins": [ - "legacy-fabric-rendering-api-v1.mixins.json" - ], - "depends": { - "minecraft": "<=1.7.10" - }, - "custom": { - "modmenu": { - "badges": [ "library" ], - "parent": { - "id": "legacy-fabric-api", - "name": "Legacy Fabric API", - "badges": [ "library" ], - "description": "Core API module providing key hooks and inter-compatibility features for Minecraft 1.7.10-1.12.2.", - "icon": "assets/legacy-fabric/icon.png" - } - } - } -} diff --git a/1.7.10/legacy-fabric-rendering-api-v1/src/main/resources/legacy-fabric-rendering-api-v1.mixins.json b/1.7.10/legacy-fabric-rendering-api-v1/src/main/resources/legacy-fabric-rendering-api-v1.mixins.json deleted file mode 100644 index b3cc7cfaf..000000000 --- a/1.7.10/legacy-fabric-rendering-api-v1/src/main/resources/legacy-fabric-rendering-api-v1.mixins.json +++ /dev/null @@ -1,13 +0,0 @@ -{ - "required": true, - "package": "net.legacyfabric.fabric.mixin.client.rendering", - "compatibilityLevel": "JAVA_8", - "client": [ - "EntityRenderDispatcherMixin", - "ItemRendererMixin", - "InGameHudMixin" - ], - "injectors": { - "defaultRequire": 1 - } -} diff --git a/1.7.10/legacy-fabric-rendering-api-v1/src/testmod/java/net/legacyfabric/fabric/test/client/rendering/RenderingEventsTest.java b/1.7.10/legacy-fabric-rendering-api-v1/src/testmod/java/net/legacyfabric/fabric/test/client/rendering/RenderingEventsTest.java deleted file mode 100644 index aedeec647..000000000 --- a/1.7.10/legacy-fabric-rendering-api-v1/src/testmod/java/net/legacyfabric/fabric/test/client/rendering/RenderingEventsTest.java +++ /dev/null @@ -1,43 +0,0 @@ -/* - * Copyright (c) 2020 - 2022 Legacy Fabric - * Copyright (c) 2016 - 2022 FabricMC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -package net.legacyfabric.fabric.test.client.rendering; - -import java.awt.Color; - -import net.minecraft.client.resource.language.I18n; - -import net.fabricmc.api.ClientModInitializer; - -import net.legacyfabric.fabric.api.client.rendering.v1.HudRenderCallback; -import net.legacyfabric.fabric.api.client.rendering.v1.InvalidateRenderStateCallback; -import net.legacyfabric.fabric.api.logger.v1.Logger; -import net.legacyfabric.fabric.impl.logger.LoggerImpl; - -public class RenderingEventsTest implements ClientModInitializer { - private static final Logger LOGGER = Logger.get(LoggerImpl.API, "Test", "RenderingEvents"); - - @Override - public void onInitializeClient() { - HudRenderCallback.EVENT.register((client, tickDelta) -> { - client.textRenderer.draw(I18n.translate("legacyfabric.api.youreTesting"), 10, 10, Color.RED.getRGB()); - }); - InvalidateRenderStateCallback.EVENT.register(() -> { - LOGGER.info("Render state invalidated"); - }); - } -} diff --git a/1.7.10/legacy-fabric-rendering-api-v1/src/testmod/resources/assets/legacy-fabric-api/lang/en_us.json b/1.7.10/legacy-fabric-rendering-api-v1/src/testmod/resources/assets/legacy-fabric-api/lang/en_us.json deleted file mode 100644 index 676b62a43..000000000 --- a/1.7.10/legacy-fabric-rendering-api-v1/src/testmod/resources/assets/legacy-fabric-api/lang/en_us.json +++ /dev/null @@ -1,4 +0,0 @@ -{ - "api.keybinding.testTranslationKey": "Test Keybinding", - "legacyfabric.api.youreTesting": "You're Testing Fabric API!" -} diff --git a/1.7.10/legacy-fabric-rendering-api-v1/src/testmod/resources/fabric.mod.json b/1.7.10/legacy-fabric-rendering-api-v1/src/testmod/resources/fabric.mod.json deleted file mode 100644 index 86fe7e0bc..000000000 --- a/1.7.10/legacy-fabric-rendering-api-v1/src/testmod/resources/fabric.mod.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "schemaVersion": 1, - "id": "legacy-fabric-rendering-api-v1-testmod", - "description": "Tests for rendering hooks", - "version": "1.0.0", - "entrypoints": { - "client": [ - "net.legacyfabric.fabric.test.client.rendering.RenderingEventsTest" - ] - }, - "depends": { - "minecraft": "<=1.7.10" - } -} diff --git a/1.8.9/legacy-fabric-crash-report-info-v1/build.gradle b/1.8.9/legacy-fabric-crash-report-info-v1/build.gradle deleted file mode 100644 index 85b5e378d..000000000 --- a/1.8.9/legacy-fabric-crash-report-info-v1/build.gradle +++ /dev/null @@ -1 +0,0 @@ -version = getSubprojectVersion(project) diff --git a/1.8.9/legacy-fabric-crash-report-info-v1/src/main/resources/assets/legacy-fabric/icon.png b/1.8.9/legacy-fabric-crash-report-info-v1/src/main/resources/assets/legacy-fabric/icon.png deleted file mode 100644 index 2931efbf610873c0084debb8690902b0103d27fe..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1579 zcmbVMTWB0r7@iGm)TAXsYw<=rnU=;v=W=GRbL=!tc4Brl6GO7t2vVJ$IlDV#XU;e? z+r2ymsZdMQqAyaFLLUo;RumtE8Z@?uf_*4nP^4;o6fOFoSkN+o1$K?f2nE9_*b5G-l)AV)k5Qhb^- zU{V4ZnTKgnmXdpcB*Kg!W(1hvM2N&RO30x1u~eI9meGQGe@_?PDQq%q1CiV$8~M7 z?MQ_mOdqCh^a65Sv|ntwSXjV5se1;VK1|Kr8G7TQoQL&*ctt{L{fClG}xPK5k^yK3%T69N6J=>3jBqc zDNvZsrJ-yOXI^^mWf1cmY^XST)CVzIGjvEPENowmy}ax zvJ8_(Cf#+H-dBlH53`_u-~6BVAMz|(g?jCVdBWNZ(+A}(pFV7>S3QgPiQcMaflkIC z-3Ti|VT~{au*vq0ts9O&m$p&Gl=L6+q6_m$IcVq}o~+Pl{g>1esQp4%wp~|*zk1n` zZ7T6Toc4`y88s}riCP|ZXrJ?FLz@^KTcyqLjey zu95Yz%F&S{<0~f)Iomek?+hQ%MhCu%T^zsg>C_L`1`Br`xNY&))k9yTQb$JC>)w_f zpU(^tu^Q)y%W~lVz`jz;_ jF?g&s@Y=Qe&c#kW|JbvqK0Y=Rw)4XDoVqsk_>;c_`@;F@ diff --git a/legacy-fabric-crash-report-info-v1/common.gradle b/legacy-fabric-crash-report-info-v1/common.gradle new file mode 100644 index 000000000..f616d72cb --- /dev/null +++ b/legacy-fabric-crash-report-info-v1/common.gradle @@ -0,0 +1 @@ +moduleDependencies(project, []) diff --git a/legacy-fabric-crash-report-info-v1/common/build.gradle b/legacy-fabric-crash-report-info-v1/common/build.gradle new file mode 100644 index 000000000..e69de29bb diff --git a/legacy-fabric-crash-report-info-v1/common/gradle.properties b/legacy-fabric-crash-report-info-v1/common/gradle.properties new file mode 100644 index 000000000..dd84f09f1 --- /dev/null +++ b/legacy-fabric-crash-report-info-v1/common/gradle.properties @@ -0,0 +1,3 @@ +minVersionIncluded=1.3 +maxVersionIncluded=1.13.2 +artifactSuffix= diff --git a/1.8.9/legacy-fabric-crash-report-info-v1/src/main/java/net/legacyfabric/fabric/mixin/crash/report/info/CrashReportMixin.java b/legacy-fabric-crash-report-info-v1/common/src/main/java/net/legacyfabric/fabric/mixin/crash/report/info/CrashReportMixin.java similarity index 100% rename from 1.8.9/legacy-fabric-crash-report-info-v1/src/main/java/net/legacyfabric/fabric/mixin/crash/report/info/CrashReportMixin.java rename to legacy-fabric-crash-report-info-v1/common/src/main/java/net/legacyfabric/fabric/mixin/crash/report/info/CrashReportMixin.java diff --git a/1.7.10/legacy-fabric-rendering-api-v1/src/main/resources/assets/legacy-fabric/icon.png b/legacy-fabric-crash-report-info-v1/common/src/main/resources/assets/legacy-fabric/icon.png similarity index 100% rename from 1.7.10/legacy-fabric-rendering-api-v1/src/main/resources/assets/legacy-fabric/icon.png rename to legacy-fabric-crash-report-info-v1/common/src/main/resources/assets/legacy-fabric/icon.png diff --git a/1.8.9/legacy-fabric-crash-report-info-v1/src/main/resources/fabric.mod.json b/legacy-fabric-crash-report-info-v1/common/src/main/resources/fabric.mod.json similarity index 100% rename from 1.8.9/legacy-fabric-crash-report-info-v1/src/main/resources/fabric.mod.json rename to legacy-fabric-crash-report-info-v1/common/src/main/resources/fabric.mod.json diff --git a/1.8.9/legacy-fabric-crash-report-info-v1/src/main/resources/legacy-fabric-crash-report-info-v1.mixins.json b/legacy-fabric-crash-report-info-v1/common/src/main/resources/legacy-fabric-crash-report-info-v1.mixins.json similarity index 100% rename from 1.8.9/legacy-fabric-crash-report-info-v1/src/main/resources/legacy-fabric-crash-report-info-v1.mixins.json rename to legacy-fabric-crash-report-info-v1/common/src/main/resources/legacy-fabric-crash-report-info-v1.mixins.json diff --git a/settings.gradle b/settings.gradle index ce8237818..f8291c7a6 100644 --- a/settings.gradle +++ b/settings.gradle @@ -38,6 +38,7 @@ loadProject("legacy-fabric-networking-api-v1") loadProject("legacy-fabric-permissions-api-v1") loadProject("legacy-fabric-registry-sync-api-v1") loadProject("legacy-fabric-rendering-api-v1") +loadProject("legacy-fabric-crash-report-info-v1") //include("common") //include("common:legacy-fabric-logger-api-v1") From 4ca3e63d5bc8d87b1a914fc80431ad8c95132cec Mon Sep 17 00:00:00 2001 From: Cat Core Date: Thu, 8 Feb 2024 11:52:31 +0100 Subject: [PATCH 18/27] Port legacy-fabric-command-api-v2 --- 1.12.2/legacy-fabric-command-api-v2/build.gradle | 12 ------------ 1.7.10/legacy-fabric-command-api-v2/build.gradle | 14 -------------- 1.8.9/legacy-fabric-command-api-v2/build.gradle | 12 ------------ legacy-fabric-command-api-v2/1.12.2/build.gradle | 0 .../1.12.2/gradle.properties | 2 ++ .../fabric/api/command/v2/CommandRegistrar.java | 0 .../fabric/api/command/v2/Selector.java | 0 .../fabric/api/command/v2/StringType.java | 0 .../command/v2/lib/sponge/CommandCallable.java | 0 .../command/v2/lib/sponge/CommandException.java | 0 .../api/command/v2/lib/sponge/CommandManager.java | 0 .../api/command/v2/lib/sponge/CommandMapping.java | 0 .../v2/lib/sponge/CommandMessageFormatting.java | 0 .../v2/lib/sponge/CommandNotFoundException.java | 0 .../v2/lib/sponge/CommandPermissionException.java | 0 .../api/command/v2/lib/sponge/CommandResult.java | 0 .../v2/lib/sponge/ImmutableCommandMapping.java | 0 .../v2/lib/sponge/InvocationCommandException.java | 0 .../v2/lib/sponge/TextMessageException.java | 0 .../lib/sponge/args/ArgumentParseException.java | 0 .../sponge/args/ChildCommandElementExecutor.java | 0 .../command/v2/lib/sponge/args/CommandArgs.java | 0 .../v2/lib/sponge/args/CommandContext.java | 0 .../v2/lib/sponge/args/CommandElement.java | 0 .../command/v2/lib/sponge/args/CommandFlags.java | 0 .../v2/lib/sponge/args/GenericArguments.java | 0 .../command/v2/lib/sponge/args/KeyElement.java | 0 .../args/PatternMatchingCommandElement.java | 0 .../lib/sponge/args/SelectorCommandElement.java | 0 .../lib/sponge/args/parsing/InputTokenizer.java | 0 .../args/parsing/QuotedStringTokenizer.java | 0 .../args/parsing/RawStringInputTokenizer.java | 0 .../v2/lib/sponge/args/parsing/SingleArg.java | 0 .../args/parsing/SpaceSplitInputTokenizer.java | 0 .../lib/sponge/args/parsing/TokenizerState.java | 0 .../v2/lib/sponge/dispatcher/Disambiguator.java | 0 .../v2/lib/sponge/dispatcher/Dispatcher.java | 0 .../lib/sponge/dispatcher/SimpleDispatcher.java | 0 .../v2/lib/sponge/spec/CommandExecutor.java | 0 .../command/v2/lib/sponge/spec/CommandSpec.java | 0 .../fabric/impl/command/CommandManagerImpl.java | 0 .../fabric/impl/command/CommandWrapper.java | 0 .../fabric/impl/command/ImplInit.java | 0 .../fabric/impl/command/InternalObjects.java | 0 .../impl/command/MinecraftClientAccessor.java | 0 .../lib/sponge/args/AllOfCommandElement.java | 0 .../lib/sponge/args/BigDecimalElement.java | 0 .../lib/sponge/args/BigIntegerElement.java | 0 .../lib/sponge/args/ChoicesCommandElement.java | 0 .../command/lib/sponge/args/DateTimeElement.java | 0 .../command/lib/sponge/args/DurationElement.java | 0 .../lib/sponge/args/EntityCommandElement.java | 0 .../command/lib/sponge/args/EnumValueElement.java | 0 .../sponge/args/FilteredSuggestionsElement.java | 0 .../sponge/args/FirstParsingCommandElement.java | 0 .../impl/command/lib/sponge/args/IpElement.java | 0 .../lib/sponge/args/LiteralCommandElement.java | 0 .../lib/sponge/args/MarkTrueCommandElement.java | 0 .../lib/sponge/args/ModCommandElement.java | 0 .../command/lib/sponge/args/NumericElement.java | 0 .../lib/sponge/args/OnlyOneCommandElement.java | 0 .../lib/sponge/args/OptionalCommandElement.java | 0 .../lib/sponge/args/PermissionCommandElement.java | 0 .../lib/sponge/args/PlayerCommandElement.java | 0 .../RemainingJoinedStringsCommandElement.java | 0 .../lib/sponge/args/RepeatedCommandElement.java | 0 .../lib/sponge/args/SequenceCommandElement.java | 0 .../lib/sponge/args/StringCommandElement.java | 0 .../command/lib/sponge/args/StringElement.java | 0 .../impl/command/lib/sponge/args/UrlElement.java | 0 .../impl/command/lib/sponge/args/UuidElement.java | 0 .../lib/sponge/args/Vec3dCommandElement.java | 0 .../lib/sponge/args/WithSuggestionsElement.java | 0 .../mixin/command/MinecraftClientMixin.java | 0 .../mixin/command/MinecraftServerMixin.java | 0 .../legacy-fabric-sponge-command-api-v2/icon.png | Bin .../1.12.2}/src/main/resources/fabric.mod.json | 2 +- ...egacy-fabric-sponge-command-api-v2.mixins.json | 0 .../fabric/test/command/ModMetadataCommand.java | 0 .../fabric/test/command/SpongeCommandTest.java | 0 .../1.12.2}/src/testmod/resources/fabric.mod.json | 2 +- legacy-fabric-command-api-v2/1.7.10/build.gradle | 0 .../1.7.10/gradle.properties | 2 ++ .../fabric/api/command/v2/CommandRegistrar.java | 0 .../fabric/api/command/v2/Selector.java | 0 .../fabric/api/command/v2/StringType.java | 0 .../command/v2/lib/sponge/CommandCallable.java | 0 .../command/v2/lib/sponge/CommandException.java | 0 .../api/command/v2/lib/sponge/CommandManager.java | 0 .../api/command/v2/lib/sponge/CommandMapping.java | 0 .../v2/lib/sponge/CommandMessageFormatting.java | 0 .../v2/lib/sponge/CommandNotFoundException.java | 0 .../v2/lib/sponge/CommandPermissionException.java | 0 .../api/command/v2/lib/sponge/CommandResult.java | 0 .../v2/lib/sponge/ImmutableCommandMapping.java | 0 .../v2/lib/sponge/InvocationCommandException.java | 0 .../v2/lib/sponge/TextMessageException.java | 0 .../lib/sponge/args/ArgumentParseException.java | 0 .../sponge/args/ChildCommandElementExecutor.java | 0 .../command/v2/lib/sponge/args/CommandArgs.java | 0 .../v2/lib/sponge/args/CommandContext.java | 0 .../v2/lib/sponge/args/CommandElement.java | 0 .../command/v2/lib/sponge/args/CommandFlags.java | 0 .../v2/lib/sponge/args/GenericArguments.java | 0 .../command/v2/lib/sponge/args/KeyElement.java | 0 .../args/PatternMatchingCommandElement.java | 0 .../lib/sponge/args/SelectorCommandElement.java | 0 .../lib/sponge/args/parsing/InputTokenizer.java | 0 .../args/parsing/QuotedStringTokenizer.java | 0 .../args/parsing/RawStringInputTokenizer.java | 0 .../v2/lib/sponge/args/parsing/SingleArg.java | 0 .../args/parsing/SpaceSplitInputTokenizer.java | 0 .../lib/sponge/args/parsing/TokenizerState.java | 0 .../v2/lib/sponge/dispatcher/Disambiguator.java | 0 .../v2/lib/sponge/dispatcher/Dispatcher.java | 0 .../lib/sponge/dispatcher/SimpleDispatcher.java | 0 .../v2/lib/sponge/spec/CommandExecutor.java | 0 .../command/v2/lib/sponge/spec/CommandSpec.java | 0 .../fabric/impl/command/CommandManagerImpl.java | 0 .../fabric/impl/command/CommandWrapper.java | 0 .../fabric/impl/command/ImplInit.java | 0 .../fabric/impl/command/InternalObjects.java | 0 .../lib/sponge/args/AllOfCommandElement.java | 0 .../lib/sponge/args/BigDecimalElement.java | 0 .../lib/sponge/args/BigIntegerElement.java | 0 .../lib/sponge/args/ChoicesCommandElement.java | 0 .../command/lib/sponge/args/DateTimeElement.java | 0 .../command/lib/sponge/args/DurationElement.java | 0 .../lib/sponge/args/EntityCommandElement.java | 0 .../command/lib/sponge/args/EnumValueElement.java | 0 .../sponge/args/FilteredSuggestionsElement.java | 0 .../sponge/args/FirstParsingCommandElement.java | 0 .../impl/command/lib/sponge/args/IpElement.java | 0 .../lib/sponge/args/LiteralCommandElement.java | 0 .../lib/sponge/args/MarkTrueCommandElement.java | 0 .../lib/sponge/args/ModCommandElement.java | 0 .../command/lib/sponge/args/NumericElement.java | 0 .../lib/sponge/args/OnlyOneCommandElement.java | 0 .../lib/sponge/args/OptionalCommandElement.java | 0 .../lib/sponge/args/PermissionCommandElement.java | 0 .../lib/sponge/args/PlayerCommandElement.java | 0 .../RemainingJoinedStringsCommandElement.java | 0 .../lib/sponge/args/RepeatedCommandElement.java | 0 .../lib/sponge/args/SequenceCommandElement.java | 0 .../lib/sponge/args/StringCommandElement.java | 0 .../command/lib/sponge/args/StringElement.java | 0 .../impl/command/lib/sponge/args/UrlElement.java | 0 .../impl/command/lib/sponge/args/UuidElement.java | 0 .../lib/sponge/args/Vec3dCommandElement.java | 0 .../lib/sponge/args/WithSuggestionsElement.java | 0 .../mixin/command/MinecraftServerMixin.java | 0 .../legacy-fabric-sponge-command-api-v2/icon.png | Bin .../1.7.10}/src/main/resources/fabric.mod.json | 2 +- ...egacy-fabric-sponge-command-api-v2.mixins.json | 0 .../fabric/test/command/ModMetadataCommand.java | 0 .../fabric/test/command/SpongeCommandTest.java | 0 .../1.7.10}/src/testmod/resources/fabric.mod.json | 2 +- legacy-fabric-command-api-v2/1.8.9/build.gradle | 0 .../1.8.9/gradle.properties | 2 ++ .../fabric/api/command/v2/CommandRegistrar.java | 0 .../fabric/api/command/v2/Selector.java | 0 .../fabric/api/command/v2/StringType.java | 0 .../command/v2/lib/sponge/CommandCallable.java | 0 .../command/v2/lib/sponge/CommandException.java | 0 .../api/command/v2/lib/sponge/CommandManager.java | 0 .../api/command/v2/lib/sponge/CommandMapping.java | 0 .../v2/lib/sponge/CommandMessageFormatting.java | 0 .../v2/lib/sponge/CommandNotFoundException.java | 0 .../v2/lib/sponge/CommandPermissionException.java | 0 .../api/command/v2/lib/sponge/CommandResult.java | 0 .../v2/lib/sponge/ImmutableCommandMapping.java | 0 .../v2/lib/sponge/InvocationCommandException.java | 0 .../v2/lib/sponge/TextMessageException.java | 0 .../lib/sponge/args/ArgumentParseException.java | 0 .../sponge/args/ChildCommandElementExecutor.java | 0 .../command/v2/lib/sponge/args/CommandArgs.java | 0 .../v2/lib/sponge/args/CommandContext.java | 0 .../v2/lib/sponge/args/CommandElement.java | 0 .../command/v2/lib/sponge/args/CommandFlags.java | 0 .../v2/lib/sponge/args/GenericArguments.java | 0 .../command/v2/lib/sponge/args/KeyElement.java | 0 .../args/PatternMatchingCommandElement.java | 0 .../lib/sponge/args/SelectorCommandElement.java | 0 .../lib/sponge/args/parsing/InputTokenizer.java | 0 .../args/parsing/QuotedStringTokenizer.java | 0 .../args/parsing/RawStringInputTokenizer.java | 0 .../v2/lib/sponge/args/parsing/SingleArg.java | 0 .../args/parsing/SpaceSplitInputTokenizer.java | 0 .../lib/sponge/args/parsing/TokenizerState.java | 0 .../v2/lib/sponge/dispatcher/Disambiguator.java | 0 .../v2/lib/sponge/dispatcher/Dispatcher.java | 0 .../lib/sponge/dispatcher/SimpleDispatcher.java | 0 .../v2/lib/sponge/spec/CommandExecutor.java | 0 .../command/v2/lib/sponge/spec/CommandSpec.java | 0 .../fabric/impl/command/CommandManagerImpl.java | 0 .../fabric/impl/command/CommandWrapper.java | 0 .../fabric/impl/command/ImplInit.java | 0 .../fabric/impl/command/InternalObjects.java | 0 .../lib/sponge/args/AllOfCommandElement.java | 0 .../lib/sponge/args/BigDecimalElement.java | 0 .../lib/sponge/args/BigIntegerElement.java | 0 .../lib/sponge/args/ChoicesCommandElement.java | 0 .../command/lib/sponge/args/DateTimeElement.java | 0 .../command/lib/sponge/args/DurationElement.java | 0 .../lib/sponge/args/EntityCommandElement.java | 0 .../command/lib/sponge/args/EnumValueElement.java | 0 .../sponge/args/FilteredSuggestionsElement.java | 0 .../sponge/args/FirstParsingCommandElement.java | 0 .../impl/command/lib/sponge/args/IpElement.java | 0 .../lib/sponge/args/LiteralCommandElement.java | 0 .../lib/sponge/args/MarkTrueCommandElement.java | 0 .../lib/sponge/args/ModCommandElement.java | 0 .../command/lib/sponge/args/NumericElement.java | 0 .../lib/sponge/args/OnlyOneCommandElement.java | 0 .../lib/sponge/args/OptionalCommandElement.java | 0 .../lib/sponge/args/PermissionCommandElement.java | 0 .../lib/sponge/args/PlayerCommandElement.java | 0 .../RemainingJoinedStringsCommandElement.java | 0 .../lib/sponge/args/RepeatedCommandElement.java | 0 .../lib/sponge/args/SequenceCommandElement.java | 0 .../lib/sponge/args/StringCommandElement.java | 0 .../command/lib/sponge/args/StringElement.java | 0 .../impl/command/lib/sponge/args/UrlElement.java | 0 .../impl/command/lib/sponge/args/UuidElement.java | 0 .../lib/sponge/args/Vec3dCommandElement.java | 0 .../lib/sponge/args/WithSuggestionsElement.java | 0 .../mixin/command/MinecraftServerMixin.java | 0 .../legacy-fabric-sponge-command-api-v2/icon.png | Bin .../1.8.9}/src/main/resources/fabric.mod.json | 2 +- ...egacy-fabric-sponge-command-api-v2.mixins.json | 0 .../fabric/test/command/ModMetadataCommand.java | 0 .../fabric/test/command/SpongeCommandTest.java | 0 .../1.8.9}/src/testmod/resources/fabric.mod.json | 2 +- legacy-fabric-command-api-v2/common.gradle | 5 +++++ settings.gradle | 1 + 235 files changed, 18 insertions(+), 44 deletions(-) delete mode 100644 1.12.2/legacy-fabric-command-api-v2/build.gradle delete mode 100644 1.7.10/legacy-fabric-command-api-v2/build.gradle delete mode 100644 1.8.9/legacy-fabric-command-api-v2/build.gradle create mode 100644 legacy-fabric-command-api-v2/1.12.2/build.gradle create mode 100644 legacy-fabric-command-api-v2/1.12.2/gradle.properties rename {1.12.2/legacy-fabric-command-api-v2 => legacy-fabric-command-api-v2/1.12.2}/src/main/java/net/legacyfabric/fabric/api/command/v2/CommandRegistrar.java (100%) rename {1.12.2/legacy-fabric-command-api-v2 => legacy-fabric-command-api-v2/1.12.2}/src/main/java/net/legacyfabric/fabric/api/command/v2/Selector.java (100%) rename {1.12.2/legacy-fabric-command-api-v2 => legacy-fabric-command-api-v2/1.12.2}/src/main/java/net/legacyfabric/fabric/api/command/v2/StringType.java (100%) rename {1.12.2/legacy-fabric-command-api-v2 => legacy-fabric-command-api-v2/1.12.2}/src/main/java/net/legacyfabric/fabric/api/command/v2/lib/sponge/CommandCallable.java (100%) rename {1.12.2/legacy-fabric-command-api-v2 => legacy-fabric-command-api-v2/1.12.2}/src/main/java/net/legacyfabric/fabric/api/command/v2/lib/sponge/CommandException.java (100%) rename {1.12.2/legacy-fabric-command-api-v2 => legacy-fabric-command-api-v2/1.12.2}/src/main/java/net/legacyfabric/fabric/api/command/v2/lib/sponge/CommandManager.java (100%) rename {1.12.2/legacy-fabric-command-api-v2 => legacy-fabric-command-api-v2/1.12.2}/src/main/java/net/legacyfabric/fabric/api/command/v2/lib/sponge/CommandMapping.java (100%) rename {1.12.2/legacy-fabric-command-api-v2 => legacy-fabric-command-api-v2/1.12.2}/src/main/java/net/legacyfabric/fabric/api/command/v2/lib/sponge/CommandMessageFormatting.java (100%) rename {1.12.2/legacy-fabric-command-api-v2 => legacy-fabric-command-api-v2/1.12.2}/src/main/java/net/legacyfabric/fabric/api/command/v2/lib/sponge/CommandNotFoundException.java (100%) rename {1.12.2/legacy-fabric-command-api-v2 => legacy-fabric-command-api-v2/1.12.2}/src/main/java/net/legacyfabric/fabric/api/command/v2/lib/sponge/CommandPermissionException.java (100%) rename {1.12.2/legacy-fabric-command-api-v2 => legacy-fabric-command-api-v2/1.12.2}/src/main/java/net/legacyfabric/fabric/api/command/v2/lib/sponge/CommandResult.java (100%) rename {1.12.2/legacy-fabric-command-api-v2 => legacy-fabric-command-api-v2/1.12.2}/src/main/java/net/legacyfabric/fabric/api/command/v2/lib/sponge/ImmutableCommandMapping.java (100%) rename {1.12.2/legacy-fabric-command-api-v2 => legacy-fabric-command-api-v2/1.12.2}/src/main/java/net/legacyfabric/fabric/api/command/v2/lib/sponge/InvocationCommandException.java (100%) rename {1.12.2/legacy-fabric-command-api-v2 => legacy-fabric-command-api-v2/1.12.2}/src/main/java/net/legacyfabric/fabric/api/command/v2/lib/sponge/TextMessageException.java (100%) rename {1.12.2/legacy-fabric-command-api-v2 => legacy-fabric-command-api-v2/1.12.2}/src/main/java/net/legacyfabric/fabric/api/command/v2/lib/sponge/args/ArgumentParseException.java (100%) rename {1.12.2/legacy-fabric-command-api-v2 => legacy-fabric-command-api-v2/1.12.2}/src/main/java/net/legacyfabric/fabric/api/command/v2/lib/sponge/args/ChildCommandElementExecutor.java (100%) rename {1.12.2/legacy-fabric-command-api-v2 => legacy-fabric-command-api-v2/1.12.2}/src/main/java/net/legacyfabric/fabric/api/command/v2/lib/sponge/args/CommandArgs.java (100%) rename {1.12.2/legacy-fabric-command-api-v2 => legacy-fabric-command-api-v2/1.12.2}/src/main/java/net/legacyfabric/fabric/api/command/v2/lib/sponge/args/CommandContext.java (100%) rename {1.12.2/legacy-fabric-command-api-v2 => legacy-fabric-command-api-v2/1.12.2}/src/main/java/net/legacyfabric/fabric/api/command/v2/lib/sponge/args/CommandElement.java (100%) rename {1.12.2/legacy-fabric-command-api-v2 => legacy-fabric-command-api-v2/1.12.2}/src/main/java/net/legacyfabric/fabric/api/command/v2/lib/sponge/args/CommandFlags.java (100%) rename {1.12.2/legacy-fabric-command-api-v2 => legacy-fabric-command-api-v2/1.12.2}/src/main/java/net/legacyfabric/fabric/api/command/v2/lib/sponge/args/GenericArguments.java (100%) rename {1.12.2/legacy-fabric-command-api-v2 => legacy-fabric-command-api-v2/1.12.2}/src/main/java/net/legacyfabric/fabric/api/command/v2/lib/sponge/args/KeyElement.java (100%) rename {1.12.2/legacy-fabric-command-api-v2 => legacy-fabric-command-api-v2/1.12.2}/src/main/java/net/legacyfabric/fabric/api/command/v2/lib/sponge/args/PatternMatchingCommandElement.java (100%) rename {1.12.2/legacy-fabric-command-api-v2 => legacy-fabric-command-api-v2/1.12.2}/src/main/java/net/legacyfabric/fabric/api/command/v2/lib/sponge/args/SelectorCommandElement.java (100%) rename {1.12.2/legacy-fabric-command-api-v2 => legacy-fabric-command-api-v2/1.12.2}/src/main/java/net/legacyfabric/fabric/api/command/v2/lib/sponge/args/parsing/InputTokenizer.java (100%) rename {1.12.2/legacy-fabric-command-api-v2 => legacy-fabric-command-api-v2/1.12.2}/src/main/java/net/legacyfabric/fabric/api/command/v2/lib/sponge/args/parsing/QuotedStringTokenizer.java (100%) rename {1.12.2/legacy-fabric-command-api-v2 => legacy-fabric-command-api-v2/1.12.2}/src/main/java/net/legacyfabric/fabric/api/command/v2/lib/sponge/args/parsing/RawStringInputTokenizer.java (100%) rename {1.12.2/legacy-fabric-command-api-v2 => legacy-fabric-command-api-v2/1.12.2}/src/main/java/net/legacyfabric/fabric/api/command/v2/lib/sponge/args/parsing/SingleArg.java (100%) rename {1.12.2/legacy-fabric-command-api-v2 => legacy-fabric-command-api-v2/1.12.2}/src/main/java/net/legacyfabric/fabric/api/command/v2/lib/sponge/args/parsing/SpaceSplitInputTokenizer.java (100%) rename {1.12.2/legacy-fabric-command-api-v2 => legacy-fabric-command-api-v2/1.12.2}/src/main/java/net/legacyfabric/fabric/api/command/v2/lib/sponge/args/parsing/TokenizerState.java (100%) rename {1.12.2/legacy-fabric-command-api-v2 => legacy-fabric-command-api-v2/1.12.2}/src/main/java/net/legacyfabric/fabric/api/command/v2/lib/sponge/dispatcher/Disambiguator.java (100%) rename {1.12.2/legacy-fabric-command-api-v2 => legacy-fabric-command-api-v2/1.12.2}/src/main/java/net/legacyfabric/fabric/api/command/v2/lib/sponge/dispatcher/Dispatcher.java (100%) rename {1.12.2/legacy-fabric-command-api-v2 => legacy-fabric-command-api-v2/1.12.2}/src/main/java/net/legacyfabric/fabric/api/command/v2/lib/sponge/dispatcher/SimpleDispatcher.java (100%) rename {1.12.2/legacy-fabric-command-api-v2 => legacy-fabric-command-api-v2/1.12.2}/src/main/java/net/legacyfabric/fabric/api/command/v2/lib/sponge/spec/CommandExecutor.java (100%) rename {1.12.2/legacy-fabric-command-api-v2 => legacy-fabric-command-api-v2/1.12.2}/src/main/java/net/legacyfabric/fabric/api/command/v2/lib/sponge/spec/CommandSpec.java (100%) rename {1.12.2/legacy-fabric-command-api-v2 => legacy-fabric-command-api-v2/1.12.2}/src/main/java/net/legacyfabric/fabric/impl/command/CommandManagerImpl.java (100%) rename {1.12.2/legacy-fabric-command-api-v2 => legacy-fabric-command-api-v2/1.12.2}/src/main/java/net/legacyfabric/fabric/impl/command/CommandWrapper.java (100%) rename {1.12.2/legacy-fabric-command-api-v2 => legacy-fabric-command-api-v2/1.12.2}/src/main/java/net/legacyfabric/fabric/impl/command/ImplInit.java (100%) rename {1.12.2/legacy-fabric-command-api-v2 => legacy-fabric-command-api-v2/1.12.2}/src/main/java/net/legacyfabric/fabric/impl/command/InternalObjects.java (100%) rename {1.12.2/legacy-fabric-command-api-v2 => legacy-fabric-command-api-v2/1.12.2}/src/main/java/net/legacyfabric/fabric/impl/command/MinecraftClientAccessor.java (100%) rename {1.12.2/legacy-fabric-command-api-v2 => legacy-fabric-command-api-v2/1.12.2}/src/main/java/net/legacyfabric/fabric/impl/command/lib/sponge/args/AllOfCommandElement.java (100%) rename {1.12.2/legacy-fabric-command-api-v2 => legacy-fabric-command-api-v2/1.12.2}/src/main/java/net/legacyfabric/fabric/impl/command/lib/sponge/args/BigDecimalElement.java (100%) rename {1.12.2/legacy-fabric-command-api-v2 => legacy-fabric-command-api-v2/1.12.2}/src/main/java/net/legacyfabric/fabric/impl/command/lib/sponge/args/BigIntegerElement.java (100%) rename {1.12.2/legacy-fabric-command-api-v2 => legacy-fabric-command-api-v2/1.12.2}/src/main/java/net/legacyfabric/fabric/impl/command/lib/sponge/args/ChoicesCommandElement.java (100%) rename {1.12.2/legacy-fabric-command-api-v2 => legacy-fabric-command-api-v2/1.12.2}/src/main/java/net/legacyfabric/fabric/impl/command/lib/sponge/args/DateTimeElement.java (100%) rename {1.12.2/legacy-fabric-command-api-v2 => legacy-fabric-command-api-v2/1.12.2}/src/main/java/net/legacyfabric/fabric/impl/command/lib/sponge/args/DurationElement.java (100%) rename {1.12.2/legacy-fabric-command-api-v2 => legacy-fabric-command-api-v2/1.12.2}/src/main/java/net/legacyfabric/fabric/impl/command/lib/sponge/args/EntityCommandElement.java (100%) rename {1.12.2/legacy-fabric-command-api-v2 => legacy-fabric-command-api-v2/1.12.2}/src/main/java/net/legacyfabric/fabric/impl/command/lib/sponge/args/EnumValueElement.java (100%) rename {1.12.2/legacy-fabric-command-api-v2 => legacy-fabric-command-api-v2/1.12.2}/src/main/java/net/legacyfabric/fabric/impl/command/lib/sponge/args/FilteredSuggestionsElement.java (100%) rename {1.12.2/legacy-fabric-command-api-v2 => legacy-fabric-command-api-v2/1.12.2}/src/main/java/net/legacyfabric/fabric/impl/command/lib/sponge/args/FirstParsingCommandElement.java (100%) rename {1.12.2/legacy-fabric-command-api-v2 => legacy-fabric-command-api-v2/1.12.2}/src/main/java/net/legacyfabric/fabric/impl/command/lib/sponge/args/IpElement.java (100%) rename {1.12.2/legacy-fabric-command-api-v2 => legacy-fabric-command-api-v2/1.12.2}/src/main/java/net/legacyfabric/fabric/impl/command/lib/sponge/args/LiteralCommandElement.java (100%) rename {1.12.2/legacy-fabric-command-api-v2 => legacy-fabric-command-api-v2/1.12.2}/src/main/java/net/legacyfabric/fabric/impl/command/lib/sponge/args/MarkTrueCommandElement.java (100%) rename {1.12.2/legacy-fabric-command-api-v2 => legacy-fabric-command-api-v2/1.12.2}/src/main/java/net/legacyfabric/fabric/impl/command/lib/sponge/args/ModCommandElement.java (100%) rename {1.12.2/legacy-fabric-command-api-v2 => legacy-fabric-command-api-v2/1.12.2}/src/main/java/net/legacyfabric/fabric/impl/command/lib/sponge/args/NumericElement.java (100%) rename {1.12.2/legacy-fabric-command-api-v2 => legacy-fabric-command-api-v2/1.12.2}/src/main/java/net/legacyfabric/fabric/impl/command/lib/sponge/args/OnlyOneCommandElement.java (100%) rename {1.12.2/legacy-fabric-command-api-v2 => legacy-fabric-command-api-v2/1.12.2}/src/main/java/net/legacyfabric/fabric/impl/command/lib/sponge/args/OptionalCommandElement.java (100%) rename {1.12.2/legacy-fabric-command-api-v2 => legacy-fabric-command-api-v2/1.12.2}/src/main/java/net/legacyfabric/fabric/impl/command/lib/sponge/args/PermissionCommandElement.java (100%) rename {1.12.2/legacy-fabric-command-api-v2 => legacy-fabric-command-api-v2/1.12.2}/src/main/java/net/legacyfabric/fabric/impl/command/lib/sponge/args/PlayerCommandElement.java (100%) rename {1.12.2/legacy-fabric-command-api-v2 => legacy-fabric-command-api-v2/1.12.2}/src/main/java/net/legacyfabric/fabric/impl/command/lib/sponge/args/RemainingJoinedStringsCommandElement.java (100%) rename {1.12.2/legacy-fabric-command-api-v2 => legacy-fabric-command-api-v2/1.12.2}/src/main/java/net/legacyfabric/fabric/impl/command/lib/sponge/args/RepeatedCommandElement.java (100%) rename {1.12.2/legacy-fabric-command-api-v2 => legacy-fabric-command-api-v2/1.12.2}/src/main/java/net/legacyfabric/fabric/impl/command/lib/sponge/args/SequenceCommandElement.java (100%) rename {1.12.2/legacy-fabric-command-api-v2 => legacy-fabric-command-api-v2/1.12.2}/src/main/java/net/legacyfabric/fabric/impl/command/lib/sponge/args/StringCommandElement.java (100%) rename {1.12.2/legacy-fabric-command-api-v2 => legacy-fabric-command-api-v2/1.12.2}/src/main/java/net/legacyfabric/fabric/impl/command/lib/sponge/args/StringElement.java (100%) rename {1.12.2/legacy-fabric-command-api-v2 => legacy-fabric-command-api-v2/1.12.2}/src/main/java/net/legacyfabric/fabric/impl/command/lib/sponge/args/UrlElement.java (100%) rename {1.12.2/legacy-fabric-command-api-v2 => legacy-fabric-command-api-v2/1.12.2}/src/main/java/net/legacyfabric/fabric/impl/command/lib/sponge/args/UuidElement.java (100%) rename {1.12.2/legacy-fabric-command-api-v2 => legacy-fabric-command-api-v2/1.12.2}/src/main/java/net/legacyfabric/fabric/impl/command/lib/sponge/args/Vec3dCommandElement.java (100%) rename {1.12.2/legacy-fabric-command-api-v2 => legacy-fabric-command-api-v2/1.12.2}/src/main/java/net/legacyfabric/fabric/impl/command/lib/sponge/args/WithSuggestionsElement.java (100%) rename {1.12.2/legacy-fabric-command-api-v2 => legacy-fabric-command-api-v2/1.12.2}/src/main/java/net/legacyfabric/fabric/mixin/command/MinecraftClientMixin.java (100%) rename {1.12.2/legacy-fabric-command-api-v2 => legacy-fabric-command-api-v2/1.12.2}/src/main/java/net/legacyfabric/fabric/mixin/command/MinecraftServerMixin.java (100%) rename {1.12.2/legacy-fabric-command-api-v2 => legacy-fabric-command-api-v2/1.12.2}/src/main/resources/assets/legacy-fabric-sponge-command-api-v2/icon.png (100%) rename {1.7.10/legacy-fabric-command-api-v2 => legacy-fabric-command-api-v2/1.12.2}/src/main/resources/fabric.mod.json (97%) rename {1.12.2/legacy-fabric-command-api-v2 => legacy-fabric-command-api-v2/1.12.2}/src/main/resources/legacy-fabric-sponge-command-api-v2.mixins.json (100%) rename {1.12.2/legacy-fabric-command-api-v2 => legacy-fabric-command-api-v2/1.12.2}/src/testmod/java/net/legacyfabric/fabric/test/command/ModMetadataCommand.java (100%) rename {1.12.2/legacy-fabric-command-api-v2 => legacy-fabric-command-api-v2/1.12.2}/src/testmod/java/net/legacyfabric/fabric/test/command/SpongeCommandTest.java (100%) rename {1.8.9/legacy-fabric-command-api-v2 => legacy-fabric-command-api-v2/1.12.2}/src/testmod/resources/fabric.mod.json (86%) create mode 100644 legacy-fabric-command-api-v2/1.7.10/build.gradle create mode 100644 legacy-fabric-command-api-v2/1.7.10/gradle.properties rename {1.7.10/legacy-fabric-command-api-v2 => legacy-fabric-command-api-v2/1.7.10}/src/main/java/net/legacyfabric/fabric/api/command/v2/CommandRegistrar.java (100%) rename {1.7.10/legacy-fabric-command-api-v2 => legacy-fabric-command-api-v2/1.7.10}/src/main/java/net/legacyfabric/fabric/api/command/v2/Selector.java (100%) rename {1.7.10/legacy-fabric-command-api-v2 => legacy-fabric-command-api-v2/1.7.10}/src/main/java/net/legacyfabric/fabric/api/command/v2/StringType.java (100%) rename {1.7.10/legacy-fabric-command-api-v2 => legacy-fabric-command-api-v2/1.7.10}/src/main/java/net/legacyfabric/fabric/api/command/v2/lib/sponge/CommandCallable.java (100%) rename {1.7.10/legacy-fabric-command-api-v2 => legacy-fabric-command-api-v2/1.7.10}/src/main/java/net/legacyfabric/fabric/api/command/v2/lib/sponge/CommandException.java (100%) rename {1.7.10/legacy-fabric-command-api-v2 => legacy-fabric-command-api-v2/1.7.10}/src/main/java/net/legacyfabric/fabric/api/command/v2/lib/sponge/CommandManager.java (100%) rename {1.7.10/legacy-fabric-command-api-v2 => legacy-fabric-command-api-v2/1.7.10}/src/main/java/net/legacyfabric/fabric/api/command/v2/lib/sponge/CommandMapping.java (100%) rename {1.7.10/legacy-fabric-command-api-v2 => legacy-fabric-command-api-v2/1.7.10}/src/main/java/net/legacyfabric/fabric/api/command/v2/lib/sponge/CommandMessageFormatting.java (100%) rename {1.7.10/legacy-fabric-command-api-v2 => legacy-fabric-command-api-v2/1.7.10}/src/main/java/net/legacyfabric/fabric/api/command/v2/lib/sponge/CommandNotFoundException.java (100%) rename {1.7.10/legacy-fabric-command-api-v2 => legacy-fabric-command-api-v2/1.7.10}/src/main/java/net/legacyfabric/fabric/api/command/v2/lib/sponge/CommandPermissionException.java (100%) rename {1.7.10/legacy-fabric-command-api-v2 => legacy-fabric-command-api-v2/1.7.10}/src/main/java/net/legacyfabric/fabric/api/command/v2/lib/sponge/CommandResult.java (100%) rename {1.7.10/legacy-fabric-command-api-v2 => legacy-fabric-command-api-v2/1.7.10}/src/main/java/net/legacyfabric/fabric/api/command/v2/lib/sponge/ImmutableCommandMapping.java (100%) rename {1.7.10/legacy-fabric-command-api-v2 => legacy-fabric-command-api-v2/1.7.10}/src/main/java/net/legacyfabric/fabric/api/command/v2/lib/sponge/InvocationCommandException.java (100%) rename {1.7.10/legacy-fabric-command-api-v2 => legacy-fabric-command-api-v2/1.7.10}/src/main/java/net/legacyfabric/fabric/api/command/v2/lib/sponge/TextMessageException.java (100%) rename {1.7.10/legacy-fabric-command-api-v2 => legacy-fabric-command-api-v2/1.7.10}/src/main/java/net/legacyfabric/fabric/api/command/v2/lib/sponge/args/ArgumentParseException.java (100%) rename {1.7.10/legacy-fabric-command-api-v2 => legacy-fabric-command-api-v2/1.7.10}/src/main/java/net/legacyfabric/fabric/api/command/v2/lib/sponge/args/ChildCommandElementExecutor.java (100%) rename {1.7.10/legacy-fabric-command-api-v2 => legacy-fabric-command-api-v2/1.7.10}/src/main/java/net/legacyfabric/fabric/api/command/v2/lib/sponge/args/CommandArgs.java (100%) rename {1.7.10/legacy-fabric-command-api-v2 => legacy-fabric-command-api-v2/1.7.10}/src/main/java/net/legacyfabric/fabric/api/command/v2/lib/sponge/args/CommandContext.java (100%) rename {1.7.10/legacy-fabric-command-api-v2 => legacy-fabric-command-api-v2/1.7.10}/src/main/java/net/legacyfabric/fabric/api/command/v2/lib/sponge/args/CommandElement.java (100%) rename {1.7.10/legacy-fabric-command-api-v2 => legacy-fabric-command-api-v2/1.7.10}/src/main/java/net/legacyfabric/fabric/api/command/v2/lib/sponge/args/CommandFlags.java (100%) rename {1.7.10/legacy-fabric-command-api-v2 => legacy-fabric-command-api-v2/1.7.10}/src/main/java/net/legacyfabric/fabric/api/command/v2/lib/sponge/args/GenericArguments.java (100%) rename {1.7.10/legacy-fabric-command-api-v2 => legacy-fabric-command-api-v2/1.7.10}/src/main/java/net/legacyfabric/fabric/api/command/v2/lib/sponge/args/KeyElement.java (100%) rename {1.7.10/legacy-fabric-command-api-v2 => legacy-fabric-command-api-v2/1.7.10}/src/main/java/net/legacyfabric/fabric/api/command/v2/lib/sponge/args/PatternMatchingCommandElement.java (100%) rename {1.7.10/legacy-fabric-command-api-v2 => legacy-fabric-command-api-v2/1.7.10}/src/main/java/net/legacyfabric/fabric/api/command/v2/lib/sponge/args/SelectorCommandElement.java (100%) rename {1.7.10/legacy-fabric-command-api-v2 => legacy-fabric-command-api-v2/1.7.10}/src/main/java/net/legacyfabric/fabric/api/command/v2/lib/sponge/args/parsing/InputTokenizer.java (100%) rename {1.7.10/legacy-fabric-command-api-v2 => legacy-fabric-command-api-v2/1.7.10}/src/main/java/net/legacyfabric/fabric/api/command/v2/lib/sponge/args/parsing/QuotedStringTokenizer.java (100%) rename {1.7.10/legacy-fabric-command-api-v2 => legacy-fabric-command-api-v2/1.7.10}/src/main/java/net/legacyfabric/fabric/api/command/v2/lib/sponge/args/parsing/RawStringInputTokenizer.java (100%) rename {1.7.10/legacy-fabric-command-api-v2 => legacy-fabric-command-api-v2/1.7.10}/src/main/java/net/legacyfabric/fabric/api/command/v2/lib/sponge/args/parsing/SingleArg.java (100%) rename {1.7.10/legacy-fabric-command-api-v2 => legacy-fabric-command-api-v2/1.7.10}/src/main/java/net/legacyfabric/fabric/api/command/v2/lib/sponge/args/parsing/SpaceSplitInputTokenizer.java (100%) rename {1.7.10/legacy-fabric-command-api-v2 => legacy-fabric-command-api-v2/1.7.10}/src/main/java/net/legacyfabric/fabric/api/command/v2/lib/sponge/args/parsing/TokenizerState.java (100%) rename {1.7.10/legacy-fabric-command-api-v2 => legacy-fabric-command-api-v2/1.7.10}/src/main/java/net/legacyfabric/fabric/api/command/v2/lib/sponge/dispatcher/Disambiguator.java (100%) rename {1.7.10/legacy-fabric-command-api-v2 => legacy-fabric-command-api-v2/1.7.10}/src/main/java/net/legacyfabric/fabric/api/command/v2/lib/sponge/dispatcher/Dispatcher.java (100%) rename {1.7.10/legacy-fabric-command-api-v2 => legacy-fabric-command-api-v2/1.7.10}/src/main/java/net/legacyfabric/fabric/api/command/v2/lib/sponge/dispatcher/SimpleDispatcher.java (100%) rename {1.7.10/legacy-fabric-command-api-v2 => legacy-fabric-command-api-v2/1.7.10}/src/main/java/net/legacyfabric/fabric/api/command/v2/lib/sponge/spec/CommandExecutor.java (100%) rename {1.7.10/legacy-fabric-command-api-v2 => legacy-fabric-command-api-v2/1.7.10}/src/main/java/net/legacyfabric/fabric/api/command/v2/lib/sponge/spec/CommandSpec.java (100%) rename {1.7.10/legacy-fabric-command-api-v2 => legacy-fabric-command-api-v2/1.7.10}/src/main/java/net/legacyfabric/fabric/impl/command/CommandManagerImpl.java (100%) rename {1.7.10/legacy-fabric-command-api-v2 => legacy-fabric-command-api-v2/1.7.10}/src/main/java/net/legacyfabric/fabric/impl/command/CommandWrapper.java (100%) rename {1.7.10/legacy-fabric-command-api-v2 => legacy-fabric-command-api-v2/1.7.10}/src/main/java/net/legacyfabric/fabric/impl/command/ImplInit.java (100%) rename {1.7.10/legacy-fabric-command-api-v2 => legacy-fabric-command-api-v2/1.7.10}/src/main/java/net/legacyfabric/fabric/impl/command/InternalObjects.java (100%) rename {1.7.10/legacy-fabric-command-api-v2 => legacy-fabric-command-api-v2/1.7.10}/src/main/java/net/legacyfabric/fabric/impl/command/lib/sponge/args/AllOfCommandElement.java (100%) rename {1.7.10/legacy-fabric-command-api-v2 => legacy-fabric-command-api-v2/1.7.10}/src/main/java/net/legacyfabric/fabric/impl/command/lib/sponge/args/BigDecimalElement.java (100%) rename {1.7.10/legacy-fabric-command-api-v2 => legacy-fabric-command-api-v2/1.7.10}/src/main/java/net/legacyfabric/fabric/impl/command/lib/sponge/args/BigIntegerElement.java (100%) rename {1.7.10/legacy-fabric-command-api-v2 => legacy-fabric-command-api-v2/1.7.10}/src/main/java/net/legacyfabric/fabric/impl/command/lib/sponge/args/ChoicesCommandElement.java (100%) rename {1.7.10/legacy-fabric-command-api-v2 => legacy-fabric-command-api-v2/1.7.10}/src/main/java/net/legacyfabric/fabric/impl/command/lib/sponge/args/DateTimeElement.java (100%) rename {1.7.10/legacy-fabric-command-api-v2 => legacy-fabric-command-api-v2/1.7.10}/src/main/java/net/legacyfabric/fabric/impl/command/lib/sponge/args/DurationElement.java (100%) rename {1.7.10/legacy-fabric-command-api-v2 => legacy-fabric-command-api-v2/1.7.10}/src/main/java/net/legacyfabric/fabric/impl/command/lib/sponge/args/EntityCommandElement.java (100%) rename {1.7.10/legacy-fabric-command-api-v2 => legacy-fabric-command-api-v2/1.7.10}/src/main/java/net/legacyfabric/fabric/impl/command/lib/sponge/args/EnumValueElement.java (100%) rename {1.7.10/legacy-fabric-command-api-v2 => legacy-fabric-command-api-v2/1.7.10}/src/main/java/net/legacyfabric/fabric/impl/command/lib/sponge/args/FilteredSuggestionsElement.java (100%) rename {1.7.10/legacy-fabric-command-api-v2 => legacy-fabric-command-api-v2/1.7.10}/src/main/java/net/legacyfabric/fabric/impl/command/lib/sponge/args/FirstParsingCommandElement.java (100%) rename {1.7.10/legacy-fabric-command-api-v2 => legacy-fabric-command-api-v2/1.7.10}/src/main/java/net/legacyfabric/fabric/impl/command/lib/sponge/args/IpElement.java (100%) rename {1.7.10/legacy-fabric-command-api-v2 => legacy-fabric-command-api-v2/1.7.10}/src/main/java/net/legacyfabric/fabric/impl/command/lib/sponge/args/LiteralCommandElement.java (100%) rename {1.7.10/legacy-fabric-command-api-v2 => legacy-fabric-command-api-v2/1.7.10}/src/main/java/net/legacyfabric/fabric/impl/command/lib/sponge/args/MarkTrueCommandElement.java (100%) rename {1.7.10/legacy-fabric-command-api-v2 => legacy-fabric-command-api-v2/1.7.10}/src/main/java/net/legacyfabric/fabric/impl/command/lib/sponge/args/ModCommandElement.java (100%) rename {1.7.10/legacy-fabric-command-api-v2 => legacy-fabric-command-api-v2/1.7.10}/src/main/java/net/legacyfabric/fabric/impl/command/lib/sponge/args/NumericElement.java (100%) rename {1.7.10/legacy-fabric-command-api-v2 => legacy-fabric-command-api-v2/1.7.10}/src/main/java/net/legacyfabric/fabric/impl/command/lib/sponge/args/OnlyOneCommandElement.java (100%) rename {1.7.10/legacy-fabric-command-api-v2 => legacy-fabric-command-api-v2/1.7.10}/src/main/java/net/legacyfabric/fabric/impl/command/lib/sponge/args/OptionalCommandElement.java (100%) rename {1.7.10/legacy-fabric-command-api-v2 => legacy-fabric-command-api-v2/1.7.10}/src/main/java/net/legacyfabric/fabric/impl/command/lib/sponge/args/PermissionCommandElement.java (100%) rename {1.7.10/legacy-fabric-command-api-v2 => legacy-fabric-command-api-v2/1.7.10}/src/main/java/net/legacyfabric/fabric/impl/command/lib/sponge/args/PlayerCommandElement.java (100%) rename {1.7.10/legacy-fabric-command-api-v2 => legacy-fabric-command-api-v2/1.7.10}/src/main/java/net/legacyfabric/fabric/impl/command/lib/sponge/args/RemainingJoinedStringsCommandElement.java (100%) rename {1.7.10/legacy-fabric-command-api-v2 => legacy-fabric-command-api-v2/1.7.10}/src/main/java/net/legacyfabric/fabric/impl/command/lib/sponge/args/RepeatedCommandElement.java (100%) rename {1.7.10/legacy-fabric-command-api-v2 => legacy-fabric-command-api-v2/1.7.10}/src/main/java/net/legacyfabric/fabric/impl/command/lib/sponge/args/SequenceCommandElement.java (100%) rename {1.7.10/legacy-fabric-command-api-v2 => legacy-fabric-command-api-v2/1.7.10}/src/main/java/net/legacyfabric/fabric/impl/command/lib/sponge/args/StringCommandElement.java (100%) rename {1.7.10/legacy-fabric-command-api-v2 => legacy-fabric-command-api-v2/1.7.10}/src/main/java/net/legacyfabric/fabric/impl/command/lib/sponge/args/StringElement.java (100%) rename {1.7.10/legacy-fabric-command-api-v2 => legacy-fabric-command-api-v2/1.7.10}/src/main/java/net/legacyfabric/fabric/impl/command/lib/sponge/args/UrlElement.java (100%) rename {1.7.10/legacy-fabric-command-api-v2 => legacy-fabric-command-api-v2/1.7.10}/src/main/java/net/legacyfabric/fabric/impl/command/lib/sponge/args/UuidElement.java (100%) rename {1.7.10/legacy-fabric-command-api-v2 => legacy-fabric-command-api-v2/1.7.10}/src/main/java/net/legacyfabric/fabric/impl/command/lib/sponge/args/Vec3dCommandElement.java (100%) rename {1.7.10/legacy-fabric-command-api-v2 => legacy-fabric-command-api-v2/1.7.10}/src/main/java/net/legacyfabric/fabric/impl/command/lib/sponge/args/WithSuggestionsElement.java (100%) rename {1.7.10/legacy-fabric-command-api-v2 => legacy-fabric-command-api-v2/1.7.10}/src/main/java/net/legacyfabric/fabric/mixin/command/MinecraftServerMixin.java (100%) rename {1.7.10/legacy-fabric-command-api-v2 => legacy-fabric-command-api-v2/1.7.10}/src/main/resources/assets/legacy-fabric-sponge-command-api-v2/icon.png (100%) rename {1.12.2/legacy-fabric-command-api-v2 => legacy-fabric-command-api-v2/1.7.10}/src/main/resources/fabric.mod.json (97%) rename {1.7.10/legacy-fabric-command-api-v2 => legacy-fabric-command-api-v2/1.7.10}/src/main/resources/legacy-fabric-sponge-command-api-v2.mixins.json (100%) rename {1.7.10/legacy-fabric-command-api-v2 => legacy-fabric-command-api-v2/1.7.10}/src/testmod/java/net/legacyfabric/fabric/test/command/ModMetadataCommand.java (100%) rename {1.7.10/legacy-fabric-command-api-v2 => legacy-fabric-command-api-v2/1.7.10}/src/testmod/java/net/legacyfabric/fabric/test/command/SpongeCommandTest.java (100%) rename {1.7.10/legacy-fabric-command-api-v2 => legacy-fabric-command-api-v2/1.7.10}/src/testmod/resources/fabric.mod.json (87%) create mode 100644 legacy-fabric-command-api-v2/1.8.9/build.gradle create mode 100644 legacy-fabric-command-api-v2/1.8.9/gradle.properties rename {1.8.9/legacy-fabric-command-api-v2 => legacy-fabric-command-api-v2/1.8.9}/src/main/java/net/legacyfabric/fabric/api/command/v2/CommandRegistrar.java (100%) rename {1.8.9/legacy-fabric-command-api-v2 => legacy-fabric-command-api-v2/1.8.9}/src/main/java/net/legacyfabric/fabric/api/command/v2/Selector.java (100%) rename {1.8.9/legacy-fabric-command-api-v2 => legacy-fabric-command-api-v2/1.8.9}/src/main/java/net/legacyfabric/fabric/api/command/v2/StringType.java (100%) rename {1.8.9/legacy-fabric-command-api-v2 => legacy-fabric-command-api-v2/1.8.9}/src/main/java/net/legacyfabric/fabric/api/command/v2/lib/sponge/CommandCallable.java (100%) rename {1.8.9/legacy-fabric-command-api-v2 => legacy-fabric-command-api-v2/1.8.9}/src/main/java/net/legacyfabric/fabric/api/command/v2/lib/sponge/CommandException.java (100%) rename {1.8.9/legacy-fabric-command-api-v2 => legacy-fabric-command-api-v2/1.8.9}/src/main/java/net/legacyfabric/fabric/api/command/v2/lib/sponge/CommandManager.java (100%) rename {1.8.9/legacy-fabric-command-api-v2 => legacy-fabric-command-api-v2/1.8.9}/src/main/java/net/legacyfabric/fabric/api/command/v2/lib/sponge/CommandMapping.java (100%) rename {1.8.9/legacy-fabric-command-api-v2 => legacy-fabric-command-api-v2/1.8.9}/src/main/java/net/legacyfabric/fabric/api/command/v2/lib/sponge/CommandMessageFormatting.java (100%) rename {1.8.9/legacy-fabric-command-api-v2 => legacy-fabric-command-api-v2/1.8.9}/src/main/java/net/legacyfabric/fabric/api/command/v2/lib/sponge/CommandNotFoundException.java (100%) rename {1.8.9/legacy-fabric-command-api-v2 => legacy-fabric-command-api-v2/1.8.9}/src/main/java/net/legacyfabric/fabric/api/command/v2/lib/sponge/CommandPermissionException.java (100%) rename {1.8.9/legacy-fabric-command-api-v2 => legacy-fabric-command-api-v2/1.8.9}/src/main/java/net/legacyfabric/fabric/api/command/v2/lib/sponge/CommandResult.java (100%) rename {1.8.9/legacy-fabric-command-api-v2 => legacy-fabric-command-api-v2/1.8.9}/src/main/java/net/legacyfabric/fabric/api/command/v2/lib/sponge/ImmutableCommandMapping.java (100%) rename {1.8.9/legacy-fabric-command-api-v2 => legacy-fabric-command-api-v2/1.8.9}/src/main/java/net/legacyfabric/fabric/api/command/v2/lib/sponge/InvocationCommandException.java (100%) rename {1.8.9/legacy-fabric-command-api-v2 => legacy-fabric-command-api-v2/1.8.9}/src/main/java/net/legacyfabric/fabric/api/command/v2/lib/sponge/TextMessageException.java (100%) rename {1.8.9/legacy-fabric-command-api-v2 => legacy-fabric-command-api-v2/1.8.9}/src/main/java/net/legacyfabric/fabric/api/command/v2/lib/sponge/args/ArgumentParseException.java (100%) rename {1.8.9/legacy-fabric-command-api-v2 => legacy-fabric-command-api-v2/1.8.9}/src/main/java/net/legacyfabric/fabric/api/command/v2/lib/sponge/args/ChildCommandElementExecutor.java (100%) rename {1.8.9/legacy-fabric-command-api-v2 => legacy-fabric-command-api-v2/1.8.9}/src/main/java/net/legacyfabric/fabric/api/command/v2/lib/sponge/args/CommandArgs.java (100%) rename {1.8.9/legacy-fabric-command-api-v2 => legacy-fabric-command-api-v2/1.8.9}/src/main/java/net/legacyfabric/fabric/api/command/v2/lib/sponge/args/CommandContext.java (100%) rename {1.8.9/legacy-fabric-command-api-v2 => legacy-fabric-command-api-v2/1.8.9}/src/main/java/net/legacyfabric/fabric/api/command/v2/lib/sponge/args/CommandElement.java (100%) rename {1.8.9/legacy-fabric-command-api-v2 => legacy-fabric-command-api-v2/1.8.9}/src/main/java/net/legacyfabric/fabric/api/command/v2/lib/sponge/args/CommandFlags.java (100%) rename {1.8.9/legacy-fabric-command-api-v2 => legacy-fabric-command-api-v2/1.8.9}/src/main/java/net/legacyfabric/fabric/api/command/v2/lib/sponge/args/GenericArguments.java (100%) rename {1.8.9/legacy-fabric-command-api-v2 => legacy-fabric-command-api-v2/1.8.9}/src/main/java/net/legacyfabric/fabric/api/command/v2/lib/sponge/args/KeyElement.java (100%) rename {1.8.9/legacy-fabric-command-api-v2 => legacy-fabric-command-api-v2/1.8.9}/src/main/java/net/legacyfabric/fabric/api/command/v2/lib/sponge/args/PatternMatchingCommandElement.java (100%) rename {1.8.9/legacy-fabric-command-api-v2 => legacy-fabric-command-api-v2/1.8.9}/src/main/java/net/legacyfabric/fabric/api/command/v2/lib/sponge/args/SelectorCommandElement.java (100%) rename {1.8.9/legacy-fabric-command-api-v2 => legacy-fabric-command-api-v2/1.8.9}/src/main/java/net/legacyfabric/fabric/api/command/v2/lib/sponge/args/parsing/InputTokenizer.java (100%) rename {1.8.9/legacy-fabric-command-api-v2 => legacy-fabric-command-api-v2/1.8.9}/src/main/java/net/legacyfabric/fabric/api/command/v2/lib/sponge/args/parsing/QuotedStringTokenizer.java (100%) rename {1.8.9/legacy-fabric-command-api-v2 => legacy-fabric-command-api-v2/1.8.9}/src/main/java/net/legacyfabric/fabric/api/command/v2/lib/sponge/args/parsing/RawStringInputTokenizer.java (100%) rename {1.8.9/legacy-fabric-command-api-v2 => legacy-fabric-command-api-v2/1.8.9}/src/main/java/net/legacyfabric/fabric/api/command/v2/lib/sponge/args/parsing/SingleArg.java (100%) rename {1.8.9/legacy-fabric-command-api-v2 => legacy-fabric-command-api-v2/1.8.9}/src/main/java/net/legacyfabric/fabric/api/command/v2/lib/sponge/args/parsing/SpaceSplitInputTokenizer.java (100%) rename {1.8.9/legacy-fabric-command-api-v2 => legacy-fabric-command-api-v2/1.8.9}/src/main/java/net/legacyfabric/fabric/api/command/v2/lib/sponge/args/parsing/TokenizerState.java (100%) rename {1.8.9/legacy-fabric-command-api-v2 => legacy-fabric-command-api-v2/1.8.9}/src/main/java/net/legacyfabric/fabric/api/command/v2/lib/sponge/dispatcher/Disambiguator.java (100%) rename {1.8.9/legacy-fabric-command-api-v2 => legacy-fabric-command-api-v2/1.8.9}/src/main/java/net/legacyfabric/fabric/api/command/v2/lib/sponge/dispatcher/Dispatcher.java (100%) rename {1.8.9/legacy-fabric-command-api-v2 => legacy-fabric-command-api-v2/1.8.9}/src/main/java/net/legacyfabric/fabric/api/command/v2/lib/sponge/dispatcher/SimpleDispatcher.java (100%) rename {1.8.9/legacy-fabric-command-api-v2 => legacy-fabric-command-api-v2/1.8.9}/src/main/java/net/legacyfabric/fabric/api/command/v2/lib/sponge/spec/CommandExecutor.java (100%) rename {1.8.9/legacy-fabric-command-api-v2 => legacy-fabric-command-api-v2/1.8.9}/src/main/java/net/legacyfabric/fabric/api/command/v2/lib/sponge/spec/CommandSpec.java (100%) rename {1.8.9/legacy-fabric-command-api-v2 => legacy-fabric-command-api-v2/1.8.9}/src/main/java/net/legacyfabric/fabric/impl/command/CommandManagerImpl.java (100%) rename {1.8.9/legacy-fabric-command-api-v2 => legacy-fabric-command-api-v2/1.8.9}/src/main/java/net/legacyfabric/fabric/impl/command/CommandWrapper.java (100%) rename {1.8.9/legacy-fabric-command-api-v2 => legacy-fabric-command-api-v2/1.8.9}/src/main/java/net/legacyfabric/fabric/impl/command/ImplInit.java (100%) rename {1.8.9/legacy-fabric-command-api-v2 => legacy-fabric-command-api-v2/1.8.9}/src/main/java/net/legacyfabric/fabric/impl/command/InternalObjects.java (100%) rename {1.8.9/legacy-fabric-command-api-v2 => legacy-fabric-command-api-v2/1.8.9}/src/main/java/net/legacyfabric/fabric/impl/command/lib/sponge/args/AllOfCommandElement.java (100%) rename {1.8.9/legacy-fabric-command-api-v2 => legacy-fabric-command-api-v2/1.8.9}/src/main/java/net/legacyfabric/fabric/impl/command/lib/sponge/args/BigDecimalElement.java (100%) rename {1.8.9/legacy-fabric-command-api-v2 => legacy-fabric-command-api-v2/1.8.9}/src/main/java/net/legacyfabric/fabric/impl/command/lib/sponge/args/BigIntegerElement.java (100%) rename {1.8.9/legacy-fabric-command-api-v2 => legacy-fabric-command-api-v2/1.8.9}/src/main/java/net/legacyfabric/fabric/impl/command/lib/sponge/args/ChoicesCommandElement.java (100%) rename {1.8.9/legacy-fabric-command-api-v2 => legacy-fabric-command-api-v2/1.8.9}/src/main/java/net/legacyfabric/fabric/impl/command/lib/sponge/args/DateTimeElement.java (100%) rename {1.8.9/legacy-fabric-command-api-v2 => legacy-fabric-command-api-v2/1.8.9}/src/main/java/net/legacyfabric/fabric/impl/command/lib/sponge/args/DurationElement.java (100%) rename {1.8.9/legacy-fabric-command-api-v2 => legacy-fabric-command-api-v2/1.8.9}/src/main/java/net/legacyfabric/fabric/impl/command/lib/sponge/args/EntityCommandElement.java (100%) rename {1.8.9/legacy-fabric-command-api-v2 => legacy-fabric-command-api-v2/1.8.9}/src/main/java/net/legacyfabric/fabric/impl/command/lib/sponge/args/EnumValueElement.java (100%) rename {1.8.9/legacy-fabric-command-api-v2 => legacy-fabric-command-api-v2/1.8.9}/src/main/java/net/legacyfabric/fabric/impl/command/lib/sponge/args/FilteredSuggestionsElement.java (100%) rename {1.8.9/legacy-fabric-command-api-v2 => legacy-fabric-command-api-v2/1.8.9}/src/main/java/net/legacyfabric/fabric/impl/command/lib/sponge/args/FirstParsingCommandElement.java (100%) rename {1.8.9/legacy-fabric-command-api-v2 => legacy-fabric-command-api-v2/1.8.9}/src/main/java/net/legacyfabric/fabric/impl/command/lib/sponge/args/IpElement.java (100%) rename {1.8.9/legacy-fabric-command-api-v2 => legacy-fabric-command-api-v2/1.8.9}/src/main/java/net/legacyfabric/fabric/impl/command/lib/sponge/args/LiteralCommandElement.java (100%) rename {1.8.9/legacy-fabric-command-api-v2 => legacy-fabric-command-api-v2/1.8.9}/src/main/java/net/legacyfabric/fabric/impl/command/lib/sponge/args/MarkTrueCommandElement.java (100%) rename {1.8.9/legacy-fabric-command-api-v2 => legacy-fabric-command-api-v2/1.8.9}/src/main/java/net/legacyfabric/fabric/impl/command/lib/sponge/args/ModCommandElement.java (100%) rename {1.8.9/legacy-fabric-command-api-v2 => legacy-fabric-command-api-v2/1.8.9}/src/main/java/net/legacyfabric/fabric/impl/command/lib/sponge/args/NumericElement.java (100%) rename {1.8.9/legacy-fabric-command-api-v2 => legacy-fabric-command-api-v2/1.8.9}/src/main/java/net/legacyfabric/fabric/impl/command/lib/sponge/args/OnlyOneCommandElement.java (100%) rename {1.8.9/legacy-fabric-command-api-v2 => legacy-fabric-command-api-v2/1.8.9}/src/main/java/net/legacyfabric/fabric/impl/command/lib/sponge/args/OptionalCommandElement.java (100%) rename {1.8.9/legacy-fabric-command-api-v2 => legacy-fabric-command-api-v2/1.8.9}/src/main/java/net/legacyfabric/fabric/impl/command/lib/sponge/args/PermissionCommandElement.java (100%) rename {1.8.9/legacy-fabric-command-api-v2 => legacy-fabric-command-api-v2/1.8.9}/src/main/java/net/legacyfabric/fabric/impl/command/lib/sponge/args/PlayerCommandElement.java (100%) rename {1.8.9/legacy-fabric-command-api-v2 => legacy-fabric-command-api-v2/1.8.9}/src/main/java/net/legacyfabric/fabric/impl/command/lib/sponge/args/RemainingJoinedStringsCommandElement.java (100%) rename {1.8.9/legacy-fabric-command-api-v2 => legacy-fabric-command-api-v2/1.8.9}/src/main/java/net/legacyfabric/fabric/impl/command/lib/sponge/args/RepeatedCommandElement.java (100%) rename {1.8.9/legacy-fabric-command-api-v2 => legacy-fabric-command-api-v2/1.8.9}/src/main/java/net/legacyfabric/fabric/impl/command/lib/sponge/args/SequenceCommandElement.java (100%) rename {1.8.9/legacy-fabric-command-api-v2 => legacy-fabric-command-api-v2/1.8.9}/src/main/java/net/legacyfabric/fabric/impl/command/lib/sponge/args/StringCommandElement.java (100%) rename {1.8.9/legacy-fabric-command-api-v2 => legacy-fabric-command-api-v2/1.8.9}/src/main/java/net/legacyfabric/fabric/impl/command/lib/sponge/args/StringElement.java (100%) rename {1.8.9/legacy-fabric-command-api-v2 => legacy-fabric-command-api-v2/1.8.9}/src/main/java/net/legacyfabric/fabric/impl/command/lib/sponge/args/UrlElement.java (100%) rename {1.8.9/legacy-fabric-command-api-v2 => legacy-fabric-command-api-v2/1.8.9}/src/main/java/net/legacyfabric/fabric/impl/command/lib/sponge/args/UuidElement.java (100%) rename {1.8.9/legacy-fabric-command-api-v2 => legacy-fabric-command-api-v2/1.8.9}/src/main/java/net/legacyfabric/fabric/impl/command/lib/sponge/args/Vec3dCommandElement.java (100%) rename {1.8.9/legacy-fabric-command-api-v2 => legacy-fabric-command-api-v2/1.8.9}/src/main/java/net/legacyfabric/fabric/impl/command/lib/sponge/args/WithSuggestionsElement.java (100%) rename {1.8.9/legacy-fabric-command-api-v2 => legacy-fabric-command-api-v2/1.8.9}/src/main/java/net/legacyfabric/fabric/mixin/command/MinecraftServerMixin.java (100%) rename {1.8.9/legacy-fabric-command-api-v2 => legacy-fabric-command-api-v2/1.8.9}/src/main/resources/assets/legacy-fabric-sponge-command-api-v2/icon.png (100%) rename {1.8.9/legacy-fabric-command-api-v2 => legacy-fabric-command-api-v2/1.8.9}/src/main/resources/fabric.mod.json (97%) rename {1.8.9/legacy-fabric-command-api-v2 => legacy-fabric-command-api-v2/1.8.9}/src/main/resources/legacy-fabric-sponge-command-api-v2.mixins.json (100%) rename {1.8.9/legacy-fabric-command-api-v2 => legacy-fabric-command-api-v2/1.8.9}/src/testmod/java/net/legacyfabric/fabric/test/command/ModMetadataCommand.java (100%) rename {1.8.9/legacy-fabric-command-api-v2 => legacy-fabric-command-api-v2/1.8.9}/src/testmod/java/net/legacyfabric/fabric/test/command/SpongeCommandTest.java (100%) rename {1.12.2/legacy-fabric-command-api-v2 => legacy-fabric-command-api-v2/1.8.9}/src/testmod/resources/fabric.mod.json (86%) create mode 100644 legacy-fabric-command-api-v2/common.gradle diff --git a/1.12.2/legacy-fabric-command-api-v2/build.gradle b/1.12.2/legacy-fabric-command-api-v2/build.gradle deleted file mode 100644 index 907be2c90..000000000 --- a/1.12.2/legacy-fabric-command-api-v2/build.gradle +++ /dev/null @@ -1,12 +0,0 @@ -version = getSubprojectVersion(project) - -moduleDependencies(project, [ - "common": [ - "legacy-fabric-api-base-common", - "legacy-fabric-command-api-v1" - ], - "1.8.9": [ - "legacy-fabric-api-base", - "legacy-fabric-permissions-api-v1" - ] -]) diff --git a/1.7.10/legacy-fabric-command-api-v2/build.gradle b/1.7.10/legacy-fabric-command-api-v2/build.gradle deleted file mode 100644 index b0239bc28..000000000 --- a/1.7.10/legacy-fabric-command-api-v2/build.gradle +++ /dev/null @@ -1,14 +0,0 @@ -version = getSubprojectVersion(project) - -moduleDependencies(project, [ - "common": [ - "legacy-fabric-api-base-common", - "legacy-fabric-command-api-v1" - ], - "1.7.10": [ - "legacy-fabric-api-base" - ], - "1.8.9": [ - "legacy-fabric-permissions-api-v1" - ] -]) diff --git a/1.8.9/legacy-fabric-command-api-v2/build.gradle b/1.8.9/legacy-fabric-command-api-v2/build.gradle deleted file mode 100644 index be2fcb5f4..000000000 --- a/1.8.9/legacy-fabric-command-api-v2/build.gradle +++ /dev/null @@ -1,12 +0,0 @@ -version = getSubprojectVersion(project) - -moduleDependencies(project, [ - "common": [ - "legacy-fabric-api-base-common", - "legacy-fabric-command-api-v1" - ], - "1.8.9": [ - "legacy-fabric-api-base", - "legacy-fabric-permissions-api-v1" - ] -]) diff --git a/legacy-fabric-command-api-v2/1.12.2/build.gradle b/legacy-fabric-command-api-v2/1.12.2/build.gradle new file mode 100644 index 000000000..e69de29bb diff --git a/legacy-fabric-command-api-v2/1.12.2/gradle.properties b/legacy-fabric-command-api-v2/1.12.2/gradle.properties new file mode 100644 index 000000000..22c79abec --- /dev/null +++ b/legacy-fabric-command-api-v2/1.12.2/gradle.properties @@ -0,0 +1,2 @@ +minVersionExcluded=1.8.9 +maxVersionIncluded=1.12.2 diff --git a/1.12.2/legacy-fabric-command-api-v2/src/main/java/net/legacyfabric/fabric/api/command/v2/CommandRegistrar.java b/legacy-fabric-command-api-v2/1.12.2/src/main/java/net/legacyfabric/fabric/api/command/v2/CommandRegistrar.java similarity index 100% rename from 1.12.2/legacy-fabric-command-api-v2/src/main/java/net/legacyfabric/fabric/api/command/v2/CommandRegistrar.java rename to legacy-fabric-command-api-v2/1.12.2/src/main/java/net/legacyfabric/fabric/api/command/v2/CommandRegistrar.java diff --git a/1.12.2/legacy-fabric-command-api-v2/src/main/java/net/legacyfabric/fabric/api/command/v2/Selector.java b/legacy-fabric-command-api-v2/1.12.2/src/main/java/net/legacyfabric/fabric/api/command/v2/Selector.java similarity index 100% rename from 1.12.2/legacy-fabric-command-api-v2/src/main/java/net/legacyfabric/fabric/api/command/v2/Selector.java rename to legacy-fabric-command-api-v2/1.12.2/src/main/java/net/legacyfabric/fabric/api/command/v2/Selector.java diff --git a/1.12.2/legacy-fabric-command-api-v2/src/main/java/net/legacyfabric/fabric/api/command/v2/StringType.java b/legacy-fabric-command-api-v2/1.12.2/src/main/java/net/legacyfabric/fabric/api/command/v2/StringType.java similarity index 100% rename from 1.12.2/legacy-fabric-command-api-v2/src/main/java/net/legacyfabric/fabric/api/command/v2/StringType.java rename to legacy-fabric-command-api-v2/1.12.2/src/main/java/net/legacyfabric/fabric/api/command/v2/StringType.java diff --git a/1.12.2/legacy-fabric-command-api-v2/src/main/java/net/legacyfabric/fabric/api/command/v2/lib/sponge/CommandCallable.java b/legacy-fabric-command-api-v2/1.12.2/src/main/java/net/legacyfabric/fabric/api/command/v2/lib/sponge/CommandCallable.java similarity index 100% rename from 1.12.2/legacy-fabric-command-api-v2/src/main/java/net/legacyfabric/fabric/api/command/v2/lib/sponge/CommandCallable.java rename to legacy-fabric-command-api-v2/1.12.2/src/main/java/net/legacyfabric/fabric/api/command/v2/lib/sponge/CommandCallable.java diff --git a/1.12.2/legacy-fabric-command-api-v2/src/main/java/net/legacyfabric/fabric/api/command/v2/lib/sponge/CommandException.java b/legacy-fabric-command-api-v2/1.12.2/src/main/java/net/legacyfabric/fabric/api/command/v2/lib/sponge/CommandException.java similarity index 100% rename from 1.12.2/legacy-fabric-command-api-v2/src/main/java/net/legacyfabric/fabric/api/command/v2/lib/sponge/CommandException.java rename to legacy-fabric-command-api-v2/1.12.2/src/main/java/net/legacyfabric/fabric/api/command/v2/lib/sponge/CommandException.java diff --git a/1.12.2/legacy-fabric-command-api-v2/src/main/java/net/legacyfabric/fabric/api/command/v2/lib/sponge/CommandManager.java b/legacy-fabric-command-api-v2/1.12.2/src/main/java/net/legacyfabric/fabric/api/command/v2/lib/sponge/CommandManager.java similarity index 100% rename from 1.12.2/legacy-fabric-command-api-v2/src/main/java/net/legacyfabric/fabric/api/command/v2/lib/sponge/CommandManager.java rename to legacy-fabric-command-api-v2/1.12.2/src/main/java/net/legacyfabric/fabric/api/command/v2/lib/sponge/CommandManager.java diff --git a/1.12.2/legacy-fabric-command-api-v2/src/main/java/net/legacyfabric/fabric/api/command/v2/lib/sponge/CommandMapping.java b/legacy-fabric-command-api-v2/1.12.2/src/main/java/net/legacyfabric/fabric/api/command/v2/lib/sponge/CommandMapping.java similarity index 100% rename from 1.12.2/legacy-fabric-command-api-v2/src/main/java/net/legacyfabric/fabric/api/command/v2/lib/sponge/CommandMapping.java rename to legacy-fabric-command-api-v2/1.12.2/src/main/java/net/legacyfabric/fabric/api/command/v2/lib/sponge/CommandMapping.java diff --git a/1.12.2/legacy-fabric-command-api-v2/src/main/java/net/legacyfabric/fabric/api/command/v2/lib/sponge/CommandMessageFormatting.java b/legacy-fabric-command-api-v2/1.12.2/src/main/java/net/legacyfabric/fabric/api/command/v2/lib/sponge/CommandMessageFormatting.java similarity index 100% rename from 1.12.2/legacy-fabric-command-api-v2/src/main/java/net/legacyfabric/fabric/api/command/v2/lib/sponge/CommandMessageFormatting.java rename to legacy-fabric-command-api-v2/1.12.2/src/main/java/net/legacyfabric/fabric/api/command/v2/lib/sponge/CommandMessageFormatting.java diff --git a/1.12.2/legacy-fabric-command-api-v2/src/main/java/net/legacyfabric/fabric/api/command/v2/lib/sponge/CommandNotFoundException.java b/legacy-fabric-command-api-v2/1.12.2/src/main/java/net/legacyfabric/fabric/api/command/v2/lib/sponge/CommandNotFoundException.java similarity index 100% rename from 1.12.2/legacy-fabric-command-api-v2/src/main/java/net/legacyfabric/fabric/api/command/v2/lib/sponge/CommandNotFoundException.java rename to legacy-fabric-command-api-v2/1.12.2/src/main/java/net/legacyfabric/fabric/api/command/v2/lib/sponge/CommandNotFoundException.java diff --git a/1.12.2/legacy-fabric-command-api-v2/src/main/java/net/legacyfabric/fabric/api/command/v2/lib/sponge/CommandPermissionException.java b/legacy-fabric-command-api-v2/1.12.2/src/main/java/net/legacyfabric/fabric/api/command/v2/lib/sponge/CommandPermissionException.java similarity index 100% rename from 1.12.2/legacy-fabric-command-api-v2/src/main/java/net/legacyfabric/fabric/api/command/v2/lib/sponge/CommandPermissionException.java rename to legacy-fabric-command-api-v2/1.12.2/src/main/java/net/legacyfabric/fabric/api/command/v2/lib/sponge/CommandPermissionException.java diff --git a/1.12.2/legacy-fabric-command-api-v2/src/main/java/net/legacyfabric/fabric/api/command/v2/lib/sponge/CommandResult.java b/legacy-fabric-command-api-v2/1.12.2/src/main/java/net/legacyfabric/fabric/api/command/v2/lib/sponge/CommandResult.java similarity index 100% rename from 1.12.2/legacy-fabric-command-api-v2/src/main/java/net/legacyfabric/fabric/api/command/v2/lib/sponge/CommandResult.java rename to legacy-fabric-command-api-v2/1.12.2/src/main/java/net/legacyfabric/fabric/api/command/v2/lib/sponge/CommandResult.java diff --git a/1.12.2/legacy-fabric-command-api-v2/src/main/java/net/legacyfabric/fabric/api/command/v2/lib/sponge/ImmutableCommandMapping.java b/legacy-fabric-command-api-v2/1.12.2/src/main/java/net/legacyfabric/fabric/api/command/v2/lib/sponge/ImmutableCommandMapping.java similarity index 100% rename from 1.12.2/legacy-fabric-command-api-v2/src/main/java/net/legacyfabric/fabric/api/command/v2/lib/sponge/ImmutableCommandMapping.java rename to legacy-fabric-command-api-v2/1.12.2/src/main/java/net/legacyfabric/fabric/api/command/v2/lib/sponge/ImmutableCommandMapping.java diff --git a/1.12.2/legacy-fabric-command-api-v2/src/main/java/net/legacyfabric/fabric/api/command/v2/lib/sponge/InvocationCommandException.java b/legacy-fabric-command-api-v2/1.12.2/src/main/java/net/legacyfabric/fabric/api/command/v2/lib/sponge/InvocationCommandException.java similarity index 100% rename from 1.12.2/legacy-fabric-command-api-v2/src/main/java/net/legacyfabric/fabric/api/command/v2/lib/sponge/InvocationCommandException.java rename to legacy-fabric-command-api-v2/1.12.2/src/main/java/net/legacyfabric/fabric/api/command/v2/lib/sponge/InvocationCommandException.java diff --git a/1.12.2/legacy-fabric-command-api-v2/src/main/java/net/legacyfabric/fabric/api/command/v2/lib/sponge/TextMessageException.java b/legacy-fabric-command-api-v2/1.12.2/src/main/java/net/legacyfabric/fabric/api/command/v2/lib/sponge/TextMessageException.java similarity index 100% rename from 1.12.2/legacy-fabric-command-api-v2/src/main/java/net/legacyfabric/fabric/api/command/v2/lib/sponge/TextMessageException.java rename to legacy-fabric-command-api-v2/1.12.2/src/main/java/net/legacyfabric/fabric/api/command/v2/lib/sponge/TextMessageException.java diff --git a/1.12.2/legacy-fabric-command-api-v2/src/main/java/net/legacyfabric/fabric/api/command/v2/lib/sponge/args/ArgumentParseException.java b/legacy-fabric-command-api-v2/1.12.2/src/main/java/net/legacyfabric/fabric/api/command/v2/lib/sponge/args/ArgumentParseException.java similarity index 100% rename from 1.12.2/legacy-fabric-command-api-v2/src/main/java/net/legacyfabric/fabric/api/command/v2/lib/sponge/args/ArgumentParseException.java rename to legacy-fabric-command-api-v2/1.12.2/src/main/java/net/legacyfabric/fabric/api/command/v2/lib/sponge/args/ArgumentParseException.java diff --git a/1.12.2/legacy-fabric-command-api-v2/src/main/java/net/legacyfabric/fabric/api/command/v2/lib/sponge/args/ChildCommandElementExecutor.java b/legacy-fabric-command-api-v2/1.12.2/src/main/java/net/legacyfabric/fabric/api/command/v2/lib/sponge/args/ChildCommandElementExecutor.java similarity index 100% rename from 1.12.2/legacy-fabric-command-api-v2/src/main/java/net/legacyfabric/fabric/api/command/v2/lib/sponge/args/ChildCommandElementExecutor.java rename to legacy-fabric-command-api-v2/1.12.2/src/main/java/net/legacyfabric/fabric/api/command/v2/lib/sponge/args/ChildCommandElementExecutor.java diff --git a/1.12.2/legacy-fabric-command-api-v2/src/main/java/net/legacyfabric/fabric/api/command/v2/lib/sponge/args/CommandArgs.java b/legacy-fabric-command-api-v2/1.12.2/src/main/java/net/legacyfabric/fabric/api/command/v2/lib/sponge/args/CommandArgs.java similarity index 100% rename from 1.12.2/legacy-fabric-command-api-v2/src/main/java/net/legacyfabric/fabric/api/command/v2/lib/sponge/args/CommandArgs.java rename to legacy-fabric-command-api-v2/1.12.2/src/main/java/net/legacyfabric/fabric/api/command/v2/lib/sponge/args/CommandArgs.java diff --git a/1.12.2/legacy-fabric-command-api-v2/src/main/java/net/legacyfabric/fabric/api/command/v2/lib/sponge/args/CommandContext.java b/legacy-fabric-command-api-v2/1.12.2/src/main/java/net/legacyfabric/fabric/api/command/v2/lib/sponge/args/CommandContext.java similarity index 100% rename from 1.12.2/legacy-fabric-command-api-v2/src/main/java/net/legacyfabric/fabric/api/command/v2/lib/sponge/args/CommandContext.java rename to legacy-fabric-command-api-v2/1.12.2/src/main/java/net/legacyfabric/fabric/api/command/v2/lib/sponge/args/CommandContext.java diff --git a/1.12.2/legacy-fabric-command-api-v2/src/main/java/net/legacyfabric/fabric/api/command/v2/lib/sponge/args/CommandElement.java b/legacy-fabric-command-api-v2/1.12.2/src/main/java/net/legacyfabric/fabric/api/command/v2/lib/sponge/args/CommandElement.java similarity index 100% rename from 1.12.2/legacy-fabric-command-api-v2/src/main/java/net/legacyfabric/fabric/api/command/v2/lib/sponge/args/CommandElement.java rename to legacy-fabric-command-api-v2/1.12.2/src/main/java/net/legacyfabric/fabric/api/command/v2/lib/sponge/args/CommandElement.java diff --git a/1.12.2/legacy-fabric-command-api-v2/src/main/java/net/legacyfabric/fabric/api/command/v2/lib/sponge/args/CommandFlags.java b/legacy-fabric-command-api-v2/1.12.2/src/main/java/net/legacyfabric/fabric/api/command/v2/lib/sponge/args/CommandFlags.java similarity index 100% rename from 1.12.2/legacy-fabric-command-api-v2/src/main/java/net/legacyfabric/fabric/api/command/v2/lib/sponge/args/CommandFlags.java rename to legacy-fabric-command-api-v2/1.12.2/src/main/java/net/legacyfabric/fabric/api/command/v2/lib/sponge/args/CommandFlags.java diff --git a/1.12.2/legacy-fabric-command-api-v2/src/main/java/net/legacyfabric/fabric/api/command/v2/lib/sponge/args/GenericArguments.java b/legacy-fabric-command-api-v2/1.12.2/src/main/java/net/legacyfabric/fabric/api/command/v2/lib/sponge/args/GenericArguments.java similarity index 100% rename from 1.12.2/legacy-fabric-command-api-v2/src/main/java/net/legacyfabric/fabric/api/command/v2/lib/sponge/args/GenericArguments.java rename to legacy-fabric-command-api-v2/1.12.2/src/main/java/net/legacyfabric/fabric/api/command/v2/lib/sponge/args/GenericArguments.java diff --git a/1.12.2/legacy-fabric-command-api-v2/src/main/java/net/legacyfabric/fabric/api/command/v2/lib/sponge/args/KeyElement.java b/legacy-fabric-command-api-v2/1.12.2/src/main/java/net/legacyfabric/fabric/api/command/v2/lib/sponge/args/KeyElement.java similarity index 100% rename from 1.12.2/legacy-fabric-command-api-v2/src/main/java/net/legacyfabric/fabric/api/command/v2/lib/sponge/args/KeyElement.java rename to legacy-fabric-command-api-v2/1.12.2/src/main/java/net/legacyfabric/fabric/api/command/v2/lib/sponge/args/KeyElement.java diff --git a/1.12.2/legacy-fabric-command-api-v2/src/main/java/net/legacyfabric/fabric/api/command/v2/lib/sponge/args/PatternMatchingCommandElement.java b/legacy-fabric-command-api-v2/1.12.2/src/main/java/net/legacyfabric/fabric/api/command/v2/lib/sponge/args/PatternMatchingCommandElement.java similarity index 100% rename from 1.12.2/legacy-fabric-command-api-v2/src/main/java/net/legacyfabric/fabric/api/command/v2/lib/sponge/args/PatternMatchingCommandElement.java rename to legacy-fabric-command-api-v2/1.12.2/src/main/java/net/legacyfabric/fabric/api/command/v2/lib/sponge/args/PatternMatchingCommandElement.java diff --git a/1.12.2/legacy-fabric-command-api-v2/src/main/java/net/legacyfabric/fabric/api/command/v2/lib/sponge/args/SelectorCommandElement.java b/legacy-fabric-command-api-v2/1.12.2/src/main/java/net/legacyfabric/fabric/api/command/v2/lib/sponge/args/SelectorCommandElement.java similarity index 100% rename from 1.12.2/legacy-fabric-command-api-v2/src/main/java/net/legacyfabric/fabric/api/command/v2/lib/sponge/args/SelectorCommandElement.java rename to legacy-fabric-command-api-v2/1.12.2/src/main/java/net/legacyfabric/fabric/api/command/v2/lib/sponge/args/SelectorCommandElement.java diff --git a/1.12.2/legacy-fabric-command-api-v2/src/main/java/net/legacyfabric/fabric/api/command/v2/lib/sponge/args/parsing/InputTokenizer.java b/legacy-fabric-command-api-v2/1.12.2/src/main/java/net/legacyfabric/fabric/api/command/v2/lib/sponge/args/parsing/InputTokenizer.java similarity index 100% rename from 1.12.2/legacy-fabric-command-api-v2/src/main/java/net/legacyfabric/fabric/api/command/v2/lib/sponge/args/parsing/InputTokenizer.java rename to legacy-fabric-command-api-v2/1.12.2/src/main/java/net/legacyfabric/fabric/api/command/v2/lib/sponge/args/parsing/InputTokenizer.java diff --git a/1.12.2/legacy-fabric-command-api-v2/src/main/java/net/legacyfabric/fabric/api/command/v2/lib/sponge/args/parsing/QuotedStringTokenizer.java b/legacy-fabric-command-api-v2/1.12.2/src/main/java/net/legacyfabric/fabric/api/command/v2/lib/sponge/args/parsing/QuotedStringTokenizer.java similarity index 100% rename from 1.12.2/legacy-fabric-command-api-v2/src/main/java/net/legacyfabric/fabric/api/command/v2/lib/sponge/args/parsing/QuotedStringTokenizer.java rename to legacy-fabric-command-api-v2/1.12.2/src/main/java/net/legacyfabric/fabric/api/command/v2/lib/sponge/args/parsing/QuotedStringTokenizer.java diff --git a/1.12.2/legacy-fabric-command-api-v2/src/main/java/net/legacyfabric/fabric/api/command/v2/lib/sponge/args/parsing/RawStringInputTokenizer.java b/legacy-fabric-command-api-v2/1.12.2/src/main/java/net/legacyfabric/fabric/api/command/v2/lib/sponge/args/parsing/RawStringInputTokenizer.java similarity index 100% rename from 1.12.2/legacy-fabric-command-api-v2/src/main/java/net/legacyfabric/fabric/api/command/v2/lib/sponge/args/parsing/RawStringInputTokenizer.java rename to legacy-fabric-command-api-v2/1.12.2/src/main/java/net/legacyfabric/fabric/api/command/v2/lib/sponge/args/parsing/RawStringInputTokenizer.java diff --git a/1.12.2/legacy-fabric-command-api-v2/src/main/java/net/legacyfabric/fabric/api/command/v2/lib/sponge/args/parsing/SingleArg.java b/legacy-fabric-command-api-v2/1.12.2/src/main/java/net/legacyfabric/fabric/api/command/v2/lib/sponge/args/parsing/SingleArg.java similarity index 100% rename from 1.12.2/legacy-fabric-command-api-v2/src/main/java/net/legacyfabric/fabric/api/command/v2/lib/sponge/args/parsing/SingleArg.java rename to legacy-fabric-command-api-v2/1.12.2/src/main/java/net/legacyfabric/fabric/api/command/v2/lib/sponge/args/parsing/SingleArg.java diff --git a/1.12.2/legacy-fabric-command-api-v2/src/main/java/net/legacyfabric/fabric/api/command/v2/lib/sponge/args/parsing/SpaceSplitInputTokenizer.java b/legacy-fabric-command-api-v2/1.12.2/src/main/java/net/legacyfabric/fabric/api/command/v2/lib/sponge/args/parsing/SpaceSplitInputTokenizer.java similarity index 100% rename from 1.12.2/legacy-fabric-command-api-v2/src/main/java/net/legacyfabric/fabric/api/command/v2/lib/sponge/args/parsing/SpaceSplitInputTokenizer.java rename to legacy-fabric-command-api-v2/1.12.2/src/main/java/net/legacyfabric/fabric/api/command/v2/lib/sponge/args/parsing/SpaceSplitInputTokenizer.java diff --git a/1.12.2/legacy-fabric-command-api-v2/src/main/java/net/legacyfabric/fabric/api/command/v2/lib/sponge/args/parsing/TokenizerState.java b/legacy-fabric-command-api-v2/1.12.2/src/main/java/net/legacyfabric/fabric/api/command/v2/lib/sponge/args/parsing/TokenizerState.java similarity index 100% rename from 1.12.2/legacy-fabric-command-api-v2/src/main/java/net/legacyfabric/fabric/api/command/v2/lib/sponge/args/parsing/TokenizerState.java rename to legacy-fabric-command-api-v2/1.12.2/src/main/java/net/legacyfabric/fabric/api/command/v2/lib/sponge/args/parsing/TokenizerState.java diff --git a/1.12.2/legacy-fabric-command-api-v2/src/main/java/net/legacyfabric/fabric/api/command/v2/lib/sponge/dispatcher/Disambiguator.java b/legacy-fabric-command-api-v2/1.12.2/src/main/java/net/legacyfabric/fabric/api/command/v2/lib/sponge/dispatcher/Disambiguator.java similarity index 100% rename from 1.12.2/legacy-fabric-command-api-v2/src/main/java/net/legacyfabric/fabric/api/command/v2/lib/sponge/dispatcher/Disambiguator.java rename to legacy-fabric-command-api-v2/1.12.2/src/main/java/net/legacyfabric/fabric/api/command/v2/lib/sponge/dispatcher/Disambiguator.java diff --git a/1.12.2/legacy-fabric-command-api-v2/src/main/java/net/legacyfabric/fabric/api/command/v2/lib/sponge/dispatcher/Dispatcher.java b/legacy-fabric-command-api-v2/1.12.2/src/main/java/net/legacyfabric/fabric/api/command/v2/lib/sponge/dispatcher/Dispatcher.java similarity index 100% rename from 1.12.2/legacy-fabric-command-api-v2/src/main/java/net/legacyfabric/fabric/api/command/v2/lib/sponge/dispatcher/Dispatcher.java rename to legacy-fabric-command-api-v2/1.12.2/src/main/java/net/legacyfabric/fabric/api/command/v2/lib/sponge/dispatcher/Dispatcher.java diff --git a/1.12.2/legacy-fabric-command-api-v2/src/main/java/net/legacyfabric/fabric/api/command/v2/lib/sponge/dispatcher/SimpleDispatcher.java b/legacy-fabric-command-api-v2/1.12.2/src/main/java/net/legacyfabric/fabric/api/command/v2/lib/sponge/dispatcher/SimpleDispatcher.java similarity index 100% rename from 1.12.2/legacy-fabric-command-api-v2/src/main/java/net/legacyfabric/fabric/api/command/v2/lib/sponge/dispatcher/SimpleDispatcher.java rename to legacy-fabric-command-api-v2/1.12.2/src/main/java/net/legacyfabric/fabric/api/command/v2/lib/sponge/dispatcher/SimpleDispatcher.java diff --git a/1.12.2/legacy-fabric-command-api-v2/src/main/java/net/legacyfabric/fabric/api/command/v2/lib/sponge/spec/CommandExecutor.java b/legacy-fabric-command-api-v2/1.12.2/src/main/java/net/legacyfabric/fabric/api/command/v2/lib/sponge/spec/CommandExecutor.java similarity index 100% rename from 1.12.2/legacy-fabric-command-api-v2/src/main/java/net/legacyfabric/fabric/api/command/v2/lib/sponge/spec/CommandExecutor.java rename to legacy-fabric-command-api-v2/1.12.2/src/main/java/net/legacyfabric/fabric/api/command/v2/lib/sponge/spec/CommandExecutor.java diff --git a/1.12.2/legacy-fabric-command-api-v2/src/main/java/net/legacyfabric/fabric/api/command/v2/lib/sponge/spec/CommandSpec.java b/legacy-fabric-command-api-v2/1.12.2/src/main/java/net/legacyfabric/fabric/api/command/v2/lib/sponge/spec/CommandSpec.java similarity index 100% rename from 1.12.2/legacy-fabric-command-api-v2/src/main/java/net/legacyfabric/fabric/api/command/v2/lib/sponge/spec/CommandSpec.java rename to legacy-fabric-command-api-v2/1.12.2/src/main/java/net/legacyfabric/fabric/api/command/v2/lib/sponge/spec/CommandSpec.java diff --git a/1.12.2/legacy-fabric-command-api-v2/src/main/java/net/legacyfabric/fabric/impl/command/CommandManagerImpl.java b/legacy-fabric-command-api-v2/1.12.2/src/main/java/net/legacyfabric/fabric/impl/command/CommandManagerImpl.java similarity index 100% rename from 1.12.2/legacy-fabric-command-api-v2/src/main/java/net/legacyfabric/fabric/impl/command/CommandManagerImpl.java rename to legacy-fabric-command-api-v2/1.12.2/src/main/java/net/legacyfabric/fabric/impl/command/CommandManagerImpl.java diff --git a/1.12.2/legacy-fabric-command-api-v2/src/main/java/net/legacyfabric/fabric/impl/command/CommandWrapper.java b/legacy-fabric-command-api-v2/1.12.2/src/main/java/net/legacyfabric/fabric/impl/command/CommandWrapper.java similarity index 100% rename from 1.12.2/legacy-fabric-command-api-v2/src/main/java/net/legacyfabric/fabric/impl/command/CommandWrapper.java rename to legacy-fabric-command-api-v2/1.12.2/src/main/java/net/legacyfabric/fabric/impl/command/CommandWrapper.java diff --git a/1.12.2/legacy-fabric-command-api-v2/src/main/java/net/legacyfabric/fabric/impl/command/ImplInit.java b/legacy-fabric-command-api-v2/1.12.2/src/main/java/net/legacyfabric/fabric/impl/command/ImplInit.java similarity index 100% rename from 1.12.2/legacy-fabric-command-api-v2/src/main/java/net/legacyfabric/fabric/impl/command/ImplInit.java rename to legacy-fabric-command-api-v2/1.12.2/src/main/java/net/legacyfabric/fabric/impl/command/ImplInit.java diff --git a/1.12.2/legacy-fabric-command-api-v2/src/main/java/net/legacyfabric/fabric/impl/command/InternalObjects.java b/legacy-fabric-command-api-v2/1.12.2/src/main/java/net/legacyfabric/fabric/impl/command/InternalObjects.java similarity index 100% rename from 1.12.2/legacy-fabric-command-api-v2/src/main/java/net/legacyfabric/fabric/impl/command/InternalObjects.java rename to legacy-fabric-command-api-v2/1.12.2/src/main/java/net/legacyfabric/fabric/impl/command/InternalObjects.java diff --git a/1.12.2/legacy-fabric-command-api-v2/src/main/java/net/legacyfabric/fabric/impl/command/MinecraftClientAccessor.java b/legacy-fabric-command-api-v2/1.12.2/src/main/java/net/legacyfabric/fabric/impl/command/MinecraftClientAccessor.java similarity index 100% rename from 1.12.2/legacy-fabric-command-api-v2/src/main/java/net/legacyfabric/fabric/impl/command/MinecraftClientAccessor.java rename to legacy-fabric-command-api-v2/1.12.2/src/main/java/net/legacyfabric/fabric/impl/command/MinecraftClientAccessor.java diff --git a/1.12.2/legacy-fabric-command-api-v2/src/main/java/net/legacyfabric/fabric/impl/command/lib/sponge/args/AllOfCommandElement.java b/legacy-fabric-command-api-v2/1.12.2/src/main/java/net/legacyfabric/fabric/impl/command/lib/sponge/args/AllOfCommandElement.java similarity index 100% rename from 1.12.2/legacy-fabric-command-api-v2/src/main/java/net/legacyfabric/fabric/impl/command/lib/sponge/args/AllOfCommandElement.java rename to legacy-fabric-command-api-v2/1.12.2/src/main/java/net/legacyfabric/fabric/impl/command/lib/sponge/args/AllOfCommandElement.java diff --git a/1.12.2/legacy-fabric-command-api-v2/src/main/java/net/legacyfabric/fabric/impl/command/lib/sponge/args/BigDecimalElement.java b/legacy-fabric-command-api-v2/1.12.2/src/main/java/net/legacyfabric/fabric/impl/command/lib/sponge/args/BigDecimalElement.java similarity index 100% rename from 1.12.2/legacy-fabric-command-api-v2/src/main/java/net/legacyfabric/fabric/impl/command/lib/sponge/args/BigDecimalElement.java rename to legacy-fabric-command-api-v2/1.12.2/src/main/java/net/legacyfabric/fabric/impl/command/lib/sponge/args/BigDecimalElement.java diff --git a/1.12.2/legacy-fabric-command-api-v2/src/main/java/net/legacyfabric/fabric/impl/command/lib/sponge/args/BigIntegerElement.java b/legacy-fabric-command-api-v2/1.12.2/src/main/java/net/legacyfabric/fabric/impl/command/lib/sponge/args/BigIntegerElement.java similarity index 100% rename from 1.12.2/legacy-fabric-command-api-v2/src/main/java/net/legacyfabric/fabric/impl/command/lib/sponge/args/BigIntegerElement.java rename to legacy-fabric-command-api-v2/1.12.2/src/main/java/net/legacyfabric/fabric/impl/command/lib/sponge/args/BigIntegerElement.java diff --git a/1.12.2/legacy-fabric-command-api-v2/src/main/java/net/legacyfabric/fabric/impl/command/lib/sponge/args/ChoicesCommandElement.java b/legacy-fabric-command-api-v2/1.12.2/src/main/java/net/legacyfabric/fabric/impl/command/lib/sponge/args/ChoicesCommandElement.java similarity index 100% rename from 1.12.2/legacy-fabric-command-api-v2/src/main/java/net/legacyfabric/fabric/impl/command/lib/sponge/args/ChoicesCommandElement.java rename to legacy-fabric-command-api-v2/1.12.2/src/main/java/net/legacyfabric/fabric/impl/command/lib/sponge/args/ChoicesCommandElement.java diff --git a/1.12.2/legacy-fabric-command-api-v2/src/main/java/net/legacyfabric/fabric/impl/command/lib/sponge/args/DateTimeElement.java b/legacy-fabric-command-api-v2/1.12.2/src/main/java/net/legacyfabric/fabric/impl/command/lib/sponge/args/DateTimeElement.java similarity index 100% rename from 1.12.2/legacy-fabric-command-api-v2/src/main/java/net/legacyfabric/fabric/impl/command/lib/sponge/args/DateTimeElement.java rename to legacy-fabric-command-api-v2/1.12.2/src/main/java/net/legacyfabric/fabric/impl/command/lib/sponge/args/DateTimeElement.java diff --git a/1.12.2/legacy-fabric-command-api-v2/src/main/java/net/legacyfabric/fabric/impl/command/lib/sponge/args/DurationElement.java b/legacy-fabric-command-api-v2/1.12.2/src/main/java/net/legacyfabric/fabric/impl/command/lib/sponge/args/DurationElement.java similarity index 100% rename from 1.12.2/legacy-fabric-command-api-v2/src/main/java/net/legacyfabric/fabric/impl/command/lib/sponge/args/DurationElement.java rename to legacy-fabric-command-api-v2/1.12.2/src/main/java/net/legacyfabric/fabric/impl/command/lib/sponge/args/DurationElement.java diff --git a/1.12.2/legacy-fabric-command-api-v2/src/main/java/net/legacyfabric/fabric/impl/command/lib/sponge/args/EntityCommandElement.java b/legacy-fabric-command-api-v2/1.12.2/src/main/java/net/legacyfabric/fabric/impl/command/lib/sponge/args/EntityCommandElement.java similarity index 100% rename from 1.12.2/legacy-fabric-command-api-v2/src/main/java/net/legacyfabric/fabric/impl/command/lib/sponge/args/EntityCommandElement.java rename to legacy-fabric-command-api-v2/1.12.2/src/main/java/net/legacyfabric/fabric/impl/command/lib/sponge/args/EntityCommandElement.java diff --git a/1.12.2/legacy-fabric-command-api-v2/src/main/java/net/legacyfabric/fabric/impl/command/lib/sponge/args/EnumValueElement.java b/legacy-fabric-command-api-v2/1.12.2/src/main/java/net/legacyfabric/fabric/impl/command/lib/sponge/args/EnumValueElement.java similarity index 100% rename from 1.12.2/legacy-fabric-command-api-v2/src/main/java/net/legacyfabric/fabric/impl/command/lib/sponge/args/EnumValueElement.java rename to legacy-fabric-command-api-v2/1.12.2/src/main/java/net/legacyfabric/fabric/impl/command/lib/sponge/args/EnumValueElement.java diff --git a/1.12.2/legacy-fabric-command-api-v2/src/main/java/net/legacyfabric/fabric/impl/command/lib/sponge/args/FilteredSuggestionsElement.java b/legacy-fabric-command-api-v2/1.12.2/src/main/java/net/legacyfabric/fabric/impl/command/lib/sponge/args/FilteredSuggestionsElement.java similarity index 100% rename from 1.12.2/legacy-fabric-command-api-v2/src/main/java/net/legacyfabric/fabric/impl/command/lib/sponge/args/FilteredSuggestionsElement.java rename to legacy-fabric-command-api-v2/1.12.2/src/main/java/net/legacyfabric/fabric/impl/command/lib/sponge/args/FilteredSuggestionsElement.java diff --git a/1.12.2/legacy-fabric-command-api-v2/src/main/java/net/legacyfabric/fabric/impl/command/lib/sponge/args/FirstParsingCommandElement.java b/legacy-fabric-command-api-v2/1.12.2/src/main/java/net/legacyfabric/fabric/impl/command/lib/sponge/args/FirstParsingCommandElement.java similarity index 100% rename from 1.12.2/legacy-fabric-command-api-v2/src/main/java/net/legacyfabric/fabric/impl/command/lib/sponge/args/FirstParsingCommandElement.java rename to legacy-fabric-command-api-v2/1.12.2/src/main/java/net/legacyfabric/fabric/impl/command/lib/sponge/args/FirstParsingCommandElement.java diff --git a/1.12.2/legacy-fabric-command-api-v2/src/main/java/net/legacyfabric/fabric/impl/command/lib/sponge/args/IpElement.java b/legacy-fabric-command-api-v2/1.12.2/src/main/java/net/legacyfabric/fabric/impl/command/lib/sponge/args/IpElement.java similarity index 100% rename from 1.12.2/legacy-fabric-command-api-v2/src/main/java/net/legacyfabric/fabric/impl/command/lib/sponge/args/IpElement.java rename to legacy-fabric-command-api-v2/1.12.2/src/main/java/net/legacyfabric/fabric/impl/command/lib/sponge/args/IpElement.java diff --git a/1.12.2/legacy-fabric-command-api-v2/src/main/java/net/legacyfabric/fabric/impl/command/lib/sponge/args/LiteralCommandElement.java b/legacy-fabric-command-api-v2/1.12.2/src/main/java/net/legacyfabric/fabric/impl/command/lib/sponge/args/LiteralCommandElement.java similarity index 100% rename from 1.12.2/legacy-fabric-command-api-v2/src/main/java/net/legacyfabric/fabric/impl/command/lib/sponge/args/LiteralCommandElement.java rename to legacy-fabric-command-api-v2/1.12.2/src/main/java/net/legacyfabric/fabric/impl/command/lib/sponge/args/LiteralCommandElement.java diff --git a/1.12.2/legacy-fabric-command-api-v2/src/main/java/net/legacyfabric/fabric/impl/command/lib/sponge/args/MarkTrueCommandElement.java b/legacy-fabric-command-api-v2/1.12.2/src/main/java/net/legacyfabric/fabric/impl/command/lib/sponge/args/MarkTrueCommandElement.java similarity index 100% rename from 1.12.2/legacy-fabric-command-api-v2/src/main/java/net/legacyfabric/fabric/impl/command/lib/sponge/args/MarkTrueCommandElement.java rename to legacy-fabric-command-api-v2/1.12.2/src/main/java/net/legacyfabric/fabric/impl/command/lib/sponge/args/MarkTrueCommandElement.java diff --git a/1.12.2/legacy-fabric-command-api-v2/src/main/java/net/legacyfabric/fabric/impl/command/lib/sponge/args/ModCommandElement.java b/legacy-fabric-command-api-v2/1.12.2/src/main/java/net/legacyfabric/fabric/impl/command/lib/sponge/args/ModCommandElement.java similarity index 100% rename from 1.12.2/legacy-fabric-command-api-v2/src/main/java/net/legacyfabric/fabric/impl/command/lib/sponge/args/ModCommandElement.java rename to legacy-fabric-command-api-v2/1.12.2/src/main/java/net/legacyfabric/fabric/impl/command/lib/sponge/args/ModCommandElement.java diff --git a/1.12.2/legacy-fabric-command-api-v2/src/main/java/net/legacyfabric/fabric/impl/command/lib/sponge/args/NumericElement.java b/legacy-fabric-command-api-v2/1.12.2/src/main/java/net/legacyfabric/fabric/impl/command/lib/sponge/args/NumericElement.java similarity index 100% rename from 1.12.2/legacy-fabric-command-api-v2/src/main/java/net/legacyfabric/fabric/impl/command/lib/sponge/args/NumericElement.java rename to legacy-fabric-command-api-v2/1.12.2/src/main/java/net/legacyfabric/fabric/impl/command/lib/sponge/args/NumericElement.java diff --git a/1.12.2/legacy-fabric-command-api-v2/src/main/java/net/legacyfabric/fabric/impl/command/lib/sponge/args/OnlyOneCommandElement.java b/legacy-fabric-command-api-v2/1.12.2/src/main/java/net/legacyfabric/fabric/impl/command/lib/sponge/args/OnlyOneCommandElement.java similarity index 100% rename from 1.12.2/legacy-fabric-command-api-v2/src/main/java/net/legacyfabric/fabric/impl/command/lib/sponge/args/OnlyOneCommandElement.java rename to legacy-fabric-command-api-v2/1.12.2/src/main/java/net/legacyfabric/fabric/impl/command/lib/sponge/args/OnlyOneCommandElement.java diff --git a/1.12.2/legacy-fabric-command-api-v2/src/main/java/net/legacyfabric/fabric/impl/command/lib/sponge/args/OptionalCommandElement.java b/legacy-fabric-command-api-v2/1.12.2/src/main/java/net/legacyfabric/fabric/impl/command/lib/sponge/args/OptionalCommandElement.java similarity index 100% rename from 1.12.2/legacy-fabric-command-api-v2/src/main/java/net/legacyfabric/fabric/impl/command/lib/sponge/args/OptionalCommandElement.java rename to legacy-fabric-command-api-v2/1.12.2/src/main/java/net/legacyfabric/fabric/impl/command/lib/sponge/args/OptionalCommandElement.java diff --git a/1.12.2/legacy-fabric-command-api-v2/src/main/java/net/legacyfabric/fabric/impl/command/lib/sponge/args/PermissionCommandElement.java b/legacy-fabric-command-api-v2/1.12.2/src/main/java/net/legacyfabric/fabric/impl/command/lib/sponge/args/PermissionCommandElement.java similarity index 100% rename from 1.12.2/legacy-fabric-command-api-v2/src/main/java/net/legacyfabric/fabric/impl/command/lib/sponge/args/PermissionCommandElement.java rename to legacy-fabric-command-api-v2/1.12.2/src/main/java/net/legacyfabric/fabric/impl/command/lib/sponge/args/PermissionCommandElement.java diff --git a/1.12.2/legacy-fabric-command-api-v2/src/main/java/net/legacyfabric/fabric/impl/command/lib/sponge/args/PlayerCommandElement.java b/legacy-fabric-command-api-v2/1.12.2/src/main/java/net/legacyfabric/fabric/impl/command/lib/sponge/args/PlayerCommandElement.java similarity index 100% rename from 1.12.2/legacy-fabric-command-api-v2/src/main/java/net/legacyfabric/fabric/impl/command/lib/sponge/args/PlayerCommandElement.java rename to legacy-fabric-command-api-v2/1.12.2/src/main/java/net/legacyfabric/fabric/impl/command/lib/sponge/args/PlayerCommandElement.java diff --git a/1.12.2/legacy-fabric-command-api-v2/src/main/java/net/legacyfabric/fabric/impl/command/lib/sponge/args/RemainingJoinedStringsCommandElement.java b/legacy-fabric-command-api-v2/1.12.2/src/main/java/net/legacyfabric/fabric/impl/command/lib/sponge/args/RemainingJoinedStringsCommandElement.java similarity index 100% rename from 1.12.2/legacy-fabric-command-api-v2/src/main/java/net/legacyfabric/fabric/impl/command/lib/sponge/args/RemainingJoinedStringsCommandElement.java rename to legacy-fabric-command-api-v2/1.12.2/src/main/java/net/legacyfabric/fabric/impl/command/lib/sponge/args/RemainingJoinedStringsCommandElement.java diff --git a/1.12.2/legacy-fabric-command-api-v2/src/main/java/net/legacyfabric/fabric/impl/command/lib/sponge/args/RepeatedCommandElement.java b/legacy-fabric-command-api-v2/1.12.2/src/main/java/net/legacyfabric/fabric/impl/command/lib/sponge/args/RepeatedCommandElement.java similarity index 100% rename from 1.12.2/legacy-fabric-command-api-v2/src/main/java/net/legacyfabric/fabric/impl/command/lib/sponge/args/RepeatedCommandElement.java rename to legacy-fabric-command-api-v2/1.12.2/src/main/java/net/legacyfabric/fabric/impl/command/lib/sponge/args/RepeatedCommandElement.java diff --git a/1.12.2/legacy-fabric-command-api-v2/src/main/java/net/legacyfabric/fabric/impl/command/lib/sponge/args/SequenceCommandElement.java b/legacy-fabric-command-api-v2/1.12.2/src/main/java/net/legacyfabric/fabric/impl/command/lib/sponge/args/SequenceCommandElement.java similarity index 100% rename from 1.12.2/legacy-fabric-command-api-v2/src/main/java/net/legacyfabric/fabric/impl/command/lib/sponge/args/SequenceCommandElement.java rename to legacy-fabric-command-api-v2/1.12.2/src/main/java/net/legacyfabric/fabric/impl/command/lib/sponge/args/SequenceCommandElement.java diff --git a/1.12.2/legacy-fabric-command-api-v2/src/main/java/net/legacyfabric/fabric/impl/command/lib/sponge/args/StringCommandElement.java b/legacy-fabric-command-api-v2/1.12.2/src/main/java/net/legacyfabric/fabric/impl/command/lib/sponge/args/StringCommandElement.java similarity index 100% rename from 1.12.2/legacy-fabric-command-api-v2/src/main/java/net/legacyfabric/fabric/impl/command/lib/sponge/args/StringCommandElement.java rename to legacy-fabric-command-api-v2/1.12.2/src/main/java/net/legacyfabric/fabric/impl/command/lib/sponge/args/StringCommandElement.java diff --git a/1.12.2/legacy-fabric-command-api-v2/src/main/java/net/legacyfabric/fabric/impl/command/lib/sponge/args/StringElement.java b/legacy-fabric-command-api-v2/1.12.2/src/main/java/net/legacyfabric/fabric/impl/command/lib/sponge/args/StringElement.java similarity index 100% rename from 1.12.2/legacy-fabric-command-api-v2/src/main/java/net/legacyfabric/fabric/impl/command/lib/sponge/args/StringElement.java rename to legacy-fabric-command-api-v2/1.12.2/src/main/java/net/legacyfabric/fabric/impl/command/lib/sponge/args/StringElement.java diff --git a/1.12.2/legacy-fabric-command-api-v2/src/main/java/net/legacyfabric/fabric/impl/command/lib/sponge/args/UrlElement.java b/legacy-fabric-command-api-v2/1.12.2/src/main/java/net/legacyfabric/fabric/impl/command/lib/sponge/args/UrlElement.java similarity index 100% rename from 1.12.2/legacy-fabric-command-api-v2/src/main/java/net/legacyfabric/fabric/impl/command/lib/sponge/args/UrlElement.java rename to legacy-fabric-command-api-v2/1.12.2/src/main/java/net/legacyfabric/fabric/impl/command/lib/sponge/args/UrlElement.java diff --git a/1.12.2/legacy-fabric-command-api-v2/src/main/java/net/legacyfabric/fabric/impl/command/lib/sponge/args/UuidElement.java b/legacy-fabric-command-api-v2/1.12.2/src/main/java/net/legacyfabric/fabric/impl/command/lib/sponge/args/UuidElement.java similarity index 100% rename from 1.12.2/legacy-fabric-command-api-v2/src/main/java/net/legacyfabric/fabric/impl/command/lib/sponge/args/UuidElement.java rename to legacy-fabric-command-api-v2/1.12.2/src/main/java/net/legacyfabric/fabric/impl/command/lib/sponge/args/UuidElement.java diff --git a/1.12.2/legacy-fabric-command-api-v2/src/main/java/net/legacyfabric/fabric/impl/command/lib/sponge/args/Vec3dCommandElement.java b/legacy-fabric-command-api-v2/1.12.2/src/main/java/net/legacyfabric/fabric/impl/command/lib/sponge/args/Vec3dCommandElement.java similarity index 100% rename from 1.12.2/legacy-fabric-command-api-v2/src/main/java/net/legacyfabric/fabric/impl/command/lib/sponge/args/Vec3dCommandElement.java rename to legacy-fabric-command-api-v2/1.12.2/src/main/java/net/legacyfabric/fabric/impl/command/lib/sponge/args/Vec3dCommandElement.java diff --git a/1.12.2/legacy-fabric-command-api-v2/src/main/java/net/legacyfabric/fabric/impl/command/lib/sponge/args/WithSuggestionsElement.java b/legacy-fabric-command-api-v2/1.12.2/src/main/java/net/legacyfabric/fabric/impl/command/lib/sponge/args/WithSuggestionsElement.java similarity index 100% rename from 1.12.2/legacy-fabric-command-api-v2/src/main/java/net/legacyfabric/fabric/impl/command/lib/sponge/args/WithSuggestionsElement.java rename to legacy-fabric-command-api-v2/1.12.2/src/main/java/net/legacyfabric/fabric/impl/command/lib/sponge/args/WithSuggestionsElement.java diff --git a/1.12.2/legacy-fabric-command-api-v2/src/main/java/net/legacyfabric/fabric/mixin/command/MinecraftClientMixin.java b/legacy-fabric-command-api-v2/1.12.2/src/main/java/net/legacyfabric/fabric/mixin/command/MinecraftClientMixin.java similarity index 100% rename from 1.12.2/legacy-fabric-command-api-v2/src/main/java/net/legacyfabric/fabric/mixin/command/MinecraftClientMixin.java rename to legacy-fabric-command-api-v2/1.12.2/src/main/java/net/legacyfabric/fabric/mixin/command/MinecraftClientMixin.java diff --git a/1.12.2/legacy-fabric-command-api-v2/src/main/java/net/legacyfabric/fabric/mixin/command/MinecraftServerMixin.java b/legacy-fabric-command-api-v2/1.12.2/src/main/java/net/legacyfabric/fabric/mixin/command/MinecraftServerMixin.java similarity index 100% rename from 1.12.2/legacy-fabric-command-api-v2/src/main/java/net/legacyfabric/fabric/mixin/command/MinecraftServerMixin.java rename to legacy-fabric-command-api-v2/1.12.2/src/main/java/net/legacyfabric/fabric/mixin/command/MinecraftServerMixin.java diff --git a/1.12.2/legacy-fabric-command-api-v2/src/main/resources/assets/legacy-fabric-sponge-command-api-v2/icon.png b/legacy-fabric-command-api-v2/1.12.2/src/main/resources/assets/legacy-fabric-sponge-command-api-v2/icon.png similarity index 100% rename from 1.12.2/legacy-fabric-command-api-v2/src/main/resources/assets/legacy-fabric-sponge-command-api-v2/icon.png rename to legacy-fabric-command-api-v2/1.12.2/src/main/resources/assets/legacy-fabric-sponge-command-api-v2/icon.png diff --git a/1.7.10/legacy-fabric-command-api-v2/src/main/resources/fabric.mod.json b/legacy-fabric-command-api-v2/1.12.2/src/main/resources/fabric.mod.json similarity index 97% rename from 1.7.10/legacy-fabric-command-api-v2/src/main/resources/fabric.mod.json rename to legacy-fabric-command-api-v2/1.12.2/src/main/resources/fabric.mod.json index 72c3b72a0..5ff821a2a 100644 --- a/1.7.10/legacy-fabric-command-api-v2/src/main/resources/fabric.mod.json +++ b/legacy-fabric-command-api-v2/1.12.2/src/main/resources/fabric.mod.json @@ -17,7 +17,7 @@ ], "depends": { "fabricloader": ">=0.4.0", - "minecraft": "<=1.7.10" + "minecraft": "${minecraft_version}" }, "entrypoints": { "client": [ diff --git a/1.12.2/legacy-fabric-command-api-v2/src/main/resources/legacy-fabric-sponge-command-api-v2.mixins.json b/legacy-fabric-command-api-v2/1.12.2/src/main/resources/legacy-fabric-sponge-command-api-v2.mixins.json similarity index 100% rename from 1.12.2/legacy-fabric-command-api-v2/src/main/resources/legacy-fabric-sponge-command-api-v2.mixins.json rename to legacy-fabric-command-api-v2/1.12.2/src/main/resources/legacy-fabric-sponge-command-api-v2.mixins.json diff --git a/1.12.2/legacy-fabric-command-api-v2/src/testmod/java/net/legacyfabric/fabric/test/command/ModMetadataCommand.java b/legacy-fabric-command-api-v2/1.12.2/src/testmod/java/net/legacyfabric/fabric/test/command/ModMetadataCommand.java similarity index 100% rename from 1.12.2/legacy-fabric-command-api-v2/src/testmod/java/net/legacyfabric/fabric/test/command/ModMetadataCommand.java rename to legacy-fabric-command-api-v2/1.12.2/src/testmod/java/net/legacyfabric/fabric/test/command/ModMetadataCommand.java diff --git a/1.12.2/legacy-fabric-command-api-v2/src/testmod/java/net/legacyfabric/fabric/test/command/SpongeCommandTest.java b/legacy-fabric-command-api-v2/1.12.2/src/testmod/java/net/legacyfabric/fabric/test/command/SpongeCommandTest.java similarity index 100% rename from 1.12.2/legacy-fabric-command-api-v2/src/testmod/java/net/legacyfabric/fabric/test/command/SpongeCommandTest.java rename to legacy-fabric-command-api-v2/1.12.2/src/testmod/java/net/legacyfabric/fabric/test/command/SpongeCommandTest.java diff --git a/1.8.9/legacy-fabric-command-api-v2/src/testmod/resources/fabric.mod.json b/legacy-fabric-command-api-v2/1.12.2/src/testmod/resources/fabric.mod.json similarity index 86% rename from 1.8.9/legacy-fabric-command-api-v2/src/testmod/resources/fabric.mod.json rename to legacy-fabric-command-api-v2/1.12.2/src/testmod/resources/fabric.mod.json index 663389e56..255852242 100644 --- a/1.8.9/legacy-fabric-command-api-v2/src/testmod/resources/fabric.mod.json +++ b/legacy-fabric-command-api-v2/1.12.2/src/testmod/resources/fabric.mod.json @@ -9,6 +9,6 @@ ] }, "depends": { - "minecraft": ">=1.8 <=1.8.9" + "minecraft": "${minecraft_version}" } } diff --git a/legacy-fabric-command-api-v2/1.7.10/build.gradle b/legacy-fabric-command-api-v2/1.7.10/build.gradle new file mode 100644 index 000000000..e69de29bb diff --git a/legacy-fabric-command-api-v2/1.7.10/gradle.properties b/legacy-fabric-command-api-v2/1.7.10/gradle.properties new file mode 100644 index 000000000..c6dcd9541 --- /dev/null +++ b/legacy-fabric-command-api-v2/1.7.10/gradle.properties @@ -0,0 +1,2 @@ +minVersionIncluded=1.3 +maxVersionIncluded=1.7.10 diff --git a/1.7.10/legacy-fabric-command-api-v2/src/main/java/net/legacyfabric/fabric/api/command/v2/CommandRegistrar.java b/legacy-fabric-command-api-v2/1.7.10/src/main/java/net/legacyfabric/fabric/api/command/v2/CommandRegistrar.java similarity index 100% rename from 1.7.10/legacy-fabric-command-api-v2/src/main/java/net/legacyfabric/fabric/api/command/v2/CommandRegistrar.java rename to legacy-fabric-command-api-v2/1.7.10/src/main/java/net/legacyfabric/fabric/api/command/v2/CommandRegistrar.java diff --git a/1.7.10/legacy-fabric-command-api-v2/src/main/java/net/legacyfabric/fabric/api/command/v2/Selector.java b/legacy-fabric-command-api-v2/1.7.10/src/main/java/net/legacyfabric/fabric/api/command/v2/Selector.java similarity index 100% rename from 1.7.10/legacy-fabric-command-api-v2/src/main/java/net/legacyfabric/fabric/api/command/v2/Selector.java rename to legacy-fabric-command-api-v2/1.7.10/src/main/java/net/legacyfabric/fabric/api/command/v2/Selector.java diff --git a/1.7.10/legacy-fabric-command-api-v2/src/main/java/net/legacyfabric/fabric/api/command/v2/StringType.java b/legacy-fabric-command-api-v2/1.7.10/src/main/java/net/legacyfabric/fabric/api/command/v2/StringType.java similarity index 100% rename from 1.7.10/legacy-fabric-command-api-v2/src/main/java/net/legacyfabric/fabric/api/command/v2/StringType.java rename to legacy-fabric-command-api-v2/1.7.10/src/main/java/net/legacyfabric/fabric/api/command/v2/StringType.java diff --git a/1.7.10/legacy-fabric-command-api-v2/src/main/java/net/legacyfabric/fabric/api/command/v2/lib/sponge/CommandCallable.java b/legacy-fabric-command-api-v2/1.7.10/src/main/java/net/legacyfabric/fabric/api/command/v2/lib/sponge/CommandCallable.java similarity index 100% rename from 1.7.10/legacy-fabric-command-api-v2/src/main/java/net/legacyfabric/fabric/api/command/v2/lib/sponge/CommandCallable.java rename to legacy-fabric-command-api-v2/1.7.10/src/main/java/net/legacyfabric/fabric/api/command/v2/lib/sponge/CommandCallable.java diff --git a/1.7.10/legacy-fabric-command-api-v2/src/main/java/net/legacyfabric/fabric/api/command/v2/lib/sponge/CommandException.java b/legacy-fabric-command-api-v2/1.7.10/src/main/java/net/legacyfabric/fabric/api/command/v2/lib/sponge/CommandException.java similarity index 100% rename from 1.7.10/legacy-fabric-command-api-v2/src/main/java/net/legacyfabric/fabric/api/command/v2/lib/sponge/CommandException.java rename to legacy-fabric-command-api-v2/1.7.10/src/main/java/net/legacyfabric/fabric/api/command/v2/lib/sponge/CommandException.java diff --git a/1.7.10/legacy-fabric-command-api-v2/src/main/java/net/legacyfabric/fabric/api/command/v2/lib/sponge/CommandManager.java b/legacy-fabric-command-api-v2/1.7.10/src/main/java/net/legacyfabric/fabric/api/command/v2/lib/sponge/CommandManager.java similarity index 100% rename from 1.7.10/legacy-fabric-command-api-v2/src/main/java/net/legacyfabric/fabric/api/command/v2/lib/sponge/CommandManager.java rename to legacy-fabric-command-api-v2/1.7.10/src/main/java/net/legacyfabric/fabric/api/command/v2/lib/sponge/CommandManager.java diff --git a/1.7.10/legacy-fabric-command-api-v2/src/main/java/net/legacyfabric/fabric/api/command/v2/lib/sponge/CommandMapping.java b/legacy-fabric-command-api-v2/1.7.10/src/main/java/net/legacyfabric/fabric/api/command/v2/lib/sponge/CommandMapping.java similarity index 100% rename from 1.7.10/legacy-fabric-command-api-v2/src/main/java/net/legacyfabric/fabric/api/command/v2/lib/sponge/CommandMapping.java rename to legacy-fabric-command-api-v2/1.7.10/src/main/java/net/legacyfabric/fabric/api/command/v2/lib/sponge/CommandMapping.java diff --git a/1.7.10/legacy-fabric-command-api-v2/src/main/java/net/legacyfabric/fabric/api/command/v2/lib/sponge/CommandMessageFormatting.java b/legacy-fabric-command-api-v2/1.7.10/src/main/java/net/legacyfabric/fabric/api/command/v2/lib/sponge/CommandMessageFormatting.java similarity index 100% rename from 1.7.10/legacy-fabric-command-api-v2/src/main/java/net/legacyfabric/fabric/api/command/v2/lib/sponge/CommandMessageFormatting.java rename to legacy-fabric-command-api-v2/1.7.10/src/main/java/net/legacyfabric/fabric/api/command/v2/lib/sponge/CommandMessageFormatting.java diff --git a/1.7.10/legacy-fabric-command-api-v2/src/main/java/net/legacyfabric/fabric/api/command/v2/lib/sponge/CommandNotFoundException.java b/legacy-fabric-command-api-v2/1.7.10/src/main/java/net/legacyfabric/fabric/api/command/v2/lib/sponge/CommandNotFoundException.java similarity index 100% rename from 1.7.10/legacy-fabric-command-api-v2/src/main/java/net/legacyfabric/fabric/api/command/v2/lib/sponge/CommandNotFoundException.java rename to legacy-fabric-command-api-v2/1.7.10/src/main/java/net/legacyfabric/fabric/api/command/v2/lib/sponge/CommandNotFoundException.java diff --git a/1.7.10/legacy-fabric-command-api-v2/src/main/java/net/legacyfabric/fabric/api/command/v2/lib/sponge/CommandPermissionException.java b/legacy-fabric-command-api-v2/1.7.10/src/main/java/net/legacyfabric/fabric/api/command/v2/lib/sponge/CommandPermissionException.java similarity index 100% rename from 1.7.10/legacy-fabric-command-api-v2/src/main/java/net/legacyfabric/fabric/api/command/v2/lib/sponge/CommandPermissionException.java rename to legacy-fabric-command-api-v2/1.7.10/src/main/java/net/legacyfabric/fabric/api/command/v2/lib/sponge/CommandPermissionException.java diff --git a/1.7.10/legacy-fabric-command-api-v2/src/main/java/net/legacyfabric/fabric/api/command/v2/lib/sponge/CommandResult.java b/legacy-fabric-command-api-v2/1.7.10/src/main/java/net/legacyfabric/fabric/api/command/v2/lib/sponge/CommandResult.java similarity index 100% rename from 1.7.10/legacy-fabric-command-api-v2/src/main/java/net/legacyfabric/fabric/api/command/v2/lib/sponge/CommandResult.java rename to legacy-fabric-command-api-v2/1.7.10/src/main/java/net/legacyfabric/fabric/api/command/v2/lib/sponge/CommandResult.java diff --git a/1.7.10/legacy-fabric-command-api-v2/src/main/java/net/legacyfabric/fabric/api/command/v2/lib/sponge/ImmutableCommandMapping.java b/legacy-fabric-command-api-v2/1.7.10/src/main/java/net/legacyfabric/fabric/api/command/v2/lib/sponge/ImmutableCommandMapping.java similarity index 100% rename from 1.7.10/legacy-fabric-command-api-v2/src/main/java/net/legacyfabric/fabric/api/command/v2/lib/sponge/ImmutableCommandMapping.java rename to legacy-fabric-command-api-v2/1.7.10/src/main/java/net/legacyfabric/fabric/api/command/v2/lib/sponge/ImmutableCommandMapping.java diff --git a/1.7.10/legacy-fabric-command-api-v2/src/main/java/net/legacyfabric/fabric/api/command/v2/lib/sponge/InvocationCommandException.java b/legacy-fabric-command-api-v2/1.7.10/src/main/java/net/legacyfabric/fabric/api/command/v2/lib/sponge/InvocationCommandException.java similarity index 100% rename from 1.7.10/legacy-fabric-command-api-v2/src/main/java/net/legacyfabric/fabric/api/command/v2/lib/sponge/InvocationCommandException.java rename to legacy-fabric-command-api-v2/1.7.10/src/main/java/net/legacyfabric/fabric/api/command/v2/lib/sponge/InvocationCommandException.java diff --git a/1.7.10/legacy-fabric-command-api-v2/src/main/java/net/legacyfabric/fabric/api/command/v2/lib/sponge/TextMessageException.java b/legacy-fabric-command-api-v2/1.7.10/src/main/java/net/legacyfabric/fabric/api/command/v2/lib/sponge/TextMessageException.java similarity index 100% rename from 1.7.10/legacy-fabric-command-api-v2/src/main/java/net/legacyfabric/fabric/api/command/v2/lib/sponge/TextMessageException.java rename to legacy-fabric-command-api-v2/1.7.10/src/main/java/net/legacyfabric/fabric/api/command/v2/lib/sponge/TextMessageException.java diff --git a/1.7.10/legacy-fabric-command-api-v2/src/main/java/net/legacyfabric/fabric/api/command/v2/lib/sponge/args/ArgumentParseException.java b/legacy-fabric-command-api-v2/1.7.10/src/main/java/net/legacyfabric/fabric/api/command/v2/lib/sponge/args/ArgumentParseException.java similarity index 100% rename from 1.7.10/legacy-fabric-command-api-v2/src/main/java/net/legacyfabric/fabric/api/command/v2/lib/sponge/args/ArgumentParseException.java rename to legacy-fabric-command-api-v2/1.7.10/src/main/java/net/legacyfabric/fabric/api/command/v2/lib/sponge/args/ArgumentParseException.java diff --git a/1.7.10/legacy-fabric-command-api-v2/src/main/java/net/legacyfabric/fabric/api/command/v2/lib/sponge/args/ChildCommandElementExecutor.java b/legacy-fabric-command-api-v2/1.7.10/src/main/java/net/legacyfabric/fabric/api/command/v2/lib/sponge/args/ChildCommandElementExecutor.java similarity index 100% rename from 1.7.10/legacy-fabric-command-api-v2/src/main/java/net/legacyfabric/fabric/api/command/v2/lib/sponge/args/ChildCommandElementExecutor.java rename to legacy-fabric-command-api-v2/1.7.10/src/main/java/net/legacyfabric/fabric/api/command/v2/lib/sponge/args/ChildCommandElementExecutor.java diff --git a/1.7.10/legacy-fabric-command-api-v2/src/main/java/net/legacyfabric/fabric/api/command/v2/lib/sponge/args/CommandArgs.java b/legacy-fabric-command-api-v2/1.7.10/src/main/java/net/legacyfabric/fabric/api/command/v2/lib/sponge/args/CommandArgs.java similarity index 100% rename from 1.7.10/legacy-fabric-command-api-v2/src/main/java/net/legacyfabric/fabric/api/command/v2/lib/sponge/args/CommandArgs.java rename to legacy-fabric-command-api-v2/1.7.10/src/main/java/net/legacyfabric/fabric/api/command/v2/lib/sponge/args/CommandArgs.java diff --git a/1.7.10/legacy-fabric-command-api-v2/src/main/java/net/legacyfabric/fabric/api/command/v2/lib/sponge/args/CommandContext.java b/legacy-fabric-command-api-v2/1.7.10/src/main/java/net/legacyfabric/fabric/api/command/v2/lib/sponge/args/CommandContext.java similarity index 100% rename from 1.7.10/legacy-fabric-command-api-v2/src/main/java/net/legacyfabric/fabric/api/command/v2/lib/sponge/args/CommandContext.java rename to legacy-fabric-command-api-v2/1.7.10/src/main/java/net/legacyfabric/fabric/api/command/v2/lib/sponge/args/CommandContext.java diff --git a/1.7.10/legacy-fabric-command-api-v2/src/main/java/net/legacyfabric/fabric/api/command/v2/lib/sponge/args/CommandElement.java b/legacy-fabric-command-api-v2/1.7.10/src/main/java/net/legacyfabric/fabric/api/command/v2/lib/sponge/args/CommandElement.java similarity index 100% rename from 1.7.10/legacy-fabric-command-api-v2/src/main/java/net/legacyfabric/fabric/api/command/v2/lib/sponge/args/CommandElement.java rename to legacy-fabric-command-api-v2/1.7.10/src/main/java/net/legacyfabric/fabric/api/command/v2/lib/sponge/args/CommandElement.java diff --git a/1.7.10/legacy-fabric-command-api-v2/src/main/java/net/legacyfabric/fabric/api/command/v2/lib/sponge/args/CommandFlags.java b/legacy-fabric-command-api-v2/1.7.10/src/main/java/net/legacyfabric/fabric/api/command/v2/lib/sponge/args/CommandFlags.java similarity index 100% rename from 1.7.10/legacy-fabric-command-api-v2/src/main/java/net/legacyfabric/fabric/api/command/v2/lib/sponge/args/CommandFlags.java rename to legacy-fabric-command-api-v2/1.7.10/src/main/java/net/legacyfabric/fabric/api/command/v2/lib/sponge/args/CommandFlags.java diff --git a/1.7.10/legacy-fabric-command-api-v2/src/main/java/net/legacyfabric/fabric/api/command/v2/lib/sponge/args/GenericArguments.java b/legacy-fabric-command-api-v2/1.7.10/src/main/java/net/legacyfabric/fabric/api/command/v2/lib/sponge/args/GenericArguments.java similarity index 100% rename from 1.7.10/legacy-fabric-command-api-v2/src/main/java/net/legacyfabric/fabric/api/command/v2/lib/sponge/args/GenericArguments.java rename to legacy-fabric-command-api-v2/1.7.10/src/main/java/net/legacyfabric/fabric/api/command/v2/lib/sponge/args/GenericArguments.java diff --git a/1.7.10/legacy-fabric-command-api-v2/src/main/java/net/legacyfabric/fabric/api/command/v2/lib/sponge/args/KeyElement.java b/legacy-fabric-command-api-v2/1.7.10/src/main/java/net/legacyfabric/fabric/api/command/v2/lib/sponge/args/KeyElement.java similarity index 100% rename from 1.7.10/legacy-fabric-command-api-v2/src/main/java/net/legacyfabric/fabric/api/command/v2/lib/sponge/args/KeyElement.java rename to legacy-fabric-command-api-v2/1.7.10/src/main/java/net/legacyfabric/fabric/api/command/v2/lib/sponge/args/KeyElement.java diff --git a/1.7.10/legacy-fabric-command-api-v2/src/main/java/net/legacyfabric/fabric/api/command/v2/lib/sponge/args/PatternMatchingCommandElement.java b/legacy-fabric-command-api-v2/1.7.10/src/main/java/net/legacyfabric/fabric/api/command/v2/lib/sponge/args/PatternMatchingCommandElement.java similarity index 100% rename from 1.7.10/legacy-fabric-command-api-v2/src/main/java/net/legacyfabric/fabric/api/command/v2/lib/sponge/args/PatternMatchingCommandElement.java rename to legacy-fabric-command-api-v2/1.7.10/src/main/java/net/legacyfabric/fabric/api/command/v2/lib/sponge/args/PatternMatchingCommandElement.java diff --git a/1.7.10/legacy-fabric-command-api-v2/src/main/java/net/legacyfabric/fabric/api/command/v2/lib/sponge/args/SelectorCommandElement.java b/legacy-fabric-command-api-v2/1.7.10/src/main/java/net/legacyfabric/fabric/api/command/v2/lib/sponge/args/SelectorCommandElement.java similarity index 100% rename from 1.7.10/legacy-fabric-command-api-v2/src/main/java/net/legacyfabric/fabric/api/command/v2/lib/sponge/args/SelectorCommandElement.java rename to legacy-fabric-command-api-v2/1.7.10/src/main/java/net/legacyfabric/fabric/api/command/v2/lib/sponge/args/SelectorCommandElement.java diff --git a/1.7.10/legacy-fabric-command-api-v2/src/main/java/net/legacyfabric/fabric/api/command/v2/lib/sponge/args/parsing/InputTokenizer.java b/legacy-fabric-command-api-v2/1.7.10/src/main/java/net/legacyfabric/fabric/api/command/v2/lib/sponge/args/parsing/InputTokenizer.java similarity index 100% rename from 1.7.10/legacy-fabric-command-api-v2/src/main/java/net/legacyfabric/fabric/api/command/v2/lib/sponge/args/parsing/InputTokenizer.java rename to legacy-fabric-command-api-v2/1.7.10/src/main/java/net/legacyfabric/fabric/api/command/v2/lib/sponge/args/parsing/InputTokenizer.java diff --git a/1.7.10/legacy-fabric-command-api-v2/src/main/java/net/legacyfabric/fabric/api/command/v2/lib/sponge/args/parsing/QuotedStringTokenizer.java b/legacy-fabric-command-api-v2/1.7.10/src/main/java/net/legacyfabric/fabric/api/command/v2/lib/sponge/args/parsing/QuotedStringTokenizer.java similarity index 100% rename from 1.7.10/legacy-fabric-command-api-v2/src/main/java/net/legacyfabric/fabric/api/command/v2/lib/sponge/args/parsing/QuotedStringTokenizer.java rename to legacy-fabric-command-api-v2/1.7.10/src/main/java/net/legacyfabric/fabric/api/command/v2/lib/sponge/args/parsing/QuotedStringTokenizer.java diff --git a/1.7.10/legacy-fabric-command-api-v2/src/main/java/net/legacyfabric/fabric/api/command/v2/lib/sponge/args/parsing/RawStringInputTokenizer.java b/legacy-fabric-command-api-v2/1.7.10/src/main/java/net/legacyfabric/fabric/api/command/v2/lib/sponge/args/parsing/RawStringInputTokenizer.java similarity index 100% rename from 1.7.10/legacy-fabric-command-api-v2/src/main/java/net/legacyfabric/fabric/api/command/v2/lib/sponge/args/parsing/RawStringInputTokenizer.java rename to legacy-fabric-command-api-v2/1.7.10/src/main/java/net/legacyfabric/fabric/api/command/v2/lib/sponge/args/parsing/RawStringInputTokenizer.java diff --git a/1.7.10/legacy-fabric-command-api-v2/src/main/java/net/legacyfabric/fabric/api/command/v2/lib/sponge/args/parsing/SingleArg.java b/legacy-fabric-command-api-v2/1.7.10/src/main/java/net/legacyfabric/fabric/api/command/v2/lib/sponge/args/parsing/SingleArg.java similarity index 100% rename from 1.7.10/legacy-fabric-command-api-v2/src/main/java/net/legacyfabric/fabric/api/command/v2/lib/sponge/args/parsing/SingleArg.java rename to legacy-fabric-command-api-v2/1.7.10/src/main/java/net/legacyfabric/fabric/api/command/v2/lib/sponge/args/parsing/SingleArg.java diff --git a/1.7.10/legacy-fabric-command-api-v2/src/main/java/net/legacyfabric/fabric/api/command/v2/lib/sponge/args/parsing/SpaceSplitInputTokenizer.java b/legacy-fabric-command-api-v2/1.7.10/src/main/java/net/legacyfabric/fabric/api/command/v2/lib/sponge/args/parsing/SpaceSplitInputTokenizer.java similarity index 100% rename from 1.7.10/legacy-fabric-command-api-v2/src/main/java/net/legacyfabric/fabric/api/command/v2/lib/sponge/args/parsing/SpaceSplitInputTokenizer.java rename to legacy-fabric-command-api-v2/1.7.10/src/main/java/net/legacyfabric/fabric/api/command/v2/lib/sponge/args/parsing/SpaceSplitInputTokenizer.java diff --git a/1.7.10/legacy-fabric-command-api-v2/src/main/java/net/legacyfabric/fabric/api/command/v2/lib/sponge/args/parsing/TokenizerState.java b/legacy-fabric-command-api-v2/1.7.10/src/main/java/net/legacyfabric/fabric/api/command/v2/lib/sponge/args/parsing/TokenizerState.java similarity index 100% rename from 1.7.10/legacy-fabric-command-api-v2/src/main/java/net/legacyfabric/fabric/api/command/v2/lib/sponge/args/parsing/TokenizerState.java rename to legacy-fabric-command-api-v2/1.7.10/src/main/java/net/legacyfabric/fabric/api/command/v2/lib/sponge/args/parsing/TokenizerState.java diff --git a/1.7.10/legacy-fabric-command-api-v2/src/main/java/net/legacyfabric/fabric/api/command/v2/lib/sponge/dispatcher/Disambiguator.java b/legacy-fabric-command-api-v2/1.7.10/src/main/java/net/legacyfabric/fabric/api/command/v2/lib/sponge/dispatcher/Disambiguator.java similarity index 100% rename from 1.7.10/legacy-fabric-command-api-v2/src/main/java/net/legacyfabric/fabric/api/command/v2/lib/sponge/dispatcher/Disambiguator.java rename to legacy-fabric-command-api-v2/1.7.10/src/main/java/net/legacyfabric/fabric/api/command/v2/lib/sponge/dispatcher/Disambiguator.java diff --git a/1.7.10/legacy-fabric-command-api-v2/src/main/java/net/legacyfabric/fabric/api/command/v2/lib/sponge/dispatcher/Dispatcher.java b/legacy-fabric-command-api-v2/1.7.10/src/main/java/net/legacyfabric/fabric/api/command/v2/lib/sponge/dispatcher/Dispatcher.java similarity index 100% rename from 1.7.10/legacy-fabric-command-api-v2/src/main/java/net/legacyfabric/fabric/api/command/v2/lib/sponge/dispatcher/Dispatcher.java rename to legacy-fabric-command-api-v2/1.7.10/src/main/java/net/legacyfabric/fabric/api/command/v2/lib/sponge/dispatcher/Dispatcher.java diff --git a/1.7.10/legacy-fabric-command-api-v2/src/main/java/net/legacyfabric/fabric/api/command/v2/lib/sponge/dispatcher/SimpleDispatcher.java b/legacy-fabric-command-api-v2/1.7.10/src/main/java/net/legacyfabric/fabric/api/command/v2/lib/sponge/dispatcher/SimpleDispatcher.java similarity index 100% rename from 1.7.10/legacy-fabric-command-api-v2/src/main/java/net/legacyfabric/fabric/api/command/v2/lib/sponge/dispatcher/SimpleDispatcher.java rename to legacy-fabric-command-api-v2/1.7.10/src/main/java/net/legacyfabric/fabric/api/command/v2/lib/sponge/dispatcher/SimpleDispatcher.java diff --git a/1.7.10/legacy-fabric-command-api-v2/src/main/java/net/legacyfabric/fabric/api/command/v2/lib/sponge/spec/CommandExecutor.java b/legacy-fabric-command-api-v2/1.7.10/src/main/java/net/legacyfabric/fabric/api/command/v2/lib/sponge/spec/CommandExecutor.java similarity index 100% rename from 1.7.10/legacy-fabric-command-api-v2/src/main/java/net/legacyfabric/fabric/api/command/v2/lib/sponge/spec/CommandExecutor.java rename to legacy-fabric-command-api-v2/1.7.10/src/main/java/net/legacyfabric/fabric/api/command/v2/lib/sponge/spec/CommandExecutor.java diff --git a/1.7.10/legacy-fabric-command-api-v2/src/main/java/net/legacyfabric/fabric/api/command/v2/lib/sponge/spec/CommandSpec.java b/legacy-fabric-command-api-v2/1.7.10/src/main/java/net/legacyfabric/fabric/api/command/v2/lib/sponge/spec/CommandSpec.java similarity index 100% rename from 1.7.10/legacy-fabric-command-api-v2/src/main/java/net/legacyfabric/fabric/api/command/v2/lib/sponge/spec/CommandSpec.java rename to legacy-fabric-command-api-v2/1.7.10/src/main/java/net/legacyfabric/fabric/api/command/v2/lib/sponge/spec/CommandSpec.java diff --git a/1.7.10/legacy-fabric-command-api-v2/src/main/java/net/legacyfabric/fabric/impl/command/CommandManagerImpl.java b/legacy-fabric-command-api-v2/1.7.10/src/main/java/net/legacyfabric/fabric/impl/command/CommandManagerImpl.java similarity index 100% rename from 1.7.10/legacy-fabric-command-api-v2/src/main/java/net/legacyfabric/fabric/impl/command/CommandManagerImpl.java rename to legacy-fabric-command-api-v2/1.7.10/src/main/java/net/legacyfabric/fabric/impl/command/CommandManagerImpl.java diff --git a/1.7.10/legacy-fabric-command-api-v2/src/main/java/net/legacyfabric/fabric/impl/command/CommandWrapper.java b/legacy-fabric-command-api-v2/1.7.10/src/main/java/net/legacyfabric/fabric/impl/command/CommandWrapper.java similarity index 100% rename from 1.7.10/legacy-fabric-command-api-v2/src/main/java/net/legacyfabric/fabric/impl/command/CommandWrapper.java rename to legacy-fabric-command-api-v2/1.7.10/src/main/java/net/legacyfabric/fabric/impl/command/CommandWrapper.java diff --git a/1.7.10/legacy-fabric-command-api-v2/src/main/java/net/legacyfabric/fabric/impl/command/ImplInit.java b/legacy-fabric-command-api-v2/1.7.10/src/main/java/net/legacyfabric/fabric/impl/command/ImplInit.java similarity index 100% rename from 1.7.10/legacy-fabric-command-api-v2/src/main/java/net/legacyfabric/fabric/impl/command/ImplInit.java rename to legacy-fabric-command-api-v2/1.7.10/src/main/java/net/legacyfabric/fabric/impl/command/ImplInit.java diff --git a/1.7.10/legacy-fabric-command-api-v2/src/main/java/net/legacyfabric/fabric/impl/command/InternalObjects.java b/legacy-fabric-command-api-v2/1.7.10/src/main/java/net/legacyfabric/fabric/impl/command/InternalObjects.java similarity index 100% rename from 1.7.10/legacy-fabric-command-api-v2/src/main/java/net/legacyfabric/fabric/impl/command/InternalObjects.java rename to legacy-fabric-command-api-v2/1.7.10/src/main/java/net/legacyfabric/fabric/impl/command/InternalObjects.java diff --git a/1.7.10/legacy-fabric-command-api-v2/src/main/java/net/legacyfabric/fabric/impl/command/lib/sponge/args/AllOfCommandElement.java b/legacy-fabric-command-api-v2/1.7.10/src/main/java/net/legacyfabric/fabric/impl/command/lib/sponge/args/AllOfCommandElement.java similarity index 100% rename from 1.7.10/legacy-fabric-command-api-v2/src/main/java/net/legacyfabric/fabric/impl/command/lib/sponge/args/AllOfCommandElement.java rename to legacy-fabric-command-api-v2/1.7.10/src/main/java/net/legacyfabric/fabric/impl/command/lib/sponge/args/AllOfCommandElement.java diff --git a/1.7.10/legacy-fabric-command-api-v2/src/main/java/net/legacyfabric/fabric/impl/command/lib/sponge/args/BigDecimalElement.java b/legacy-fabric-command-api-v2/1.7.10/src/main/java/net/legacyfabric/fabric/impl/command/lib/sponge/args/BigDecimalElement.java similarity index 100% rename from 1.7.10/legacy-fabric-command-api-v2/src/main/java/net/legacyfabric/fabric/impl/command/lib/sponge/args/BigDecimalElement.java rename to legacy-fabric-command-api-v2/1.7.10/src/main/java/net/legacyfabric/fabric/impl/command/lib/sponge/args/BigDecimalElement.java diff --git a/1.7.10/legacy-fabric-command-api-v2/src/main/java/net/legacyfabric/fabric/impl/command/lib/sponge/args/BigIntegerElement.java b/legacy-fabric-command-api-v2/1.7.10/src/main/java/net/legacyfabric/fabric/impl/command/lib/sponge/args/BigIntegerElement.java similarity index 100% rename from 1.7.10/legacy-fabric-command-api-v2/src/main/java/net/legacyfabric/fabric/impl/command/lib/sponge/args/BigIntegerElement.java rename to legacy-fabric-command-api-v2/1.7.10/src/main/java/net/legacyfabric/fabric/impl/command/lib/sponge/args/BigIntegerElement.java diff --git a/1.7.10/legacy-fabric-command-api-v2/src/main/java/net/legacyfabric/fabric/impl/command/lib/sponge/args/ChoicesCommandElement.java b/legacy-fabric-command-api-v2/1.7.10/src/main/java/net/legacyfabric/fabric/impl/command/lib/sponge/args/ChoicesCommandElement.java similarity index 100% rename from 1.7.10/legacy-fabric-command-api-v2/src/main/java/net/legacyfabric/fabric/impl/command/lib/sponge/args/ChoicesCommandElement.java rename to legacy-fabric-command-api-v2/1.7.10/src/main/java/net/legacyfabric/fabric/impl/command/lib/sponge/args/ChoicesCommandElement.java diff --git a/1.7.10/legacy-fabric-command-api-v2/src/main/java/net/legacyfabric/fabric/impl/command/lib/sponge/args/DateTimeElement.java b/legacy-fabric-command-api-v2/1.7.10/src/main/java/net/legacyfabric/fabric/impl/command/lib/sponge/args/DateTimeElement.java similarity index 100% rename from 1.7.10/legacy-fabric-command-api-v2/src/main/java/net/legacyfabric/fabric/impl/command/lib/sponge/args/DateTimeElement.java rename to legacy-fabric-command-api-v2/1.7.10/src/main/java/net/legacyfabric/fabric/impl/command/lib/sponge/args/DateTimeElement.java diff --git a/1.7.10/legacy-fabric-command-api-v2/src/main/java/net/legacyfabric/fabric/impl/command/lib/sponge/args/DurationElement.java b/legacy-fabric-command-api-v2/1.7.10/src/main/java/net/legacyfabric/fabric/impl/command/lib/sponge/args/DurationElement.java similarity index 100% rename from 1.7.10/legacy-fabric-command-api-v2/src/main/java/net/legacyfabric/fabric/impl/command/lib/sponge/args/DurationElement.java rename to legacy-fabric-command-api-v2/1.7.10/src/main/java/net/legacyfabric/fabric/impl/command/lib/sponge/args/DurationElement.java diff --git a/1.7.10/legacy-fabric-command-api-v2/src/main/java/net/legacyfabric/fabric/impl/command/lib/sponge/args/EntityCommandElement.java b/legacy-fabric-command-api-v2/1.7.10/src/main/java/net/legacyfabric/fabric/impl/command/lib/sponge/args/EntityCommandElement.java similarity index 100% rename from 1.7.10/legacy-fabric-command-api-v2/src/main/java/net/legacyfabric/fabric/impl/command/lib/sponge/args/EntityCommandElement.java rename to legacy-fabric-command-api-v2/1.7.10/src/main/java/net/legacyfabric/fabric/impl/command/lib/sponge/args/EntityCommandElement.java diff --git a/1.7.10/legacy-fabric-command-api-v2/src/main/java/net/legacyfabric/fabric/impl/command/lib/sponge/args/EnumValueElement.java b/legacy-fabric-command-api-v2/1.7.10/src/main/java/net/legacyfabric/fabric/impl/command/lib/sponge/args/EnumValueElement.java similarity index 100% rename from 1.7.10/legacy-fabric-command-api-v2/src/main/java/net/legacyfabric/fabric/impl/command/lib/sponge/args/EnumValueElement.java rename to legacy-fabric-command-api-v2/1.7.10/src/main/java/net/legacyfabric/fabric/impl/command/lib/sponge/args/EnumValueElement.java diff --git a/1.7.10/legacy-fabric-command-api-v2/src/main/java/net/legacyfabric/fabric/impl/command/lib/sponge/args/FilteredSuggestionsElement.java b/legacy-fabric-command-api-v2/1.7.10/src/main/java/net/legacyfabric/fabric/impl/command/lib/sponge/args/FilteredSuggestionsElement.java similarity index 100% rename from 1.7.10/legacy-fabric-command-api-v2/src/main/java/net/legacyfabric/fabric/impl/command/lib/sponge/args/FilteredSuggestionsElement.java rename to legacy-fabric-command-api-v2/1.7.10/src/main/java/net/legacyfabric/fabric/impl/command/lib/sponge/args/FilteredSuggestionsElement.java diff --git a/1.7.10/legacy-fabric-command-api-v2/src/main/java/net/legacyfabric/fabric/impl/command/lib/sponge/args/FirstParsingCommandElement.java b/legacy-fabric-command-api-v2/1.7.10/src/main/java/net/legacyfabric/fabric/impl/command/lib/sponge/args/FirstParsingCommandElement.java similarity index 100% rename from 1.7.10/legacy-fabric-command-api-v2/src/main/java/net/legacyfabric/fabric/impl/command/lib/sponge/args/FirstParsingCommandElement.java rename to legacy-fabric-command-api-v2/1.7.10/src/main/java/net/legacyfabric/fabric/impl/command/lib/sponge/args/FirstParsingCommandElement.java diff --git a/1.7.10/legacy-fabric-command-api-v2/src/main/java/net/legacyfabric/fabric/impl/command/lib/sponge/args/IpElement.java b/legacy-fabric-command-api-v2/1.7.10/src/main/java/net/legacyfabric/fabric/impl/command/lib/sponge/args/IpElement.java similarity index 100% rename from 1.7.10/legacy-fabric-command-api-v2/src/main/java/net/legacyfabric/fabric/impl/command/lib/sponge/args/IpElement.java rename to legacy-fabric-command-api-v2/1.7.10/src/main/java/net/legacyfabric/fabric/impl/command/lib/sponge/args/IpElement.java diff --git a/1.7.10/legacy-fabric-command-api-v2/src/main/java/net/legacyfabric/fabric/impl/command/lib/sponge/args/LiteralCommandElement.java b/legacy-fabric-command-api-v2/1.7.10/src/main/java/net/legacyfabric/fabric/impl/command/lib/sponge/args/LiteralCommandElement.java similarity index 100% rename from 1.7.10/legacy-fabric-command-api-v2/src/main/java/net/legacyfabric/fabric/impl/command/lib/sponge/args/LiteralCommandElement.java rename to legacy-fabric-command-api-v2/1.7.10/src/main/java/net/legacyfabric/fabric/impl/command/lib/sponge/args/LiteralCommandElement.java diff --git a/1.7.10/legacy-fabric-command-api-v2/src/main/java/net/legacyfabric/fabric/impl/command/lib/sponge/args/MarkTrueCommandElement.java b/legacy-fabric-command-api-v2/1.7.10/src/main/java/net/legacyfabric/fabric/impl/command/lib/sponge/args/MarkTrueCommandElement.java similarity index 100% rename from 1.7.10/legacy-fabric-command-api-v2/src/main/java/net/legacyfabric/fabric/impl/command/lib/sponge/args/MarkTrueCommandElement.java rename to legacy-fabric-command-api-v2/1.7.10/src/main/java/net/legacyfabric/fabric/impl/command/lib/sponge/args/MarkTrueCommandElement.java diff --git a/1.7.10/legacy-fabric-command-api-v2/src/main/java/net/legacyfabric/fabric/impl/command/lib/sponge/args/ModCommandElement.java b/legacy-fabric-command-api-v2/1.7.10/src/main/java/net/legacyfabric/fabric/impl/command/lib/sponge/args/ModCommandElement.java similarity index 100% rename from 1.7.10/legacy-fabric-command-api-v2/src/main/java/net/legacyfabric/fabric/impl/command/lib/sponge/args/ModCommandElement.java rename to legacy-fabric-command-api-v2/1.7.10/src/main/java/net/legacyfabric/fabric/impl/command/lib/sponge/args/ModCommandElement.java diff --git a/1.7.10/legacy-fabric-command-api-v2/src/main/java/net/legacyfabric/fabric/impl/command/lib/sponge/args/NumericElement.java b/legacy-fabric-command-api-v2/1.7.10/src/main/java/net/legacyfabric/fabric/impl/command/lib/sponge/args/NumericElement.java similarity index 100% rename from 1.7.10/legacy-fabric-command-api-v2/src/main/java/net/legacyfabric/fabric/impl/command/lib/sponge/args/NumericElement.java rename to legacy-fabric-command-api-v2/1.7.10/src/main/java/net/legacyfabric/fabric/impl/command/lib/sponge/args/NumericElement.java diff --git a/1.7.10/legacy-fabric-command-api-v2/src/main/java/net/legacyfabric/fabric/impl/command/lib/sponge/args/OnlyOneCommandElement.java b/legacy-fabric-command-api-v2/1.7.10/src/main/java/net/legacyfabric/fabric/impl/command/lib/sponge/args/OnlyOneCommandElement.java similarity index 100% rename from 1.7.10/legacy-fabric-command-api-v2/src/main/java/net/legacyfabric/fabric/impl/command/lib/sponge/args/OnlyOneCommandElement.java rename to legacy-fabric-command-api-v2/1.7.10/src/main/java/net/legacyfabric/fabric/impl/command/lib/sponge/args/OnlyOneCommandElement.java diff --git a/1.7.10/legacy-fabric-command-api-v2/src/main/java/net/legacyfabric/fabric/impl/command/lib/sponge/args/OptionalCommandElement.java b/legacy-fabric-command-api-v2/1.7.10/src/main/java/net/legacyfabric/fabric/impl/command/lib/sponge/args/OptionalCommandElement.java similarity index 100% rename from 1.7.10/legacy-fabric-command-api-v2/src/main/java/net/legacyfabric/fabric/impl/command/lib/sponge/args/OptionalCommandElement.java rename to legacy-fabric-command-api-v2/1.7.10/src/main/java/net/legacyfabric/fabric/impl/command/lib/sponge/args/OptionalCommandElement.java diff --git a/1.7.10/legacy-fabric-command-api-v2/src/main/java/net/legacyfabric/fabric/impl/command/lib/sponge/args/PermissionCommandElement.java b/legacy-fabric-command-api-v2/1.7.10/src/main/java/net/legacyfabric/fabric/impl/command/lib/sponge/args/PermissionCommandElement.java similarity index 100% rename from 1.7.10/legacy-fabric-command-api-v2/src/main/java/net/legacyfabric/fabric/impl/command/lib/sponge/args/PermissionCommandElement.java rename to legacy-fabric-command-api-v2/1.7.10/src/main/java/net/legacyfabric/fabric/impl/command/lib/sponge/args/PermissionCommandElement.java diff --git a/1.7.10/legacy-fabric-command-api-v2/src/main/java/net/legacyfabric/fabric/impl/command/lib/sponge/args/PlayerCommandElement.java b/legacy-fabric-command-api-v2/1.7.10/src/main/java/net/legacyfabric/fabric/impl/command/lib/sponge/args/PlayerCommandElement.java similarity index 100% rename from 1.7.10/legacy-fabric-command-api-v2/src/main/java/net/legacyfabric/fabric/impl/command/lib/sponge/args/PlayerCommandElement.java rename to legacy-fabric-command-api-v2/1.7.10/src/main/java/net/legacyfabric/fabric/impl/command/lib/sponge/args/PlayerCommandElement.java diff --git a/1.7.10/legacy-fabric-command-api-v2/src/main/java/net/legacyfabric/fabric/impl/command/lib/sponge/args/RemainingJoinedStringsCommandElement.java b/legacy-fabric-command-api-v2/1.7.10/src/main/java/net/legacyfabric/fabric/impl/command/lib/sponge/args/RemainingJoinedStringsCommandElement.java similarity index 100% rename from 1.7.10/legacy-fabric-command-api-v2/src/main/java/net/legacyfabric/fabric/impl/command/lib/sponge/args/RemainingJoinedStringsCommandElement.java rename to legacy-fabric-command-api-v2/1.7.10/src/main/java/net/legacyfabric/fabric/impl/command/lib/sponge/args/RemainingJoinedStringsCommandElement.java diff --git a/1.7.10/legacy-fabric-command-api-v2/src/main/java/net/legacyfabric/fabric/impl/command/lib/sponge/args/RepeatedCommandElement.java b/legacy-fabric-command-api-v2/1.7.10/src/main/java/net/legacyfabric/fabric/impl/command/lib/sponge/args/RepeatedCommandElement.java similarity index 100% rename from 1.7.10/legacy-fabric-command-api-v2/src/main/java/net/legacyfabric/fabric/impl/command/lib/sponge/args/RepeatedCommandElement.java rename to legacy-fabric-command-api-v2/1.7.10/src/main/java/net/legacyfabric/fabric/impl/command/lib/sponge/args/RepeatedCommandElement.java diff --git a/1.7.10/legacy-fabric-command-api-v2/src/main/java/net/legacyfabric/fabric/impl/command/lib/sponge/args/SequenceCommandElement.java b/legacy-fabric-command-api-v2/1.7.10/src/main/java/net/legacyfabric/fabric/impl/command/lib/sponge/args/SequenceCommandElement.java similarity index 100% rename from 1.7.10/legacy-fabric-command-api-v2/src/main/java/net/legacyfabric/fabric/impl/command/lib/sponge/args/SequenceCommandElement.java rename to legacy-fabric-command-api-v2/1.7.10/src/main/java/net/legacyfabric/fabric/impl/command/lib/sponge/args/SequenceCommandElement.java diff --git a/1.7.10/legacy-fabric-command-api-v2/src/main/java/net/legacyfabric/fabric/impl/command/lib/sponge/args/StringCommandElement.java b/legacy-fabric-command-api-v2/1.7.10/src/main/java/net/legacyfabric/fabric/impl/command/lib/sponge/args/StringCommandElement.java similarity index 100% rename from 1.7.10/legacy-fabric-command-api-v2/src/main/java/net/legacyfabric/fabric/impl/command/lib/sponge/args/StringCommandElement.java rename to legacy-fabric-command-api-v2/1.7.10/src/main/java/net/legacyfabric/fabric/impl/command/lib/sponge/args/StringCommandElement.java diff --git a/1.7.10/legacy-fabric-command-api-v2/src/main/java/net/legacyfabric/fabric/impl/command/lib/sponge/args/StringElement.java b/legacy-fabric-command-api-v2/1.7.10/src/main/java/net/legacyfabric/fabric/impl/command/lib/sponge/args/StringElement.java similarity index 100% rename from 1.7.10/legacy-fabric-command-api-v2/src/main/java/net/legacyfabric/fabric/impl/command/lib/sponge/args/StringElement.java rename to legacy-fabric-command-api-v2/1.7.10/src/main/java/net/legacyfabric/fabric/impl/command/lib/sponge/args/StringElement.java diff --git a/1.7.10/legacy-fabric-command-api-v2/src/main/java/net/legacyfabric/fabric/impl/command/lib/sponge/args/UrlElement.java b/legacy-fabric-command-api-v2/1.7.10/src/main/java/net/legacyfabric/fabric/impl/command/lib/sponge/args/UrlElement.java similarity index 100% rename from 1.7.10/legacy-fabric-command-api-v2/src/main/java/net/legacyfabric/fabric/impl/command/lib/sponge/args/UrlElement.java rename to legacy-fabric-command-api-v2/1.7.10/src/main/java/net/legacyfabric/fabric/impl/command/lib/sponge/args/UrlElement.java diff --git a/1.7.10/legacy-fabric-command-api-v2/src/main/java/net/legacyfabric/fabric/impl/command/lib/sponge/args/UuidElement.java b/legacy-fabric-command-api-v2/1.7.10/src/main/java/net/legacyfabric/fabric/impl/command/lib/sponge/args/UuidElement.java similarity index 100% rename from 1.7.10/legacy-fabric-command-api-v2/src/main/java/net/legacyfabric/fabric/impl/command/lib/sponge/args/UuidElement.java rename to legacy-fabric-command-api-v2/1.7.10/src/main/java/net/legacyfabric/fabric/impl/command/lib/sponge/args/UuidElement.java diff --git a/1.7.10/legacy-fabric-command-api-v2/src/main/java/net/legacyfabric/fabric/impl/command/lib/sponge/args/Vec3dCommandElement.java b/legacy-fabric-command-api-v2/1.7.10/src/main/java/net/legacyfabric/fabric/impl/command/lib/sponge/args/Vec3dCommandElement.java similarity index 100% rename from 1.7.10/legacy-fabric-command-api-v2/src/main/java/net/legacyfabric/fabric/impl/command/lib/sponge/args/Vec3dCommandElement.java rename to legacy-fabric-command-api-v2/1.7.10/src/main/java/net/legacyfabric/fabric/impl/command/lib/sponge/args/Vec3dCommandElement.java diff --git a/1.7.10/legacy-fabric-command-api-v2/src/main/java/net/legacyfabric/fabric/impl/command/lib/sponge/args/WithSuggestionsElement.java b/legacy-fabric-command-api-v2/1.7.10/src/main/java/net/legacyfabric/fabric/impl/command/lib/sponge/args/WithSuggestionsElement.java similarity index 100% rename from 1.7.10/legacy-fabric-command-api-v2/src/main/java/net/legacyfabric/fabric/impl/command/lib/sponge/args/WithSuggestionsElement.java rename to legacy-fabric-command-api-v2/1.7.10/src/main/java/net/legacyfabric/fabric/impl/command/lib/sponge/args/WithSuggestionsElement.java diff --git a/1.7.10/legacy-fabric-command-api-v2/src/main/java/net/legacyfabric/fabric/mixin/command/MinecraftServerMixin.java b/legacy-fabric-command-api-v2/1.7.10/src/main/java/net/legacyfabric/fabric/mixin/command/MinecraftServerMixin.java similarity index 100% rename from 1.7.10/legacy-fabric-command-api-v2/src/main/java/net/legacyfabric/fabric/mixin/command/MinecraftServerMixin.java rename to legacy-fabric-command-api-v2/1.7.10/src/main/java/net/legacyfabric/fabric/mixin/command/MinecraftServerMixin.java diff --git a/1.7.10/legacy-fabric-command-api-v2/src/main/resources/assets/legacy-fabric-sponge-command-api-v2/icon.png b/legacy-fabric-command-api-v2/1.7.10/src/main/resources/assets/legacy-fabric-sponge-command-api-v2/icon.png similarity index 100% rename from 1.7.10/legacy-fabric-command-api-v2/src/main/resources/assets/legacy-fabric-sponge-command-api-v2/icon.png rename to legacy-fabric-command-api-v2/1.7.10/src/main/resources/assets/legacy-fabric-sponge-command-api-v2/icon.png diff --git a/1.12.2/legacy-fabric-command-api-v2/src/main/resources/fabric.mod.json b/legacy-fabric-command-api-v2/1.7.10/src/main/resources/fabric.mod.json similarity index 97% rename from 1.12.2/legacy-fabric-command-api-v2/src/main/resources/fabric.mod.json rename to legacy-fabric-command-api-v2/1.7.10/src/main/resources/fabric.mod.json index e28064120..5ff821a2a 100644 --- a/1.12.2/legacy-fabric-command-api-v2/src/main/resources/fabric.mod.json +++ b/legacy-fabric-command-api-v2/1.7.10/src/main/resources/fabric.mod.json @@ -17,7 +17,7 @@ ], "depends": { "fabricloader": ">=0.4.0", - "minecraft": ">1.8.9 <=1.12.2" + "minecraft": "${minecraft_version}" }, "entrypoints": { "client": [ diff --git a/1.7.10/legacy-fabric-command-api-v2/src/main/resources/legacy-fabric-sponge-command-api-v2.mixins.json b/legacy-fabric-command-api-v2/1.7.10/src/main/resources/legacy-fabric-sponge-command-api-v2.mixins.json similarity index 100% rename from 1.7.10/legacy-fabric-command-api-v2/src/main/resources/legacy-fabric-sponge-command-api-v2.mixins.json rename to legacy-fabric-command-api-v2/1.7.10/src/main/resources/legacy-fabric-sponge-command-api-v2.mixins.json diff --git a/1.7.10/legacy-fabric-command-api-v2/src/testmod/java/net/legacyfabric/fabric/test/command/ModMetadataCommand.java b/legacy-fabric-command-api-v2/1.7.10/src/testmod/java/net/legacyfabric/fabric/test/command/ModMetadataCommand.java similarity index 100% rename from 1.7.10/legacy-fabric-command-api-v2/src/testmod/java/net/legacyfabric/fabric/test/command/ModMetadataCommand.java rename to legacy-fabric-command-api-v2/1.7.10/src/testmod/java/net/legacyfabric/fabric/test/command/ModMetadataCommand.java diff --git a/1.7.10/legacy-fabric-command-api-v2/src/testmod/java/net/legacyfabric/fabric/test/command/SpongeCommandTest.java b/legacy-fabric-command-api-v2/1.7.10/src/testmod/java/net/legacyfabric/fabric/test/command/SpongeCommandTest.java similarity index 100% rename from 1.7.10/legacy-fabric-command-api-v2/src/testmod/java/net/legacyfabric/fabric/test/command/SpongeCommandTest.java rename to legacy-fabric-command-api-v2/1.7.10/src/testmod/java/net/legacyfabric/fabric/test/command/SpongeCommandTest.java diff --git a/1.7.10/legacy-fabric-command-api-v2/src/testmod/resources/fabric.mod.json b/legacy-fabric-command-api-v2/1.7.10/src/testmod/resources/fabric.mod.json similarity index 87% rename from 1.7.10/legacy-fabric-command-api-v2/src/testmod/resources/fabric.mod.json rename to legacy-fabric-command-api-v2/1.7.10/src/testmod/resources/fabric.mod.json index 0454b1d78..b8b0d6131 100644 --- a/1.7.10/legacy-fabric-command-api-v2/src/testmod/resources/fabric.mod.json +++ b/legacy-fabric-command-api-v2/1.7.10/src/testmod/resources/fabric.mod.json @@ -9,6 +9,6 @@ ] }, "depends": { - "minecraft": "<=1.7.10" + "minecraft": "${minecraft_version}" } } diff --git a/legacy-fabric-command-api-v2/1.8.9/build.gradle b/legacy-fabric-command-api-v2/1.8.9/build.gradle new file mode 100644 index 000000000..e69de29bb diff --git a/legacy-fabric-command-api-v2/1.8.9/gradle.properties b/legacy-fabric-command-api-v2/1.8.9/gradle.properties new file mode 100644 index 000000000..9056fbd37 --- /dev/null +++ b/legacy-fabric-command-api-v2/1.8.9/gradle.properties @@ -0,0 +1,2 @@ +minVersionIncluded=1.8 +maxVersionIncluded=1.8.9 diff --git a/1.8.9/legacy-fabric-command-api-v2/src/main/java/net/legacyfabric/fabric/api/command/v2/CommandRegistrar.java b/legacy-fabric-command-api-v2/1.8.9/src/main/java/net/legacyfabric/fabric/api/command/v2/CommandRegistrar.java similarity index 100% rename from 1.8.9/legacy-fabric-command-api-v2/src/main/java/net/legacyfabric/fabric/api/command/v2/CommandRegistrar.java rename to legacy-fabric-command-api-v2/1.8.9/src/main/java/net/legacyfabric/fabric/api/command/v2/CommandRegistrar.java diff --git a/1.8.9/legacy-fabric-command-api-v2/src/main/java/net/legacyfabric/fabric/api/command/v2/Selector.java b/legacy-fabric-command-api-v2/1.8.9/src/main/java/net/legacyfabric/fabric/api/command/v2/Selector.java similarity index 100% rename from 1.8.9/legacy-fabric-command-api-v2/src/main/java/net/legacyfabric/fabric/api/command/v2/Selector.java rename to legacy-fabric-command-api-v2/1.8.9/src/main/java/net/legacyfabric/fabric/api/command/v2/Selector.java diff --git a/1.8.9/legacy-fabric-command-api-v2/src/main/java/net/legacyfabric/fabric/api/command/v2/StringType.java b/legacy-fabric-command-api-v2/1.8.9/src/main/java/net/legacyfabric/fabric/api/command/v2/StringType.java similarity index 100% rename from 1.8.9/legacy-fabric-command-api-v2/src/main/java/net/legacyfabric/fabric/api/command/v2/StringType.java rename to legacy-fabric-command-api-v2/1.8.9/src/main/java/net/legacyfabric/fabric/api/command/v2/StringType.java diff --git a/1.8.9/legacy-fabric-command-api-v2/src/main/java/net/legacyfabric/fabric/api/command/v2/lib/sponge/CommandCallable.java b/legacy-fabric-command-api-v2/1.8.9/src/main/java/net/legacyfabric/fabric/api/command/v2/lib/sponge/CommandCallable.java similarity index 100% rename from 1.8.9/legacy-fabric-command-api-v2/src/main/java/net/legacyfabric/fabric/api/command/v2/lib/sponge/CommandCallable.java rename to legacy-fabric-command-api-v2/1.8.9/src/main/java/net/legacyfabric/fabric/api/command/v2/lib/sponge/CommandCallable.java diff --git a/1.8.9/legacy-fabric-command-api-v2/src/main/java/net/legacyfabric/fabric/api/command/v2/lib/sponge/CommandException.java b/legacy-fabric-command-api-v2/1.8.9/src/main/java/net/legacyfabric/fabric/api/command/v2/lib/sponge/CommandException.java similarity index 100% rename from 1.8.9/legacy-fabric-command-api-v2/src/main/java/net/legacyfabric/fabric/api/command/v2/lib/sponge/CommandException.java rename to legacy-fabric-command-api-v2/1.8.9/src/main/java/net/legacyfabric/fabric/api/command/v2/lib/sponge/CommandException.java diff --git a/1.8.9/legacy-fabric-command-api-v2/src/main/java/net/legacyfabric/fabric/api/command/v2/lib/sponge/CommandManager.java b/legacy-fabric-command-api-v2/1.8.9/src/main/java/net/legacyfabric/fabric/api/command/v2/lib/sponge/CommandManager.java similarity index 100% rename from 1.8.9/legacy-fabric-command-api-v2/src/main/java/net/legacyfabric/fabric/api/command/v2/lib/sponge/CommandManager.java rename to legacy-fabric-command-api-v2/1.8.9/src/main/java/net/legacyfabric/fabric/api/command/v2/lib/sponge/CommandManager.java diff --git a/1.8.9/legacy-fabric-command-api-v2/src/main/java/net/legacyfabric/fabric/api/command/v2/lib/sponge/CommandMapping.java b/legacy-fabric-command-api-v2/1.8.9/src/main/java/net/legacyfabric/fabric/api/command/v2/lib/sponge/CommandMapping.java similarity index 100% rename from 1.8.9/legacy-fabric-command-api-v2/src/main/java/net/legacyfabric/fabric/api/command/v2/lib/sponge/CommandMapping.java rename to legacy-fabric-command-api-v2/1.8.9/src/main/java/net/legacyfabric/fabric/api/command/v2/lib/sponge/CommandMapping.java diff --git a/1.8.9/legacy-fabric-command-api-v2/src/main/java/net/legacyfabric/fabric/api/command/v2/lib/sponge/CommandMessageFormatting.java b/legacy-fabric-command-api-v2/1.8.9/src/main/java/net/legacyfabric/fabric/api/command/v2/lib/sponge/CommandMessageFormatting.java similarity index 100% rename from 1.8.9/legacy-fabric-command-api-v2/src/main/java/net/legacyfabric/fabric/api/command/v2/lib/sponge/CommandMessageFormatting.java rename to legacy-fabric-command-api-v2/1.8.9/src/main/java/net/legacyfabric/fabric/api/command/v2/lib/sponge/CommandMessageFormatting.java diff --git a/1.8.9/legacy-fabric-command-api-v2/src/main/java/net/legacyfabric/fabric/api/command/v2/lib/sponge/CommandNotFoundException.java b/legacy-fabric-command-api-v2/1.8.9/src/main/java/net/legacyfabric/fabric/api/command/v2/lib/sponge/CommandNotFoundException.java similarity index 100% rename from 1.8.9/legacy-fabric-command-api-v2/src/main/java/net/legacyfabric/fabric/api/command/v2/lib/sponge/CommandNotFoundException.java rename to legacy-fabric-command-api-v2/1.8.9/src/main/java/net/legacyfabric/fabric/api/command/v2/lib/sponge/CommandNotFoundException.java diff --git a/1.8.9/legacy-fabric-command-api-v2/src/main/java/net/legacyfabric/fabric/api/command/v2/lib/sponge/CommandPermissionException.java b/legacy-fabric-command-api-v2/1.8.9/src/main/java/net/legacyfabric/fabric/api/command/v2/lib/sponge/CommandPermissionException.java similarity index 100% rename from 1.8.9/legacy-fabric-command-api-v2/src/main/java/net/legacyfabric/fabric/api/command/v2/lib/sponge/CommandPermissionException.java rename to legacy-fabric-command-api-v2/1.8.9/src/main/java/net/legacyfabric/fabric/api/command/v2/lib/sponge/CommandPermissionException.java diff --git a/1.8.9/legacy-fabric-command-api-v2/src/main/java/net/legacyfabric/fabric/api/command/v2/lib/sponge/CommandResult.java b/legacy-fabric-command-api-v2/1.8.9/src/main/java/net/legacyfabric/fabric/api/command/v2/lib/sponge/CommandResult.java similarity index 100% rename from 1.8.9/legacy-fabric-command-api-v2/src/main/java/net/legacyfabric/fabric/api/command/v2/lib/sponge/CommandResult.java rename to legacy-fabric-command-api-v2/1.8.9/src/main/java/net/legacyfabric/fabric/api/command/v2/lib/sponge/CommandResult.java diff --git a/1.8.9/legacy-fabric-command-api-v2/src/main/java/net/legacyfabric/fabric/api/command/v2/lib/sponge/ImmutableCommandMapping.java b/legacy-fabric-command-api-v2/1.8.9/src/main/java/net/legacyfabric/fabric/api/command/v2/lib/sponge/ImmutableCommandMapping.java similarity index 100% rename from 1.8.9/legacy-fabric-command-api-v2/src/main/java/net/legacyfabric/fabric/api/command/v2/lib/sponge/ImmutableCommandMapping.java rename to legacy-fabric-command-api-v2/1.8.9/src/main/java/net/legacyfabric/fabric/api/command/v2/lib/sponge/ImmutableCommandMapping.java diff --git a/1.8.9/legacy-fabric-command-api-v2/src/main/java/net/legacyfabric/fabric/api/command/v2/lib/sponge/InvocationCommandException.java b/legacy-fabric-command-api-v2/1.8.9/src/main/java/net/legacyfabric/fabric/api/command/v2/lib/sponge/InvocationCommandException.java similarity index 100% rename from 1.8.9/legacy-fabric-command-api-v2/src/main/java/net/legacyfabric/fabric/api/command/v2/lib/sponge/InvocationCommandException.java rename to legacy-fabric-command-api-v2/1.8.9/src/main/java/net/legacyfabric/fabric/api/command/v2/lib/sponge/InvocationCommandException.java diff --git a/1.8.9/legacy-fabric-command-api-v2/src/main/java/net/legacyfabric/fabric/api/command/v2/lib/sponge/TextMessageException.java b/legacy-fabric-command-api-v2/1.8.9/src/main/java/net/legacyfabric/fabric/api/command/v2/lib/sponge/TextMessageException.java similarity index 100% rename from 1.8.9/legacy-fabric-command-api-v2/src/main/java/net/legacyfabric/fabric/api/command/v2/lib/sponge/TextMessageException.java rename to legacy-fabric-command-api-v2/1.8.9/src/main/java/net/legacyfabric/fabric/api/command/v2/lib/sponge/TextMessageException.java diff --git a/1.8.9/legacy-fabric-command-api-v2/src/main/java/net/legacyfabric/fabric/api/command/v2/lib/sponge/args/ArgumentParseException.java b/legacy-fabric-command-api-v2/1.8.9/src/main/java/net/legacyfabric/fabric/api/command/v2/lib/sponge/args/ArgumentParseException.java similarity index 100% rename from 1.8.9/legacy-fabric-command-api-v2/src/main/java/net/legacyfabric/fabric/api/command/v2/lib/sponge/args/ArgumentParseException.java rename to legacy-fabric-command-api-v2/1.8.9/src/main/java/net/legacyfabric/fabric/api/command/v2/lib/sponge/args/ArgumentParseException.java diff --git a/1.8.9/legacy-fabric-command-api-v2/src/main/java/net/legacyfabric/fabric/api/command/v2/lib/sponge/args/ChildCommandElementExecutor.java b/legacy-fabric-command-api-v2/1.8.9/src/main/java/net/legacyfabric/fabric/api/command/v2/lib/sponge/args/ChildCommandElementExecutor.java similarity index 100% rename from 1.8.9/legacy-fabric-command-api-v2/src/main/java/net/legacyfabric/fabric/api/command/v2/lib/sponge/args/ChildCommandElementExecutor.java rename to legacy-fabric-command-api-v2/1.8.9/src/main/java/net/legacyfabric/fabric/api/command/v2/lib/sponge/args/ChildCommandElementExecutor.java diff --git a/1.8.9/legacy-fabric-command-api-v2/src/main/java/net/legacyfabric/fabric/api/command/v2/lib/sponge/args/CommandArgs.java b/legacy-fabric-command-api-v2/1.8.9/src/main/java/net/legacyfabric/fabric/api/command/v2/lib/sponge/args/CommandArgs.java similarity index 100% rename from 1.8.9/legacy-fabric-command-api-v2/src/main/java/net/legacyfabric/fabric/api/command/v2/lib/sponge/args/CommandArgs.java rename to legacy-fabric-command-api-v2/1.8.9/src/main/java/net/legacyfabric/fabric/api/command/v2/lib/sponge/args/CommandArgs.java diff --git a/1.8.9/legacy-fabric-command-api-v2/src/main/java/net/legacyfabric/fabric/api/command/v2/lib/sponge/args/CommandContext.java b/legacy-fabric-command-api-v2/1.8.9/src/main/java/net/legacyfabric/fabric/api/command/v2/lib/sponge/args/CommandContext.java similarity index 100% rename from 1.8.9/legacy-fabric-command-api-v2/src/main/java/net/legacyfabric/fabric/api/command/v2/lib/sponge/args/CommandContext.java rename to legacy-fabric-command-api-v2/1.8.9/src/main/java/net/legacyfabric/fabric/api/command/v2/lib/sponge/args/CommandContext.java diff --git a/1.8.9/legacy-fabric-command-api-v2/src/main/java/net/legacyfabric/fabric/api/command/v2/lib/sponge/args/CommandElement.java b/legacy-fabric-command-api-v2/1.8.9/src/main/java/net/legacyfabric/fabric/api/command/v2/lib/sponge/args/CommandElement.java similarity index 100% rename from 1.8.9/legacy-fabric-command-api-v2/src/main/java/net/legacyfabric/fabric/api/command/v2/lib/sponge/args/CommandElement.java rename to legacy-fabric-command-api-v2/1.8.9/src/main/java/net/legacyfabric/fabric/api/command/v2/lib/sponge/args/CommandElement.java diff --git a/1.8.9/legacy-fabric-command-api-v2/src/main/java/net/legacyfabric/fabric/api/command/v2/lib/sponge/args/CommandFlags.java b/legacy-fabric-command-api-v2/1.8.9/src/main/java/net/legacyfabric/fabric/api/command/v2/lib/sponge/args/CommandFlags.java similarity index 100% rename from 1.8.9/legacy-fabric-command-api-v2/src/main/java/net/legacyfabric/fabric/api/command/v2/lib/sponge/args/CommandFlags.java rename to legacy-fabric-command-api-v2/1.8.9/src/main/java/net/legacyfabric/fabric/api/command/v2/lib/sponge/args/CommandFlags.java diff --git a/1.8.9/legacy-fabric-command-api-v2/src/main/java/net/legacyfabric/fabric/api/command/v2/lib/sponge/args/GenericArguments.java b/legacy-fabric-command-api-v2/1.8.9/src/main/java/net/legacyfabric/fabric/api/command/v2/lib/sponge/args/GenericArguments.java similarity index 100% rename from 1.8.9/legacy-fabric-command-api-v2/src/main/java/net/legacyfabric/fabric/api/command/v2/lib/sponge/args/GenericArguments.java rename to legacy-fabric-command-api-v2/1.8.9/src/main/java/net/legacyfabric/fabric/api/command/v2/lib/sponge/args/GenericArguments.java diff --git a/1.8.9/legacy-fabric-command-api-v2/src/main/java/net/legacyfabric/fabric/api/command/v2/lib/sponge/args/KeyElement.java b/legacy-fabric-command-api-v2/1.8.9/src/main/java/net/legacyfabric/fabric/api/command/v2/lib/sponge/args/KeyElement.java similarity index 100% rename from 1.8.9/legacy-fabric-command-api-v2/src/main/java/net/legacyfabric/fabric/api/command/v2/lib/sponge/args/KeyElement.java rename to legacy-fabric-command-api-v2/1.8.9/src/main/java/net/legacyfabric/fabric/api/command/v2/lib/sponge/args/KeyElement.java diff --git a/1.8.9/legacy-fabric-command-api-v2/src/main/java/net/legacyfabric/fabric/api/command/v2/lib/sponge/args/PatternMatchingCommandElement.java b/legacy-fabric-command-api-v2/1.8.9/src/main/java/net/legacyfabric/fabric/api/command/v2/lib/sponge/args/PatternMatchingCommandElement.java similarity index 100% rename from 1.8.9/legacy-fabric-command-api-v2/src/main/java/net/legacyfabric/fabric/api/command/v2/lib/sponge/args/PatternMatchingCommandElement.java rename to legacy-fabric-command-api-v2/1.8.9/src/main/java/net/legacyfabric/fabric/api/command/v2/lib/sponge/args/PatternMatchingCommandElement.java diff --git a/1.8.9/legacy-fabric-command-api-v2/src/main/java/net/legacyfabric/fabric/api/command/v2/lib/sponge/args/SelectorCommandElement.java b/legacy-fabric-command-api-v2/1.8.9/src/main/java/net/legacyfabric/fabric/api/command/v2/lib/sponge/args/SelectorCommandElement.java similarity index 100% rename from 1.8.9/legacy-fabric-command-api-v2/src/main/java/net/legacyfabric/fabric/api/command/v2/lib/sponge/args/SelectorCommandElement.java rename to legacy-fabric-command-api-v2/1.8.9/src/main/java/net/legacyfabric/fabric/api/command/v2/lib/sponge/args/SelectorCommandElement.java diff --git a/1.8.9/legacy-fabric-command-api-v2/src/main/java/net/legacyfabric/fabric/api/command/v2/lib/sponge/args/parsing/InputTokenizer.java b/legacy-fabric-command-api-v2/1.8.9/src/main/java/net/legacyfabric/fabric/api/command/v2/lib/sponge/args/parsing/InputTokenizer.java similarity index 100% rename from 1.8.9/legacy-fabric-command-api-v2/src/main/java/net/legacyfabric/fabric/api/command/v2/lib/sponge/args/parsing/InputTokenizer.java rename to legacy-fabric-command-api-v2/1.8.9/src/main/java/net/legacyfabric/fabric/api/command/v2/lib/sponge/args/parsing/InputTokenizer.java diff --git a/1.8.9/legacy-fabric-command-api-v2/src/main/java/net/legacyfabric/fabric/api/command/v2/lib/sponge/args/parsing/QuotedStringTokenizer.java b/legacy-fabric-command-api-v2/1.8.9/src/main/java/net/legacyfabric/fabric/api/command/v2/lib/sponge/args/parsing/QuotedStringTokenizer.java similarity index 100% rename from 1.8.9/legacy-fabric-command-api-v2/src/main/java/net/legacyfabric/fabric/api/command/v2/lib/sponge/args/parsing/QuotedStringTokenizer.java rename to legacy-fabric-command-api-v2/1.8.9/src/main/java/net/legacyfabric/fabric/api/command/v2/lib/sponge/args/parsing/QuotedStringTokenizer.java diff --git a/1.8.9/legacy-fabric-command-api-v2/src/main/java/net/legacyfabric/fabric/api/command/v2/lib/sponge/args/parsing/RawStringInputTokenizer.java b/legacy-fabric-command-api-v2/1.8.9/src/main/java/net/legacyfabric/fabric/api/command/v2/lib/sponge/args/parsing/RawStringInputTokenizer.java similarity index 100% rename from 1.8.9/legacy-fabric-command-api-v2/src/main/java/net/legacyfabric/fabric/api/command/v2/lib/sponge/args/parsing/RawStringInputTokenizer.java rename to legacy-fabric-command-api-v2/1.8.9/src/main/java/net/legacyfabric/fabric/api/command/v2/lib/sponge/args/parsing/RawStringInputTokenizer.java diff --git a/1.8.9/legacy-fabric-command-api-v2/src/main/java/net/legacyfabric/fabric/api/command/v2/lib/sponge/args/parsing/SingleArg.java b/legacy-fabric-command-api-v2/1.8.9/src/main/java/net/legacyfabric/fabric/api/command/v2/lib/sponge/args/parsing/SingleArg.java similarity index 100% rename from 1.8.9/legacy-fabric-command-api-v2/src/main/java/net/legacyfabric/fabric/api/command/v2/lib/sponge/args/parsing/SingleArg.java rename to legacy-fabric-command-api-v2/1.8.9/src/main/java/net/legacyfabric/fabric/api/command/v2/lib/sponge/args/parsing/SingleArg.java diff --git a/1.8.9/legacy-fabric-command-api-v2/src/main/java/net/legacyfabric/fabric/api/command/v2/lib/sponge/args/parsing/SpaceSplitInputTokenizer.java b/legacy-fabric-command-api-v2/1.8.9/src/main/java/net/legacyfabric/fabric/api/command/v2/lib/sponge/args/parsing/SpaceSplitInputTokenizer.java similarity index 100% rename from 1.8.9/legacy-fabric-command-api-v2/src/main/java/net/legacyfabric/fabric/api/command/v2/lib/sponge/args/parsing/SpaceSplitInputTokenizer.java rename to legacy-fabric-command-api-v2/1.8.9/src/main/java/net/legacyfabric/fabric/api/command/v2/lib/sponge/args/parsing/SpaceSplitInputTokenizer.java diff --git a/1.8.9/legacy-fabric-command-api-v2/src/main/java/net/legacyfabric/fabric/api/command/v2/lib/sponge/args/parsing/TokenizerState.java b/legacy-fabric-command-api-v2/1.8.9/src/main/java/net/legacyfabric/fabric/api/command/v2/lib/sponge/args/parsing/TokenizerState.java similarity index 100% rename from 1.8.9/legacy-fabric-command-api-v2/src/main/java/net/legacyfabric/fabric/api/command/v2/lib/sponge/args/parsing/TokenizerState.java rename to legacy-fabric-command-api-v2/1.8.9/src/main/java/net/legacyfabric/fabric/api/command/v2/lib/sponge/args/parsing/TokenizerState.java diff --git a/1.8.9/legacy-fabric-command-api-v2/src/main/java/net/legacyfabric/fabric/api/command/v2/lib/sponge/dispatcher/Disambiguator.java b/legacy-fabric-command-api-v2/1.8.9/src/main/java/net/legacyfabric/fabric/api/command/v2/lib/sponge/dispatcher/Disambiguator.java similarity index 100% rename from 1.8.9/legacy-fabric-command-api-v2/src/main/java/net/legacyfabric/fabric/api/command/v2/lib/sponge/dispatcher/Disambiguator.java rename to legacy-fabric-command-api-v2/1.8.9/src/main/java/net/legacyfabric/fabric/api/command/v2/lib/sponge/dispatcher/Disambiguator.java diff --git a/1.8.9/legacy-fabric-command-api-v2/src/main/java/net/legacyfabric/fabric/api/command/v2/lib/sponge/dispatcher/Dispatcher.java b/legacy-fabric-command-api-v2/1.8.9/src/main/java/net/legacyfabric/fabric/api/command/v2/lib/sponge/dispatcher/Dispatcher.java similarity index 100% rename from 1.8.9/legacy-fabric-command-api-v2/src/main/java/net/legacyfabric/fabric/api/command/v2/lib/sponge/dispatcher/Dispatcher.java rename to legacy-fabric-command-api-v2/1.8.9/src/main/java/net/legacyfabric/fabric/api/command/v2/lib/sponge/dispatcher/Dispatcher.java diff --git a/1.8.9/legacy-fabric-command-api-v2/src/main/java/net/legacyfabric/fabric/api/command/v2/lib/sponge/dispatcher/SimpleDispatcher.java b/legacy-fabric-command-api-v2/1.8.9/src/main/java/net/legacyfabric/fabric/api/command/v2/lib/sponge/dispatcher/SimpleDispatcher.java similarity index 100% rename from 1.8.9/legacy-fabric-command-api-v2/src/main/java/net/legacyfabric/fabric/api/command/v2/lib/sponge/dispatcher/SimpleDispatcher.java rename to legacy-fabric-command-api-v2/1.8.9/src/main/java/net/legacyfabric/fabric/api/command/v2/lib/sponge/dispatcher/SimpleDispatcher.java diff --git a/1.8.9/legacy-fabric-command-api-v2/src/main/java/net/legacyfabric/fabric/api/command/v2/lib/sponge/spec/CommandExecutor.java b/legacy-fabric-command-api-v2/1.8.9/src/main/java/net/legacyfabric/fabric/api/command/v2/lib/sponge/spec/CommandExecutor.java similarity index 100% rename from 1.8.9/legacy-fabric-command-api-v2/src/main/java/net/legacyfabric/fabric/api/command/v2/lib/sponge/spec/CommandExecutor.java rename to legacy-fabric-command-api-v2/1.8.9/src/main/java/net/legacyfabric/fabric/api/command/v2/lib/sponge/spec/CommandExecutor.java diff --git a/1.8.9/legacy-fabric-command-api-v2/src/main/java/net/legacyfabric/fabric/api/command/v2/lib/sponge/spec/CommandSpec.java b/legacy-fabric-command-api-v2/1.8.9/src/main/java/net/legacyfabric/fabric/api/command/v2/lib/sponge/spec/CommandSpec.java similarity index 100% rename from 1.8.9/legacy-fabric-command-api-v2/src/main/java/net/legacyfabric/fabric/api/command/v2/lib/sponge/spec/CommandSpec.java rename to legacy-fabric-command-api-v2/1.8.9/src/main/java/net/legacyfabric/fabric/api/command/v2/lib/sponge/spec/CommandSpec.java diff --git a/1.8.9/legacy-fabric-command-api-v2/src/main/java/net/legacyfabric/fabric/impl/command/CommandManagerImpl.java b/legacy-fabric-command-api-v2/1.8.9/src/main/java/net/legacyfabric/fabric/impl/command/CommandManagerImpl.java similarity index 100% rename from 1.8.9/legacy-fabric-command-api-v2/src/main/java/net/legacyfabric/fabric/impl/command/CommandManagerImpl.java rename to legacy-fabric-command-api-v2/1.8.9/src/main/java/net/legacyfabric/fabric/impl/command/CommandManagerImpl.java diff --git a/1.8.9/legacy-fabric-command-api-v2/src/main/java/net/legacyfabric/fabric/impl/command/CommandWrapper.java b/legacy-fabric-command-api-v2/1.8.9/src/main/java/net/legacyfabric/fabric/impl/command/CommandWrapper.java similarity index 100% rename from 1.8.9/legacy-fabric-command-api-v2/src/main/java/net/legacyfabric/fabric/impl/command/CommandWrapper.java rename to legacy-fabric-command-api-v2/1.8.9/src/main/java/net/legacyfabric/fabric/impl/command/CommandWrapper.java diff --git a/1.8.9/legacy-fabric-command-api-v2/src/main/java/net/legacyfabric/fabric/impl/command/ImplInit.java b/legacy-fabric-command-api-v2/1.8.9/src/main/java/net/legacyfabric/fabric/impl/command/ImplInit.java similarity index 100% rename from 1.8.9/legacy-fabric-command-api-v2/src/main/java/net/legacyfabric/fabric/impl/command/ImplInit.java rename to legacy-fabric-command-api-v2/1.8.9/src/main/java/net/legacyfabric/fabric/impl/command/ImplInit.java diff --git a/1.8.9/legacy-fabric-command-api-v2/src/main/java/net/legacyfabric/fabric/impl/command/InternalObjects.java b/legacy-fabric-command-api-v2/1.8.9/src/main/java/net/legacyfabric/fabric/impl/command/InternalObjects.java similarity index 100% rename from 1.8.9/legacy-fabric-command-api-v2/src/main/java/net/legacyfabric/fabric/impl/command/InternalObjects.java rename to legacy-fabric-command-api-v2/1.8.9/src/main/java/net/legacyfabric/fabric/impl/command/InternalObjects.java diff --git a/1.8.9/legacy-fabric-command-api-v2/src/main/java/net/legacyfabric/fabric/impl/command/lib/sponge/args/AllOfCommandElement.java b/legacy-fabric-command-api-v2/1.8.9/src/main/java/net/legacyfabric/fabric/impl/command/lib/sponge/args/AllOfCommandElement.java similarity index 100% rename from 1.8.9/legacy-fabric-command-api-v2/src/main/java/net/legacyfabric/fabric/impl/command/lib/sponge/args/AllOfCommandElement.java rename to legacy-fabric-command-api-v2/1.8.9/src/main/java/net/legacyfabric/fabric/impl/command/lib/sponge/args/AllOfCommandElement.java diff --git a/1.8.9/legacy-fabric-command-api-v2/src/main/java/net/legacyfabric/fabric/impl/command/lib/sponge/args/BigDecimalElement.java b/legacy-fabric-command-api-v2/1.8.9/src/main/java/net/legacyfabric/fabric/impl/command/lib/sponge/args/BigDecimalElement.java similarity index 100% rename from 1.8.9/legacy-fabric-command-api-v2/src/main/java/net/legacyfabric/fabric/impl/command/lib/sponge/args/BigDecimalElement.java rename to legacy-fabric-command-api-v2/1.8.9/src/main/java/net/legacyfabric/fabric/impl/command/lib/sponge/args/BigDecimalElement.java diff --git a/1.8.9/legacy-fabric-command-api-v2/src/main/java/net/legacyfabric/fabric/impl/command/lib/sponge/args/BigIntegerElement.java b/legacy-fabric-command-api-v2/1.8.9/src/main/java/net/legacyfabric/fabric/impl/command/lib/sponge/args/BigIntegerElement.java similarity index 100% rename from 1.8.9/legacy-fabric-command-api-v2/src/main/java/net/legacyfabric/fabric/impl/command/lib/sponge/args/BigIntegerElement.java rename to legacy-fabric-command-api-v2/1.8.9/src/main/java/net/legacyfabric/fabric/impl/command/lib/sponge/args/BigIntegerElement.java diff --git a/1.8.9/legacy-fabric-command-api-v2/src/main/java/net/legacyfabric/fabric/impl/command/lib/sponge/args/ChoicesCommandElement.java b/legacy-fabric-command-api-v2/1.8.9/src/main/java/net/legacyfabric/fabric/impl/command/lib/sponge/args/ChoicesCommandElement.java similarity index 100% rename from 1.8.9/legacy-fabric-command-api-v2/src/main/java/net/legacyfabric/fabric/impl/command/lib/sponge/args/ChoicesCommandElement.java rename to legacy-fabric-command-api-v2/1.8.9/src/main/java/net/legacyfabric/fabric/impl/command/lib/sponge/args/ChoicesCommandElement.java diff --git a/1.8.9/legacy-fabric-command-api-v2/src/main/java/net/legacyfabric/fabric/impl/command/lib/sponge/args/DateTimeElement.java b/legacy-fabric-command-api-v2/1.8.9/src/main/java/net/legacyfabric/fabric/impl/command/lib/sponge/args/DateTimeElement.java similarity index 100% rename from 1.8.9/legacy-fabric-command-api-v2/src/main/java/net/legacyfabric/fabric/impl/command/lib/sponge/args/DateTimeElement.java rename to legacy-fabric-command-api-v2/1.8.9/src/main/java/net/legacyfabric/fabric/impl/command/lib/sponge/args/DateTimeElement.java diff --git a/1.8.9/legacy-fabric-command-api-v2/src/main/java/net/legacyfabric/fabric/impl/command/lib/sponge/args/DurationElement.java b/legacy-fabric-command-api-v2/1.8.9/src/main/java/net/legacyfabric/fabric/impl/command/lib/sponge/args/DurationElement.java similarity index 100% rename from 1.8.9/legacy-fabric-command-api-v2/src/main/java/net/legacyfabric/fabric/impl/command/lib/sponge/args/DurationElement.java rename to legacy-fabric-command-api-v2/1.8.9/src/main/java/net/legacyfabric/fabric/impl/command/lib/sponge/args/DurationElement.java diff --git a/1.8.9/legacy-fabric-command-api-v2/src/main/java/net/legacyfabric/fabric/impl/command/lib/sponge/args/EntityCommandElement.java b/legacy-fabric-command-api-v2/1.8.9/src/main/java/net/legacyfabric/fabric/impl/command/lib/sponge/args/EntityCommandElement.java similarity index 100% rename from 1.8.9/legacy-fabric-command-api-v2/src/main/java/net/legacyfabric/fabric/impl/command/lib/sponge/args/EntityCommandElement.java rename to legacy-fabric-command-api-v2/1.8.9/src/main/java/net/legacyfabric/fabric/impl/command/lib/sponge/args/EntityCommandElement.java diff --git a/1.8.9/legacy-fabric-command-api-v2/src/main/java/net/legacyfabric/fabric/impl/command/lib/sponge/args/EnumValueElement.java b/legacy-fabric-command-api-v2/1.8.9/src/main/java/net/legacyfabric/fabric/impl/command/lib/sponge/args/EnumValueElement.java similarity index 100% rename from 1.8.9/legacy-fabric-command-api-v2/src/main/java/net/legacyfabric/fabric/impl/command/lib/sponge/args/EnumValueElement.java rename to legacy-fabric-command-api-v2/1.8.9/src/main/java/net/legacyfabric/fabric/impl/command/lib/sponge/args/EnumValueElement.java diff --git a/1.8.9/legacy-fabric-command-api-v2/src/main/java/net/legacyfabric/fabric/impl/command/lib/sponge/args/FilteredSuggestionsElement.java b/legacy-fabric-command-api-v2/1.8.9/src/main/java/net/legacyfabric/fabric/impl/command/lib/sponge/args/FilteredSuggestionsElement.java similarity index 100% rename from 1.8.9/legacy-fabric-command-api-v2/src/main/java/net/legacyfabric/fabric/impl/command/lib/sponge/args/FilteredSuggestionsElement.java rename to legacy-fabric-command-api-v2/1.8.9/src/main/java/net/legacyfabric/fabric/impl/command/lib/sponge/args/FilteredSuggestionsElement.java diff --git a/1.8.9/legacy-fabric-command-api-v2/src/main/java/net/legacyfabric/fabric/impl/command/lib/sponge/args/FirstParsingCommandElement.java b/legacy-fabric-command-api-v2/1.8.9/src/main/java/net/legacyfabric/fabric/impl/command/lib/sponge/args/FirstParsingCommandElement.java similarity index 100% rename from 1.8.9/legacy-fabric-command-api-v2/src/main/java/net/legacyfabric/fabric/impl/command/lib/sponge/args/FirstParsingCommandElement.java rename to legacy-fabric-command-api-v2/1.8.9/src/main/java/net/legacyfabric/fabric/impl/command/lib/sponge/args/FirstParsingCommandElement.java diff --git a/1.8.9/legacy-fabric-command-api-v2/src/main/java/net/legacyfabric/fabric/impl/command/lib/sponge/args/IpElement.java b/legacy-fabric-command-api-v2/1.8.9/src/main/java/net/legacyfabric/fabric/impl/command/lib/sponge/args/IpElement.java similarity index 100% rename from 1.8.9/legacy-fabric-command-api-v2/src/main/java/net/legacyfabric/fabric/impl/command/lib/sponge/args/IpElement.java rename to legacy-fabric-command-api-v2/1.8.9/src/main/java/net/legacyfabric/fabric/impl/command/lib/sponge/args/IpElement.java diff --git a/1.8.9/legacy-fabric-command-api-v2/src/main/java/net/legacyfabric/fabric/impl/command/lib/sponge/args/LiteralCommandElement.java b/legacy-fabric-command-api-v2/1.8.9/src/main/java/net/legacyfabric/fabric/impl/command/lib/sponge/args/LiteralCommandElement.java similarity index 100% rename from 1.8.9/legacy-fabric-command-api-v2/src/main/java/net/legacyfabric/fabric/impl/command/lib/sponge/args/LiteralCommandElement.java rename to legacy-fabric-command-api-v2/1.8.9/src/main/java/net/legacyfabric/fabric/impl/command/lib/sponge/args/LiteralCommandElement.java diff --git a/1.8.9/legacy-fabric-command-api-v2/src/main/java/net/legacyfabric/fabric/impl/command/lib/sponge/args/MarkTrueCommandElement.java b/legacy-fabric-command-api-v2/1.8.9/src/main/java/net/legacyfabric/fabric/impl/command/lib/sponge/args/MarkTrueCommandElement.java similarity index 100% rename from 1.8.9/legacy-fabric-command-api-v2/src/main/java/net/legacyfabric/fabric/impl/command/lib/sponge/args/MarkTrueCommandElement.java rename to legacy-fabric-command-api-v2/1.8.9/src/main/java/net/legacyfabric/fabric/impl/command/lib/sponge/args/MarkTrueCommandElement.java diff --git a/1.8.9/legacy-fabric-command-api-v2/src/main/java/net/legacyfabric/fabric/impl/command/lib/sponge/args/ModCommandElement.java b/legacy-fabric-command-api-v2/1.8.9/src/main/java/net/legacyfabric/fabric/impl/command/lib/sponge/args/ModCommandElement.java similarity index 100% rename from 1.8.9/legacy-fabric-command-api-v2/src/main/java/net/legacyfabric/fabric/impl/command/lib/sponge/args/ModCommandElement.java rename to legacy-fabric-command-api-v2/1.8.9/src/main/java/net/legacyfabric/fabric/impl/command/lib/sponge/args/ModCommandElement.java diff --git a/1.8.9/legacy-fabric-command-api-v2/src/main/java/net/legacyfabric/fabric/impl/command/lib/sponge/args/NumericElement.java b/legacy-fabric-command-api-v2/1.8.9/src/main/java/net/legacyfabric/fabric/impl/command/lib/sponge/args/NumericElement.java similarity index 100% rename from 1.8.9/legacy-fabric-command-api-v2/src/main/java/net/legacyfabric/fabric/impl/command/lib/sponge/args/NumericElement.java rename to legacy-fabric-command-api-v2/1.8.9/src/main/java/net/legacyfabric/fabric/impl/command/lib/sponge/args/NumericElement.java diff --git a/1.8.9/legacy-fabric-command-api-v2/src/main/java/net/legacyfabric/fabric/impl/command/lib/sponge/args/OnlyOneCommandElement.java b/legacy-fabric-command-api-v2/1.8.9/src/main/java/net/legacyfabric/fabric/impl/command/lib/sponge/args/OnlyOneCommandElement.java similarity index 100% rename from 1.8.9/legacy-fabric-command-api-v2/src/main/java/net/legacyfabric/fabric/impl/command/lib/sponge/args/OnlyOneCommandElement.java rename to legacy-fabric-command-api-v2/1.8.9/src/main/java/net/legacyfabric/fabric/impl/command/lib/sponge/args/OnlyOneCommandElement.java diff --git a/1.8.9/legacy-fabric-command-api-v2/src/main/java/net/legacyfabric/fabric/impl/command/lib/sponge/args/OptionalCommandElement.java b/legacy-fabric-command-api-v2/1.8.9/src/main/java/net/legacyfabric/fabric/impl/command/lib/sponge/args/OptionalCommandElement.java similarity index 100% rename from 1.8.9/legacy-fabric-command-api-v2/src/main/java/net/legacyfabric/fabric/impl/command/lib/sponge/args/OptionalCommandElement.java rename to legacy-fabric-command-api-v2/1.8.9/src/main/java/net/legacyfabric/fabric/impl/command/lib/sponge/args/OptionalCommandElement.java diff --git a/1.8.9/legacy-fabric-command-api-v2/src/main/java/net/legacyfabric/fabric/impl/command/lib/sponge/args/PermissionCommandElement.java b/legacy-fabric-command-api-v2/1.8.9/src/main/java/net/legacyfabric/fabric/impl/command/lib/sponge/args/PermissionCommandElement.java similarity index 100% rename from 1.8.9/legacy-fabric-command-api-v2/src/main/java/net/legacyfabric/fabric/impl/command/lib/sponge/args/PermissionCommandElement.java rename to legacy-fabric-command-api-v2/1.8.9/src/main/java/net/legacyfabric/fabric/impl/command/lib/sponge/args/PermissionCommandElement.java diff --git a/1.8.9/legacy-fabric-command-api-v2/src/main/java/net/legacyfabric/fabric/impl/command/lib/sponge/args/PlayerCommandElement.java b/legacy-fabric-command-api-v2/1.8.9/src/main/java/net/legacyfabric/fabric/impl/command/lib/sponge/args/PlayerCommandElement.java similarity index 100% rename from 1.8.9/legacy-fabric-command-api-v2/src/main/java/net/legacyfabric/fabric/impl/command/lib/sponge/args/PlayerCommandElement.java rename to legacy-fabric-command-api-v2/1.8.9/src/main/java/net/legacyfabric/fabric/impl/command/lib/sponge/args/PlayerCommandElement.java diff --git a/1.8.9/legacy-fabric-command-api-v2/src/main/java/net/legacyfabric/fabric/impl/command/lib/sponge/args/RemainingJoinedStringsCommandElement.java b/legacy-fabric-command-api-v2/1.8.9/src/main/java/net/legacyfabric/fabric/impl/command/lib/sponge/args/RemainingJoinedStringsCommandElement.java similarity index 100% rename from 1.8.9/legacy-fabric-command-api-v2/src/main/java/net/legacyfabric/fabric/impl/command/lib/sponge/args/RemainingJoinedStringsCommandElement.java rename to legacy-fabric-command-api-v2/1.8.9/src/main/java/net/legacyfabric/fabric/impl/command/lib/sponge/args/RemainingJoinedStringsCommandElement.java diff --git a/1.8.9/legacy-fabric-command-api-v2/src/main/java/net/legacyfabric/fabric/impl/command/lib/sponge/args/RepeatedCommandElement.java b/legacy-fabric-command-api-v2/1.8.9/src/main/java/net/legacyfabric/fabric/impl/command/lib/sponge/args/RepeatedCommandElement.java similarity index 100% rename from 1.8.9/legacy-fabric-command-api-v2/src/main/java/net/legacyfabric/fabric/impl/command/lib/sponge/args/RepeatedCommandElement.java rename to legacy-fabric-command-api-v2/1.8.9/src/main/java/net/legacyfabric/fabric/impl/command/lib/sponge/args/RepeatedCommandElement.java diff --git a/1.8.9/legacy-fabric-command-api-v2/src/main/java/net/legacyfabric/fabric/impl/command/lib/sponge/args/SequenceCommandElement.java b/legacy-fabric-command-api-v2/1.8.9/src/main/java/net/legacyfabric/fabric/impl/command/lib/sponge/args/SequenceCommandElement.java similarity index 100% rename from 1.8.9/legacy-fabric-command-api-v2/src/main/java/net/legacyfabric/fabric/impl/command/lib/sponge/args/SequenceCommandElement.java rename to legacy-fabric-command-api-v2/1.8.9/src/main/java/net/legacyfabric/fabric/impl/command/lib/sponge/args/SequenceCommandElement.java diff --git a/1.8.9/legacy-fabric-command-api-v2/src/main/java/net/legacyfabric/fabric/impl/command/lib/sponge/args/StringCommandElement.java b/legacy-fabric-command-api-v2/1.8.9/src/main/java/net/legacyfabric/fabric/impl/command/lib/sponge/args/StringCommandElement.java similarity index 100% rename from 1.8.9/legacy-fabric-command-api-v2/src/main/java/net/legacyfabric/fabric/impl/command/lib/sponge/args/StringCommandElement.java rename to legacy-fabric-command-api-v2/1.8.9/src/main/java/net/legacyfabric/fabric/impl/command/lib/sponge/args/StringCommandElement.java diff --git a/1.8.9/legacy-fabric-command-api-v2/src/main/java/net/legacyfabric/fabric/impl/command/lib/sponge/args/StringElement.java b/legacy-fabric-command-api-v2/1.8.9/src/main/java/net/legacyfabric/fabric/impl/command/lib/sponge/args/StringElement.java similarity index 100% rename from 1.8.9/legacy-fabric-command-api-v2/src/main/java/net/legacyfabric/fabric/impl/command/lib/sponge/args/StringElement.java rename to legacy-fabric-command-api-v2/1.8.9/src/main/java/net/legacyfabric/fabric/impl/command/lib/sponge/args/StringElement.java diff --git a/1.8.9/legacy-fabric-command-api-v2/src/main/java/net/legacyfabric/fabric/impl/command/lib/sponge/args/UrlElement.java b/legacy-fabric-command-api-v2/1.8.9/src/main/java/net/legacyfabric/fabric/impl/command/lib/sponge/args/UrlElement.java similarity index 100% rename from 1.8.9/legacy-fabric-command-api-v2/src/main/java/net/legacyfabric/fabric/impl/command/lib/sponge/args/UrlElement.java rename to legacy-fabric-command-api-v2/1.8.9/src/main/java/net/legacyfabric/fabric/impl/command/lib/sponge/args/UrlElement.java diff --git a/1.8.9/legacy-fabric-command-api-v2/src/main/java/net/legacyfabric/fabric/impl/command/lib/sponge/args/UuidElement.java b/legacy-fabric-command-api-v2/1.8.9/src/main/java/net/legacyfabric/fabric/impl/command/lib/sponge/args/UuidElement.java similarity index 100% rename from 1.8.9/legacy-fabric-command-api-v2/src/main/java/net/legacyfabric/fabric/impl/command/lib/sponge/args/UuidElement.java rename to legacy-fabric-command-api-v2/1.8.9/src/main/java/net/legacyfabric/fabric/impl/command/lib/sponge/args/UuidElement.java diff --git a/1.8.9/legacy-fabric-command-api-v2/src/main/java/net/legacyfabric/fabric/impl/command/lib/sponge/args/Vec3dCommandElement.java b/legacy-fabric-command-api-v2/1.8.9/src/main/java/net/legacyfabric/fabric/impl/command/lib/sponge/args/Vec3dCommandElement.java similarity index 100% rename from 1.8.9/legacy-fabric-command-api-v2/src/main/java/net/legacyfabric/fabric/impl/command/lib/sponge/args/Vec3dCommandElement.java rename to legacy-fabric-command-api-v2/1.8.9/src/main/java/net/legacyfabric/fabric/impl/command/lib/sponge/args/Vec3dCommandElement.java diff --git a/1.8.9/legacy-fabric-command-api-v2/src/main/java/net/legacyfabric/fabric/impl/command/lib/sponge/args/WithSuggestionsElement.java b/legacy-fabric-command-api-v2/1.8.9/src/main/java/net/legacyfabric/fabric/impl/command/lib/sponge/args/WithSuggestionsElement.java similarity index 100% rename from 1.8.9/legacy-fabric-command-api-v2/src/main/java/net/legacyfabric/fabric/impl/command/lib/sponge/args/WithSuggestionsElement.java rename to legacy-fabric-command-api-v2/1.8.9/src/main/java/net/legacyfabric/fabric/impl/command/lib/sponge/args/WithSuggestionsElement.java diff --git a/1.8.9/legacy-fabric-command-api-v2/src/main/java/net/legacyfabric/fabric/mixin/command/MinecraftServerMixin.java b/legacy-fabric-command-api-v2/1.8.9/src/main/java/net/legacyfabric/fabric/mixin/command/MinecraftServerMixin.java similarity index 100% rename from 1.8.9/legacy-fabric-command-api-v2/src/main/java/net/legacyfabric/fabric/mixin/command/MinecraftServerMixin.java rename to legacy-fabric-command-api-v2/1.8.9/src/main/java/net/legacyfabric/fabric/mixin/command/MinecraftServerMixin.java diff --git a/1.8.9/legacy-fabric-command-api-v2/src/main/resources/assets/legacy-fabric-sponge-command-api-v2/icon.png b/legacy-fabric-command-api-v2/1.8.9/src/main/resources/assets/legacy-fabric-sponge-command-api-v2/icon.png similarity index 100% rename from 1.8.9/legacy-fabric-command-api-v2/src/main/resources/assets/legacy-fabric-sponge-command-api-v2/icon.png rename to legacy-fabric-command-api-v2/1.8.9/src/main/resources/assets/legacy-fabric-sponge-command-api-v2/icon.png diff --git a/1.8.9/legacy-fabric-command-api-v2/src/main/resources/fabric.mod.json b/legacy-fabric-command-api-v2/1.8.9/src/main/resources/fabric.mod.json similarity index 97% rename from 1.8.9/legacy-fabric-command-api-v2/src/main/resources/fabric.mod.json rename to legacy-fabric-command-api-v2/1.8.9/src/main/resources/fabric.mod.json index 1f921a6e4..5ff821a2a 100644 --- a/1.8.9/legacy-fabric-command-api-v2/src/main/resources/fabric.mod.json +++ b/legacy-fabric-command-api-v2/1.8.9/src/main/resources/fabric.mod.json @@ -17,7 +17,7 @@ ], "depends": { "fabricloader": ">=0.4.0", - "minecraft": ">=1.8 <=1.8.9" + "minecraft": "${minecraft_version}" }, "entrypoints": { "client": [ diff --git a/1.8.9/legacy-fabric-command-api-v2/src/main/resources/legacy-fabric-sponge-command-api-v2.mixins.json b/legacy-fabric-command-api-v2/1.8.9/src/main/resources/legacy-fabric-sponge-command-api-v2.mixins.json similarity index 100% rename from 1.8.9/legacy-fabric-command-api-v2/src/main/resources/legacy-fabric-sponge-command-api-v2.mixins.json rename to legacy-fabric-command-api-v2/1.8.9/src/main/resources/legacy-fabric-sponge-command-api-v2.mixins.json diff --git a/1.8.9/legacy-fabric-command-api-v2/src/testmod/java/net/legacyfabric/fabric/test/command/ModMetadataCommand.java b/legacy-fabric-command-api-v2/1.8.9/src/testmod/java/net/legacyfabric/fabric/test/command/ModMetadataCommand.java similarity index 100% rename from 1.8.9/legacy-fabric-command-api-v2/src/testmod/java/net/legacyfabric/fabric/test/command/ModMetadataCommand.java rename to legacy-fabric-command-api-v2/1.8.9/src/testmod/java/net/legacyfabric/fabric/test/command/ModMetadataCommand.java diff --git a/1.8.9/legacy-fabric-command-api-v2/src/testmod/java/net/legacyfabric/fabric/test/command/SpongeCommandTest.java b/legacy-fabric-command-api-v2/1.8.9/src/testmod/java/net/legacyfabric/fabric/test/command/SpongeCommandTest.java similarity index 100% rename from 1.8.9/legacy-fabric-command-api-v2/src/testmod/java/net/legacyfabric/fabric/test/command/SpongeCommandTest.java rename to legacy-fabric-command-api-v2/1.8.9/src/testmod/java/net/legacyfabric/fabric/test/command/SpongeCommandTest.java diff --git a/1.12.2/legacy-fabric-command-api-v2/src/testmod/resources/fabric.mod.json b/legacy-fabric-command-api-v2/1.8.9/src/testmod/resources/fabric.mod.json similarity index 86% rename from 1.12.2/legacy-fabric-command-api-v2/src/testmod/resources/fabric.mod.json rename to legacy-fabric-command-api-v2/1.8.9/src/testmod/resources/fabric.mod.json index e1d69bd19..255852242 100644 --- a/1.12.2/legacy-fabric-command-api-v2/src/testmod/resources/fabric.mod.json +++ b/legacy-fabric-command-api-v2/1.8.9/src/testmod/resources/fabric.mod.json @@ -9,6 +9,6 @@ ] }, "depends": { - "minecraft": ">1.8.9 <=1.12.2" + "minecraft": "${minecraft_version}" } } diff --git a/legacy-fabric-command-api-v2/common.gradle b/legacy-fabric-command-api-v2/common.gradle new file mode 100644 index 000000000..dfb345b2c --- /dev/null +++ b/legacy-fabric-command-api-v2/common.gradle @@ -0,0 +1,5 @@ +moduleDependencies(project, [ + "legacy-fabric-api-base", + "legacy-fabric-command-api-v1", + "legacy-fabric-permissions-api-v1" +]) diff --git a/settings.gradle b/settings.gradle index f8291c7a6..c926c47df 100644 --- a/settings.gradle +++ b/settings.gradle @@ -39,6 +39,7 @@ loadProject("legacy-fabric-permissions-api-v1") loadProject("legacy-fabric-registry-sync-api-v1") loadProject("legacy-fabric-rendering-api-v1") loadProject("legacy-fabric-crash-report-info-v1") +loadProject("legacy-fabric-command-api-v2") //include("common") //include("common:legacy-fabric-logger-api-v1") From 4ebfb8d16e9a9e5655a2edc67c031f7e98f0d4d6 Mon Sep 17 00:00:00 2001 From: Cat Core Date: Thu, 8 Feb 2024 12:03:21 +0100 Subject: [PATCH 19/27] Port helper pom module --- 1.10.2/build.gradle | 1 - 1.10.2/legacyfabric-api/build.gradle | 39 --------------- .../assets/legacy-fabric-api/icon.png | Bin 1579 -> 0 bytes 1.11.2/build.gradle | 1 - 1.11.2/legacyfabric-api/build.gradle | 39 --------------- .../assets/legacy-fabric-api/icon.png | Bin 1579 -> 0 bytes 1.12.2/build.gradle | 1 - 1.12.2/legacyfabric-api/build.gradle | 35 -------------- .../assets/legacy-fabric-api/icon.png | Bin 1579 -> 0 bytes 1.13.2/build.gradle | 1 - 1.13.2/legacyfabric-api/build.gradle | 35 -------------- 1.7.10/build.gradle | 1 - 1.7.10/legacyfabric-api/build.gradle | 35 -------------- 1.8.9/build.gradle | 1 - 1.8.9/legacyfabric-api/build.gradle | 33 ------------- .../assets/legacy-fabric-api/icon.png | Bin 1579 -> 0 bytes .../src/main/resources/fabric.mod.json | 43 ----------------- 1.8/build.gradle | 1 - 1.8/legacyfabric-api/build.gradle | 35 -------------- .../assets/legacy-fabric-api/icon.png | Bin 1579 -> 0 bytes .../src/main/resources/fabric.mod.json | 45 ------------------ 1.9.4/build.gradle | 1 - 1.9.4/legacyfabric-api/build.gradle | 37 -------------- .../assets/legacy-fabric-api/icon.png | Bin 1579 -> 0 bytes .../src/main/resources/fabric.mod.json | 43 ----------------- legacyfabric-api/1.10.2/build.gradle | 0 legacyfabric-api/1.10.2/gradle.properties | 2 + .../src/main/resources/fabric.mod.json | 2 +- legacyfabric-api/1.11.2/build.gradle | 0 legacyfabric-api/1.11.2/gradle.properties | 2 + .../src/main/resources/fabric.mod.json | 2 +- legacyfabric-api/1.12.2/build.gradle | 0 legacyfabric-api/1.12.2/gradle.properties | 2 + .../src/main/resources/fabric.mod.json | 2 +- legacyfabric-api/1.7.10/build.gradle | 0 legacyfabric-api/1.7.10/gradle.properties | 2 + .../src/main/resources/fabric.mod.json | 2 +- legacyfabric-api/1.8.9/build.gradle | 0 legacyfabric-api/1.8.9/gradle.properties | 2 + .../1.8.9/src/main/resources/fabric.mod.json | 43 +++++++++++++++++ legacyfabric-api/1.8/build.gradle | 0 legacyfabric-api/1.8/gradle.properties | 2 + .../1.8/src/main/resources/fabric.mod.json | 43 +++++++++++++++++ legacyfabric-api/1.9.4/build.gradle | 0 legacyfabric-api/1.9.4/gradle.properties | 2 + .../1.9.4/src/main/resources/fabric.mod.json | 43 +++++++++++++++++ legacyfabric-api/common.gradle | 16 +++++++ settings.gradle | 2 + 48 files changed, 165 insertions(+), 431 deletions(-) delete mode 100644 1.10.2/build.gradle delete mode 100644 1.10.2/legacyfabric-api/build.gradle delete mode 100644 1.10.2/legacyfabric-api/src/main/resources/assets/legacy-fabric-api/icon.png delete mode 100644 1.11.2/build.gradle delete mode 100644 1.11.2/legacyfabric-api/build.gradle delete mode 100644 1.11.2/legacyfabric-api/src/main/resources/assets/legacy-fabric-api/icon.png delete mode 100644 1.12.2/build.gradle delete mode 100644 1.12.2/legacyfabric-api/build.gradle delete mode 100644 1.12.2/legacyfabric-api/src/main/resources/assets/legacy-fabric-api/icon.png delete mode 100644 1.13.2/build.gradle delete mode 100644 1.13.2/legacyfabric-api/build.gradle delete mode 100644 1.7.10/build.gradle delete mode 100644 1.7.10/legacyfabric-api/build.gradle delete mode 100644 1.8.9/build.gradle delete mode 100644 1.8.9/legacyfabric-api/build.gradle delete mode 100644 1.8.9/legacyfabric-api/src/main/resources/assets/legacy-fabric-api/icon.png delete mode 100644 1.8.9/legacyfabric-api/src/main/resources/fabric.mod.json delete mode 100644 1.8/build.gradle delete mode 100644 1.8/legacyfabric-api/build.gradle delete mode 100644 1.8/legacyfabric-api/src/main/resources/assets/legacy-fabric-api/icon.png delete mode 100644 1.8/legacyfabric-api/src/main/resources/fabric.mod.json delete mode 100644 1.9.4/build.gradle delete mode 100644 1.9.4/legacyfabric-api/build.gradle delete mode 100644 1.9.4/legacyfabric-api/src/main/resources/assets/legacy-fabric-api/icon.png delete mode 100644 1.9.4/legacyfabric-api/src/main/resources/fabric.mod.json create mode 100644 legacyfabric-api/1.10.2/build.gradle create mode 100644 legacyfabric-api/1.10.2/gradle.properties rename {1.11.2/legacyfabric-api => legacyfabric-api/1.10.2}/src/main/resources/fabric.mod.json (96%) create mode 100644 legacyfabric-api/1.11.2/build.gradle create mode 100644 legacyfabric-api/1.11.2/gradle.properties rename {1.12.2/legacyfabric-api => legacyfabric-api/1.11.2}/src/main/resources/fabric.mod.json (96%) create mode 100644 legacyfabric-api/1.12.2/build.gradle create mode 100644 legacyfabric-api/1.12.2/gradle.properties rename {1.7.10/legacyfabric-api => legacyfabric-api/1.12.2}/src/main/resources/fabric.mod.json (96%) create mode 100644 legacyfabric-api/1.7.10/build.gradle create mode 100644 legacyfabric-api/1.7.10/gradle.properties rename {1.10.2/legacyfabric-api => legacyfabric-api/1.7.10}/src/main/resources/fabric.mod.json (96%) create mode 100644 legacyfabric-api/1.8.9/build.gradle create mode 100644 legacyfabric-api/1.8.9/gradle.properties create mode 100644 legacyfabric-api/1.8.9/src/main/resources/fabric.mod.json create mode 100644 legacyfabric-api/1.8/build.gradle create mode 100644 legacyfabric-api/1.8/gradle.properties create mode 100644 legacyfabric-api/1.8/src/main/resources/fabric.mod.json create mode 100644 legacyfabric-api/1.9.4/build.gradle create mode 100644 legacyfabric-api/1.9.4/gradle.properties create mode 100644 legacyfabric-api/1.9.4/src/main/resources/fabric.mod.json create mode 100644 legacyfabric-api/common.gradle diff --git a/1.10.2/build.gradle b/1.10.2/build.gradle deleted file mode 100644 index 42e3b7937..000000000 --- a/1.10.2/build.gradle +++ /dev/null @@ -1 +0,0 @@ -version = project.getParent().version diff --git a/1.10.2/legacyfabric-api/build.gradle b/1.10.2/legacyfabric-api/build.gradle deleted file mode 100644 index ea64d526c..000000000 --- a/1.10.2/legacyfabric-api/build.gradle +++ /dev/null @@ -1,39 +0,0 @@ -version = getSubprojectVersion(project) - -moduleDependencies(project, [ - "common": [ - "legacy-fabric-api-base-common", - "legacy-fabric-command-api-v1", - "legacy-fabric-entity-events-v1-common", - "legacy-fabric-gamerule-api-v1", - "legacy-fabric-item-groups-v1-common", - "legacy-fabric-keybindings-api-v1-common", - "legacy-fabric-lifecycle-events-v1-common", - "legacy-fabric-logger-api-v1", - "legacy-fabric-networking-api-v1-common", - "legacy-fabric-permissions-api-v1-common", - "legacy-fabric-registry-sync-api-v1-common", - "legacy-fabric-rendering-api-v1-common", - "legacy-fabric-resource-loader-v1-common" - ], - "1.8.9": [ - "legacy-fabric-api-base", - "legacy-fabric-crash-report-info-v1", - "legacy-fabric-item-groups-v1", - "legacy-fabric-permissions-api-v1", - "legacy-fabric-keybindings-api-v1", - "legacy-fabric-rendering-api-v1" - ], - "1.9.4": [ - "legacy-fabric-entity-events-v1" - ], - "1.10.2": [ - "legacy-fabric-resource-loader-v1", - "legacy-fabric-registry-sync-api-v1" - ], - "1.12.2": [ - "legacy-fabric-command-api-v2", - "legacy-fabric-lifecycle-events-v1", - "legacy-fabric-networking-api-v1" - ] -]) diff --git a/1.10.2/legacyfabric-api/src/main/resources/assets/legacy-fabric-api/icon.png b/1.10.2/legacyfabric-api/src/main/resources/assets/legacy-fabric-api/icon.png deleted file mode 100644 index 2931efbf610873c0084debb8690902b0103d27fe..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1579 zcmbVMTWB0r7@iGm)TAXsYw<=rnU=;v=W=GRbL=!tc4Brl6GO7t2vVJ$IlDV#XU;e? z+r2ymsZdMQqAyaFLLUo;RumtE8Z@?uf_*4nP^4;o6fOFoSkN+o1$K?f2nE9_*b5G-l)AV)k5Qhb^- zU{V4ZnTKgnmXdpcB*Kg!W(1hvM2N&RO30x1u~eI9meGQGe@_?PDQq%q1CiV$8~M7 z?MQ_mOdqCh^a65Sv|ntwSXjV5se1;VK1|Kr8G7TQoQL&*ctt{L{fClG}xPK5k^yK3%T69N6J=>3jBqc zDNvZsrJ-yOXI^^mWf1cmY^XST)CVzIGjvEPENowmy}ax zvJ8_(Cf#+H-dBlH53`_u-~6BVAMz|(g?jCVdBWNZ(+A}(pFV7>S3QgPiQcMaflkIC z-3Ti|VT~{au*vq0ts9O&m$p&Gl=L6+q6_m$IcVq}o~+Pl{g>1esQp4%wp~|*zk1n` zZ7T6Toc4`y88s}riCP|ZXrJ?FLz@^KTcyqLjey zu95Yz%F&S{<0~f)Iomek?+hQ%MhCu%T^zsg>C_L`1`Br`xNY&))k9yTQb$JC>)w_f zpU(^tu^Q)y%W~lVz`jz;_ jF?g&s@Y=Qe&c#kW|JbvqK0Y=Rw)4XDoVqsk_>;c_`@;F@ diff --git a/1.11.2/build.gradle b/1.11.2/build.gradle deleted file mode 100644 index 42e3b7937..000000000 --- a/1.11.2/build.gradle +++ /dev/null @@ -1 +0,0 @@ -version = project.getParent().version diff --git a/1.11.2/legacyfabric-api/build.gradle b/1.11.2/legacyfabric-api/build.gradle deleted file mode 100644 index dda435bc1..000000000 --- a/1.11.2/legacyfabric-api/build.gradle +++ /dev/null @@ -1,39 +0,0 @@ -version = getSubprojectVersion(project) - -moduleDependencies(project, [ - "common": [ - "legacy-fabric-api-base-common", - "legacy-fabric-command-api-v1", - "legacy-fabric-entity-events-v1-common", - "legacy-fabric-gamerule-api-v1", - "legacy-fabric-item-groups-v1-common", - "legacy-fabric-keybindings-api-v1-common", - "legacy-fabric-lifecycle-events-v1-common", - "legacy-fabric-logger-api-v1", - "legacy-fabric-networking-api-v1-common", - "legacy-fabric-permissions-api-v1-common", - "legacy-fabric-registry-sync-api-v1-common", - "legacy-fabric-rendering-api-v1-common", - "legacy-fabric-resource-loader-v1-common" - ], - "1.8.9": [ - "legacy-fabric-api-base", - "legacy-fabric-crash-report-info-v1", - "legacy-fabric-permissions-api-v1", - "legacy-fabric-keybindings-api-v1", - "legacy-fabric-rendering-api-v1" - ], - "1.9.4": [ - "legacy-fabric-entity-events-v1" - ], - "1.10.2": [ - "legacy-fabric-resource-loader-v1" - ], - "1.12.2": [ - "legacy-fabric-command-api-v2", - "legacy-fabric-item-groups-v1", - "legacy-fabric-lifecycle-events-v1", - "legacy-fabric-registry-sync-api-v1", - "legacy-fabric-networking-api-v1" - ] -]) diff --git a/1.11.2/legacyfabric-api/src/main/resources/assets/legacy-fabric-api/icon.png b/1.11.2/legacyfabric-api/src/main/resources/assets/legacy-fabric-api/icon.png deleted file mode 100644 index 2931efbf610873c0084debb8690902b0103d27fe..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1579 zcmbVMTWB0r7@iGm)TAXsYw<=rnU=;v=W=GRbL=!tc4Brl6GO7t2vVJ$IlDV#XU;e? z+r2ymsZdMQqAyaFLLUo;RumtE8Z@?uf_*4nP^4;o6fOFoSkN+o1$K?f2nE9_*b5G-l)AV)k5Qhb^- zU{V4ZnTKgnmXdpcB*Kg!W(1hvM2N&RO30x1u~eI9meGQGe@_?PDQq%q1CiV$8~M7 z?MQ_mOdqCh^a65Sv|ntwSXjV5se1;VK1|Kr8G7TQoQL&*ctt{L{fClG}xPK5k^yK3%T69N6J=>3jBqc zDNvZsrJ-yOXI^^mWf1cmY^XST)CVzIGjvEPENowmy}ax zvJ8_(Cf#+H-dBlH53`_u-~6BVAMz|(g?jCVdBWNZ(+A}(pFV7>S3QgPiQcMaflkIC z-3Ti|VT~{au*vq0ts9O&m$p&Gl=L6+q6_m$IcVq}o~+Pl{g>1esQp4%wp~|*zk1n` zZ7T6Toc4`y88s}riCP|ZXrJ?FLz@^KTcyqLjey zu95Yz%F&S{<0~f)Iomek?+hQ%MhCu%T^zsg>C_L`1`Br`xNY&))k9yTQb$JC>)w_f zpU(^tu^Q)y%W~lVz`jz;_ jF?g&s@Y=Qe&c#kW|JbvqK0Y=Rw)4XDoVqsk_>;c_`@;F@ diff --git a/1.12.2/build.gradle b/1.12.2/build.gradle deleted file mode 100644 index 42e3b7937..000000000 --- a/1.12.2/build.gradle +++ /dev/null @@ -1 +0,0 @@ -version = project.getParent().version diff --git a/1.12.2/legacyfabric-api/build.gradle b/1.12.2/legacyfabric-api/build.gradle deleted file mode 100644 index ca95a9d91..000000000 --- a/1.12.2/legacyfabric-api/build.gradle +++ /dev/null @@ -1,35 +0,0 @@ -version = getSubprojectVersion(project) - -moduleDependencies(project, [ - "common": [ - "legacy-fabric-api-base-common", - "legacy-fabric-command-api-v1", - "legacy-fabric-entity-events-v1-common", - "legacy-fabric-gamerule-api-v1", - "legacy-fabric-item-groups-v1-common", - "legacy-fabric-keybindings-api-v1-common", - "legacy-fabric-lifecycle-events-v1-common", - "legacy-fabric-logger-api-v1", - "legacy-fabric-networking-api-v1-common", - "legacy-fabric-permissions-api-v1-common", - "legacy-fabric-registry-sync-api-v1-common", - "legacy-fabric-rendering-api-v1-common", - "legacy-fabric-resource-loader-v1-common" - ], - "1.8.9": [ - "legacy-fabric-api-base", - "legacy-fabric-crash-report-info-v1", - "legacy-fabric-permissions-api-v1", - "legacy-fabric-keybindings-api-v1", - "legacy-fabric-rendering-api-v1" - ], - "1.12.2": [ - "legacy-fabric-command-api-v2", - "legacy-fabric-entity-events-v1", - "legacy-fabric-item-groups-v1", - "legacy-fabric-lifecycle-events-v1", - "legacy-fabric-resource-loader-v1", - "legacy-fabric-registry-sync-api-v1", - "legacy-fabric-networking-api-v1" - ] -]) diff --git a/1.12.2/legacyfabric-api/src/main/resources/assets/legacy-fabric-api/icon.png b/1.12.2/legacyfabric-api/src/main/resources/assets/legacy-fabric-api/icon.png deleted file mode 100644 index 2931efbf610873c0084debb8690902b0103d27fe..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1579 zcmbVMTWB0r7@iGm)TAXsYw<=rnU=;v=W=GRbL=!tc4Brl6GO7t2vVJ$IlDV#XU;e? z+r2ymsZdMQqAyaFLLUo;RumtE8Z@?uf_*4nP^4;o6fOFoSkN+o1$K?f2nE9_*b5G-l)AV)k5Qhb^- zU{V4ZnTKgnmXdpcB*Kg!W(1hvM2N&RO30x1u~eI9meGQGe@_?PDQq%q1CiV$8~M7 z?MQ_mOdqCh^a65Sv|ntwSXjV5se1;VK1|Kr8G7TQoQL&*ctt{L{fClG}xPK5k^yK3%T69N6J=>3jBqc zDNvZsrJ-yOXI^^mWf1cmY^XST)CVzIGjvEPENowmy}ax zvJ8_(Cf#+H-dBlH53`_u-~6BVAMz|(g?jCVdBWNZ(+A}(pFV7>S3QgPiQcMaflkIC z-3Ti|VT~{au*vq0ts9O&m$p&Gl=L6+q6_m$IcVq}o~+Pl{g>1esQp4%wp~|*zk1n` zZ7T6Toc4`y88s}riCP|ZXrJ?FLz@^KTcyqLjey zu95Yz%F&S{<0~f)Iomek?+hQ%MhCu%T^zsg>C_L`1`Br`xNY&))k9yTQb$JC>)w_f zpU(^tu^Q)y%W~lVz`jz;_ jF?g&s@Y=Qe&c#kW|JbvqK0Y=Rw)4XDoVqsk_>;c_`@;F@ diff --git a/1.13.2/build.gradle b/1.13.2/build.gradle deleted file mode 100644 index 42e3b7937..000000000 --- a/1.13.2/build.gradle +++ /dev/null @@ -1 +0,0 @@ -version = project.getParent().version diff --git a/1.13.2/legacyfabric-api/build.gradle b/1.13.2/legacyfabric-api/build.gradle deleted file mode 100644 index 4ad2516bf..000000000 --- a/1.13.2/legacyfabric-api/build.gradle +++ /dev/null @@ -1,35 +0,0 @@ -version = getSubprojectVersion(project) - -moduleDependencies(project, [ - "common": [ - "legacy-fabric-api-base-common", -// "legacy-fabric-command-api-v1", - "legacy-fabric-entity-events-v1-common", - "legacy-fabric-gamerule-api-v1", -// "legacy-fabric-item-groups-v1-common", - "legacy-fabric-keybindings-api-v1-common", - "legacy-fabric-lifecycle-events-v1-common", - "legacy-fabric-logger-api-v1", -// "legacy-fabric-networking-api-v1-common", -// "legacy-fabric-permissions-api-v1-common", -// "legacy-fabric-registry-sync-api-v1-common", -// "legacy-fabric-rendering-api-v1-common", - "legacy-fabric-resource-loader-v1-common" - ], - "1.8.9": [ - "legacy-fabric-api-base", - "legacy-fabric-crash-report-info-v1", -// "legacy-fabric-permissions-api-v1", -// "legacy-fabric-keybindings-api-v1", -// "legacy-fabric-registry-sync-api-v1", -// "legacy-fabric-rendering-api-v1" - ], - "1.12.2": [ -// "legacy-fabric-command-api-v2", -// "legacy-fabric-entity-events-v1", -// "legacy-fabric-item-groups-v1", -// "legacy-fabric-lifecycle-events-v1", -// "legacy-fabric-resource-loader-v1" -// "legacy-fabric-networking-api-v1" - ] -]) diff --git a/1.7.10/build.gradle b/1.7.10/build.gradle deleted file mode 100644 index 42e3b7937..000000000 --- a/1.7.10/build.gradle +++ /dev/null @@ -1 +0,0 @@ -version = project.getParent().version diff --git a/1.7.10/legacyfabric-api/build.gradle b/1.7.10/legacyfabric-api/build.gradle deleted file mode 100644 index 91e8f5ca4..000000000 --- a/1.7.10/legacyfabric-api/build.gradle +++ /dev/null @@ -1,35 +0,0 @@ -version = getSubprojectVersion(project) - -moduleDependencies(project, [ - "common": [ - "legacy-fabric-api-base-common", - "legacy-fabric-command-api-v1", - "legacy-fabric-entity-events-v1-common", - "legacy-fabric-gamerule-api-v1", - "legacy-fabric-item-groups-v1-common", - "legacy-fabric-keybindings-api-v1-common", - "legacy-fabric-lifecycle-events-v1-common", - "legacy-fabric-logger-api-v1", - "legacy-fabric-networking-api-v1-common", - "legacy-fabric-permissions-api-v1-common", - "legacy-fabric-registry-sync-api-v1-common", - "legacy-fabric-rendering-api-v1-common", - "legacy-fabric-resource-loader-v1-common" - ], - "1.7.10": [ - "legacy-fabric-api-base", - "legacy-fabric-command-api-v2", - "legacy-fabric-lifecycle-events-v1", - "legacy-fabric-keybindings-api-v1", - "legacy-fabric-resource-loader-v1", - "legacy-fabric-rendering-api-v1", - "legacy-fabric-networking-api-v1", - "legacy-fabric-registry-sync-api-v1" - ], - "1.8.9": [ - "legacy-fabric-crash-report-info-v1", - "legacy-fabric-entity-events-v1", - "legacy-fabric-item-groups-v1", - "legacy-fabric-permissions-api-v1" - ] -]) diff --git a/1.8.9/build.gradle b/1.8.9/build.gradle deleted file mode 100644 index 42e3b7937..000000000 --- a/1.8.9/build.gradle +++ /dev/null @@ -1 +0,0 @@ -version = project.getParent().version diff --git a/1.8.9/legacyfabric-api/build.gradle b/1.8.9/legacyfabric-api/build.gradle deleted file mode 100644 index c56d07b69..000000000 --- a/1.8.9/legacyfabric-api/build.gradle +++ /dev/null @@ -1,33 +0,0 @@ -version = getSubprojectVersion(project) - -moduleDependencies(project, [ - "common": [ - "legacy-fabric-api-base-common", - "legacy-fabric-command-api-v1", - "legacy-fabric-entity-events-v1-common", - "legacy-fabric-gamerule-api-v1", - "legacy-fabric-item-groups-v1-common", - "legacy-fabric-keybindings-api-v1-common", - "legacy-fabric-lifecycle-events-v1-common", - "legacy-fabric-logger-api-v1", - "legacy-fabric-networking-api-v1-common", - "legacy-fabric-permissions-api-v1-common", - "legacy-fabric-registry-sync-api-v1-common", - "legacy-fabric-rendering-api-v1-common", - "legacy-fabric-resource-loader-v1-common" - ], - "1.8.9": [ - "legacy-fabric-api-base", - "legacy-fabric-command-api-v2", - "legacy-fabric-crash-report-info-v1", - "legacy-fabric-entity-events-v1", - "legacy-fabric-item-groups-v1", - "legacy-fabric-lifecycle-events-v1", - "legacy-fabric-permissions-api-v1", - "legacy-fabric-resource-loader-v1", - "legacy-fabric-keybindings-api-v1", - "legacy-fabric-registry-sync-api-v1", - "legacy-fabric-networking-api-v1", - "legacy-fabric-rendering-api-v1" - ] -]) diff --git a/1.8.9/legacyfabric-api/src/main/resources/assets/legacy-fabric-api/icon.png b/1.8.9/legacyfabric-api/src/main/resources/assets/legacy-fabric-api/icon.png deleted file mode 100644 index 2931efbf610873c0084debb8690902b0103d27fe..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1579 zcmbVMTWB0r7@iGm)TAXsYw<=rnU=;v=W=GRbL=!tc4Brl6GO7t2vVJ$IlDV#XU;e? z+r2ymsZdMQqAyaFLLUo;RumtE8Z@?uf_*4nP^4;o6fOFoSkN+o1$K?f2nE9_*b5G-l)AV)k5Qhb^- zU{V4ZnTKgnmXdpcB*Kg!W(1hvM2N&RO30x1u~eI9meGQGe@_?PDQq%q1CiV$8~M7 z?MQ_mOdqCh^a65Sv|ntwSXjV5se1;VK1|Kr8G7TQoQL&*ctt{L{fClG}xPK5k^yK3%T69N6J=>3jBqc zDNvZsrJ-yOXI^^mWf1cmY^XST)CVzIGjvEPENowmy}ax zvJ8_(Cf#+H-dBlH53`_u-~6BVAMz|(g?jCVdBWNZ(+A}(pFV7>S3QgPiQcMaflkIC z-3Ti|VT~{au*vq0ts9O&m$p&Gl=L6+q6_m$IcVq}o~+Pl{g>1esQp4%wp~|*zk1n` zZ7T6Toc4`y88s}riCP|ZXrJ?FLz@^KTcyqLjey zu95Yz%F&S{<0~f)Iomek?+hQ%MhCu%T^zsg>C_L`1`Br`xNY&))k9yTQb$JC>)w_f zpU(^tu^Q)y%W~lVz`jz;_ jF?g&s@Y=Qe&c#kW|JbvqK0Y=Rw)4XDoVqsk_>;c_`@;F@ diff --git a/1.8.9/legacyfabric-api/src/main/resources/fabric.mod.json b/1.8.9/legacyfabric-api/src/main/resources/fabric.mod.json deleted file mode 100644 index 48147e429..000000000 --- a/1.8.9/legacyfabric-api/src/main/resources/fabric.mod.json +++ /dev/null @@ -1,43 +0,0 @@ -{ - "schemaVersion": 1, - "id": "legacy-fabric-api", - "name": "Legacy Fabric API", - "version": "${version}", - "environment": "*", - "license": "Apache-2.0", - "icon": "assets/legacy-fabric-api/icon.png", - "contact": { - "homepage": "https://legacyfabric.net/", - "issues": "https://github.com/Legacy-Fabric/fabric/issues", - "sources": "https://github.com/Legacy-Fabric/fabric" - }, - "authors": [ - { - "name": "Legacy Fabric", - "contact": { - "homepage": "https://legacyfabric.net/", - "discord": "https://legacyfabric.net/discord", - "sources": "https://github.com/Legacy-Fabric/fabric", - "issues": "https://github.com/Legacy-Fabric/fabric/issues" - } - }, - { - "name": "FabricMC", - "contact": { - "homepage": "https://fabricmc.net", - "discord": "https://discord.gg/v6v4pMv", - "sources": "https://github.com/FabricMC/fabric", - "issues": "https://github.com/FabricMC/fabric/issues" - } - } - ], - "description": "Core API module providing key hooks and inter-compatibility features for Minecraft 1.7.10-1.12.2.", - "depends": { - "minecraft": "1.8.9" - }, - "custom": { - "modmenu": { - "badges": [ "library" ] - } - } -} diff --git a/1.8/build.gradle b/1.8/build.gradle deleted file mode 100644 index 42e3b7937..000000000 --- a/1.8/build.gradle +++ /dev/null @@ -1 +0,0 @@ -version = project.getParent().version diff --git a/1.8/legacyfabric-api/build.gradle b/1.8/legacyfabric-api/build.gradle deleted file mode 100644 index 38816ef1f..000000000 --- a/1.8/legacyfabric-api/build.gradle +++ /dev/null @@ -1,35 +0,0 @@ -version = getSubprojectVersion(project) - -moduleDependencies(project, [ - "common": [ - "legacy-fabric-api-base-common", - "legacy-fabric-command-api-v1", - "legacy-fabric-entity-events-v1-common", - "legacy-fabric-gamerule-api-v1", - "legacy-fabric-item-groups-v1-common", - "legacy-fabric-keybindings-api-v1-common", - "legacy-fabric-lifecycle-events-v1-common", - "legacy-fabric-logger-api-v1", - "legacy-fabric-networking-api-v1-common", - "legacy-fabric-permissions-api-v1-common", - "legacy-fabric-registry-sync-api-v1-common", - "legacy-fabric-rendering-api-v1-common", - "legacy-fabric-resource-loader-v1-common" - ], - "1.8": [ - "legacy-fabric-resource-loader-v1", - "legacy-fabric-registry-sync-api-v1" - ], - "1.8.9": [ - "legacy-fabric-api-base", - "legacy-fabric-command-api-v2", - "legacy-fabric-crash-report-info-v1", - "legacy-fabric-entity-events-v1", - "legacy-fabric-item-groups-v1", - "legacy-fabric-lifecycle-events-v1", - "legacy-fabric-permissions-api-v1", - "legacy-fabric-keybindings-api-v1", - "legacy-fabric-rendering-api-v1", - "legacy-fabric-networking-api-v1" - ] -]) diff --git a/1.8/legacyfabric-api/src/main/resources/assets/legacy-fabric-api/icon.png b/1.8/legacyfabric-api/src/main/resources/assets/legacy-fabric-api/icon.png deleted file mode 100644 index 2931efbf610873c0084debb8690902b0103d27fe..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1579 zcmbVMTWB0r7@iGm)TAXsYw<=rnU=;v=W=GRbL=!tc4Brl6GO7t2vVJ$IlDV#XU;e? z+r2ymsZdMQqAyaFLLUo;RumtE8Z@?uf_*4nP^4;o6fOFoSkN+o1$K?f2nE9_*b5G-l)AV)k5Qhb^- zU{V4ZnTKgnmXdpcB*Kg!W(1hvM2N&RO30x1u~eI9meGQGe@_?PDQq%q1CiV$8~M7 z?MQ_mOdqCh^a65Sv|ntwSXjV5se1;VK1|Kr8G7TQoQL&*ctt{L{fClG}xPK5k^yK3%T69N6J=>3jBqc zDNvZsrJ-yOXI^^mWf1cmY^XST)CVzIGjvEPENowmy}ax zvJ8_(Cf#+H-dBlH53`_u-~6BVAMz|(g?jCVdBWNZ(+A}(pFV7>S3QgPiQcMaflkIC z-3Ti|VT~{au*vq0ts9O&m$p&Gl=L6+q6_m$IcVq}o~+Pl{g>1esQp4%wp~|*zk1n` zZ7T6Toc4`y88s}riCP|ZXrJ?FLz@^KTcyqLjey zu95Yz%F&S{<0~f)Iomek?+hQ%MhCu%T^zsg>C_L`1`Br`xNY&))k9yTQb$JC>)w_f zpU(^tu^Q)y%W~lVz`jz;_ jF?g&s@Y=Qe&c#kW|JbvqK0Y=Rw)4XDoVqsk_>;c_`@;F@ diff --git a/1.8/legacyfabric-api/src/main/resources/fabric.mod.json b/1.8/legacyfabric-api/src/main/resources/fabric.mod.json deleted file mode 100644 index 11e9e2040..000000000 --- a/1.8/legacyfabric-api/src/main/resources/fabric.mod.json +++ /dev/null @@ -1,45 +0,0 @@ -{ - "schemaVersion": 1, - "id": "legacy-fabric-api", - "name": "Legacy Fabric API", - "version": "${version}", - "environment": "*", - "license": "Apache-2.0", - "icon": "assets/legacy-fabric-api/icon.png", - "contact": { - "homepage": "https://legacyfabric.net/", - "issues": "https://github.com/Legacy-Fabric/fabric/issues", - "sources": "https://github.com/Legacy-Fabric/fabric" - }, - "authors": [ - { - "name": "Legacy Fabric", - "contact": { - "homepage": "https://legacyfabric.net/", - "discord": "https://legacyfabric.net/discord", - "sources": "https://github.com/Legacy-Fabric/fabric", - "issues": "https://github.com/Legacy-Fabric/fabric/issues" - } - }, - { - "name": "FabricMC", - "contact": { - "homepage": "https://fabricmc.net", - "discord": "https://discord.gg/v6v4pMv", - "sources": "https://github.com/FabricMC/fabric", - "issues": "https://github.com/FabricMC/fabric/issues" - } - } - ], - "description": "Core API module providing key hooks and inter-compatibility features for Minecraft 1.7.10-1.12.2.", - "depends": { - "minecraft": "1.8" - }, - "custom": { - "modmenu": { - "badges": [ - "library" - ] - } - } -} diff --git a/1.9.4/build.gradle b/1.9.4/build.gradle deleted file mode 100644 index 42e3b7937..000000000 --- a/1.9.4/build.gradle +++ /dev/null @@ -1 +0,0 @@ -version = project.getParent().version diff --git a/1.9.4/legacyfabric-api/build.gradle b/1.9.4/legacyfabric-api/build.gradle deleted file mode 100644 index 14cbd3b83..000000000 --- a/1.9.4/legacyfabric-api/build.gradle +++ /dev/null @@ -1,37 +0,0 @@ -version = getSubprojectVersion(project) - -moduleDependencies(project, [ - "common": [ - "legacy-fabric-api-base-common", - "legacy-fabric-command-api-v1", - "legacy-fabric-entity-events-v1-common", - "legacy-fabric-gamerule-api-v1", - "legacy-fabric-item-groups-v1-common", - "legacy-fabric-keybindings-api-v1-common", - "legacy-fabric-lifecycle-events-v1-common", - "legacy-fabric-logger-api-v1", - "legacy-fabric-networking-api-v1-common", - "legacy-fabric-permissions-api-v1-common", - "legacy-fabric-registry-sync-api-v1-common", - "legacy-fabric-rendering-api-v1-common", - "legacy-fabric-resource-loader-v1-common" - ], - "1.8.9": [ - "legacy-fabric-api-base", - "legacy-fabric-crash-report-info-v1", - "legacy-fabric-item-groups-v1", - "legacy-fabric-permissions-api-v1", - "legacy-fabric-resource-loader-v1", - "legacy-fabric-keybindings-api-v1", - "legacy-fabric-rendering-api-v1" - ], - "1.9.4": [ - "legacy-fabric-entity-events-v1", - "legacy-fabric-registry-sync-api-v1" - ], - "1.12.2": [ - "legacy-fabric-command-api-v2", - "legacy-fabric-lifecycle-events-v1", - "legacy-fabric-networking-api-v1" - ] -]) diff --git a/1.9.4/legacyfabric-api/src/main/resources/assets/legacy-fabric-api/icon.png b/1.9.4/legacyfabric-api/src/main/resources/assets/legacy-fabric-api/icon.png deleted file mode 100644 index 2931efbf610873c0084debb8690902b0103d27fe..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1579 zcmbVMTWB0r7@iGm)TAXsYw<=rnU=;v=W=GRbL=!tc4Brl6GO7t2vVJ$IlDV#XU;e? z+r2ymsZdMQqAyaFLLUo;RumtE8Z@?uf_*4nP^4;o6fOFoSkN+o1$K?f2nE9_*b5G-l)AV)k5Qhb^- zU{V4ZnTKgnmXdpcB*Kg!W(1hvM2N&RO30x1u~eI9meGQGe@_?PDQq%q1CiV$8~M7 z?MQ_mOdqCh^a65Sv|ntwSXjV5se1;VK1|Kr8G7TQoQL&*ctt{L{fClG}xPK5k^yK3%T69N6J=>3jBqc zDNvZsrJ-yOXI^^mWf1cmY^XST)CVzIGjvEPENowmy}ax zvJ8_(Cf#+H-dBlH53`_u-~6BVAMz|(g?jCVdBWNZ(+A}(pFV7>S3QgPiQcMaflkIC z-3Ti|VT~{au*vq0ts9O&m$p&Gl=L6+q6_m$IcVq}o~+Pl{g>1esQp4%wp~|*zk1n` zZ7T6Toc4`y88s}riCP|ZXrJ?FLz@^KTcyqLjey zu95Yz%F&S{<0~f)Iomek?+hQ%MhCu%T^zsg>C_L`1`Br`xNY&))k9yTQb$JC>)w_f zpU(^tu^Q)y%W~lVz`jz;_ jF?g&s@Y=Qe&c#kW|JbvqK0Y=Rw)4XDoVqsk_>;c_`@;F@ diff --git a/1.9.4/legacyfabric-api/src/main/resources/fabric.mod.json b/1.9.4/legacyfabric-api/src/main/resources/fabric.mod.json deleted file mode 100644 index 5fda729e2..000000000 --- a/1.9.4/legacyfabric-api/src/main/resources/fabric.mod.json +++ /dev/null @@ -1,43 +0,0 @@ -{ - "schemaVersion": 1, - "id": "legacy-fabric-api", - "name": "Legacy Fabric API", - "version": "${version}", - "environment": "*", - "license": "Apache-2.0", - "icon": "assets/legacy-fabric-api/icon.png", - "contact": { - "homepage": "https://legacyfabric.net/", - "issues": "https://github.com/Legacy-Fabric/fabric/issues", - "sources": "https://github.com/Legacy-Fabric/fabric" - }, - "authors": [ - { - "name": "Legacy Fabric", - "contact": { - "homepage": "https://legacyfabric.net/", - "discord": "https://legacyfabric.net/discord", - "sources": "https://github.com/Legacy-Fabric/fabric", - "issues": "https://github.com/Legacy-Fabric/fabric/issues" - } - }, - { - "name": "FabricMC", - "contact": { - "homepage": "https://fabricmc.net", - "discord": "https://discord.gg/v6v4pMv", - "sources": "https://github.com/FabricMC/fabric", - "issues": "https://github.com/FabricMC/fabric/issues" - } - } - ], - "description": "Core API module providing key hooks and inter-compatibility features for Minecraft 1.7.10-1.12.2.", - "depends": { - "minecraft": "1.9.4" - }, - "custom": { - "modmenu": { - "badges": [ "library" ] - } - } -} diff --git a/legacyfabric-api/1.10.2/build.gradle b/legacyfabric-api/1.10.2/build.gradle new file mode 100644 index 000000000..e69de29bb diff --git a/legacyfabric-api/1.10.2/gradle.properties b/legacyfabric-api/1.10.2/gradle.properties new file mode 100644 index 000000000..649cef215 --- /dev/null +++ b/legacyfabric-api/1.10.2/gradle.properties @@ -0,0 +1,2 @@ +minVersionIncluded=1.10.2 +maxVersionIncluded=1.10.2 diff --git a/1.11.2/legacyfabric-api/src/main/resources/fabric.mod.json b/legacyfabric-api/1.10.2/src/main/resources/fabric.mod.json similarity index 96% rename from 1.11.2/legacyfabric-api/src/main/resources/fabric.mod.json rename to legacyfabric-api/1.10.2/src/main/resources/fabric.mod.json index ac0688738..676b475e1 100644 --- a/1.11.2/legacyfabric-api/src/main/resources/fabric.mod.json +++ b/legacyfabric-api/1.10.2/src/main/resources/fabric.mod.json @@ -33,7 +33,7 @@ ], "description": "Core API module providing key hooks and inter-compatibility features for Minecraft 1.7.10-1.12.2.", "depends": { - "minecraft": "1.11.2" + "minecraft": "${minecraft_version}" }, "custom": { "modmenu": { diff --git a/legacyfabric-api/1.11.2/build.gradle b/legacyfabric-api/1.11.2/build.gradle new file mode 100644 index 000000000..e69de29bb diff --git a/legacyfabric-api/1.11.2/gradle.properties b/legacyfabric-api/1.11.2/gradle.properties new file mode 100644 index 000000000..36bb9c446 --- /dev/null +++ b/legacyfabric-api/1.11.2/gradle.properties @@ -0,0 +1,2 @@ +minVersionIncluded=1.11.2 +maxVersionIncluded=1.11.2 diff --git a/1.12.2/legacyfabric-api/src/main/resources/fabric.mod.json b/legacyfabric-api/1.11.2/src/main/resources/fabric.mod.json similarity index 96% rename from 1.12.2/legacyfabric-api/src/main/resources/fabric.mod.json rename to legacyfabric-api/1.11.2/src/main/resources/fabric.mod.json index bf0e174e7..676b475e1 100644 --- a/1.12.2/legacyfabric-api/src/main/resources/fabric.mod.json +++ b/legacyfabric-api/1.11.2/src/main/resources/fabric.mod.json @@ -33,7 +33,7 @@ ], "description": "Core API module providing key hooks and inter-compatibility features for Minecraft 1.7.10-1.12.2.", "depends": { - "minecraft": "1.12.2" + "minecraft": "${minecraft_version}" }, "custom": { "modmenu": { diff --git a/legacyfabric-api/1.12.2/build.gradle b/legacyfabric-api/1.12.2/build.gradle new file mode 100644 index 000000000..e69de29bb diff --git a/legacyfabric-api/1.12.2/gradle.properties b/legacyfabric-api/1.12.2/gradle.properties new file mode 100644 index 000000000..eab0af23a --- /dev/null +++ b/legacyfabric-api/1.12.2/gradle.properties @@ -0,0 +1,2 @@ +minVersionIncluded=1.12.2 +maxVersionIncluded=1.12.2 diff --git a/1.7.10/legacyfabric-api/src/main/resources/fabric.mod.json b/legacyfabric-api/1.12.2/src/main/resources/fabric.mod.json similarity index 96% rename from 1.7.10/legacyfabric-api/src/main/resources/fabric.mod.json rename to legacyfabric-api/1.12.2/src/main/resources/fabric.mod.json index a65e939c9..676b475e1 100644 --- a/1.7.10/legacyfabric-api/src/main/resources/fabric.mod.json +++ b/legacyfabric-api/1.12.2/src/main/resources/fabric.mod.json @@ -33,7 +33,7 @@ ], "description": "Core API module providing key hooks and inter-compatibility features for Minecraft 1.7.10-1.12.2.", "depends": { - "minecraft": "1.7.10" + "minecraft": "${minecraft_version}" }, "custom": { "modmenu": { diff --git a/legacyfabric-api/1.7.10/build.gradle b/legacyfabric-api/1.7.10/build.gradle new file mode 100644 index 000000000..e69de29bb diff --git a/legacyfabric-api/1.7.10/gradle.properties b/legacyfabric-api/1.7.10/gradle.properties new file mode 100644 index 000000000..af031afbf --- /dev/null +++ b/legacyfabric-api/1.7.10/gradle.properties @@ -0,0 +1,2 @@ +minVersionIncluded=1.7.10 +maxVersionIncluded=1.7.10 diff --git a/1.10.2/legacyfabric-api/src/main/resources/fabric.mod.json b/legacyfabric-api/1.7.10/src/main/resources/fabric.mod.json similarity index 96% rename from 1.10.2/legacyfabric-api/src/main/resources/fabric.mod.json rename to legacyfabric-api/1.7.10/src/main/resources/fabric.mod.json index 39e5e81e3..676b475e1 100644 --- a/1.10.2/legacyfabric-api/src/main/resources/fabric.mod.json +++ b/legacyfabric-api/1.7.10/src/main/resources/fabric.mod.json @@ -33,7 +33,7 @@ ], "description": "Core API module providing key hooks and inter-compatibility features for Minecraft 1.7.10-1.12.2.", "depends": { - "minecraft": "1.10.2" + "minecraft": "${minecraft_version}" }, "custom": { "modmenu": { diff --git a/legacyfabric-api/1.8.9/build.gradle b/legacyfabric-api/1.8.9/build.gradle new file mode 100644 index 000000000..e69de29bb diff --git a/legacyfabric-api/1.8.9/gradle.properties b/legacyfabric-api/1.8.9/gradle.properties new file mode 100644 index 000000000..770b8d576 --- /dev/null +++ b/legacyfabric-api/1.8.9/gradle.properties @@ -0,0 +1,2 @@ +minVersionIncluded=1.8.9 +maxVersionIncluded=1.8.9 diff --git a/legacyfabric-api/1.8.9/src/main/resources/fabric.mod.json b/legacyfabric-api/1.8.9/src/main/resources/fabric.mod.json new file mode 100644 index 000000000..676b475e1 --- /dev/null +++ b/legacyfabric-api/1.8.9/src/main/resources/fabric.mod.json @@ -0,0 +1,43 @@ +{ + "schemaVersion": 1, + "id": "legacy-fabric-api", + "name": "Legacy Fabric API", + "version": "${version}", + "environment": "*", + "license": "Apache-2.0", + "icon": "assets/legacy-fabric-api/icon.png", + "contact": { + "homepage": "https://legacyfabric.net/", + "issues": "https://github.com/Legacy-Fabric/fabric/issues", + "sources": "https://github.com/Legacy-Fabric/fabric" + }, + "authors": [ + { + "name": "Legacy Fabric", + "contact": { + "homepage": "https://legacyfabric.net/", + "discord": "https://legacyfabric.net/discord", + "sources": "https://github.com/Legacy-Fabric/fabric", + "issues": "https://github.com/Legacy-Fabric/fabric/issues" + } + }, + { + "name": "FabricMC", + "contact": { + "homepage": "https://fabricmc.net", + "discord": "https://discord.gg/v6v4pMv", + "sources": "https://github.com/FabricMC/fabric", + "issues": "https://github.com/FabricMC/fabric/issues" + } + } + ], + "description": "Core API module providing key hooks and inter-compatibility features for Minecraft 1.7.10-1.12.2.", + "depends": { + "minecraft": "${minecraft_version}" + }, + "custom": { + "modmenu": { + "badges": [ "library" ] + } + } +} diff --git a/legacyfabric-api/1.8/build.gradle b/legacyfabric-api/1.8/build.gradle new file mode 100644 index 000000000..e69de29bb diff --git a/legacyfabric-api/1.8/gradle.properties b/legacyfabric-api/1.8/gradle.properties new file mode 100644 index 000000000..8dcacbf34 --- /dev/null +++ b/legacyfabric-api/1.8/gradle.properties @@ -0,0 +1,2 @@ +minVersionIncluded=1.8 +maxVersionIncluded=1.8 diff --git a/legacyfabric-api/1.8/src/main/resources/fabric.mod.json b/legacyfabric-api/1.8/src/main/resources/fabric.mod.json new file mode 100644 index 000000000..676b475e1 --- /dev/null +++ b/legacyfabric-api/1.8/src/main/resources/fabric.mod.json @@ -0,0 +1,43 @@ +{ + "schemaVersion": 1, + "id": "legacy-fabric-api", + "name": "Legacy Fabric API", + "version": "${version}", + "environment": "*", + "license": "Apache-2.0", + "icon": "assets/legacy-fabric-api/icon.png", + "contact": { + "homepage": "https://legacyfabric.net/", + "issues": "https://github.com/Legacy-Fabric/fabric/issues", + "sources": "https://github.com/Legacy-Fabric/fabric" + }, + "authors": [ + { + "name": "Legacy Fabric", + "contact": { + "homepage": "https://legacyfabric.net/", + "discord": "https://legacyfabric.net/discord", + "sources": "https://github.com/Legacy-Fabric/fabric", + "issues": "https://github.com/Legacy-Fabric/fabric/issues" + } + }, + { + "name": "FabricMC", + "contact": { + "homepage": "https://fabricmc.net", + "discord": "https://discord.gg/v6v4pMv", + "sources": "https://github.com/FabricMC/fabric", + "issues": "https://github.com/FabricMC/fabric/issues" + } + } + ], + "description": "Core API module providing key hooks and inter-compatibility features for Minecraft 1.7.10-1.12.2.", + "depends": { + "minecraft": "${minecraft_version}" + }, + "custom": { + "modmenu": { + "badges": [ "library" ] + } + } +} diff --git a/legacyfabric-api/1.9.4/build.gradle b/legacyfabric-api/1.9.4/build.gradle new file mode 100644 index 000000000..e69de29bb diff --git a/legacyfabric-api/1.9.4/gradle.properties b/legacyfabric-api/1.9.4/gradle.properties new file mode 100644 index 000000000..d145dd516 --- /dev/null +++ b/legacyfabric-api/1.9.4/gradle.properties @@ -0,0 +1,2 @@ +minVersionIncluded=1.9.4 +maxVersionIncluded=1.9.4 diff --git a/legacyfabric-api/1.9.4/src/main/resources/fabric.mod.json b/legacyfabric-api/1.9.4/src/main/resources/fabric.mod.json new file mode 100644 index 000000000..676b475e1 --- /dev/null +++ b/legacyfabric-api/1.9.4/src/main/resources/fabric.mod.json @@ -0,0 +1,43 @@ +{ + "schemaVersion": 1, + "id": "legacy-fabric-api", + "name": "Legacy Fabric API", + "version": "${version}", + "environment": "*", + "license": "Apache-2.0", + "icon": "assets/legacy-fabric-api/icon.png", + "contact": { + "homepage": "https://legacyfabric.net/", + "issues": "https://github.com/Legacy-Fabric/fabric/issues", + "sources": "https://github.com/Legacy-Fabric/fabric" + }, + "authors": [ + { + "name": "Legacy Fabric", + "contact": { + "homepage": "https://legacyfabric.net/", + "discord": "https://legacyfabric.net/discord", + "sources": "https://github.com/Legacy-Fabric/fabric", + "issues": "https://github.com/Legacy-Fabric/fabric/issues" + } + }, + { + "name": "FabricMC", + "contact": { + "homepage": "https://fabricmc.net", + "discord": "https://discord.gg/v6v4pMv", + "sources": "https://github.com/FabricMC/fabric", + "issues": "https://github.com/FabricMC/fabric/issues" + } + } + ], + "description": "Core API module providing key hooks and inter-compatibility features for Minecraft 1.7.10-1.12.2.", + "depends": { + "minecraft": "${minecraft_version}" + }, + "custom": { + "modmenu": { + "badges": [ "library" ] + } + } +} diff --git a/legacyfabric-api/common.gradle b/legacyfabric-api/common.gradle new file mode 100644 index 000000000..57e88309f --- /dev/null +++ b/legacyfabric-api/common.gradle @@ -0,0 +1,16 @@ +moduleDependencies(project, [ + "legacy-fabric-api-base", + "legacy-fabric-resource-loader-v1", + "legacy-fabric-lifecycle-events-v1", + "legacy-fabric-command-api-v1", + "legacy-fabric-entity-events-v1", + "legacy-fabric-gamerule-api-v1", + "legacy-fabric-item-groups-v1", + "legacy-fabric-keybindings-api-v1", + "legacy-fabric-networking-api-v1", + "legacy-fabric-permissions-api-v1", + "legacy-fabric-registry-sync-api-v1", + "legacy-fabric-rendering-api-v1", + "legacy-fabric-crash-report-info-v1", + "legacy-fabric-command-api-v2" +]) diff --git a/settings.gradle b/settings.gradle index c926c47df..de7966ea9 100644 --- a/settings.gradle +++ b/settings.gradle @@ -41,6 +41,8 @@ loadProject("legacy-fabric-rendering-api-v1") loadProject("legacy-fabric-crash-report-info-v1") loadProject("legacy-fabric-command-api-v2") +loadProject("legacyfabric-api") + //include("common") //include("common:legacy-fabric-logger-api-v1") //include("common:legacy-fabric-api-base-common") From 964df0247ff8ce1b7d54b48042c6e5100e1c995d Mon Sep 17 00:00:00 2001 From: Cat Core Date: Thu, 8 Feb 2024 12:05:54 +0100 Subject: [PATCH 20/27] Don't generate a range when min and max versions are the same --- build.gradle | 32 +++++++++++++++++++------------- 1 file changed, 19 insertions(+), 13 deletions(-) diff --git a/build.gradle b/build.gradle index cc0672eb2..afc36fb0c 100644 --- a/build.gradle +++ b/build.gradle @@ -69,23 +69,29 @@ def getProjectMavenName(project) { static def getMCRange(Project project) { def predicates = [] - if (project.hasProperty("minVersionIncluded")) { - predicates.add(">=${VersionHelper.parseVersion(project["minVersionIncluded"]).friendlyString}") - } + if (project.hasProperty("minVersionIncluded") && project.hasProperty("maxVersionIncluded") + && project["minVersionIncluded"] == project["maxVersionIncluded"] + ) { + predicates.add(project["maxVersionIncluded"]) + } else { + if (project.hasProperty("minVersionIncluded")) { + predicates.add(">=${VersionHelper.parseVersion(project["minVersionIncluded"]).friendlyString}") + } - if (project.hasProperty("minVersionExcluded")) { - predicates.add(">${VersionHelper.parseVersion(project["minVersionExcluded"]).friendlyString}") - } + if (project.hasProperty("minVersionExcluded")) { + predicates.add(">${VersionHelper.parseVersion(project["minVersionExcluded"]).friendlyString}") + } - if (project.hasProperty("maxVersionIncluded")) { - predicates.add("<=${VersionHelper.parseVersion(project["maxVersionIncluded"]).friendlyString}") - } + if (project.hasProperty("maxVersionIncluded")) { + predicates.add("<=${VersionHelper.parseVersion(project["maxVersionIncluded"]).friendlyString}") + } - if (project.hasProperty("maxVersionExcluded")) { - predicates.add("<${VersionHelper.parseVersion(project["maxVersionExcluded"]).friendlyString}") - } + if (project.hasProperty("maxVersionExcluded")) { + predicates.add("<${VersionHelper.parseVersion(project["maxVersionExcluded"]).friendlyString}") + } - if (predicates.isEmpty()) predicates.add("*") + if (predicates.isEmpty()) predicates.add("*") + } return predicates.join(" ") } From ed0ecc03b320314e00ed3e3870a9b5af2285bf65 Mon Sep 17 00:00:00 2001 From: Cat Core Date: Thu, 8 Feb 2024 12:09:24 +0100 Subject: [PATCH 21/27] Add missing minecraft version requirement to some common modules --- .../common/src/main/resources/fabric.mod.json | 3 ++- .../common/src/main/resources/fabric.mod.json | 3 +++ .../common/src/main/resources/fabric.mod.json | 4 +++- .../common/src/main/resources/fabric.mod.json | 3 +++ .../common/src/testmod/resources/fabric.mod.json | 3 +++ .../common/src/main/resources/fabric.mod.json | 3 ++- .../common/src/main/resources/fabric.mod.json | 3 ++- 7 files changed, 18 insertions(+), 4 deletions(-) diff --git a/legacy-fabric-crash-report-info-v1/common/src/main/resources/fabric.mod.json b/legacy-fabric-crash-report-info-v1/common/src/main/resources/fabric.mod.json index d7ed01f6e..9f89449a6 100644 --- a/legacy-fabric-crash-report-info-v1/common/src/main/resources/fabric.mod.json +++ b/legacy-fabric-crash-report-info-v1/common/src/main/resources/fabric.mod.json @@ -16,7 +16,8 @@ "FabricMC" ], "depends": { - "fabricloader": ">=0.4.0" + "fabricloader": ">=0.4.0", + "minecraft": "${minecraft_version}" }, "description": "Adds Fabric-related debug info to crash reports.", "mixins": [ diff --git a/legacy-fabric-entity-events-v1/common/src/main/resources/fabric.mod.json b/legacy-fabric-entity-events-v1/common/src/main/resources/fabric.mod.json index 4b4a86e60..209a90da3 100644 --- a/legacy-fabric-entity-events-v1/common/src/main/resources/fabric.mod.json +++ b/legacy-fabric-entity-events-v1/common/src/main/resources/fabric.mod.json @@ -16,6 +16,9 @@ "FabricMC" ], "description": "Events to hook into entities.", + "depends": { + "minecraft": "${minecraft_version}" + }, "mixins": [], "custom": { "modmenu": { diff --git a/legacy-fabric-keybindings-api-v1/common/src/main/resources/fabric.mod.json b/legacy-fabric-keybindings-api-v1/common/src/main/resources/fabric.mod.json index ed7fe7c6f..ea76c379d 100644 --- a/legacy-fabric-keybindings-api-v1/common/src/main/resources/fabric.mod.json +++ b/legacy-fabric-keybindings-api-v1/common/src/main/resources/fabric.mod.json @@ -15,7 +15,9 @@ "Legacy Fabric", "FabricMC" ], - "depends": {}, + "depends": { + "minecraft": "${minecraft_version}" + }, "mixins": [ "legacy-fabric-keybinding-api-v1.mixins.json" ], diff --git a/legacy-fabric-lifecycle-events-v1/common/src/main/resources/fabric.mod.json b/legacy-fabric-lifecycle-events-v1/common/src/main/resources/fabric.mod.json index 9857cb493..1a1da2a3e 100644 --- a/legacy-fabric-lifecycle-events-v1/common/src/main/resources/fabric.mod.json +++ b/legacy-fabric-lifecycle-events-v1/common/src/main/resources/fabric.mod.json @@ -15,6 +15,9 @@ "Legacy-Fabric", "FabricMC" ], + "depends": { + "minecraft": "${minecraft_version}" + }, "mixins": [], "description": "Events for the game's lifecycle.", "custom": { diff --git a/legacy-fabric-lifecycle-events-v1/common/src/testmod/resources/fabric.mod.json b/legacy-fabric-lifecycle-events-v1/common/src/testmod/resources/fabric.mod.json index a77988665..ac25a1d6f 100644 --- a/legacy-fabric-lifecycle-events-v1/common/src/testmod/resources/fabric.mod.json +++ b/legacy-fabric-lifecycle-events-v1/common/src/testmod/resources/fabric.mod.json @@ -10,5 +10,8 @@ "client": [ "net.legacyfabric.fabric.test.lifecycle.client.ClientLifecycleEventsCommonTest" ] + }, + "depends": { + "minecraft": "${minecraft_version}" } } diff --git a/legacy-fabric-registry-sync-api-v1/common/src/main/resources/fabric.mod.json b/legacy-fabric-registry-sync-api-v1/common/src/main/resources/fabric.mod.json index 52757c1c5..261a4f9a4 100644 --- a/legacy-fabric-registry-sync-api-v1/common/src/main/resources/fabric.mod.json +++ b/legacy-fabric-registry-sync-api-v1/common/src/main/resources/fabric.mod.json @@ -16,7 +16,8 @@ "Legacy-Fabric" ], "depends": { - "fabricloader": ">=0.4.0" + "fabricloader": ">=0.4.0", + "minecraft": "${minecraft_version}" }, "description": "Registry hooks", "entrypoints": { diff --git a/legacy-fabric-resource-loader-v1/common/src/main/resources/fabric.mod.json b/legacy-fabric-resource-loader-v1/common/src/main/resources/fabric.mod.json index 271400118..c7ddd3163 100644 --- a/legacy-fabric-resource-loader-v1/common/src/main/resources/fabric.mod.json +++ b/legacy-fabric-resource-loader-v1/common/src/main/resources/fabric.mod.json @@ -16,7 +16,8 @@ "FabricMC" ], "depends": { - "fabricloader": ">=0.4.0" + "fabricloader": ">=0.4.0", + "minecraft": "${minecraft_version}" }, "description": "Asset loading", "mixins": [ From 3156b37196d6f508cf0c8f2f9ce9fa159015f7c8 Mon Sep 17 00:00:00 2001 From: Cat Core Date: Thu, 8 Feb 2024 12:13:25 +0100 Subject: [PATCH 22/27] Add back access wideners --- legacy-fabric-registry-sync-api-v1/1.7.10/build.gradle | 3 +++ legacy-fabric-registry-sync-api-v1/1.8/build.gradle | 3 +++ 2 files changed, 6 insertions(+) diff --git a/legacy-fabric-registry-sync-api-v1/1.7.10/build.gradle b/legacy-fabric-registry-sync-api-v1/1.7.10/build.gradle index e69de29bb..5058a1900 100644 --- a/legacy-fabric-registry-sync-api-v1/1.7.10/build.gradle +++ b/legacy-fabric-registry-sync-api-v1/1.7.10/build.gradle @@ -0,0 +1,3 @@ +loom { + accessWidenerPath = file("src/main/resources/registrysync.accesswidener") +} diff --git a/legacy-fabric-registry-sync-api-v1/1.8/build.gradle b/legacy-fabric-registry-sync-api-v1/1.8/build.gradle index e69de29bb..5058a1900 100644 --- a/legacy-fabric-registry-sync-api-v1/1.8/build.gradle +++ b/legacy-fabric-registry-sync-api-v1/1.8/build.gradle @@ -0,0 +1,3 @@ +loom { + accessWidenerPath = file("src/main/resources/registrysync.accesswidener") +} From b4823ac82da8b03726112c767231f084913b733b Mon Sep 17 00:00:00 2001 From: Cat Core Date: Thu, 8 Feb 2024 12:29:44 +0100 Subject: [PATCH 23/27] Don't create testmod tasks for projects without tests --- build.gradle | 23 ++++++++++++++--------- 1 file changed, 14 insertions(+), 9 deletions(-) diff --git a/build.gradle b/build.gradle index afc36fb0c..2037e0b1f 100644 --- a/build.gradle +++ b/build.gradle @@ -269,6 +269,7 @@ allprojects { def mcVersion = getMCVersion(it) String projectName = getProjectSimpleName(it) + def hasTest = it.file("src/testmod").exists() loom { runs { @@ -341,10 +342,12 @@ allprojects { reproducibleFileOrder = true } - task testmodJar(type: Jar) { - from sourceSets.testmod.output - destinationDirectory = new File(project.buildDir, "devlibs") - archiveClassifier.set("testmod") + if (hasTest) { + task testmodJar(type: Jar) { + from sourceSets.testmod.output + destinationDirectory = new File(project.buildDir, "devlibs") + archiveClassifier.set("testmod") + } } [jar, sourcesJar].each { @@ -353,12 +356,14 @@ allprojects { } } - task remapTestmodJar(type: RemapJarTask, dependsOn: testmodJar) { - input = testmodJar.archiveFile - archiveClassifier.set("testmod") - addNestedDependencies = false + if (hasTest) { + task remapTestmodJar(type: RemapJarTask, dependsOn: testmodJar) { + input = testmodJar.archiveFile + archiveClassifier.set("testmod") + addNestedDependencies = false + } + build.dependsOn remapTestmodJar } - build.dependsOn remapTestmodJar } remapTestmodJar { From 8d0955388a3ffe18b6d31ab234d52e3423323a80 Mon Sep 17 00:00:00 2001 From: Cat Core Date: Thu, 8 Feb 2024 14:37:38 +0100 Subject: [PATCH 24/27] Fix CI failing randomly --- .github/workflows/build.yml | 3 ++- build.gradle | 4 ++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 3ab592e52..054989ac6 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -13,7 +13,8 @@ jobs: with: fetch-depth: 0 - uses: gradle/wrapper-validation-action@v1 - - run: ./gradlew check build publishToMavenLocal --stacktrace --parallel + - run: ./gradlew check build --stacktrace --parallel + - run: ./gradlew publishToMavenLocal --stacktrace - uses: actions/upload-artifact@v3 with: name: Artifacts diff --git a/build.gradle b/build.gradle index 2037e0b1f..08879891d 100644 --- a/build.gradle +++ b/build.gradle @@ -204,8 +204,6 @@ def moduleDependencies(Project project, List projectNames) { mavenJava(MavenPublication) { if (getProjectSimpleName(project) == "legacyfabric-api") { artifactId = "legacy-fabric-api" - } else { - artifactId = getProjectMavenName(project) } pom.withXml { @@ -417,6 +415,8 @@ task javadocJar(type: Jar) { build.dependsOn javadocJar subprojects { + base.setArchivesName(getProjectMavenName(it)) + dependencies { testmodImplementation sourceSets.main.output From ba2e84bc307f9443b6c8f397b73b8c9df63ef774 Mon Sep 17 00:00:00 2001 From: Cat Core Date: Thu, 8 Feb 2024 14:39:12 +0100 Subject: [PATCH 25/27] Fix some CI quirks --- .github/workflows/build.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 054989ac6..1cf5d0868 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -4,7 +4,7 @@ on: [push, pull_request] jobs: build: - runs-on: ubuntu-latest + runs-on: ubuntu-22.04 container: image: eclipse-temurin:17-jdk options: --user root @@ -22,7 +22,7 @@ jobs: - uses: actions/upload-artifact@v3 with: name: Artifacts - path: ./*/build/libs/ + path: ./**/build/libs/ - uses: actions/upload-artifact@v3 with: name: Maven Local From 2c4e89a35842b6eb8f57bd3f6217176d99c9a7e6 Mon Sep 17 00:00:00 2001 From: Cat Core Date: Thu, 8 Feb 2024 14:53:08 +0100 Subject: [PATCH 26/27] Fix version check --- build.gradle | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build.gradle b/build.gradle index 08879891d..a4f5ac004 100644 --- a/build.gradle +++ b/build.gradle @@ -567,7 +567,7 @@ task checkVersion { def xml = new URL("https://maven.legacyfabric.net/net/legacyfabric/legacy-fabric-api/legacy-fabric-api/maven-metadata.xml").text def metadata = new groovy.xml.XmlSlurper().parseText(xml) def versions = metadata.versioning.versions.version*.text() - if (versions.contains(version)) { + if (versions.contains(version + "+1.8.9")) { throw new RuntimeException("${version} has already been released!") } } From 52eeb19d149bd6773b852b302e156eefa551407a Mon Sep 17 00:00:00 2001 From: Cat Core Date: Thu, 8 Feb 2024 22:02:19 +0100 Subject: [PATCH 27/27] Remove old project declarations --- settings.gradle | 72 ------------------------------------------------- 1 file changed, 72 deletions(-) diff --git a/settings.gradle b/settings.gradle index de7966ea9..e03aa4c54 100644 --- a/settings.gradle +++ b/settings.gradle @@ -42,75 +42,3 @@ loadProject("legacy-fabric-crash-report-info-v1") loadProject("legacy-fabric-command-api-v2") loadProject("legacyfabric-api") - -//include("common") -//include("common:legacy-fabric-logger-api-v1") -//include("common:legacy-fabric-api-base-common") -//include("common:legacy-fabric-lifecycle-events-v1-common") -//include("common:legacy-fabric-command-api-v1") -//include("common:legacy-fabric-permissions-api-v1-common") -//include("common:legacy-fabric-entity-events-v1-common") -//include("common:legacy-fabric-gamerule-api-v1") -//include("common:legacy-fabric-item-groups-v1-common") -//include("common:legacy-fabric-keybindings-api-v1-common") -//include("common:legacy-fabric-networking-api-v1-common") -//include("common:legacy-fabric-registry-sync-api-v1-common") -//include("common:legacy-fabric-rendering-api-v1-common") -//include("common:legacy-fabric-resource-loader-v1-common") -// -//include("1.8.9") -//include("1.8.9:legacy-fabric-crash-report-info-v1") -//include("1.8.9:legacy-fabric-api-base") -//include("1.8.9:legacy-fabric-lifecycle-events-v1") -//include("1.8.9:legacy-fabric-permissions-api-v1") -//include("1.8.9:legacy-fabric-command-api-v2") -//include("1.8.9:legacy-fabric-entity-events-v1") -//include("1.8.9:legacy-fabric-item-groups-v1") -//include("1.8.9:legacy-fabric-resource-loader-v1") -//include("1.8.9:legacy-fabric-keybindings-api-v1") -//include("1.8.9:legacy-fabric-registry-sync-api-v1") -//include("1.8.9:legacy-fabric-rendering-api-v1") -//include("1.8.9:legacy-fabric-networking-api-v1") -//include("1.8.9:legacyfabric-api") -// -//include("1.8") -//include("1.8:legacy-fabric-resource-loader-v1") -//include("1.8:legacy-fabric-registry-sync-api-v1") -//include("1.8:legacyfabric-api") -// -//include("1.7.10") -//include("1.7.10:legacy-fabric-api-base") -//include("1.7.10:legacy-fabric-resource-loader-v1") -//include("1.7.10:legacy-fabric-command-api-v2") -//include("1.7.10:legacy-fabric-rendering-api-v1") -//include("1.7.10:legacy-fabric-lifecycle-events-v1") -//include("1.7.10:legacy-fabric-keybindings-api-v1") -//include("1.7.10:legacy-fabric-networking-api-v1") -//include("1.7.10:legacy-fabric-registry-sync-api-v1") -//include("1.7.10:legacyfabric-api") -// -//include("1.12.2") -//include("1.12.2:legacy-fabric-resource-loader-v1") -//include("1.12.2:legacy-fabric-item-groups-v1") -//include("1.12.2:legacy-fabric-lifecycle-events-v1") -//include("1.12.2:legacy-fabric-entity-events-v1") -//include("1.12.2:legacy-fabric-networking-api-v1") -//include("1.12.2:legacy-fabric-command-api-v2") -//include("1.12.2:legacy-fabric-registry-sync-api-v1") -//include("1.12.2:legacyfabric-api") -// -//include("1.9.4") -//include("1.9.4:legacy-fabric-entity-events-v1") -//include("1.9.4:legacy-fabric-registry-sync-api-v1") -//include("1.9.4:legacyfabric-api") -// -//include("1.10.2") -//include("1.10.2:legacy-fabric-resource-loader-v1") -//include("1.10.2:legacy-fabric-registry-sync-api-v1") -//include("1.10.2:legacyfabric-api") -// -//include("1.11.2") -//include("1.11.2:legacyfabric-api") - -//include("1.13.2") -//include("1.13.2:legacyfabric-api")