Uses of Enum Class
net.minecraft.network.NetworkState
Packages that use NetworkState
-
Uses of NetworkState in net.minecraft.network
Fields in net.minecraft.network declared as NetworkStateFields in net.minecraft.network with type parameters of type NetworkStateModifier and TypeFieldDescriptionprivate static final Map<Class<? extends Packet<?>>,NetworkState> NetworkState.HANDLER_STATE_MAPstatic final AttributeKey<NetworkState>ClientConnection.PROTOCOL_ATTRIBUTE_KEYThe attribute key for the current network state of the backing netty channel.Methods in net.minecraft.network that return NetworkStateModifier and TypeMethodDescriptionstatic @Nullable NetworkStateNetworkState.byId(int id) static @Nullable NetworkStateNetworkState.getPacketHandlerState(Packet<?> handler) private NetworkStateClientConnection.getState()Returns the current network state of this connection.static NetworkStateReturns 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.Methods in net.minecraft.network with parameters of type NetworkStateModifier and TypeMethodDescriptionprivate voidClientConnection.sendInternal(Packet<?> packet, @Nullable PacketCallbacks callbacks, NetworkState packetState, NetworkState currentState) voidClientConnection.setState(NetworkState state) -
Uses of NetworkState in net.minecraft.network.packet.c2s.handshake
Fields in net.minecraft.network.packet.c2s.handshake declared as NetworkStateMethods in net.minecraft.network.packet.c2s.handshake that return NetworkStateConstructors in net.minecraft.network.packet.c2s.handshake with parameters of type NetworkStateModifierConstructorDescriptionHandshakeC2SPacket(String address, int port, NetworkState intendedState)