Package net.minecraftforge.network
Class NetworkConstants
java.lang.Object
net.minecraftforge.network.NetworkConstants
Constants related to networking
-
Field Summary
FieldsModifier and TypeFieldDescription(package private) static final io.netty.util.AttributeKey<ConnectionData>(package private) static final io.netty.util.AttributeKey<HandshakeHandler>(package private) static final ResourceLocation(package private) static final io.netty.util.AttributeKey<MCRegisterPacketHandler.ChannelList>(package private) static final io.netty.util.AttributeKey<ConnectionData.ModMismatchData>(package private) static final io.netty.util.AttributeKey<String>(package private) static final ResourceLocationstatic final Stringstatic final intNetversion 3:HandshakeMessages.S2CModListpacket may include a list of non-vanilla synced datapack registry ids.(package private) static final SimpleChannelstatic final StringReturn this value in yourIExtensionPoint.DisplayTestfunction to be ignored.(package private) static final ResourceLocation(package private) static final ResourceLocation(package private) static final List<EventNetworkChannel>static final String(package private) static final org.apache.logging.log4j.Markerstatic final String(package private) static final SimpleChannel -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
FMLNETMARKER
- See Also:
-
FMLNETVERSION
public static final int FMLNETVERSIONNetversion 3:HandshakeMessages.S2CModListpacket may include a list of non-vanilla synced datapack registry ids.- See Also:
-
NETVERSION
- See Also:
-
NOVERSION
- See Also:
-
NETWORK
static final org.apache.logging.log4j.Marker NETWORK -
FML_NETVERSION
-
FML_HANDSHAKE_HANDLER
-
FML_MC_REGISTRY
-
FML_CONNECTION_DATA
-
FML_MOD_MISMATCH_DATA
-
FML_HANDSHAKE_RESOURCE
-
FML_PLAY_RESOURCE
-
MC_REGISTER_RESOURCE
-
MC_UNREGISTER_RESOURCE
-
handshakeChannel
-
playChannel
-
mcRegChannels
-
IGNORESERVERONLY
Return this value in yourIExtensionPoint.DisplayTestfunction to be ignored.- See Also:
-
-
Constructor Details
-
NetworkConstants
public NetworkConstants()
-
-
Method Details
-
init
-