geforkt von Mirrors/Velocity
Remove no longer used imports
Dieser Commit ist enthalten in:
Ursprung
3a1b5099c9
Commit
ca81b05551
@ -1,11 +1,8 @@
|
|||||||
package com.velocitypowered.proxy.connection.client;
|
package com.velocitypowered.proxy.connection.client;
|
||||||
|
|
||||||
import com.velocitypowered.api.network.ProtocolVersion;
|
|
||||||
import com.velocitypowered.proxy.connection.backend.VelocityServerConnection;
|
import com.velocitypowered.proxy.connection.backend.VelocityServerConnection;
|
||||||
import com.velocitypowered.proxy.connection.forge.legacy.LegacyForgeConstants;
|
|
||||||
import com.velocitypowered.proxy.connection.forge.legacy.LegacyForgeHandshakeClientPhase;
|
import com.velocitypowered.proxy.connection.forge.legacy.LegacyForgeHandshakeClientPhase;
|
||||||
import com.velocitypowered.proxy.protocol.packet.PluginMessage;
|
import com.velocitypowered.proxy.protocol.packet.PluginMessage;
|
||||||
import com.velocitypowered.proxy.protocol.util.PluginMessageUtil;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Provides connection phase specific actions.
|
* Provides connection phase specific actions.
|
||||||
@ -16,8 +13,7 @@ import com.velocitypowered.proxy.protocol.util.PluginMessageUtil;
|
|||||||
public interface ClientConnectionPhase {
|
public interface ClientConnectionPhase {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Handle a plugin message in the context of
|
* Handle a plugin message in the context of this phase.
|
||||||
* this phase.
|
|
||||||
*
|
*
|
||||||
* @param player The player
|
* @param player The player
|
||||||
* @param message The message to handle
|
* @param message The message to handle
|
||||||
@ -31,8 +27,7 @@ public interface ClientConnectionPhase {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Instruct Velocity to reset the connection phase
|
* Instruct Velocity to reset the connection phase back to its default for the connection type.
|
||||||
* back to its default for the connection type.
|
|
||||||
*
|
*
|
||||||
* @param player The player
|
* @param player The player
|
||||||
*/
|
*/
|
||||||
@ -40,8 +35,7 @@ public interface ClientConnectionPhase {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Perform actions just as the player joins the
|
* Perform actions just as the player joins the server.
|
||||||
* server.
|
|
||||||
*
|
*
|
||||||
* @param player The player
|
* @param player The player
|
||||||
*/
|
*/
|
||||||
@ -50,6 +44,7 @@ public interface ClientConnectionPhase {
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* Indicates whether the connection is considered complete.
|
* Indicates whether the connection is considered complete.
|
||||||
|
*
|
||||||
* @return true if so
|
* @return true if so
|
||||||
*/
|
*/
|
||||||
default boolean consideredComplete() {
|
default boolean consideredComplete() {
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren