Uses of Enum Class
net.minecraft.network.NetworkState
Package
Description
-
Uses of NetworkState in net.minecraft.network
Modifier and TypeMethodDescriptionNetworkState.PacketHandler.getState()
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 TypeMethodDescriptionNetworkState.PacketHandlerInitializer.createSideToHandlerMap
(NetworkState state) ModifierConstructorDescriptionPacketHandler
(NetworkState state, NetworkSide side, NetworkState.InternalPacketHandler<T> backingHandler) -
Uses of NetworkState in net.minecraft.network.listener
Modifier and TypeMethodDescriptiondefault NetworkState
ClientConfigurationPacketListener.getState()
default NetworkState
ClientLoginPacketListener.getState()
default NetworkState
ClientPlayPacketListener.getState()
default NetworkState
ClientQueryPacketListener.getState()
PacketListener.getState()
default NetworkState
ServerConfigurationPacketListener.getState()
default NetworkState
ServerHandshakePacketListener.getState()
default NetworkState
ServerLoginPacketListener.getState()
default NetworkState
ServerPlayPacketListener.getState()
default NetworkState
ServerQueryPacketListener.getState()
-
Uses of NetworkState in net.minecraft.network.packet
Modifier and TypeMethodDescriptiondefault @Nullable NetworkState
Packet.getNewNetworkState()
Returns a new network state to transition to, ornull
to indicate no state change. -
Uses of NetworkState in net.minecraft.network.packet.c2s.config
Modifier and TypeMethodDescriptionReadyC2SPacket.getNewNetworkState()
Returns a new network state to transition to, ornull
to indicate no state change. -
Uses of NetworkState in net.minecraft.network.packet.c2s.handshake
Modifier and TypeMethodDescriptionHandshakeC2SPacket.getNewNetworkState()
Returns a new network state to transition to, ornull
to indicate no state change.ConnectionIntent.getState()
-
Uses of NetworkState in net.minecraft.network.packet.c2s.login
Modifier and TypeMethodDescriptionEnterConfigurationC2SPacket.getNewNetworkState()
Returns a new network state to transition to, ornull
to indicate no state change. -
Uses of NetworkState in net.minecraft.network.packet.c2s.play
Modifier and TypeMethodDescriptionAcknowledgeReconfigurationC2SPacket.getNewNetworkState()
Returns a new network state to transition to, ornull
to indicate no state change. -
Uses of NetworkState in net.minecraft.network.packet.s2c.config
Modifier and TypeMethodDescriptionReadyS2CPacket.getNewNetworkState()
Returns a new network state to transition to, ornull
to indicate no state change. -
Uses of NetworkState in net.minecraft.network.packet.s2c.login
Modifier and TypeMethodDescriptionLoginSuccessS2CPacket.getNewNetworkState()
Returns a new network state to transition to, ornull
to indicate no state change. -
Uses of NetworkState in net.minecraft.network.packet.s2c.play
Modifier and TypeMethodDescriptionEnterReconfigurationS2CPacket.getNewNetworkState()
Returns a new network state to transition to, ornull
to indicate no state change. -
Uses of NetworkState in net.minecraft.util.profiling.jfr
Modifier and TypeMethodDescriptionvoid
FlightProfiler.NoopProfiler.onPacketReceived
(NetworkState state, int packetId, SocketAddress remoteAddress, int bytes) void
FlightProfiler.onPacketReceived
(NetworkState state, int packetId, SocketAddress remoteAddress, int bytes) void
JfrProfiler.onPacketReceived
(NetworkState state, int packetId, SocketAddress remoteAddress, int bytes) void
FlightProfiler.NoopProfiler.onPacketSent
(NetworkState state, int packetId, SocketAddress remoteAddress, int bytes) void
FlightProfiler.onPacketSent
(NetworkState state, int packetId, SocketAddress remoteAddress, int bytes) void
JfrProfiler.onPacketSent
(NetworkState state, int packetId, SocketAddress remoteAddress, int bytes)