diff --git a/build.gradle b/build.gradle index 89a8273cc..24d9c5827 100644 --- a/build.gradle +++ b/build.gradle @@ -3,7 +3,7 @@ plugins { id 'com.github.johnrengelman.shadow' version '2.0.4' } -group 'io.minimum.minecraft' +group 'com.velocitypowered' version '1.0-SNAPSHOT' sourceCompatibility = 1.8 diff --git a/src/main/java/io/minimum/minecraft/velocity/Velocity.java b/src/main/java/com/velocitypowered/proxy/Velocity.java similarity index 75% rename from src/main/java/io/minimum/minecraft/velocity/Velocity.java rename to src/main/java/com/velocitypowered/proxy/Velocity.java index b6e87b456..6e3330b31 100644 --- a/src/main/java/io/minimum/minecraft/velocity/Velocity.java +++ b/src/main/java/com/velocitypowered/proxy/Velocity.java @@ -1,6 +1,6 @@ -package io.minimum.minecraft.velocity; +package com.velocitypowered.proxy; -import io.minimum.minecraft.velocity.proxy.VelocityServer; +import com.velocitypowered.proxy.connection.VelocityServer; public class Velocity { public static void main(String... args) throws InterruptedException { diff --git a/src/main/java/io/minimum/minecraft/velocity/proxy/MinecraftConnection.java b/src/main/java/com/velocitypowered/proxy/connection/MinecraftConnection.java similarity index 88% rename from src/main/java/io/minimum/minecraft/velocity/proxy/MinecraftConnection.java rename to src/main/java/com/velocitypowered/proxy/connection/MinecraftConnection.java index 868bae0c1..3af95373e 100644 --- a/src/main/java/io/minimum/minecraft/velocity/proxy/MinecraftConnection.java +++ b/src/main/java/com/velocitypowered/proxy/connection/MinecraftConnection.java @@ -1,14 +1,14 @@ -package io.minimum.minecraft.velocity.proxy; +package com.velocitypowered.proxy.connection; import com.google.common.base.Preconditions; -import io.minimum.minecraft.velocity.protocol.PacketWrapper; -import io.minimum.minecraft.velocity.protocol.StateRegistry; -import io.minimum.minecraft.velocity.protocol.compression.JavaVelocityCompressor; -import io.minimum.minecraft.velocity.protocol.netty.MinecraftCompressDecoder; -import io.minimum.minecraft.velocity.protocol.netty.MinecraftCompressEncoder; -import io.minimum.minecraft.velocity.protocol.netty.MinecraftDecoder; -import io.minimum.minecraft.velocity.protocol.netty.MinecraftEncoder; -import io.minimum.minecraft.velocity.protocol.packets.SetCompression; +import com.velocitypowered.proxy.protocol.PacketWrapper; +import com.velocitypowered.proxy.protocol.StateRegistry; +import com.velocitypowered.proxy.protocol.compression.JavaVelocityCompressor; +import com.velocitypowered.proxy.protocol.netty.MinecraftCompressDecoder; +import com.velocitypowered.proxy.protocol.netty.MinecraftCompressEncoder; +import com.velocitypowered.proxy.protocol.netty.MinecraftDecoder; +import com.velocitypowered.proxy.protocol.netty.MinecraftEncoder; +import com.velocitypowered.proxy.protocol.packets.SetCompression; import io.netty.channel.Channel; import io.netty.channel.ChannelFutureListener; import io.netty.channel.ChannelHandlerContext; diff --git a/src/main/java/io/minimum/minecraft/velocity/proxy/MinecraftSessionHandler.java b/src/main/java/com/velocitypowered/proxy/connection/MinecraftSessionHandler.java similarity index 77% rename from src/main/java/io/minimum/minecraft/velocity/proxy/MinecraftSessionHandler.java rename to src/main/java/com/velocitypowered/proxy/connection/MinecraftSessionHandler.java index 34ebad8d0..976c62b2f 100644 --- a/src/main/java/io/minimum/minecraft/velocity/proxy/MinecraftSessionHandler.java +++ b/src/main/java/com/velocitypowered/proxy/connection/MinecraftSessionHandler.java @@ -1,6 +1,6 @@ -package io.minimum.minecraft.velocity.proxy; +package com.velocitypowered.proxy.connection; -import io.minimum.minecraft.velocity.protocol.MinecraftPacket; +import com.velocitypowered.proxy.protocol.MinecraftPacket; import io.netty.buffer.ByteBuf; public interface MinecraftSessionHandler { diff --git a/src/main/java/io/minimum/minecraft/velocity/proxy/VelocityServer.java b/src/main/java/com/velocitypowered/proxy/connection/VelocityServer.java similarity index 89% rename from src/main/java/io/minimum/minecraft/velocity/proxy/VelocityServer.java rename to src/main/java/com/velocitypowered/proxy/connection/VelocityServer.java index ff675fa80..f898cc814 100644 --- a/src/main/java/io/minimum/minecraft/velocity/proxy/VelocityServer.java +++ b/src/main/java/com/velocitypowered/proxy/connection/VelocityServer.java @@ -1,8 +1,8 @@ -package io.minimum.minecraft.velocity.proxy; +package com.velocitypowered.proxy.connection; -import io.minimum.minecraft.velocity.protocol.StateRegistry; -import io.minimum.minecraft.velocity.protocol.netty.*; -import io.minimum.minecraft.velocity.proxy.client.HandshakeSessionHandler; +import com.velocitypowered.proxy.protocol.StateRegistry; +import com.velocitypowered.proxy.protocol.netty.MinecraftPipelineUtils; +import com.velocitypowered.proxy.connection.client.HandshakeSessionHandler; import io.netty.bootstrap.Bootstrap; import io.netty.bootstrap.ServerBootstrap; import io.netty.channel.*; diff --git a/src/main/java/io/minimum/minecraft/velocity/proxy/backend/LoginSessionHandler.java b/src/main/java/com/velocitypowered/proxy/connection/backend/LoginSessionHandler.java similarity index 67% rename from src/main/java/io/minimum/minecraft/velocity/proxy/backend/LoginSessionHandler.java rename to src/main/java/com/velocitypowered/proxy/connection/backend/LoginSessionHandler.java index c58ee3b49..68204f1ed 100644 --- a/src/main/java/io/minimum/minecraft/velocity/proxy/backend/LoginSessionHandler.java +++ b/src/main/java/com/velocitypowered/proxy/connection/backend/LoginSessionHandler.java @@ -1,12 +1,11 @@ -package io.minimum.minecraft.velocity.proxy.backend; +package com.velocitypowered.proxy.connection.backend; -import io.minimum.minecraft.velocity.protocol.MinecraftPacket; -import io.minimum.minecraft.velocity.protocol.StateRegistry; -import io.minimum.minecraft.velocity.protocol.netty.MinecraftPipelineUtils; -import io.minimum.minecraft.velocity.protocol.packets.Disconnect; -import io.minimum.minecraft.velocity.protocol.packets.ServerLoginSuccess; -import io.minimum.minecraft.velocity.protocol.packets.SetCompression; -import io.minimum.minecraft.velocity.proxy.MinecraftSessionHandler; +import com.velocitypowered.proxy.protocol.MinecraftPacket; +import com.velocitypowered.proxy.protocol.StateRegistry; +import com.velocitypowered.proxy.protocol.packets.Disconnect; +import com.velocitypowered.proxy.protocol.packets.ServerLoginSuccess; +import com.velocitypowered.proxy.connection.MinecraftSessionHandler; +import com.velocitypowered.proxy.protocol.packets.SetCompression; public class LoginSessionHandler implements MinecraftSessionHandler { private final ServerConnection connection; @@ -34,7 +33,7 @@ public class LoginSessionHandler implements MinecraftSessionHandler { System.out.println("Player connected to remote server"); connection.getChannel().setState(StateRegistry.PLAY); connection.getProxyPlayer().setConnectedServer(connection); - connection.getProxyPlayer().getConnection().setSessionHandler(new io.minimum.minecraft.velocity.proxy.client.PlaySessionHandler(connection.getProxyPlayer())); + connection.getProxyPlayer().getConnection().setSessionHandler(new com.velocitypowered.proxy.connection.client.PlaySessionHandler(connection.getProxyPlayer())); connection.getChannel().setSessionHandler(new PlaySessionHandler(connection)); } } diff --git a/src/main/java/io/minimum/minecraft/velocity/proxy/backend/PlaySessionHandler.java b/src/main/java/com/velocitypowered/proxy/connection/backend/PlaySessionHandler.java similarity index 84% rename from src/main/java/io/minimum/minecraft/velocity/proxy/backend/PlaySessionHandler.java rename to src/main/java/com/velocitypowered/proxy/connection/backend/PlaySessionHandler.java index d5ae7151e..3f1155234 100644 --- a/src/main/java/io/minimum/minecraft/velocity/proxy/backend/PlaySessionHandler.java +++ b/src/main/java/com/velocitypowered/proxy/connection/backend/PlaySessionHandler.java @@ -1,9 +1,9 @@ -package io.minimum.minecraft.velocity.proxy.backend; +package com.velocitypowered.proxy.connection.backend; -import io.minimum.minecraft.velocity.protocol.MinecraftPacket; -import io.minimum.minecraft.velocity.protocol.packets.Disconnect; -import io.minimum.minecraft.velocity.protocol.packets.Ping; -import io.minimum.minecraft.velocity.proxy.MinecraftSessionHandler; +import com.velocitypowered.proxy.protocol.MinecraftPacket; +import com.velocitypowered.proxy.protocol.packets.Disconnect; +import com.velocitypowered.proxy.protocol.packets.Ping; +import com.velocitypowered.proxy.connection.MinecraftSessionHandler; import io.netty.buffer.ByteBuf; import net.kyori.text.TextComponent; import net.kyori.text.format.TextColor; diff --git a/src/main/java/io/minimum/minecraft/velocity/proxy/backend/ServerConnection.java b/src/main/java/com/velocitypowered/proxy/connection/backend/ServerConnection.java similarity index 83% rename from src/main/java/io/minimum/minecraft/velocity/proxy/backend/ServerConnection.java rename to src/main/java/com/velocitypowered/proxy/connection/backend/ServerConnection.java index 35d9731b4..70cc5a38f 100644 --- a/src/main/java/io/minimum/minecraft/velocity/proxy/backend/ServerConnection.java +++ b/src/main/java/com/velocitypowered/proxy/connection/backend/ServerConnection.java @@ -1,12 +1,13 @@ -package io.minimum.minecraft.velocity.proxy.backend; +package com.velocitypowered.proxy.connection.backend; -import io.minimum.minecraft.velocity.protocol.StateRegistry; -import io.minimum.minecraft.velocity.data.ServerInfo; -import io.minimum.minecraft.velocity.protocol.netty.MinecraftPipelineUtils; -import io.minimum.minecraft.velocity.protocol.packets.*; -import io.minimum.minecraft.velocity.proxy.MinecraftConnection; -import io.minimum.minecraft.velocity.proxy.VelocityServer; -import io.minimum.minecraft.velocity.proxy.client.ConnectedPlayer; +import com.velocitypowered.proxy.protocol.packets.Handshake; +import com.velocitypowered.proxy.protocol.packets.ServerLogin; +import com.velocitypowered.proxy.connection.MinecraftConnection; +import com.velocitypowered.proxy.protocol.StateRegistry; +import com.velocitypowered.proxy.data.ServerInfo; +import com.velocitypowered.proxy.protocol.netty.MinecraftPipelineUtils; +import com.velocitypowered.proxy.connection.VelocityServer; +import com.velocitypowered.proxy.connection.client.ConnectedPlayer; import io.netty.channel.*; public class ServerConnection { diff --git a/src/main/java/io/minimum/minecraft/velocity/proxy/client/ConnectedPlayer.java b/src/main/java/com/velocitypowered/proxy/connection/client/ConnectedPlayer.java similarity index 85% rename from src/main/java/io/minimum/minecraft/velocity/proxy/client/ConnectedPlayer.java rename to src/main/java/com/velocitypowered/proxy/connection/client/ConnectedPlayer.java index bf8e0cee2..6f1b0de36 100644 --- a/src/main/java/io/minimum/minecraft/velocity/proxy/client/ConnectedPlayer.java +++ b/src/main/java/com/velocitypowered/proxy/connection/client/ConnectedPlayer.java @@ -1,11 +1,11 @@ -package io.minimum.minecraft.velocity.proxy.client; +package com.velocitypowered.proxy.connection.client; -import io.minimum.minecraft.velocity.data.ServerInfo; -import io.minimum.minecraft.velocity.protocol.packets.Chat; -import io.minimum.minecraft.velocity.protocol.packets.Disconnect; -import io.minimum.minecraft.velocity.proxy.MinecraftConnection; -import io.minimum.minecraft.velocity.proxy.backend.ServerConnection; -import io.minimum.minecraft.velocity.util.ThrowableUtils; +import com.velocitypowered.proxy.protocol.packets.Chat; +import com.velocitypowered.proxy.connection.MinecraftConnection; +import com.velocitypowered.proxy.connection.backend.ServerConnection; +import com.velocitypowered.proxy.util.ThrowableUtils; +import com.velocitypowered.proxy.data.ServerInfo; +import com.velocitypowered.proxy.protocol.packets.Disconnect; import net.kyori.text.TextComponent; import net.kyori.text.format.TextColor; import net.kyori.text.serializer.ComponentSerializers; diff --git a/src/main/java/io/minimum/minecraft/velocity/proxy/client/HandshakeSessionHandler.java b/src/main/java/com/velocitypowered/proxy/connection/client/HandshakeSessionHandler.java similarity index 77% rename from src/main/java/io/minimum/minecraft/velocity/proxy/client/HandshakeSessionHandler.java rename to src/main/java/com/velocitypowered/proxy/connection/client/HandshakeSessionHandler.java index f538db34c..6a2852505 100644 --- a/src/main/java/io/minimum/minecraft/velocity/proxy/client/HandshakeSessionHandler.java +++ b/src/main/java/com/velocitypowered/proxy/connection/client/HandshakeSessionHandler.java @@ -1,11 +1,11 @@ -package io.minimum.minecraft.velocity.proxy.client; +package com.velocitypowered.proxy.connection.client; import com.google.common.base.Preconditions; -import io.minimum.minecraft.velocity.protocol.MinecraftPacket; -import io.minimum.minecraft.velocity.protocol.StateRegistry; -import io.minimum.minecraft.velocity.protocol.packets.Handshake; -import io.minimum.minecraft.velocity.proxy.MinecraftConnection; -import io.minimum.minecraft.velocity.proxy.MinecraftSessionHandler; +import com.velocitypowered.proxy.protocol.MinecraftPacket; +import com.velocitypowered.proxy.protocol.StateRegistry; +import com.velocitypowered.proxy.protocol.packets.Handshake; +import com.velocitypowered.proxy.connection.MinecraftConnection; +import com.velocitypowered.proxy.connection.MinecraftSessionHandler; public class HandshakeSessionHandler implements MinecraftSessionHandler { private final MinecraftConnection connection; diff --git a/src/main/java/io/minimum/minecraft/velocity/proxy/client/InitialConnectSessionHandler.java b/src/main/java/com/velocitypowered/proxy/connection/client/InitialConnectSessionHandler.java similarity index 72% rename from src/main/java/io/minimum/minecraft/velocity/proxy/client/InitialConnectSessionHandler.java rename to src/main/java/com/velocitypowered/proxy/connection/client/InitialConnectSessionHandler.java index 9a2ba4634..26a13c6a5 100644 --- a/src/main/java/io/minimum/minecraft/velocity/proxy/client/InitialConnectSessionHandler.java +++ b/src/main/java/com/velocitypowered/proxy/connection/client/InitialConnectSessionHandler.java @@ -1,7 +1,7 @@ -package io.minimum.minecraft.velocity.proxy.client; +package com.velocitypowered.proxy.connection.client; -import io.minimum.minecraft.velocity.protocol.MinecraftPacket; -import io.minimum.minecraft.velocity.proxy.MinecraftSessionHandler; +import com.velocitypowered.proxy.protocol.MinecraftPacket; +import com.velocitypowered.proxy.connection.MinecraftSessionHandler; public class InitialConnectSessionHandler implements MinecraftSessionHandler { private final ConnectedPlayer player; diff --git a/src/main/java/io/minimum/minecraft/velocity/proxy/client/LoginSessionHandler.java b/src/main/java/com/velocitypowered/proxy/connection/client/LoginSessionHandler.java similarity index 72% rename from src/main/java/io/minimum/minecraft/velocity/proxy/client/LoginSessionHandler.java rename to src/main/java/com/velocitypowered/proxy/connection/client/LoginSessionHandler.java index 368d64a4d..76b4fa0af 100644 --- a/src/main/java/io/minimum/minecraft/velocity/proxy/client/LoginSessionHandler.java +++ b/src/main/java/com/velocitypowered/proxy/connection/client/LoginSessionHandler.java @@ -1,13 +1,15 @@ -package io.minimum.minecraft.velocity.proxy.client; +package com.velocitypowered.proxy.connection.client; import com.google.common.base.Preconditions; -import io.minimum.minecraft.velocity.data.ServerInfo; -import io.minimum.minecraft.velocity.protocol.MinecraftPacket; -import io.minimum.minecraft.velocity.protocol.StateRegistry; -import io.minimum.minecraft.velocity.protocol.packets.ServerLogin; -import io.minimum.minecraft.velocity.protocol.packets.ServerLoginSuccess; -import io.minimum.minecraft.velocity.proxy.*; -import io.minimum.minecraft.velocity.proxy.backend.ServerConnection; +import com.velocitypowered.proxy.protocol.MinecraftPacket; +import com.velocitypowered.proxy.protocol.StateRegistry; +import com.velocitypowered.proxy.protocol.packets.ServerLogin; +import com.velocitypowered.proxy.protocol.packets.ServerLoginSuccess; +import com.velocitypowered.proxy.connection.MinecraftConnection; +import com.velocitypowered.proxy.connection.MinecraftSessionHandler; +import com.velocitypowered.proxy.connection.VelocityServer; +import com.velocitypowered.proxy.connection.backend.ServerConnection; +import com.velocitypowered.proxy.data.ServerInfo; import java.net.InetSocketAddress; import java.nio.charset.StandardCharsets; diff --git a/src/main/java/io/minimum/minecraft/velocity/proxy/client/PlaySessionHandler.java b/src/main/java/com/velocitypowered/proxy/connection/client/PlaySessionHandler.java similarity index 73% rename from src/main/java/io/minimum/minecraft/velocity/proxy/client/PlaySessionHandler.java rename to src/main/java/com/velocitypowered/proxy/connection/client/PlaySessionHandler.java index 5c8f04ca1..ce5aec44f 100644 --- a/src/main/java/io/minimum/minecraft/velocity/proxy/client/PlaySessionHandler.java +++ b/src/main/java/com/velocitypowered/proxy/connection/client/PlaySessionHandler.java @@ -1,9 +1,8 @@ -package io.minimum.minecraft.velocity.proxy.client; +package com.velocitypowered.proxy.connection.client; -import io.minimum.minecraft.velocity.protocol.MinecraftPacket; -import io.minimum.minecraft.velocity.protocol.packets.Chat; -import io.minimum.minecraft.velocity.protocol.packets.Ping; -import io.minimum.minecraft.velocity.proxy.MinecraftSessionHandler; +import com.velocitypowered.proxy.protocol.MinecraftPacket; +import com.velocitypowered.proxy.protocol.packets.Ping; +import com.velocitypowered.proxy.connection.MinecraftSessionHandler; import io.netty.buffer.ByteBuf; public class PlaySessionHandler implements MinecraftSessionHandler { diff --git a/src/main/java/io/minimum/minecraft/velocity/proxy/client/StatusSessionHandler.java b/src/main/java/com/velocitypowered/proxy/connection/client/StatusSessionHandler.java similarity index 75% rename from src/main/java/io/minimum/minecraft/velocity/proxy/client/StatusSessionHandler.java rename to src/main/java/com/velocitypowered/proxy/connection/client/StatusSessionHandler.java index bd2a4a234..3ef492f05 100644 --- a/src/main/java/io/minimum/minecraft/velocity/proxy/client/StatusSessionHandler.java +++ b/src/main/java/com/velocitypowered/proxy/connection/client/StatusSessionHandler.java @@ -1,15 +1,15 @@ -package io.minimum.minecraft.velocity.proxy.client; +package com.velocitypowered.proxy.connection.client; import com.google.common.base.Preconditions; import com.google.gson.Gson; import com.google.gson.GsonBuilder; -import io.minimum.minecraft.velocity.data.ServerPing; -import io.minimum.minecraft.velocity.protocol.MinecraftPacket; -import io.minimum.minecraft.velocity.protocol.packets.Ping; -import io.minimum.minecraft.velocity.protocol.packets.StatusRequest; -import io.minimum.minecraft.velocity.protocol.packets.StatusResponse; -import io.minimum.minecraft.velocity.proxy.MinecraftConnection; -import io.minimum.minecraft.velocity.proxy.MinecraftSessionHandler; +import com.velocitypowered.proxy.protocol.MinecraftPacket; +import com.velocitypowered.proxy.protocol.packets.Ping; +import com.velocitypowered.proxy.protocol.packets.StatusRequest; +import com.velocitypowered.proxy.protocol.packets.StatusResponse; +import com.velocitypowered.proxy.connection.MinecraftConnection; +import com.velocitypowered.proxy.data.ServerPing; +import com.velocitypowered.proxy.connection.MinecraftSessionHandler; import net.kyori.text.Component; import net.kyori.text.TextComponent; import net.kyori.text.serializer.GsonComponentSerializer; diff --git a/src/main/java/io/minimum/minecraft/velocity/data/ServerInfo.java b/src/main/java/com/velocitypowered/proxy/data/ServerInfo.java similarity index 95% rename from src/main/java/io/minimum/minecraft/velocity/data/ServerInfo.java rename to src/main/java/com/velocitypowered/proxy/data/ServerInfo.java index aa3f5c33f..36ed6658c 100644 --- a/src/main/java/io/minimum/minecraft/velocity/data/ServerInfo.java +++ b/src/main/java/com/velocitypowered/proxy/data/ServerInfo.java @@ -1,4 +1,4 @@ -package io.minimum.minecraft.velocity.data; +package com.velocitypowered.proxy.data; import java.net.InetSocketAddress; import java.util.Objects; diff --git a/src/main/java/io/minimum/minecraft/velocity/data/ServerPing.java b/src/main/java/com/velocitypowered/proxy/data/ServerPing.java similarity index 98% rename from src/main/java/io/minimum/minecraft/velocity/data/ServerPing.java rename to src/main/java/com/velocitypowered/proxy/data/ServerPing.java index 7f9e5a658..72494eaf1 100644 --- a/src/main/java/io/minimum/minecraft/velocity/data/ServerPing.java +++ b/src/main/java/com/velocitypowered/proxy/data/ServerPing.java @@ -1,4 +1,4 @@ -package io.minimum.minecraft.velocity.data; +package com.velocitypowered.proxy.data; import net.kyori.text.Component; diff --git a/src/main/java/io/minimum/minecraft/velocity/protocol/MinecraftPacket.java b/src/main/java/com/velocitypowered/proxy/protocol/MinecraftPacket.java similarity index 84% rename from src/main/java/io/minimum/minecraft/velocity/protocol/MinecraftPacket.java rename to src/main/java/com/velocitypowered/proxy/protocol/MinecraftPacket.java index 6b6b9c8b4..2b1aa66c4 100644 --- a/src/main/java/io/minimum/minecraft/velocity/protocol/MinecraftPacket.java +++ b/src/main/java/com/velocitypowered/proxy/protocol/MinecraftPacket.java @@ -1,4 +1,4 @@ -package io.minimum.minecraft.velocity.protocol; +package com.velocitypowered.proxy.protocol; import io.netty.buffer.ByteBuf; diff --git a/src/main/java/io/minimum/minecraft/velocity/protocol/PacketWrapper.java b/src/main/java/com/velocitypowered/proxy/protocol/PacketWrapper.java similarity index 93% rename from src/main/java/io/minimum/minecraft/velocity/protocol/PacketWrapper.java rename to src/main/java/com/velocitypowered/proxy/protocol/PacketWrapper.java index bf392d4f1..5e1fa8bfb 100644 --- a/src/main/java/io/minimum/minecraft/velocity/protocol/PacketWrapper.java +++ b/src/main/java/com/velocitypowered/proxy/protocol/PacketWrapper.java @@ -1,4 +1,4 @@ -package io.minimum.minecraft.velocity.protocol; +package com.velocitypowered.proxy.protocol; import io.netty.buffer.ByteBuf; import io.netty.buffer.ByteBufUtil; diff --git a/src/main/java/io/minimum/minecraft/velocity/protocol/ProtocolConstants.java b/src/main/java/com/velocitypowered/proxy/protocol/ProtocolConstants.java similarity index 76% rename from src/main/java/io/minimum/minecraft/velocity/protocol/ProtocolConstants.java rename to src/main/java/com/velocitypowered/proxy/protocol/ProtocolConstants.java index 989975e01..57d6fe9ee 100644 --- a/src/main/java/io/minimum/minecraft/velocity/protocol/ProtocolConstants.java +++ b/src/main/java/com/velocitypowered/proxy/protocol/ProtocolConstants.java @@ -1,4 +1,4 @@ -package io.minimum.minecraft.velocity.protocol; +package com.velocitypowered.proxy.protocol; public enum ProtocolConstants { ; public static final int MINECRAFT_1_12 = 340; diff --git a/src/main/java/io/minimum/minecraft/velocity/protocol/ProtocolUtils.java b/src/main/java/com/velocitypowered/proxy/protocol/ProtocolUtils.java similarity index 96% rename from src/main/java/io/minimum/minecraft/velocity/protocol/ProtocolUtils.java rename to src/main/java/com/velocitypowered/proxy/protocol/ProtocolUtils.java index 6f961380a..b9eb04723 100644 --- a/src/main/java/io/minimum/minecraft/velocity/protocol/ProtocolUtils.java +++ b/src/main/java/com/velocitypowered/proxy/protocol/ProtocolUtils.java @@ -1,4 +1,4 @@ -package io.minimum.minecraft.velocity.protocol; +package com.velocitypowered.proxy.protocol; import com.google.common.base.Preconditions; import io.netty.buffer.ByteBuf; diff --git a/src/main/java/io/minimum/minecraft/velocity/protocol/StateRegistry.java b/src/main/java/com/velocitypowered/proxy/protocol/StateRegistry.java similarity index 96% rename from src/main/java/io/minimum/minecraft/velocity/protocol/StateRegistry.java rename to src/main/java/com/velocitypowered/proxy/protocol/StateRegistry.java index 5f52edd8a..b16b224f4 100644 --- a/src/main/java/io/minimum/minecraft/velocity/protocol/StateRegistry.java +++ b/src/main/java/com/velocitypowered/proxy/protocol/StateRegistry.java @@ -1,6 +1,6 @@ -package io.minimum.minecraft.velocity.protocol; +package com.velocitypowered.proxy.protocol; -import io.minimum.minecraft.velocity.protocol.packets.*; +import com.velocitypowered.proxy.protocol.packets.*; import java.util.HashMap; import java.util.Map; diff --git a/src/main/java/io/minimum/minecraft/velocity/protocol/compression/JavaVelocityCompressor.java b/src/main/java/com/velocitypowered/proxy/protocol/compression/JavaVelocityCompressor.java similarity index 96% rename from src/main/java/io/minimum/minecraft/velocity/protocol/compression/JavaVelocityCompressor.java rename to src/main/java/com/velocitypowered/proxy/protocol/compression/JavaVelocityCompressor.java index d53fda8d6..58e59921f 100644 --- a/src/main/java/io/minimum/minecraft/velocity/protocol/compression/JavaVelocityCompressor.java +++ b/src/main/java/com/velocitypowered/proxy/protocol/compression/JavaVelocityCompressor.java @@ -1,4 +1,4 @@ -package io.minimum.minecraft.velocity.protocol.compression; +package com.velocitypowered.proxy.protocol.compression; import com.google.common.base.Preconditions; import io.netty.buffer.ByteBuf; diff --git a/src/main/java/io/minimum/minecraft/velocity/protocol/compression/VelocityCompressor.java b/src/main/java/com/velocitypowered/proxy/protocol/compression/VelocityCompressor.java similarity index 83% rename from src/main/java/io/minimum/minecraft/velocity/protocol/compression/VelocityCompressor.java rename to src/main/java/com/velocitypowered/proxy/protocol/compression/VelocityCompressor.java index d6aa52532..ca3872b5a 100644 --- a/src/main/java/io/minimum/minecraft/velocity/protocol/compression/VelocityCompressor.java +++ b/src/main/java/com/velocitypowered/proxy/protocol/compression/VelocityCompressor.java @@ -1,4 +1,4 @@ -package io.minimum.minecraft.velocity.protocol.compression; +package com.velocitypowered.proxy.protocol.compression; import io.netty.buffer.ByteBuf; diff --git a/src/main/java/io/minimum/minecraft/velocity/protocol/netty/LegacyPingDecoder.java b/src/main/java/com/velocitypowered/proxy/protocol/netty/LegacyPingDecoder.java similarity index 85% rename from src/main/java/io/minimum/minecraft/velocity/protocol/netty/LegacyPingDecoder.java rename to src/main/java/com/velocitypowered/proxy/protocol/netty/LegacyPingDecoder.java index 20b9fc852..35369ccf8 100644 --- a/src/main/java/io/minimum/minecraft/velocity/protocol/netty/LegacyPingDecoder.java +++ b/src/main/java/com/velocitypowered/proxy/protocol/netty/LegacyPingDecoder.java @@ -1,6 +1,6 @@ -package io.minimum.minecraft.velocity.protocol.netty; +package com.velocitypowered.proxy.protocol.netty; -import io.minimum.minecraft.velocity.protocol.packets.LegacyPing; +import com.velocitypowered.proxy.protocol.packets.LegacyPing; import io.netty.buffer.ByteBuf; import io.netty.channel.ChannelHandlerContext; import io.netty.handler.codec.ByteToMessageDecoder; diff --git a/src/main/java/io/minimum/minecraft/velocity/protocol/netty/LegacyPingEncoder.java b/src/main/java/com/velocitypowered/proxy/protocol/netty/LegacyPingEncoder.java similarity index 88% rename from src/main/java/io/minimum/minecraft/velocity/protocol/netty/LegacyPingEncoder.java rename to src/main/java/com/velocitypowered/proxy/protocol/netty/LegacyPingEncoder.java index 1fffabdba..f0d5fdaa6 100644 --- a/src/main/java/io/minimum/minecraft/velocity/protocol/netty/LegacyPingEncoder.java +++ b/src/main/java/com/velocitypowered/proxy/protocol/netty/LegacyPingEncoder.java @@ -1,9 +1,8 @@ -package io.minimum.minecraft.velocity.protocol.netty; +package com.velocitypowered.proxy.protocol.netty; import com.google.common.base.Joiner; import com.google.common.collect.ImmutableList; -import io.minimum.minecraft.velocity.protocol.packets.LegacyPing; -import io.minimum.minecraft.velocity.protocol.packets.LegacyPingResponse; +import com.velocitypowered.proxy.protocol.packets.LegacyPingResponse; import io.netty.buffer.ByteBuf; import io.netty.buffer.ByteBufUtil; import io.netty.channel.ChannelHandler; diff --git a/src/main/java/io/minimum/minecraft/velocity/protocol/netty/MinecraftCompressDecoder.java b/src/main/java/com/velocitypowered/proxy/protocol/netty/MinecraftCompressDecoder.java similarity index 90% rename from src/main/java/io/minimum/minecraft/velocity/protocol/netty/MinecraftCompressDecoder.java rename to src/main/java/com/velocitypowered/proxy/protocol/netty/MinecraftCompressDecoder.java index 8552a22b1..7cbe9a399 100644 --- a/src/main/java/io/minimum/minecraft/velocity/protocol/netty/MinecraftCompressDecoder.java +++ b/src/main/java/com/velocitypowered/proxy/protocol/netty/MinecraftCompressDecoder.java @@ -1,8 +1,8 @@ -package io.minimum.minecraft.velocity.protocol.netty; +package com.velocitypowered.proxy.protocol.netty; import com.google.common.base.Preconditions; -import io.minimum.minecraft.velocity.protocol.ProtocolUtils; -import io.minimum.minecraft.velocity.protocol.compression.VelocityCompressor; +import com.velocitypowered.proxy.protocol.ProtocolUtils; +import com.velocitypowered.proxy.protocol.compression.VelocityCompressor; import io.netty.buffer.ByteBuf; import io.netty.channel.ChannelHandlerContext; import io.netty.handler.codec.MessageToMessageDecoder; diff --git a/src/main/java/io/minimum/minecraft/velocity/protocol/netty/MinecraftCompressEncoder.java b/src/main/java/com/velocitypowered/proxy/protocol/netty/MinecraftCompressEncoder.java similarity index 85% rename from src/main/java/io/minimum/minecraft/velocity/protocol/netty/MinecraftCompressEncoder.java rename to src/main/java/com/velocitypowered/proxy/protocol/netty/MinecraftCompressEncoder.java index 3dfbed37f..7b9d94be3 100644 --- a/src/main/java/io/minimum/minecraft/velocity/protocol/netty/MinecraftCompressEncoder.java +++ b/src/main/java/com/velocitypowered/proxy/protocol/netty/MinecraftCompressEncoder.java @@ -1,7 +1,7 @@ -package io.minimum.minecraft.velocity.protocol.netty; +package com.velocitypowered.proxy.protocol.netty; -import io.minimum.minecraft.velocity.protocol.ProtocolUtils; -import io.minimum.minecraft.velocity.protocol.compression.VelocityCompressor; +import com.velocitypowered.proxy.protocol.ProtocolUtils; +import com.velocitypowered.proxy.protocol.compression.VelocityCompressor; import io.netty.buffer.ByteBuf; import io.netty.channel.ChannelHandlerContext; import io.netty.handler.codec.MessageToByteEncoder; diff --git a/src/main/java/io/minimum/minecraft/velocity/protocol/netty/MinecraftDecoder.java b/src/main/java/com/velocitypowered/proxy/protocol/netty/MinecraftDecoder.java similarity index 95% rename from src/main/java/io/minimum/minecraft/velocity/protocol/netty/MinecraftDecoder.java rename to src/main/java/com/velocitypowered/proxy/protocol/netty/MinecraftDecoder.java index 317d4122d..a82edbaf4 100644 --- a/src/main/java/io/minimum/minecraft/velocity/protocol/netty/MinecraftDecoder.java +++ b/src/main/java/com/velocitypowered/proxy/protocol/netty/MinecraftDecoder.java @@ -1,7 +1,7 @@ -package io.minimum.minecraft.velocity.protocol.netty; +package com.velocitypowered.proxy.protocol.netty; import com.google.common.base.Preconditions; -import io.minimum.minecraft.velocity.protocol.*; +import com.velocitypowered.proxy.protocol.*; import io.netty.buffer.ByteBuf; import io.netty.channel.ChannelHandlerContext; import io.netty.handler.codec.CorruptedFrameException; diff --git a/src/main/java/io/minimum/minecraft/velocity/protocol/netty/MinecraftEncoder.java b/src/main/java/com/velocitypowered/proxy/protocol/netty/MinecraftEncoder.java similarity index 83% rename from src/main/java/io/minimum/minecraft/velocity/protocol/netty/MinecraftEncoder.java rename to src/main/java/com/velocitypowered/proxy/protocol/netty/MinecraftEncoder.java index bd884ec54..089f05caa 100644 --- a/src/main/java/io/minimum/minecraft/velocity/protocol/netty/MinecraftEncoder.java +++ b/src/main/java/com/velocitypowered/proxy/protocol/netty/MinecraftEncoder.java @@ -1,7 +1,10 @@ -package io.minimum.minecraft.velocity.protocol.netty; +package com.velocitypowered.proxy.protocol.netty; import com.google.common.base.Preconditions; -import io.minimum.minecraft.velocity.protocol.*; +import com.velocitypowered.proxy.protocol.MinecraftPacket; +import com.velocitypowered.proxy.protocol.ProtocolConstants; +import com.velocitypowered.proxy.protocol.ProtocolUtils; +import com.velocitypowered.proxy.protocol.StateRegistry; import io.netty.buffer.ByteBuf; import io.netty.channel.ChannelHandlerContext; import io.netty.handler.codec.MessageToByteEncoder; diff --git a/src/main/java/io/minimum/minecraft/velocity/protocol/netty/MinecraftPipelineUtils.java b/src/main/java/com/velocitypowered/proxy/protocol/netty/MinecraftPipelineUtils.java similarity index 93% rename from src/main/java/io/minimum/minecraft/velocity/protocol/netty/MinecraftPipelineUtils.java rename to src/main/java/com/velocitypowered/proxy/protocol/netty/MinecraftPipelineUtils.java index c79abe891..9dd922013 100644 --- a/src/main/java/io/minimum/minecraft/velocity/protocol/netty/MinecraftPipelineUtils.java +++ b/src/main/java/com/velocitypowered/proxy/protocol/netty/MinecraftPipelineUtils.java @@ -1,6 +1,6 @@ -package io.minimum.minecraft.velocity.protocol.netty; +package com.velocitypowered.proxy.protocol.netty; -import io.minimum.minecraft.velocity.protocol.ProtocolConstants; +import com.velocitypowered.proxy.protocol.ProtocolConstants; import io.netty.channel.Channel; import io.netty.handler.timeout.ReadTimeoutHandler; diff --git a/src/main/java/io/minimum/minecraft/velocity/protocol/netty/MinecraftVarintFrameDecoder.java b/src/main/java/com/velocitypowered/proxy/protocol/netty/MinecraftVarintFrameDecoder.java similarity index 86% rename from src/main/java/io/minimum/minecraft/velocity/protocol/netty/MinecraftVarintFrameDecoder.java rename to src/main/java/com/velocitypowered/proxy/protocol/netty/MinecraftVarintFrameDecoder.java index b8a2c6ddc..f3c00cde8 100644 --- a/src/main/java/io/minimum/minecraft/velocity/protocol/netty/MinecraftVarintFrameDecoder.java +++ b/src/main/java/com/velocitypowered/proxy/protocol/netty/MinecraftVarintFrameDecoder.java @@ -1,6 +1,6 @@ -package io.minimum.minecraft.velocity.protocol.netty; +package com.velocitypowered.proxy.protocol.netty; -import io.minimum.minecraft.velocity.protocol.ProtocolUtils; +import com.velocitypowered.proxy.protocol.ProtocolUtils; import io.netty.buffer.ByteBuf; import io.netty.channel.ChannelHandlerContext; import io.netty.handler.codec.ByteToMessageDecoder; diff --git a/src/main/java/io/minimum/minecraft/velocity/protocol/netty/MinecraftVarintLengthEncoder.java b/src/main/java/com/velocitypowered/proxy/protocol/netty/MinecraftVarintLengthEncoder.java similarity index 84% rename from src/main/java/io/minimum/minecraft/velocity/protocol/netty/MinecraftVarintLengthEncoder.java rename to src/main/java/com/velocitypowered/proxy/protocol/netty/MinecraftVarintLengthEncoder.java index 8505e4d97..3c9952336 100644 --- a/src/main/java/io/minimum/minecraft/velocity/protocol/netty/MinecraftVarintLengthEncoder.java +++ b/src/main/java/com/velocitypowered/proxy/protocol/netty/MinecraftVarintLengthEncoder.java @@ -1,6 +1,6 @@ -package io.minimum.minecraft.velocity.protocol.netty; +package com.velocitypowered.proxy.protocol.netty; -import io.minimum.minecraft.velocity.protocol.ProtocolUtils; +import com.velocitypowered.proxy.protocol.ProtocolUtils; import io.netty.buffer.ByteBuf; import io.netty.channel.ChannelHandler; import io.netty.channel.ChannelHandlerContext; diff --git a/src/main/java/io/minimum/minecraft/velocity/protocol/packets/Chat.java b/src/main/java/com/velocitypowered/proxy/protocol/packets/Chat.java similarity index 82% rename from src/main/java/io/minimum/minecraft/velocity/protocol/packets/Chat.java rename to src/main/java/com/velocitypowered/proxy/protocol/packets/Chat.java index 645d6dd7e..f6b318643 100644 --- a/src/main/java/io/minimum/minecraft/velocity/protocol/packets/Chat.java +++ b/src/main/java/com/velocitypowered/proxy/protocol/packets/Chat.java @@ -1,8 +1,8 @@ -package io.minimum.minecraft.velocity.protocol.packets; +package com.velocitypowered.proxy.protocol.packets; -import io.minimum.minecraft.velocity.protocol.MinecraftPacket; -import io.minimum.minecraft.velocity.protocol.ProtocolConstants; -import io.minimum.minecraft.velocity.protocol.ProtocolUtils; +import com.velocitypowered.proxy.protocol.ProtocolConstants; +import com.velocitypowered.proxy.protocol.MinecraftPacket; +import com.velocitypowered.proxy.protocol.ProtocolUtils; import io.netty.buffer.ByteBuf; public class Chat implements MinecraftPacket { diff --git a/src/main/java/io/minimum/minecraft/velocity/protocol/packets/Disconnect.java b/src/main/java/com/velocitypowered/proxy/protocol/packets/Disconnect.java similarity index 75% rename from src/main/java/io/minimum/minecraft/velocity/protocol/packets/Disconnect.java rename to src/main/java/com/velocitypowered/proxy/protocol/packets/Disconnect.java index c00dcfb12..9c7600843 100644 --- a/src/main/java/io/minimum/minecraft/velocity/protocol/packets/Disconnect.java +++ b/src/main/java/com/velocitypowered/proxy/protocol/packets/Disconnect.java @@ -1,8 +1,8 @@ -package io.minimum.minecraft.velocity.protocol.packets; +package com.velocitypowered.proxy.protocol.packets; -import io.minimum.minecraft.velocity.protocol.MinecraftPacket; -import io.minimum.minecraft.velocity.protocol.ProtocolConstants; -import io.minimum.minecraft.velocity.protocol.ProtocolUtils; +import com.velocitypowered.proxy.protocol.ProtocolConstants; +import com.velocitypowered.proxy.protocol.MinecraftPacket; +import com.velocitypowered.proxy.protocol.ProtocolUtils; import io.netty.buffer.ByteBuf; public class Disconnect implements MinecraftPacket { diff --git a/src/main/java/io/minimum/minecraft/velocity/protocol/packets/Handshake.java b/src/main/java/com/velocitypowered/proxy/protocol/packets/Handshake.java similarity index 88% rename from src/main/java/io/minimum/minecraft/velocity/protocol/packets/Handshake.java rename to src/main/java/com/velocitypowered/proxy/protocol/packets/Handshake.java index dc3ce746c..f75b33896 100644 --- a/src/main/java/io/minimum/minecraft/velocity/protocol/packets/Handshake.java +++ b/src/main/java/com/velocitypowered/proxy/protocol/packets/Handshake.java @@ -1,8 +1,8 @@ -package io.minimum.minecraft.velocity.protocol.packets; +package com.velocitypowered.proxy.protocol.packets; -import io.minimum.minecraft.velocity.protocol.MinecraftPacket; -import io.minimum.minecraft.velocity.protocol.ProtocolConstants; -import io.minimum.minecraft.velocity.protocol.ProtocolUtils; +import com.velocitypowered.proxy.protocol.ProtocolConstants; +import com.velocitypowered.proxy.protocol.MinecraftPacket; +import com.velocitypowered.proxy.protocol.ProtocolUtils; import io.netty.buffer.ByteBuf; public class Handshake implements MinecraftPacket { diff --git a/src/main/java/com/velocitypowered/proxy/protocol/packets/LegacyPing.java b/src/main/java/com/velocitypowered/proxy/protocol/packets/LegacyPing.java new file mode 100644 index 000000000..4aa629dcd --- /dev/null +++ b/src/main/java/com/velocitypowered/proxy/protocol/packets/LegacyPing.java @@ -0,0 +1,4 @@ +package com.velocitypowered.proxy.protocol.packets; + +public class LegacyPing { +} diff --git a/src/main/java/io/minimum/minecraft/velocity/protocol/packets/LegacyPingResponse.java b/src/main/java/com/velocitypowered/proxy/protocol/packets/LegacyPingResponse.java similarity index 95% rename from src/main/java/io/minimum/minecraft/velocity/protocol/packets/LegacyPingResponse.java rename to src/main/java/com/velocitypowered/proxy/protocol/packets/LegacyPingResponse.java index ff937fd7c..e1246d005 100644 --- a/src/main/java/io/minimum/minecraft/velocity/protocol/packets/LegacyPingResponse.java +++ b/src/main/java/com/velocitypowered/proxy/protocol/packets/LegacyPingResponse.java @@ -1,6 +1,6 @@ -package io.minimum.minecraft.velocity.protocol.packets; +package com.velocitypowered.proxy.protocol.packets; -import io.minimum.minecraft.velocity.data.ServerPing; +import com.velocitypowered.proxy.data.ServerPing; import net.kyori.text.serializer.ComponentSerializers; public class LegacyPingResponse { diff --git a/src/main/java/io/minimum/minecraft/velocity/protocol/packets/Ping.java b/src/main/java/com/velocitypowered/proxy/protocol/packets/Ping.java similarity index 79% rename from src/main/java/io/minimum/minecraft/velocity/protocol/packets/Ping.java rename to src/main/java/com/velocitypowered/proxy/protocol/packets/Ping.java index 9b13c96b6..c1a3ad3e7 100644 --- a/src/main/java/io/minimum/minecraft/velocity/protocol/packets/Ping.java +++ b/src/main/java/com/velocitypowered/proxy/protocol/packets/Ping.java @@ -1,7 +1,7 @@ -package io.minimum.minecraft.velocity.protocol.packets; +package com.velocitypowered.proxy.protocol.packets; -import io.minimum.minecraft.velocity.protocol.MinecraftPacket; -import io.minimum.minecraft.velocity.protocol.ProtocolConstants; +import com.velocitypowered.proxy.protocol.ProtocolConstants; +import com.velocitypowered.proxy.protocol.MinecraftPacket; import io.netty.buffer.ByteBuf; public class Ping implements MinecraftPacket { diff --git a/src/main/java/io/minimum/minecraft/velocity/protocol/packets/ServerLogin.java b/src/main/java/com/velocitypowered/proxy/protocol/packets/ServerLogin.java similarity index 75% rename from src/main/java/io/minimum/minecraft/velocity/protocol/packets/ServerLogin.java rename to src/main/java/com/velocitypowered/proxy/protocol/packets/ServerLogin.java index 3efc1f803..816ed6497 100644 --- a/src/main/java/io/minimum/minecraft/velocity/protocol/packets/ServerLogin.java +++ b/src/main/java/com/velocitypowered/proxy/protocol/packets/ServerLogin.java @@ -1,8 +1,8 @@ -package io.minimum.minecraft.velocity.protocol.packets; +package com.velocitypowered.proxy.protocol.packets; -import io.minimum.minecraft.velocity.protocol.MinecraftPacket; -import io.minimum.minecraft.velocity.protocol.ProtocolConstants; -import io.minimum.minecraft.velocity.protocol.ProtocolUtils; +import com.velocitypowered.proxy.protocol.ProtocolConstants; +import com.velocitypowered.proxy.protocol.MinecraftPacket; +import com.velocitypowered.proxy.protocol.ProtocolUtils; import io.netty.buffer.ByteBuf; public class ServerLogin implements MinecraftPacket { diff --git a/src/main/java/io/minimum/minecraft/velocity/protocol/packets/ServerLoginSuccess.java b/src/main/java/com/velocitypowered/proxy/protocol/packets/ServerLoginSuccess.java similarity index 81% rename from src/main/java/io/minimum/minecraft/velocity/protocol/packets/ServerLoginSuccess.java rename to src/main/java/com/velocitypowered/proxy/protocol/packets/ServerLoginSuccess.java index fff806a24..64a7dac55 100644 --- a/src/main/java/io/minimum/minecraft/velocity/protocol/packets/ServerLoginSuccess.java +++ b/src/main/java/com/velocitypowered/proxy/protocol/packets/ServerLoginSuccess.java @@ -1,8 +1,8 @@ -package io.minimum.minecraft.velocity.protocol.packets; +package com.velocitypowered.proxy.protocol.packets; -import io.minimum.minecraft.velocity.protocol.MinecraftPacket; -import io.minimum.minecraft.velocity.protocol.ProtocolConstants; -import io.minimum.minecraft.velocity.protocol.ProtocolUtils; +import com.velocitypowered.proxy.protocol.MinecraftPacket; +import com.velocitypowered.proxy.protocol.ProtocolConstants; +import com.velocitypowered.proxy.protocol.ProtocolUtils; import io.netty.buffer.ByteBuf; import java.util.UUID; diff --git a/src/main/java/io/minimum/minecraft/velocity/protocol/packets/SetCompression.java b/src/main/java/com/velocitypowered/proxy/protocol/packets/SetCompression.java similarity index 78% rename from src/main/java/io/minimum/minecraft/velocity/protocol/packets/SetCompression.java rename to src/main/java/com/velocitypowered/proxy/protocol/packets/SetCompression.java index dd85ac49b..4892c022b 100644 --- a/src/main/java/io/minimum/minecraft/velocity/protocol/packets/SetCompression.java +++ b/src/main/java/com/velocitypowered/proxy/protocol/packets/SetCompression.java @@ -1,8 +1,8 @@ -package io.minimum.minecraft.velocity.protocol.packets; +package com.velocitypowered.proxy.protocol.packets; -import io.minimum.minecraft.velocity.protocol.MinecraftPacket; -import io.minimum.minecraft.velocity.protocol.ProtocolConstants; -import io.minimum.minecraft.velocity.protocol.ProtocolUtils; +import com.velocitypowered.proxy.protocol.MinecraftPacket; +import com.velocitypowered.proxy.protocol.ProtocolConstants; +import com.velocitypowered.proxy.protocol.ProtocolUtils; import io.netty.buffer.ByteBuf; public class SetCompression implements MinecraftPacket { diff --git a/src/main/java/io/minimum/minecraft/velocity/protocol/packets/StatusRequest.java b/src/main/java/com/velocitypowered/proxy/protocol/packets/StatusRequest.java similarity index 64% rename from src/main/java/io/minimum/minecraft/velocity/protocol/packets/StatusRequest.java rename to src/main/java/com/velocitypowered/proxy/protocol/packets/StatusRequest.java index cb7d01263..c52f76797 100644 --- a/src/main/java/io/minimum/minecraft/velocity/protocol/packets/StatusRequest.java +++ b/src/main/java/com/velocitypowered/proxy/protocol/packets/StatusRequest.java @@ -1,7 +1,7 @@ -package io.minimum.minecraft.velocity.protocol.packets; +package com.velocitypowered.proxy.protocol.packets; -import io.minimum.minecraft.velocity.protocol.MinecraftPacket; -import io.minimum.minecraft.velocity.protocol.ProtocolConstants; +import com.velocitypowered.proxy.protocol.ProtocolConstants; +import com.velocitypowered.proxy.protocol.MinecraftPacket; import io.netty.buffer.ByteBuf; public class StatusRequest implements MinecraftPacket { diff --git a/src/main/java/io/minimum/minecraft/velocity/protocol/packets/StatusResponse.java b/src/main/java/com/velocitypowered/proxy/protocol/packets/StatusResponse.java similarity index 75% rename from src/main/java/io/minimum/minecraft/velocity/protocol/packets/StatusResponse.java rename to src/main/java/com/velocitypowered/proxy/protocol/packets/StatusResponse.java index 20b364705..9ec80faaa 100644 --- a/src/main/java/io/minimum/minecraft/velocity/protocol/packets/StatusResponse.java +++ b/src/main/java/com/velocitypowered/proxy/protocol/packets/StatusResponse.java @@ -1,8 +1,8 @@ -package io.minimum.minecraft.velocity.protocol.packets; +package com.velocitypowered.proxy.protocol.packets; -import io.minimum.minecraft.velocity.protocol.MinecraftPacket; -import io.minimum.minecraft.velocity.protocol.ProtocolConstants; -import io.minimum.minecraft.velocity.protocol.ProtocolUtils; +import com.velocitypowered.proxy.protocol.ProtocolConstants; +import com.velocitypowered.proxy.protocol.MinecraftPacket; +import com.velocitypowered.proxy.protocol.ProtocolUtils; import io.netty.buffer.ByteBuf; public class StatusResponse implements MinecraftPacket { diff --git a/src/main/java/io/minimum/minecraft/velocity/util/ThrowableUtils.java b/src/main/java/com/velocitypowered/proxy/util/ThrowableUtils.java similarity index 81% rename from src/main/java/io/minimum/minecraft/velocity/util/ThrowableUtils.java rename to src/main/java/com/velocitypowered/proxy/util/ThrowableUtils.java index 36bb9c796..ffb445a73 100644 --- a/src/main/java/io/minimum/minecraft/velocity/util/ThrowableUtils.java +++ b/src/main/java/com/velocitypowered/proxy/util/ThrowableUtils.java @@ -1,4 +1,4 @@ -package io.minimum.minecraft.velocity.util; +package com.velocitypowered.proxy.util; public enum ThrowableUtils { ; diff --git a/src/main/java/io/minimum/minecraft/velocity/protocol/packets/LegacyPing.java b/src/main/java/io/minimum/minecraft/velocity/protocol/packets/LegacyPing.java deleted file mode 100644 index 5b15db7e7..000000000 --- a/src/main/java/io/minimum/minecraft/velocity/protocol/packets/LegacyPing.java +++ /dev/null @@ -1,4 +0,0 @@ -package io.minimum.minecraft.velocity.protocol.packets; - -public class LegacyPing { -}