Uses of Interface
net.minecraft.network.NetworkState
-
Uses of NetworkState in net.minecraft.network
Modifier and TypeClassDescriptionprivate static final record
Modifier and TypeFieldDescriptionprivate static final NetworkState
<ServerHandshakePacketListener> ClientConnection.C2S_HANDSHAKE_STATE
Modifier and TypeMethodDescriptionModifier and TypeMethodDescription<S extends ServerPacketListener,
C extends ClientPacketListener>
voidClientConnection.connect
(String address, int port, NetworkState<S> outboundState, NetworkState<C> inboundState, C prePlayStateListener, boolean transfer) private <S extends ServerPacketListener,
C extends ClientPacketListener>
voidClientConnection.connect
(String address, int port, NetworkState<S> outboundState, NetworkState<C> inboundState, C prePlayStateListener, ConnectionIntent intent) private void
ClientConnection.setPacketListener
(NetworkState<?> state, PacketListener listener) <T extends PacketListener>
voidClientConnection.transitionInbound
(NetworkState<T> state, T packetListener) void
ClientConnection.transitionOutbound
(NetworkState<?> newState) -
Uses of NetworkState in net.minecraft.network.handler
Modifier and TypeFieldDescriptionprivate final NetworkState
<T> DecoderHandler.state
private final NetworkState
<T> EncoderHandler.state
Modifier and TypeMethodDescriptionstatic <T extends PacketListener>
NetworkStateTransitions.DecoderTransitionerNetworkStateTransitions.decoderTransitioner
(NetworkState<T> newState) static <T extends PacketListener>
NetworkStateTransitions.EncoderTransitionerNetworkStateTransitions.encoderTransitioner
(NetworkState<T> newState) ModifierConstructorDescriptionDecoderHandler
(NetworkState<T> state) EncoderHandler
(NetworkState<T> state) -
Uses of NetworkState in net.minecraft.network.state
Modifier and TypeFieldDescriptionstatic final NetworkState
<ServerConfigurationPacketListener> ConfigurationStates.C2S
static final NetworkState
<ServerHandshakePacketListener> HandshakeStates.C2S
static final NetworkState
<ServerLoginPacketListener> LoginStates.C2S
static final NetworkState
<ServerQueryPacketListener> QueryStates.C2S
static final NetworkState
<ClientConfigurationPacketListener> ConfigurationStates.S2C
static final NetworkState
<ClientLoginPacketListener> LoginStates.S2C
static final NetworkState
<ClientQueryPacketListener> QueryStates.S2C