From cd2d50cb79d5c9dc2d960e1b30dba053c04f76a9 Mon Sep 17 00:00:00 2001 From: Cat Core Date: Thu, 8 Feb 2024 11:17:55 +0100 Subject: [PATCH] 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")