Uses of Enum Class
net.minecraft.network.NetworkState
-
Uses of NetworkState in net.minecraft.network
Modifier and TypeFieldDescriptionprivate static Map<Class<? extends Packet<?>>,NetworkState>
NetworkState.HANDLER_STATE_MAP
static AttributeKey<NetworkState>
ClientConnection.PROTOCOL_ATTRIBUTE_KEY
The attribute key for the current network state of the backing netty channel.Modifier and TypeMethodDescriptionstatic @Nullable NetworkState
NetworkState.byId(int id)
static NetworkState
NetworkState.getPacketHandlerState(Packet<?> handler)
private NetworkState
ClientConnection.getState()
Returns the current network state of this connection.static NetworkState
Returns the enum constant of this class with the specified name.static NetworkState[]
NetworkState.values()
Returns an array containing the constants of this enum class, in the order they are declared.Modifier and TypeMethodDescriptionprivate void
ClientConnection.sendInternal(Packet<?> packet, @Nullable GenericFutureListener<? extends Future<? super Void>> callback, NetworkState networkState, NetworkState networkState2)
void
ClientConnection.setState(NetworkState state)
-
Uses of NetworkState in net.minecraft.network.packet.c2s.handshake
ModifierConstructorDescriptionHandshakeC2SPacket(String address, int port, NetworkState intendedState)