3
0
Mirror von https://github.com/PaperMC/Velocity.git synchronisiert 2024-11-16 21:10:30 +01:00

Use package com.velocitypowered.proxy

Dieser Commit ist enthalten in:
Andrew Steinborn 2018-07-25 19:47:59 -04:00
Ursprung 4a2120f4d8
Commit 034039a27d
45 geänderte Dateien mit 152 neuen und 149 gelöschten Zeilen

Datei anzeigen

@ -3,7 +3,7 @@ plugins {
id 'com.github.johnrengelman.shadow' version '2.0.4' id 'com.github.johnrengelman.shadow' version '2.0.4'
} }
group 'io.minimum.minecraft' group 'com.velocitypowered'
version '1.0-SNAPSHOT' version '1.0-SNAPSHOT'
sourceCompatibility = 1.8 sourceCompatibility = 1.8

Datei anzeigen

@ -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 class Velocity {
public static void main(String... args) throws InterruptedException { public static void main(String... args) throws InterruptedException {

Datei anzeigen

@ -1,14 +1,14 @@
package io.minimum.minecraft.velocity.proxy; package com.velocitypowered.proxy.connection;
import com.google.common.base.Preconditions; import com.google.common.base.Preconditions;
import io.minimum.minecraft.velocity.protocol.PacketWrapper; import com.velocitypowered.proxy.protocol.PacketWrapper;
import io.minimum.minecraft.velocity.protocol.StateRegistry; import com.velocitypowered.proxy.protocol.StateRegistry;
import io.minimum.minecraft.velocity.protocol.compression.JavaVelocityCompressor; import com.velocitypowered.proxy.protocol.compression.JavaVelocityCompressor;
import io.minimum.minecraft.velocity.protocol.netty.MinecraftCompressDecoder; import com.velocitypowered.proxy.protocol.netty.MinecraftCompressDecoder;
import io.minimum.minecraft.velocity.protocol.netty.MinecraftCompressEncoder; import com.velocitypowered.proxy.protocol.netty.MinecraftCompressEncoder;
import io.minimum.minecraft.velocity.protocol.netty.MinecraftDecoder; import com.velocitypowered.proxy.protocol.netty.MinecraftDecoder;
import io.minimum.minecraft.velocity.protocol.netty.MinecraftEncoder; import com.velocitypowered.proxy.protocol.netty.MinecraftEncoder;
import io.minimum.minecraft.velocity.protocol.packets.SetCompression; import com.velocitypowered.proxy.protocol.packets.SetCompression;
import io.netty.channel.Channel; import io.netty.channel.Channel;
import io.netty.channel.ChannelFutureListener; import io.netty.channel.ChannelFutureListener;
import io.netty.channel.ChannelHandlerContext; import io.netty.channel.ChannelHandlerContext;

Datei anzeigen

@ -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; import io.netty.buffer.ByteBuf;
public interface MinecraftSessionHandler { public interface MinecraftSessionHandler {

Datei anzeigen

@ -1,8 +1,8 @@
package io.minimum.minecraft.velocity.proxy; package com.velocitypowered.proxy.connection;
import io.minimum.minecraft.velocity.protocol.StateRegistry; import com.velocitypowered.proxy.protocol.StateRegistry;
import io.minimum.minecraft.velocity.protocol.netty.*; import com.velocitypowered.proxy.protocol.netty.MinecraftPipelineUtils;
import io.minimum.minecraft.velocity.proxy.client.HandshakeSessionHandler; import com.velocitypowered.proxy.connection.client.HandshakeSessionHandler;
import io.netty.bootstrap.Bootstrap; import io.netty.bootstrap.Bootstrap;
import io.netty.bootstrap.ServerBootstrap; import io.netty.bootstrap.ServerBootstrap;
import io.netty.channel.*; import io.netty.channel.*;

Datei anzeigen

@ -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 com.velocitypowered.proxy.protocol.MinecraftPacket;
import io.minimum.minecraft.velocity.protocol.StateRegistry; import com.velocitypowered.proxy.protocol.StateRegistry;
import io.minimum.minecraft.velocity.protocol.netty.MinecraftPipelineUtils; import com.velocitypowered.proxy.protocol.packets.Disconnect;
import io.minimum.minecraft.velocity.protocol.packets.Disconnect; import com.velocitypowered.proxy.protocol.packets.ServerLoginSuccess;
import io.minimum.minecraft.velocity.protocol.packets.ServerLoginSuccess; import com.velocitypowered.proxy.connection.MinecraftSessionHandler;
import io.minimum.minecraft.velocity.protocol.packets.SetCompression; import com.velocitypowered.proxy.protocol.packets.SetCompression;
import io.minimum.minecraft.velocity.proxy.MinecraftSessionHandler;
public class LoginSessionHandler implements MinecraftSessionHandler { public class LoginSessionHandler implements MinecraftSessionHandler {
private final ServerConnection connection; private final ServerConnection connection;
@ -34,7 +33,7 @@ public class LoginSessionHandler implements MinecraftSessionHandler {
System.out.println("Player connected to remote server"); System.out.println("Player connected to remote server");
connection.getChannel().setState(StateRegistry.PLAY); connection.getChannel().setState(StateRegistry.PLAY);
connection.getProxyPlayer().setConnectedServer(connection); 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)); connection.getChannel().setSessionHandler(new PlaySessionHandler(connection));
} }
} }

Datei anzeigen

@ -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 com.velocitypowered.proxy.protocol.MinecraftPacket;
import io.minimum.minecraft.velocity.protocol.packets.Disconnect; import com.velocitypowered.proxy.protocol.packets.Disconnect;
import io.minimum.minecraft.velocity.protocol.packets.Ping; import com.velocitypowered.proxy.protocol.packets.Ping;
import io.minimum.minecraft.velocity.proxy.MinecraftSessionHandler; import com.velocitypowered.proxy.connection.MinecraftSessionHandler;
import io.netty.buffer.ByteBuf; import io.netty.buffer.ByteBuf;
import net.kyori.text.TextComponent; import net.kyori.text.TextComponent;
import net.kyori.text.format.TextColor; import net.kyori.text.format.TextColor;

Datei anzeigen

@ -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 com.velocitypowered.proxy.protocol.packets.Handshake;
import io.minimum.minecraft.velocity.data.ServerInfo; import com.velocitypowered.proxy.protocol.packets.ServerLogin;
import io.minimum.minecraft.velocity.protocol.netty.MinecraftPipelineUtils; import com.velocitypowered.proxy.connection.MinecraftConnection;
import io.minimum.minecraft.velocity.protocol.packets.*; import com.velocitypowered.proxy.protocol.StateRegistry;
import io.minimum.minecraft.velocity.proxy.MinecraftConnection; import com.velocitypowered.proxy.data.ServerInfo;
import io.minimum.minecraft.velocity.proxy.VelocityServer; import com.velocitypowered.proxy.protocol.netty.MinecraftPipelineUtils;
import io.minimum.minecraft.velocity.proxy.client.ConnectedPlayer; import com.velocitypowered.proxy.connection.VelocityServer;
import com.velocitypowered.proxy.connection.client.ConnectedPlayer;
import io.netty.channel.*; import io.netty.channel.*;
public class ServerConnection { public class ServerConnection {

Datei anzeigen

@ -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 com.velocitypowered.proxy.protocol.packets.Chat;
import io.minimum.minecraft.velocity.protocol.packets.Chat; import com.velocitypowered.proxy.connection.MinecraftConnection;
import io.minimum.minecraft.velocity.protocol.packets.Disconnect; import com.velocitypowered.proxy.connection.backend.ServerConnection;
import io.minimum.minecraft.velocity.proxy.MinecraftConnection; import com.velocitypowered.proxy.util.ThrowableUtils;
import io.minimum.minecraft.velocity.proxy.backend.ServerConnection; import com.velocitypowered.proxy.data.ServerInfo;
import io.minimum.minecraft.velocity.util.ThrowableUtils; import com.velocitypowered.proxy.protocol.packets.Disconnect;
import net.kyori.text.TextComponent; import net.kyori.text.TextComponent;
import net.kyori.text.format.TextColor; import net.kyori.text.format.TextColor;
import net.kyori.text.serializer.ComponentSerializers; import net.kyori.text.serializer.ComponentSerializers;

Datei anzeigen

@ -1,11 +1,11 @@
package io.minimum.minecraft.velocity.proxy.client; package com.velocitypowered.proxy.connection.client;
import com.google.common.base.Preconditions; import com.google.common.base.Preconditions;
import io.minimum.minecraft.velocity.protocol.MinecraftPacket; import com.velocitypowered.proxy.protocol.MinecraftPacket;
import io.minimum.minecraft.velocity.protocol.StateRegistry; import com.velocitypowered.proxy.protocol.StateRegistry;
import io.minimum.minecraft.velocity.protocol.packets.Handshake; import com.velocitypowered.proxy.protocol.packets.Handshake;
import io.minimum.minecraft.velocity.proxy.MinecraftConnection; import com.velocitypowered.proxy.connection.MinecraftConnection;
import io.minimum.minecraft.velocity.proxy.MinecraftSessionHandler; import com.velocitypowered.proxy.connection.MinecraftSessionHandler;
public class HandshakeSessionHandler implements MinecraftSessionHandler { public class HandshakeSessionHandler implements MinecraftSessionHandler {
private final MinecraftConnection connection; private final MinecraftConnection connection;

Datei anzeigen

@ -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 com.velocitypowered.proxy.protocol.MinecraftPacket;
import io.minimum.minecraft.velocity.proxy.MinecraftSessionHandler; import com.velocitypowered.proxy.connection.MinecraftSessionHandler;
public class InitialConnectSessionHandler implements MinecraftSessionHandler { public class InitialConnectSessionHandler implements MinecraftSessionHandler {
private final ConnectedPlayer player; private final ConnectedPlayer player;

Datei anzeigen

@ -1,13 +1,15 @@
package io.minimum.minecraft.velocity.proxy.client; package com.velocitypowered.proxy.connection.client;
import com.google.common.base.Preconditions; import com.google.common.base.Preconditions;
import io.minimum.minecraft.velocity.data.ServerInfo; import com.velocitypowered.proxy.protocol.MinecraftPacket;
import io.minimum.minecraft.velocity.protocol.MinecraftPacket; import com.velocitypowered.proxy.protocol.StateRegistry;
import io.minimum.minecraft.velocity.protocol.StateRegistry; import com.velocitypowered.proxy.protocol.packets.ServerLogin;
import io.minimum.minecraft.velocity.protocol.packets.ServerLogin; import com.velocitypowered.proxy.protocol.packets.ServerLoginSuccess;
import io.minimum.minecraft.velocity.protocol.packets.ServerLoginSuccess; import com.velocitypowered.proxy.connection.MinecraftConnection;
import io.minimum.minecraft.velocity.proxy.*; import com.velocitypowered.proxy.connection.MinecraftSessionHandler;
import io.minimum.minecraft.velocity.proxy.backend.ServerConnection; 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.net.InetSocketAddress;
import java.nio.charset.StandardCharsets; import java.nio.charset.StandardCharsets;

Datei anzeigen

@ -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 com.velocitypowered.proxy.protocol.MinecraftPacket;
import io.minimum.minecraft.velocity.protocol.packets.Chat; import com.velocitypowered.proxy.protocol.packets.Ping;
import io.minimum.minecraft.velocity.protocol.packets.Ping; import com.velocitypowered.proxy.connection.MinecraftSessionHandler;
import io.minimum.minecraft.velocity.proxy.MinecraftSessionHandler;
import io.netty.buffer.ByteBuf; import io.netty.buffer.ByteBuf;
public class PlaySessionHandler implements MinecraftSessionHandler { public class PlaySessionHandler implements MinecraftSessionHandler {

Datei anzeigen

@ -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.common.base.Preconditions;
import com.google.gson.Gson; import com.google.gson.Gson;
import com.google.gson.GsonBuilder; import com.google.gson.GsonBuilder;
import io.minimum.minecraft.velocity.data.ServerPing; import com.velocitypowered.proxy.protocol.MinecraftPacket;
import io.minimum.minecraft.velocity.protocol.MinecraftPacket; import com.velocitypowered.proxy.protocol.packets.Ping;
import io.minimum.minecraft.velocity.protocol.packets.Ping; import com.velocitypowered.proxy.protocol.packets.StatusRequest;
import io.minimum.minecraft.velocity.protocol.packets.StatusRequest; import com.velocitypowered.proxy.protocol.packets.StatusResponse;
import io.minimum.minecraft.velocity.protocol.packets.StatusResponse; import com.velocitypowered.proxy.connection.MinecraftConnection;
import io.minimum.minecraft.velocity.proxy.MinecraftConnection; import com.velocitypowered.proxy.data.ServerPing;
import io.minimum.minecraft.velocity.proxy.MinecraftSessionHandler; import com.velocitypowered.proxy.connection.MinecraftSessionHandler;
import net.kyori.text.Component; import net.kyori.text.Component;
import net.kyori.text.TextComponent; import net.kyori.text.TextComponent;
import net.kyori.text.serializer.GsonComponentSerializer; import net.kyori.text.serializer.GsonComponentSerializer;

Datei anzeigen

@ -1,4 +1,4 @@
package io.minimum.minecraft.velocity.data; package com.velocitypowered.proxy.data;
import java.net.InetSocketAddress; import java.net.InetSocketAddress;
import java.util.Objects; import java.util.Objects;

Datei anzeigen

@ -1,4 +1,4 @@
package io.minimum.minecraft.velocity.data; package com.velocitypowered.proxy.data;
import net.kyori.text.Component; import net.kyori.text.Component;

Datei anzeigen

@ -1,4 +1,4 @@
package io.minimum.minecraft.velocity.protocol; package com.velocitypowered.proxy.protocol;
import io.netty.buffer.ByteBuf; import io.netty.buffer.ByteBuf;

Datei anzeigen

@ -1,4 +1,4 @@
package io.minimum.minecraft.velocity.protocol; package com.velocitypowered.proxy.protocol;
import io.netty.buffer.ByteBuf; import io.netty.buffer.ByteBuf;
import io.netty.buffer.ByteBufUtil; import io.netty.buffer.ByteBufUtil;

Datei anzeigen

@ -1,4 +1,4 @@
package io.minimum.minecraft.velocity.protocol; package com.velocitypowered.proxy.protocol;
public enum ProtocolConstants { ; public enum ProtocolConstants { ;
public static final int MINECRAFT_1_12 = 340; public static final int MINECRAFT_1_12 = 340;

Datei anzeigen

@ -1,4 +1,4 @@
package io.minimum.minecraft.velocity.protocol; package com.velocitypowered.proxy.protocol;
import com.google.common.base.Preconditions; import com.google.common.base.Preconditions;
import io.netty.buffer.ByteBuf; import io.netty.buffer.ByteBuf;

Datei anzeigen

@ -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.HashMap;
import java.util.Map; import java.util.Map;

Datei anzeigen

@ -1,4 +1,4 @@
package io.minimum.minecraft.velocity.protocol.compression; package com.velocitypowered.proxy.protocol.compression;
import com.google.common.base.Preconditions; import com.google.common.base.Preconditions;
import io.netty.buffer.ByteBuf; import io.netty.buffer.ByteBuf;

Datei anzeigen

@ -1,4 +1,4 @@
package io.minimum.minecraft.velocity.protocol.compression; package com.velocitypowered.proxy.protocol.compression;
import io.netty.buffer.ByteBuf; import io.netty.buffer.ByteBuf;

Datei anzeigen

@ -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.buffer.ByteBuf;
import io.netty.channel.ChannelHandlerContext; import io.netty.channel.ChannelHandlerContext;
import io.netty.handler.codec.ByteToMessageDecoder; import io.netty.handler.codec.ByteToMessageDecoder;

Datei anzeigen

@ -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.base.Joiner;
import com.google.common.collect.ImmutableList; import com.google.common.collect.ImmutableList;
import io.minimum.minecraft.velocity.protocol.packets.LegacyPing; import com.velocitypowered.proxy.protocol.packets.LegacyPingResponse;
import io.minimum.minecraft.velocity.protocol.packets.LegacyPingResponse;
import io.netty.buffer.ByteBuf; import io.netty.buffer.ByteBuf;
import io.netty.buffer.ByteBufUtil; import io.netty.buffer.ByteBufUtil;
import io.netty.channel.ChannelHandler; import io.netty.channel.ChannelHandler;

Datei anzeigen

@ -1,8 +1,8 @@
package io.minimum.minecraft.velocity.protocol.netty; package com.velocitypowered.proxy.protocol.netty;
import com.google.common.base.Preconditions; import com.google.common.base.Preconditions;
import io.minimum.minecraft.velocity.protocol.ProtocolUtils; import com.velocitypowered.proxy.protocol.ProtocolUtils;
import io.minimum.minecraft.velocity.protocol.compression.VelocityCompressor; import com.velocitypowered.proxy.protocol.compression.VelocityCompressor;
import io.netty.buffer.ByteBuf; import io.netty.buffer.ByteBuf;
import io.netty.channel.ChannelHandlerContext; import io.netty.channel.ChannelHandlerContext;
import io.netty.handler.codec.MessageToMessageDecoder; import io.netty.handler.codec.MessageToMessageDecoder;

Datei anzeigen

@ -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 com.velocitypowered.proxy.protocol.ProtocolUtils;
import io.minimum.minecraft.velocity.protocol.compression.VelocityCompressor; import com.velocitypowered.proxy.protocol.compression.VelocityCompressor;
import io.netty.buffer.ByteBuf; import io.netty.buffer.ByteBuf;
import io.netty.channel.ChannelHandlerContext; import io.netty.channel.ChannelHandlerContext;
import io.netty.handler.codec.MessageToByteEncoder; import io.netty.handler.codec.MessageToByteEncoder;

Datei anzeigen

@ -1,7 +1,7 @@
package io.minimum.minecraft.velocity.protocol.netty; package com.velocitypowered.proxy.protocol.netty;
import com.google.common.base.Preconditions; 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.buffer.ByteBuf;
import io.netty.channel.ChannelHandlerContext; import io.netty.channel.ChannelHandlerContext;
import io.netty.handler.codec.CorruptedFrameException; import io.netty.handler.codec.CorruptedFrameException;

Datei anzeigen

@ -1,7 +1,10 @@
package io.minimum.minecraft.velocity.protocol.netty; package com.velocitypowered.proxy.protocol.netty;
import com.google.common.base.Preconditions; 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.buffer.ByteBuf;
import io.netty.channel.ChannelHandlerContext; import io.netty.channel.ChannelHandlerContext;
import io.netty.handler.codec.MessageToByteEncoder; import io.netty.handler.codec.MessageToByteEncoder;

Datei anzeigen

@ -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.channel.Channel;
import io.netty.handler.timeout.ReadTimeoutHandler; import io.netty.handler.timeout.ReadTimeoutHandler;

Datei anzeigen

@ -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.buffer.ByteBuf;
import io.netty.channel.ChannelHandlerContext; import io.netty.channel.ChannelHandlerContext;
import io.netty.handler.codec.ByteToMessageDecoder; import io.netty.handler.codec.ByteToMessageDecoder;

Datei anzeigen

@ -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.buffer.ByteBuf;
import io.netty.channel.ChannelHandler; import io.netty.channel.ChannelHandler;
import io.netty.channel.ChannelHandlerContext; import io.netty.channel.ChannelHandlerContext;

Datei anzeigen

@ -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 com.velocitypowered.proxy.protocol.ProtocolConstants;
import io.minimum.minecraft.velocity.protocol.ProtocolConstants; import com.velocitypowered.proxy.protocol.MinecraftPacket;
import io.minimum.minecraft.velocity.protocol.ProtocolUtils; import com.velocitypowered.proxy.protocol.ProtocolUtils;
import io.netty.buffer.ByteBuf; import io.netty.buffer.ByteBuf;
public class Chat implements MinecraftPacket { public class Chat implements MinecraftPacket {

Datei anzeigen

@ -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 com.velocitypowered.proxy.protocol.ProtocolConstants;
import io.minimum.minecraft.velocity.protocol.ProtocolConstants; import com.velocitypowered.proxy.protocol.MinecraftPacket;
import io.minimum.minecraft.velocity.protocol.ProtocolUtils; import com.velocitypowered.proxy.protocol.ProtocolUtils;
import io.netty.buffer.ByteBuf; import io.netty.buffer.ByteBuf;
public class Disconnect implements MinecraftPacket { public class Disconnect implements MinecraftPacket {

Datei anzeigen

@ -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 com.velocitypowered.proxy.protocol.ProtocolConstants;
import io.minimum.minecraft.velocity.protocol.ProtocolConstants; import com.velocitypowered.proxy.protocol.MinecraftPacket;
import io.minimum.minecraft.velocity.protocol.ProtocolUtils; import com.velocitypowered.proxy.protocol.ProtocolUtils;
import io.netty.buffer.ByteBuf; import io.netty.buffer.ByteBuf;
public class Handshake implements MinecraftPacket { public class Handshake implements MinecraftPacket {

Datei anzeigen

@ -0,0 +1,4 @@
package com.velocitypowered.proxy.protocol.packets;
public class LegacyPing {
}

Datei anzeigen

@ -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; import net.kyori.text.serializer.ComponentSerializers;
public class LegacyPingResponse { public class LegacyPingResponse {

Datei anzeigen

@ -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 com.velocitypowered.proxy.protocol.ProtocolConstants;
import io.minimum.minecraft.velocity.protocol.ProtocolConstants; import com.velocitypowered.proxy.protocol.MinecraftPacket;
import io.netty.buffer.ByteBuf; import io.netty.buffer.ByteBuf;
public class Ping implements MinecraftPacket { public class Ping implements MinecraftPacket {

Datei anzeigen

@ -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 com.velocitypowered.proxy.protocol.ProtocolConstants;
import io.minimum.minecraft.velocity.protocol.ProtocolConstants; import com.velocitypowered.proxy.protocol.MinecraftPacket;
import io.minimum.minecraft.velocity.protocol.ProtocolUtils; import com.velocitypowered.proxy.protocol.ProtocolUtils;
import io.netty.buffer.ByteBuf; import io.netty.buffer.ByteBuf;
public class ServerLogin implements MinecraftPacket { public class ServerLogin implements MinecraftPacket {

Datei anzeigen

@ -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 com.velocitypowered.proxy.protocol.MinecraftPacket;
import io.minimum.minecraft.velocity.protocol.ProtocolConstants; import com.velocitypowered.proxy.protocol.ProtocolConstants;
import io.minimum.minecraft.velocity.protocol.ProtocolUtils; import com.velocitypowered.proxy.protocol.ProtocolUtils;
import io.netty.buffer.ByteBuf; import io.netty.buffer.ByteBuf;
import java.util.UUID; import java.util.UUID;

Datei anzeigen

@ -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 com.velocitypowered.proxy.protocol.MinecraftPacket;
import io.minimum.minecraft.velocity.protocol.ProtocolConstants; import com.velocitypowered.proxy.protocol.ProtocolConstants;
import io.minimum.minecraft.velocity.protocol.ProtocolUtils; import com.velocitypowered.proxy.protocol.ProtocolUtils;
import io.netty.buffer.ByteBuf; import io.netty.buffer.ByteBuf;
public class SetCompression implements MinecraftPacket { public class SetCompression implements MinecraftPacket {

Datei anzeigen

@ -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 com.velocitypowered.proxy.protocol.ProtocolConstants;
import io.minimum.minecraft.velocity.protocol.ProtocolConstants; import com.velocitypowered.proxy.protocol.MinecraftPacket;
import io.netty.buffer.ByteBuf; import io.netty.buffer.ByteBuf;
public class StatusRequest implements MinecraftPacket { public class StatusRequest implements MinecraftPacket {

Datei anzeigen

@ -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 com.velocitypowered.proxy.protocol.ProtocolConstants;
import io.minimum.minecraft.velocity.protocol.ProtocolConstants; import com.velocitypowered.proxy.protocol.MinecraftPacket;
import io.minimum.minecraft.velocity.protocol.ProtocolUtils; import com.velocitypowered.proxy.protocol.ProtocolUtils;
import io.netty.buffer.ByteBuf; import io.netty.buffer.ByteBuf;
public class StatusResponse implements MinecraftPacket { public class StatusResponse implements MinecraftPacket {

Datei anzeigen

@ -1,4 +1,4 @@
package io.minimum.minecraft.velocity.util; package com.velocitypowered.proxy.util;
public enum ThrowableUtils { public enum ThrowableUtils {
; ;

Datei anzeigen

@ -1,4 +0,0 @@
package io.minimum.minecraft.velocity.protocol.packets;
public class LegacyPing {
}