Uses of Enum
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 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.Methods in net.minecraft.network that return NetworkStateModifier 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 type with the specified name.static NetworkState[]
NetworkState.values()
Returns an array containing the constants of this enum type, in the order they are declared.Methods in net.minecraft.network with parameters of type NetworkState -
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)