diff --git a/settings.gradle.kts b/settings.gradle.kts index 3d4cba2..15d9a8d 100644 --- a/settings.gradle.kts +++ b/settings.gradle.kts @@ -17,7 +17,7 @@ include("viafabric-mc1194") include("viafabric-mc1201") include("viafabric-mc1204") include("viafabric-mc1206") -include("viafabric-mc121") +include("viafabric-mc1211") plugins { id("org.gradle.toolchains.foojay-resolver-convention") version "0.8.0" diff --git a/viafabric-mc121/build.gradle.kts b/viafabric-mc1211/build.gradle.kts similarity index 100% rename from viafabric-mc121/build.gradle.kts rename to viafabric-mc1211/build.gradle.kts diff --git a/viafabric-mc121/src/main/java/com/viaversion/fabric/mc121/ViaFabric.java b/viafabric-mc1211/src/main/java/com/viaversion/fabric/mc1211/ViaFabric.java similarity index 96% rename from viafabric-mc121/src/main/java/com/viaversion/fabric/mc121/ViaFabric.java rename to viafabric-mc1211/src/main/java/com/viaversion/fabric/mc1211/ViaFabric.java index 716f192..6c02ade 100644 --- a/viafabric-mc121/src/main/java/com/viaversion/fabric/mc121/ViaFabric.java +++ b/viafabric-mc1211/src/main/java/com/viaversion/fabric/mc1211/ViaFabric.java @@ -15,7 +15,7 @@ * You should have received a copy of the GNU General Public License * along with this program. If not, see . */ -package com.viaversion.fabric.mc121; +package com.viaversion.fabric.mc1211; import com.google.common.util.concurrent.ThreadFactoryBuilder; import com.mojang.brigadier.arguments.StringArgumentType; @@ -25,9 +25,9 @@ import com.viaversion.fabric.common.config.VFConfig; import com.viaversion.fabric.common.platform.FabricInjector; import com.viaversion.fabric.common.protocol.HostnameParserProtocol; import com.viaversion.fabric.common.util.JLoggerToLog4j; -import com.viaversion.fabric.mc121.commands.VFCommandHandler; -import com.viaversion.fabric.mc121.platform.FabricPlatform; -import com.viaversion.fabric.mc121.platform.VFLoader; +import com.viaversion.fabric.mc1211.commands.VFCommandHandler; +import com.viaversion.fabric.mc1211.platform.FabricPlatform; +import com.viaversion.fabric.mc1211.platform.VFLoader; import com.viaversion.viaversion.ViaManagerImpl; import com.viaversion.viaversion.api.Via; import com.viaversion.viaversion.api.protocol.version.ProtocolVersion; diff --git a/viafabric-mc121/src/main/java/com/viaversion/fabric/mc121/ViaFabricClient.java b/viafabric-mc1211/src/main/java/com/viaversion/fabric/mc1211/ViaFabricClient.java similarity index 96% rename from viafabric-mc121/src/main/java/com/viaversion/fabric/mc121/ViaFabricClient.java rename to viafabric-mc1211/src/main/java/com/viaversion/fabric/mc1211/ViaFabricClient.java index 83bd42f..47cb752 100644 --- a/viafabric-mc121/src/main/java/com/viaversion/fabric/mc121/ViaFabricClient.java +++ b/viafabric-mc1211/src/main/java/com/viaversion/fabric/mc1211/ViaFabricClient.java @@ -15,9 +15,9 @@ * You should have received a copy of the GNU General Public License * along with this program. If not, see . */ -package com.viaversion.fabric.mc121; +package com.viaversion.fabric.mc1211; -import com.viaversion.fabric.mc121.gui.ViaConfigScreen; +import com.viaversion.fabric.mc1211.gui.ViaConfigScreen; import net.fabricmc.api.ClientModInitializer; import net.fabricmc.fabric.api.client.screen.v1.ScreenEvents; import net.fabricmc.fabric.api.client.screen.v1.Screens; diff --git a/viafabric-mc121/src/main/java/com/viaversion/fabric/mc121/commands/NMSCommandSender.java b/viafabric-mc1211/src/main/java/com/viaversion/fabric/mc1211/commands/NMSCommandSender.java similarity index 98% rename from viafabric-mc121/src/main/java/com/viaversion/fabric/mc121/commands/NMSCommandSender.java rename to viafabric-mc1211/src/main/java/com/viaversion/fabric/mc1211/commands/NMSCommandSender.java index 6e78771..c7f0c21 100644 --- a/viafabric-mc121/src/main/java/com/viaversion/fabric/mc121/commands/NMSCommandSender.java +++ b/viafabric-mc1211/src/main/java/com/viaversion/fabric/mc1211/commands/NMSCommandSender.java @@ -15,7 +15,7 @@ * You should have received a copy of the GNU General Public License * along with this program. If not, see . */ -package com.viaversion.fabric.mc121.commands; +package com.viaversion.fabric.mc1211.commands; import com.viaversion.viaversion.api.command.ViaCommandSender; import com.viaversion.viaversion.util.ComponentUtil; diff --git a/viafabric-mc121/src/main/java/com/viaversion/fabric/mc121/commands/VFCommandHandler.java b/viafabric-mc1211/src/main/java/com/viaversion/fabric/mc1211/commands/VFCommandHandler.java similarity index 98% rename from viafabric-mc121/src/main/java/com/viaversion/fabric/mc121/commands/VFCommandHandler.java rename to viafabric-mc1211/src/main/java/com/viaversion/fabric/mc1211/commands/VFCommandHandler.java index 0d40b53..1f3eef5 100644 --- a/viafabric-mc121/src/main/java/com/viaversion/fabric/mc121/commands/VFCommandHandler.java +++ b/viafabric-mc1211/src/main/java/com/viaversion/fabric/mc1211/commands/VFCommandHandler.java @@ -15,7 +15,7 @@ * You should have received a copy of the GNU General Public License * along with this program. If not, see . */ -package com.viaversion.fabric.mc121.commands; +package com.viaversion.fabric.mc1211.commands; import com.mojang.brigadier.arguments.StringArgumentType; import com.mojang.brigadier.context.CommandContext; diff --git a/viafabric-mc121/src/main/java/com/viaversion/fabric/mc121/gui/ModMenuConfig.java b/viafabric-mc1211/src/main/java/com/viaversion/fabric/mc1211/gui/ModMenuConfig.java similarity index 96% rename from viafabric-mc121/src/main/java/com/viaversion/fabric/mc121/gui/ModMenuConfig.java rename to viafabric-mc1211/src/main/java/com/viaversion/fabric/mc1211/gui/ModMenuConfig.java index 6925797..52bae2d 100644 --- a/viafabric-mc121/src/main/java/com/viaversion/fabric/mc121/gui/ModMenuConfig.java +++ b/viafabric-mc1211/src/main/java/com/viaversion/fabric/mc1211/gui/ModMenuConfig.java @@ -15,7 +15,7 @@ * You should have received a copy of the GNU General Public License * along with this program. If not, see . */ -package com.viaversion.fabric.mc121.gui; +package com.viaversion.fabric.mc1211.gui; import com.google.common.collect.ImmutableMap; import com.terraformersmc.modmenu.api.ConfigScreenFactory; diff --git a/viafabric-mc121/src/main/java/com/viaversion/fabric/mc121/gui/ViaConfigScreen.java b/viafabric-mc1211/src/main/java/com/viaversion/fabric/mc1211/gui/ViaConfigScreen.java similarity index 98% rename from viafabric-mc121/src/main/java/com/viaversion/fabric/mc121/gui/ViaConfigScreen.java rename to viafabric-mc1211/src/main/java/com/viaversion/fabric/mc1211/gui/ViaConfigScreen.java index 0f22561..f61df6a 100644 --- a/viafabric-mc121/src/main/java/com/viaversion/fabric/mc121/gui/ViaConfigScreen.java +++ b/viafabric-mc1211/src/main/java/com/viaversion/fabric/mc1211/gui/ViaConfigScreen.java @@ -15,11 +15,11 @@ * You should have received a copy of the GNU General Public License * along with this program. If not, see . */ -package com.viaversion.fabric.mc121.gui; +package com.viaversion.fabric.mc1211.gui; import com.viaversion.fabric.common.config.AbstractViaConfigScreen; import com.viaversion.fabric.common.util.ProtocolUtils; -import com.viaversion.fabric.mc121.ViaFabric; +import com.viaversion.fabric.mc1211.ViaFabric; import com.viaversion.viaversion.api.protocol.version.ProtocolVersion; import net.fabricmc.api.EnvType; import net.fabricmc.api.Environment; diff --git a/viafabric-mc121/src/main/java/com/viaversion/fabric/mc121/mixin/address/client/MixinAllowedAddressResolver.java b/viafabric-mc1211/src/main/java/com/viaversion/fabric/mc1211/mixin/address/client/MixinAllowedAddressResolver.java similarity index 97% rename from viafabric-mc121/src/main/java/com/viaversion/fabric/mc121/mixin/address/client/MixinAllowedAddressResolver.java rename to viafabric-mc1211/src/main/java/com/viaversion/fabric/mc1211/mixin/address/client/MixinAllowedAddressResolver.java index bd9ac71..e53ee76 100644 --- a/viafabric-mc121/src/main/java/com/viaversion/fabric/mc121/mixin/address/client/MixinAllowedAddressResolver.java +++ b/viafabric-mc1211/src/main/java/com/viaversion/fabric/mc1211/mixin/address/client/MixinAllowedAddressResolver.java @@ -15,7 +15,7 @@ * You should have received a copy of the GNU General Public License * along with this program. If not, see . */ -package com.viaversion.fabric.mc121.mixin.address.client; +package com.viaversion.fabric.mc1211.mixin.address.client; import com.viaversion.fabric.common.AddressParser; import net.minecraft.client.network.Address; diff --git a/viafabric-mc121/src/main/java/com/viaversion/fabric/mc121/mixin/debug/MixinRegistrySyncManager.java b/viafabric-mc1211/src/main/java/com/viaversion/fabric/mc1211/mixin/debug/MixinRegistrySyncManager.java similarity index 94% rename from viafabric-mc121/src/main/java/com/viaversion/fabric/mc121/mixin/debug/MixinRegistrySyncManager.java rename to viafabric-mc1211/src/main/java/com/viaversion/fabric/mc1211/mixin/debug/MixinRegistrySyncManager.java index c5cd5d9..fc2201f 100644 --- a/viafabric-mc121/src/main/java/com/viaversion/fabric/mc121/mixin/debug/MixinRegistrySyncManager.java +++ b/viafabric-mc1211/src/main/java/com/viaversion/fabric/mc1211/mixin/debug/MixinRegistrySyncManager.java @@ -15,9 +15,9 @@ * You should have received a copy of the GNU General Public License * along with this program. If not, see . */ -package com.viaversion.fabric.mc121.mixin.debug; +package com.viaversion.fabric.mc1211.mixin.debug; -import com.viaversion.fabric.mc121.ViaFabric; +import com.viaversion.fabric.mc1211.ViaFabric; import net.fabricmc.fabric.impl.registry.sync.RegistrySyncManager; import net.minecraft.server.MinecraftServer; import net.minecraft.server.network.ServerConfigurationNetworkHandler; diff --git a/viafabric-mc121/src/main/java/com/viaversion/fabric/mc121/mixin/debug/client/MixinClientConnection.java b/viafabric-mc1211/src/main/java/com/viaversion/fabric/mc1211/mixin/debug/client/MixinClientConnection.java similarity index 96% rename from viafabric-mc121/src/main/java/com/viaversion/fabric/mc121/mixin/debug/client/MixinClientConnection.java rename to viafabric-mc1211/src/main/java/com/viaversion/fabric/mc1211/mixin/debug/client/MixinClientConnection.java index bcae086..6dde0e8 100644 --- a/viafabric-mc121/src/main/java/com/viaversion/fabric/mc121/mixin/debug/client/MixinClientConnection.java +++ b/viafabric-mc1211/src/main/java/com/viaversion/fabric/mc1211/mixin/debug/client/MixinClientConnection.java @@ -15,7 +15,7 @@ * You should have received a copy of the GNU General Public License * along with this program. If not, see . */ -package com.viaversion.fabric.mc121.mixin.debug.client; +package com.viaversion.fabric.mc1211.mixin.debug.client; import io.netty.channel.ChannelHandlerContext; import net.minecraft.network.ClientConnection; diff --git a/viafabric-mc121/src/main/java/com/viaversion/fabric/mc121/mixin/debug/client/MixinClientConnectionAccessor.java b/viafabric-mc1211/src/main/java/com/viaversion/fabric/mc1211/mixin/debug/client/MixinClientConnectionAccessor.java similarity index 94% rename from viafabric-mc121/src/main/java/com/viaversion/fabric/mc121/mixin/debug/client/MixinClientConnectionAccessor.java rename to viafabric-mc1211/src/main/java/com/viaversion/fabric/mc1211/mixin/debug/client/MixinClientConnectionAccessor.java index cfd4b5d..1071857 100644 --- a/viafabric-mc121/src/main/java/com/viaversion/fabric/mc121/mixin/debug/client/MixinClientConnectionAccessor.java +++ b/viafabric-mc1211/src/main/java/com/viaversion/fabric/mc1211/mixin/debug/client/MixinClientConnectionAccessor.java @@ -15,7 +15,7 @@ * You should have received a copy of the GNU General Public License * along with this program. If not, see . */ -package com.viaversion.fabric.mc121.mixin.debug.client; +package com.viaversion.fabric.mc1211.mixin.debug.client; import io.netty.channel.Channel; import net.minecraft.network.ClientConnection; diff --git a/viafabric-mc121/src/main/java/com/viaversion/fabric/mc121/mixin/debug/client/MixinDebugHud.java b/viafabric-mc1211/src/main/java/com/viaversion/fabric/mc1211/mixin/debug/client/MixinDebugHud.java similarity index 97% rename from viafabric-mc121/src/main/java/com/viaversion/fabric/mc121/mixin/debug/client/MixinDebugHud.java rename to viafabric-mc1211/src/main/java/com/viaversion/fabric/mc1211/mixin/debug/client/MixinDebugHud.java index b68dbe8..1717e67 100644 --- a/viafabric-mc121/src/main/java/com/viaversion/fabric/mc121/mixin/debug/client/MixinDebugHud.java +++ b/viafabric-mc1211/src/main/java/com/viaversion/fabric/mc1211/mixin/debug/client/MixinDebugHud.java @@ -15,7 +15,7 @@ * You should have received a copy of the GNU General Public License * along with this program. If not, see . */ -package com.viaversion.fabric.mc121.mixin.debug.client; +package com.viaversion.fabric.mc1211.mixin.debug.client; import com.viaversion.fabric.common.handler.CommonTransformer; import com.viaversion.fabric.common.handler.FabricDecodeHandler; diff --git a/viafabric-mc121/src/main/java/com/viaversion/fabric/mc121/mixin/debug/client/MixinRegistrySyncManager.java b/viafabric-mc1211/src/main/java/com/viaversion/fabric/mc1211/mixin/debug/client/MixinRegistrySyncManager.java similarity index 94% rename from viafabric-mc121/src/main/java/com/viaversion/fabric/mc121/mixin/debug/client/MixinRegistrySyncManager.java rename to viafabric-mc1211/src/main/java/com/viaversion/fabric/mc1211/mixin/debug/client/MixinRegistrySyncManager.java index a1af42d..f4f5b89 100644 --- a/viafabric-mc121/src/main/java/com/viaversion/fabric/mc121/mixin/debug/client/MixinRegistrySyncManager.java +++ b/viafabric-mc1211/src/main/java/com/viaversion/fabric/mc1211/mixin/debug/client/MixinRegistrySyncManager.java @@ -15,9 +15,9 @@ * You should have received a copy of the GNU General Public License * along with this program. If not, see . */ -package com.viaversion.fabric.mc121.mixin.debug.client; +package com.viaversion.fabric.mc1211.mixin.debug.client; -import com.viaversion.fabric.mc121.ViaFabric; +import com.viaversion.fabric.mc1211.ViaFabric; import it.unimi.dsi.fastutil.objects.Object2IntMap; import net.fabricmc.fabric.impl.registry.sync.RegistrySyncManager; import net.minecraft.util.Identifier; diff --git a/viafabric-mc121/src/main/java/com/viaversion/fabric/mc121/mixin/gui/client/MixinMultiplayerServerListPingerListener.java b/viafabric-mc1211/src/main/java/com/viaversion/fabric/mc1211/mixin/gui/client/MixinMultiplayerServerListPingerListener.java similarity index 94% rename from viafabric-mc121/src/main/java/com/viaversion/fabric/mc121/mixin/gui/client/MixinMultiplayerServerListPingerListener.java rename to viafabric-mc1211/src/main/java/com/viaversion/fabric/mc1211/mixin/gui/client/MixinMultiplayerServerListPingerListener.java index d50620b..a9bb186 100644 --- a/viafabric-mc121/src/main/java/com/viaversion/fabric/mc121/mixin/gui/client/MixinMultiplayerServerListPingerListener.java +++ b/viafabric-mc1211/src/main/java/com/viaversion/fabric/mc1211/mixin/gui/client/MixinMultiplayerServerListPingerListener.java @@ -15,11 +15,11 @@ * You should have received a copy of the GNU General Public License * along with this program. If not, see . */ -package com.viaversion.fabric.mc121.mixin.gui.client; +package com.viaversion.fabric.mc1211.mixin.gui.client; import com.viaversion.fabric.common.gui.ViaServerInfo; import com.viaversion.fabric.common.handler.FabricDecodeHandler; -import com.viaversion.fabric.mc121.mixin.debug.client.MixinClientConnectionAccessor; +import com.viaversion.fabric.mc1211.mixin.debug.client.MixinClientConnectionAccessor; import net.minecraft.client.network.ServerInfo; import net.minecraft.network.ClientConnection; import net.minecraft.network.listener.ClientQueryPacketListener; diff --git a/viafabric-mc121/src/main/java/com/viaversion/fabric/mc121/mixin/gui/client/MixinServerEntry.java b/viafabric-mc1211/src/main/java/com/viaversion/fabric/mc1211/mixin/gui/client/MixinServerEntry.java similarity index 98% rename from viafabric-mc121/src/main/java/com/viaversion/fabric/mc121/mixin/gui/client/MixinServerEntry.java rename to viafabric-mc1211/src/main/java/com/viaversion/fabric/mc1211/mixin/gui/client/MixinServerEntry.java index cbdb122..bd8edbe 100644 --- a/viafabric-mc121/src/main/java/com/viaversion/fabric/mc121/mixin/gui/client/MixinServerEntry.java +++ b/viafabric-mc1211/src/main/java/com/viaversion/fabric/mc1211/mixin/gui/client/MixinServerEntry.java @@ -15,7 +15,7 @@ * You should have received a copy of the GNU General Public License * along with this program. If not, see . */ -package com.viaversion.fabric.mc121.mixin.gui.client; +package com.viaversion.fabric.mc1211.mixin.gui.client; import com.google.common.collect.Lists; import com.viaversion.fabric.common.gui.ViaServerInfo; diff --git a/viafabric-mc121/src/main/java/com/viaversion/fabric/mc121/mixin/gui/client/MixinServerInfo.java b/viafabric-mc1211/src/main/java/com/viaversion/fabric/mc1211/mixin/gui/client/MixinServerInfo.java similarity index 96% rename from viafabric-mc121/src/main/java/com/viaversion/fabric/mc121/mixin/gui/client/MixinServerInfo.java rename to viafabric-mc1211/src/main/java/com/viaversion/fabric/mc1211/mixin/gui/client/MixinServerInfo.java index 774456c..19bc627 100644 --- a/viafabric-mc121/src/main/java/com/viaversion/fabric/mc121/mixin/gui/client/MixinServerInfo.java +++ b/viafabric-mc1211/src/main/java/com/viaversion/fabric/mc1211/mixin/gui/client/MixinServerInfo.java @@ -15,7 +15,7 @@ * You should have received a copy of the GNU General Public License * along with this program. If not, see . */ -package com.viaversion.fabric.mc121.mixin.gui.client; +package com.viaversion.fabric.mc1211.mixin.gui.client; import com.viaversion.fabric.common.gui.ViaServerInfo; import net.minecraft.client.network.ServerInfo; diff --git a/viafabric-mc121/src/main/java/com/viaversion/fabric/mc121/mixin/pipeline/MixinClientConnection.java b/viafabric-mc1211/src/main/java/com/viaversion/fabric/mc1211/mixin/pipeline/MixinClientConnection.java similarity index 98% rename from viafabric-mc121/src/main/java/com/viaversion/fabric/mc121/mixin/pipeline/MixinClientConnection.java rename to viafabric-mc1211/src/main/java/com/viaversion/fabric/mc1211/mixin/pipeline/MixinClientConnection.java index ce928d5..2850a24 100644 --- a/viafabric-mc121/src/main/java/com/viaversion/fabric/mc121/mixin/pipeline/MixinClientConnection.java +++ b/viafabric-mc1211/src/main/java/com/viaversion/fabric/mc1211/mixin/pipeline/MixinClientConnection.java @@ -15,7 +15,7 @@ * You should have received a copy of the GNU General Public License * along with this program. If not, see . */ -package com.viaversion.fabric.mc121.mixin.pipeline; +package com.viaversion.fabric.mc1211.mixin.pipeline; import com.viaversion.fabric.common.handler.CommonTransformer; import com.viaversion.fabric.common.handler.FabricDecodeHandler; diff --git a/viafabric-mc121/src/main/java/com/viaversion/fabric/mc121/mixin/pipeline/client/MixinClientConnection.java b/viafabric-mc1211/src/main/java/com/viaversion/fabric/mc1211/mixin/pipeline/client/MixinClientConnection.java similarity index 91% rename from viafabric-mc121/src/main/java/com/viaversion/fabric/mc121/mixin/pipeline/client/MixinClientConnection.java rename to viafabric-mc1211/src/main/java/com/viaversion/fabric/mc1211/mixin/pipeline/client/MixinClientConnection.java index 01fc6b1..4ebc528 100644 --- a/viafabric-mc121/src/main/java/com/viaversion/fabric/mc121/mixin/pipeline/client/MixinClientConnection.java +++ b/viafabric-mc1211/src/main/java/com/viaversion/fabric/mc1211/mixin/pipeline/client/MixinClientConnection.java @@ -15,10 +15,10 @@ * You should have received a copy of the GNU General Public License * along with this program. If not, see . */ -package com.viaversion.fabric.mc121.mixin.pipeline.client; +package com.viaversion.fabric.mc1211.mixin.pipeline.client; -import com.viaversion.fabric.mc121.ViaFabric; -import com.viaversion.fabric.mc121.service.ProtocolAutoDetector; +import com.viaversion.fabric.mc1211.ViaFabric; +import com.viaversion.fabric.mc1211.service.ProtocolAutoDetector; import io.netty.channel.ChannelFuture; import net.minecraft.network.ClientConnection; import org.spongepowered.asm.mixin.Mixin; diff --git a/viafabric-mc121/src/main/java/com/viaversion/fabric/mc121/mixin/shutdown/server/MixinMinecraftServer.java b/viafabric-mc1211/src/main/java/com/viaversion/fabric/mc1211/mixin/shutdown/server/MixinMinecraftServer.java similarity index 95% rename from viafabric-mc121/src/main/java/com/viaversion/fabric/mc121/mixin/shutdown/server/MixinMinecraftServer.java rename to viafabric-mc1211/src/main/java/com/viaversion/fabric/mc1211/mixin/shutdown/server/MixinMinecraftServer.java index 123d3dc..21084fe 100644 --- a/viafabric-mc121/src/main/java/com/viaversion/fabric/mc121/mixin/shutdown/server/MixinMinecraftServer.java +++ b/viafabric-mc1211/src/main/java/com/viaversion/fabric/mc1211/mixin/shutdown/server/MixinMinecraftServer.java @@ -15,7 +15,7 @@ * You should have received a copy of the GNU General Public License * along with this program. If not, see . */ -package com.viaversion.fabric.mc121.mixin.shutdown.server; +package com.viaversion.fabric.mc1211.mixin.shutdown.server; import com.viaversion.viaversion.ViaManagerImpl; import com.viaversion.viaversion.api.Via; diff --git a/viafabric-mc121/src/main/java/com/viaversion/fabric/mc121/platform/FabricNativeVersionProvider.java b/viafabric-mc1211/src/main/java/com/viaversion/fabric/mc1211/platform/FabricNativeVersionProvider.java similarity index 95% rename from viafabric-mc121/src/main/java/com/viaversion/fabric/mc121/platform/FabricNativeVersionProvider.java rename to viafabric-mc1211/src/main/java/com/viaversion/fabric/mc1211/platform/FabricNativeVersionProvider.java index 631a56b..3ae7259 100644 --- a/viafabric-mc121/src/main/java/com/viaversion/fabric/mc121/platform/FabricNativeVersionProvider.java +++ b/viafabric-mc1211/src/main/java/com/viaversion/fabric/mc1211/platform/FabricNativeVersionProvider.java @@ -15,7 +15,7 @@ * You should have received a copy of the GNU General Public License * along with this program. If not, see . */ -package com.viaversion.fabric.mc121.platform; +package com.viaversion.fabric.mc1211.platform; import com.viaversion.fabric.common.platform.NativeVersionProvider; import net.minecraft.SharedConstants; diff --git a/viafabric-mc121/src/main/java/com/viaversion/fabric/mc121/platform/FabricPlatform.java b/viafabric-mc1211/src/main/java/com/viaversion/fabric/mc1211/platform/FabricPlatform.java similarity index 96% rename from viafabric-mc121/src/main/java/com/viaversion/fabric/mc121/platform/FabricPlatform.java rename to viafabric-mc1211/src/main/java/com/viaversion/fabric/mc1211/platform/FabricPlatform.java index b069451..1260010 100644 --- a/viafabric-mc121/src/main/java/com/viaversion/fabric/mc121/platform/FabricPlatform.java +++ b/viafabric-mc1211/src/main/java/com/viaversion/fabric/mc1211/platform/FabricPlatform.java @@ -15,14 +15,14 @@ * You should have received a copy of the GNU General Public License * along with this program. If not, see . */ -package com.viaversion.fabric.mc121.platform; +package com.viaversion.fabric.mc1211.platform; import com.viaversion.fabric.common.commands.UserCommandSender; import com.viaversion.fabric.common.platform.NativeVersionProvider; import com.viaversion.fabric.common.provider.AbstractFabricPlatform; import com.viaversion.fabric.common.util.FutureTaskId; -import com.viaversion.fabric.mc121.ViaFabric; -import com.viaversion.fabric.mc121.commands.NMSCommandSender; +import com.viaversion.fabric.mc1211.ViaFabric; +import com.viaversion.fabric.mc1211.commands.NMSCommandSender; import com.viaversion.viaversion.api.Via; import com.viaversion.viaversion.api.command.ViaCommandSender; import io.netty.channel.EventLoop; diff --git a/viafabric-mc121/src/main/java/com/viaversion/fabric/mc121/platform/VFLoader.java b/viafabric-mc1211/src/main/java/com/viaversion/fabric/mc1211/platform/VFLoader.java similarity index 87% rename from viafabric-mc121/src/main/java/com/viaversion/fabric/mc121/platform/VFLoader.java rename to viafabric-mc1211/src/main/java/com/viaversion/fabric/mc1211/platform/VFLoader.java index deadc05..bee67f8 100644 --- a/viafabric-mc121/src/main/java/com/viaversion/fabric/mc121/platform/VFLoader.java +++ b/viafabric-mc1211/src/main/java/com/viaversion/fabric/mc1211/platform/VFLoader.java @@ -15,12 +15,12 @@ * You should have received a copy of the GNU General Public License * along with this program. If not, see . */ -package com.viaversion.fabric.mc121.platform; +package com.viaversion.fabric.mc1211.platform; -import com.viaversion.fabric.mc121.providers.FabricVersionProvider; -import com.viaversion.fabric.mc121.providers.VFHandItemProvider; -import com.viaversion.fabric.mc121.providers.VFPlayerAbilitiesProvider; -import com.viaversion.fabric.mc121.providers.VFPlayerLookTargetProvider; +import com.viaversion.fabric.mc1211.providers.FabricVersionProvider; +import com.viaversion.fabric.mc1211.providers.VFHandItemProvider; +import com.viaversion.fabric.mc1211.providers.VFPlayerAbilitiesProvider; +import com.viaversion.fabric.mc1211.providers.VFPlayerLookTargetProvider; import com.viaversion.viaversion.api.Via; import com.viaversion.viaversion.api.platform.ViaPlatformLoader; import com.viaversion.viaversion.api.protocol.version.VersionProvider; diff --git a/viafabric-mc121/src/main/java/com/viaversion/fabric/mc121/providers/FabricVersionProvider.java b/viafabric-mc1211/src/main/java/com/viaversion/fabric/mc1211/providers/FabricVersionProvider.java similarity index 91% rename from viafabric-mc121/src/main/java/com/viaversion/fabric/mc121/providers/FabricVersionProvider.java rename to viafabric-mc1211/src/main/java/com/viaversion/fabric/mc1211/providers/FabricVersionProvider.java index dbb0753..7f8302e 100644 --- a/viafabric-mc121/src/main/java/com/viaversion/fabric/mc121/providers/FabricVersionProvider.java +++ b/viafabric-mc1211/src/main/java/com/viaversion/fabric/mc1211/providers/FabricVersionProvider.java @@ -15,12 +15,12 @@ * You should have received a copy of the GNU General Public License * along with this program. If not, see . */ -package com.viaversion.fabric.mc121.providers; +package com.viaversion.fabric.mc1211.providers; import com.viaversion.fabric.common.config.VFConfig; import com.viaversion.fabric.common.provider.AbstractFabricVersionProvider; -import com.viaversion.fabric.mc121.ViaFabric; -import com.viaversion.fabric.mc121.service.ProtocolAutoDetector; +import com.viaversion.fabric.mc1211.ViaFabric; +import com.viaversion.fabric.mc1211.service.ProtocolAutoDetector; import com.viaversion.viaversion.api.protocol.version.ProtocolVersion; import io.netty.channel.ChannelPipeline; import net.minecraft.network.ClientConnection; diff --git a/viafabric-mc121/src/main/java/com/viaversion/fabric/mc121/providers/VFHandItemProvider.java b/viafabric-mc1211/src/main/java/com/viaversion/fabric/mc1211/providers/VFHandItemProvider.java similarity index 96% rename from viafabric-mc121/src/main/java/com/viaversion/fabric/mc121/providers/VFHandItemProvider.java rename to viafabric-mc1211/src/main/java/com/viaversion/fabric/mc1211/providers/VFHandItemProvider.java index 31a707e..40b4092 100644 --- a/viafabric-mc121/src/main/java/com/viaversion/fabric/mc121/providers/VFHandItemProvider.java +++ b/viafabric-mc1211/src/main/java/com/viaversion/fabric/mc1211/providers/VFHandItemProvider.java @@ -15,10 +15,10 @@ * You should have received a copy of the GNU General Public License * along with this program. If not, see . */ -package com.viaversion.fabric.mc121.providers; +package com.viaversion.fabric.mc1211.providers; import com.viaversion.fabric.common.util.RemappingUtil; -import com.viaversion.fabric.mc121.ViaFabric; +import com.viaversion.fabric.mc1211.ViaFabric; import com.viaversion.viaversion.api.connection.UserConnection; import com.viaversion.viaversion.api.minecraft.item.DataItem; import com.viaversion.viaversion.api.minecraft.item.Item; diff --git a/viafabric-mc121/src/main/java/com/viaversion/fabric/mc121/providers/VFPlayerAbilitiesProvider.java b/viafabric-mc1211/src/main/java/com/viaversion/fabric/mc1211/providers/VFPlayerAbilitiesProvider.java similarity index 97% rename from viafabric-mc121/src/main/java/com/viaversion/fabric/mc121/providers/VFPlayerAbilitiesProvider.java rename to viafabric-mc1211/src/main/java/com/viaversion/fabric/mc1211/providers/VFPlayerAbilitiesProvider.java index e05a863..cdf996b 100644 --- a/viafabric-mc121/src/main/java/com/viaversion/fabric/mc121/providers/VFPlayerAbilitiesProvider.java +++ b/viafabric-mc1211/src/main/java/com/viaversion/fabric/mc1211/providers/VFPlayerAbilitiesProvider.java @@ -15,7 +15,7 @@ * You should have received a copy of the GNU General Public License * along with this program. If not, see . */ -package com.viaversion.fabric.mc121.providers; +package com.viaversion.fabric.mc1211.providers; import com.viaversion.viaversion.api.connection.UserConnection; import com.viaversion.viaversion.protocols.v1_15_2to1_16.provider.PlayerAbilitiesProvider; diff --git a/viafabric-mc121/src/main/java/com/viaversion/fabric/mc121/providers/VFPlayerLookTargetProvider.java b/viafabric-mc1211/src/main/java/com/viaversion/fabric/mc1211/providers/VFPlayerLookTargetProvider.java similarity index 97% rename from viafabric-mc121/src/main/java/com/viaversion/fabric/mc121/providers/VFPlayerLookTargetProvider.java rename to viafabric-mc1211/src/main/java/com/viaversion/fabric/mc1211/providers/VFPlayerLookTargetProvider.java index f8e5464..f2ff7bf 100644 --- a/viafabric-mc121/src/main/java/com/viaversion/fabric/mc121/providers/VFPlayerLookTargetProvider.java +++ b/viafabric-mc1211/src/main/java/com/viaversion/fabric/mc1211/providers/VFPlayerLookTargetProvider.java @@ -15,7 +15,7 @@ * You should have received a copy of the GNU General Public License * along with this program. If not, see . */ -package com.viaversion.fabric.mc121.providers; +package com.viaversion.fabric.mc1211.providers; import com.viaversion.viaversion.api.connection.UserConnection; import com.viaversion.viaversion.api.minecraft.BlockPosition; diff --git a/viafabric-mc121/src/main/java/com/viaversion/fabric/mc121/service/ProtocolAutoDetector.java b/viafabric-mc1211/src/main/java/com/viaversion/fabric/mc1211/service/ProtocolAutoDetector.java similarity index 98% rename from viafabric-mc121/src/main/java/com/viaversion/fabric/mc121/service/ProtocolAutoDetector.java rename to viafabric-mc1211/src/main/java/com/viaversion/fabric/mc1211/service/ProtocolAutoDetector.java index 51ed734..717bcec 100644 --- a/viafabric-mc121/src/main/java/com/viaversion/fabric/mc121/service/ProtocolAutoDetector.java +++ b/viafabric-mc1211/src/main/java/com/viaversion/fabric/mc1211/service/ProtocolAutoDetector.java @@ -15,13 +15,13 @@ * You should have received a copy of the GNU General Public License * along with this program. If not, see . */ -package com.viaversion.fabric.mc121.service; +package com.viaversion.fabric.mc1211.service; import com.google.common.cache.CacheBuilder; import com.google.common.cache.CacheLoader; import com.google.common.cache.LoadingCache; import com.viaversion.fabric.common.AddressParser; -import com.viaversion.fabric.mc121.ViaFabric; +import com.viaversion.fabric.mc1211.ViaFabric; import com.viaversion.viaversion.api.protocol.version.ProtocolVersion; import io.netty.bootstrap.Bootstrap; import io.netty.channel.*; diff --git a/viafabric-mc121/src/main/resources/fabric.mod.json b/viafabric-mc1211/src/main/resources/fabric.mod.json similarity index 77% rename from viafabric-mc121/src/main/resources/fabric.mod.json rename to viafabric-mc1211/src/main/resources/fabric.mod.json index bd78e7f..b9f6b6d 100644 --- a/viafabric-mc121/src/main/resources/fabric.mod.json +++ b/viafabric-mc1211/src/main/resources/fabric.mod.json @@ -1,7 +1,7 @@ { "schemaVersion": 1, - "id": "viafabric-mc121", - "name": "ViaFabric for 1.21", + "id": "viafabric-mc1211", + "name": "ViaFabric for 1.21.1", "version": "${version}", "description": "${description}", "license": "GPL-3.0", @@ -47,13 +47,13 @@ ], "entrypoints": { "main": [ - "com.viaversion.fabric.mc121.ViaFabric" + "com.viaversion.fabric.mc1211.ViaFabric" ], "client": [ - "com.viaversion.fabric.mc121.ViaFabricClient" + "com.viaversion.fabric.mc1211.ViaFabricClient" ], "modmenu": [ - "com.viaversion.fabric.mc121.gui.ModMenuConfig" + "com.viaversion.fabric.mc1211.gui.ModMenuConfig" ] }, "depends": { @@ -68,11 +68,11 @@ "replaymod": "<=1.21-2.6.15" }, "mixins": [ - "mixins.viafabric121.address.json", - "mixins.viafabric121.gui.json", - "mixins.viafabric121.debug.json", - "mixins.viafabric121.pipeline.json", - "mixins.viafabric121.shutdown.json" + "mixins.viafabric1211.address.json", + "mixins.viafabric1211.gui.json", + "mixins.viafabric1211.debug.json", + "mixins.viafabric1211.pipeline.json", + "mixins.viafabric1211.shutdown.json" ], "custom": { "modmenu": { diff --git a/viafabric-mc121/src/main/resources/mixins.viafabric121.address.json b/viafabric-mc1211/src/main/resources/mixins.viafabric1211.address.json similarity index 75% rename from viafabric-mc121/src/main/resources/mixins.viafabric121.address.json rename to viafabric-mc1211/src/main/resources/mixins.viafabric1211.address.json index 531b0a5..36e5195 100644 --- a/viafabric-mc121/src/main/resources/mixins.viafabric121.address.json +++ b/viafabric-mc1211/src/main/resources/mixins.viafabric1211.address.json @@ -1,7 +1,7 @@ { "required": true, "compatibilityLevel": "JAVA_21", - "package": "com.viaversion.fabric.mc121.mixin.address", + "package": "com.viaversion.fabric.mc1211.mixin.address", "mixins": [ ], "client": [ diff --git a/viafabric-mc121/src/main/resources/mixins.viafabric121.debug.json b/viafabric-mc1211/src/main/resources/mixins.viafabric1211.debug.json similarity index 84% rename from viafabric-mc121/src/main/resources/mixins.viafabric121.debug.json rename to viafabric-mc1211/src/main/resources/mixins.viafabric1211.debug.json index a6b55b7..cf6a479 100644 --- a/viafabric-mc121/src/main/resources/mixins.viafabric121.debug.json +++ b/viafabric-mc1211/src/main/resources/mixins.viafabric1211.debug.json @@ -1,7 +1,7 @@ { "required": true, "compatibilityLevel": "JAVA_21", - "package": "com.viaversion.fabric.mc121.mixin.debug", + "package": "com.viaversion.fabric.mc1211.mixin.debug", "mixins": [ "MixinRegistrySyncManager" ], diff --git a/viafabric-mc121/src/main/resources/mixins.viafabric121.gui.json b/viafabric-mc1211/src/main/resources/mixins.viafabric1211.gui.json similarity index 82% rename from viafabric-mc121/src/main/resources/mixins.viafabric121.gui.json rename to viafabric-mc1211/src/main/resources/mixins.viafabric1211.gui.json index 04ad0a7..6aa6190 100644 --- a/viafabric-mc121/src/main/resources/mixins.viafabric121.gui.json +++ b/viafabric-mc1211/src/main/resources/mixins.viafabric1211.gui.json @@ -1,7 +1,7 @@ { "required": true, "compatibilityLevel": "JAVA_21", - "package": "com.viaversion.fabric.mc121.mixin.gui", + "package": "com.viaversion.fabric.mc1211.mixin.gui", "mixins": [ ], "client": [ diff --git a/viafabric-mc121/src/main/resources/mixins.viafabric121.pipeline.json b/viafabric-mc1211/src/main/resources/mixins.viafabric1211.pipeline.json similarity index 77% rename from viafabric-mc121/src/main/resources/mixins.viafabric121.pipeline.json rename to viafabric-mc1211/src/main/resources/mixins.viafabric1211.pipeline.json index 6fc1c87..be6a2f6 100644 --- a/viafabric-mc121/src/main/resources/mixins.viafabric121.pipeline.json +++ b/viafabric-mc1211/src/main/resources/mixins.viafabric1211.pipeline.json @@ -1,7 +1,7 @@ { "required": true, "compatibilityLevel": "JAVA_21", - "package": "com.viaversion.fabric.mc121.mixin.pipeline", + "package": "com.viaversion.fabric.mc1211.mixin.pipeline", "mixins": [ "MixinClientConnection" ], diff --git a/viafabric-mc121/src/main/resources/mixins.viafabric121.shutdown.json b/viafabric-mc1211/src/main/resources/mixins.viafabric1211.shutdown.json similarity index 74% rename from viafabric-mc121/src/main/resources/mixins.viafabric121.shutdown.json rename to viafabric-mc1211/src/main/resources/mixins.viafabric1211.shutdown.json index d32e078..c7890e0 100644 --- a/viafabric-mc121/src/main/resources/mixins.viafabric121.shutdown.json +++ b/viafabric-mc1211/src/main/resources/mixins.viafabric1211.shutdown.json @@ -1,7 +1,7 @@ { "required": true, "compatibilityLevel": "JAVA_21", - "package": "com.viaversion.fabric.mc121.mixin.shutdown", + "package": "com.viaversion.fabric.mc1211.mixin.shutdown", "mixins": [ ], "server": [