Package net.minecraftforge.fml.network
Class FMLStatusPing
- java.lang.Object
-
- net.minecraftforge.fml.network.FMLStatusPing
-
public class FMLStatusPing extends java.lang.Object
{ "fmlNetworkVersion" : FMLNETVERSION, "channels": [ { "res": "fml:handshake", "version": "1.2.3.4", "required": true } ], "mods": [ { "modid": "modid", "modmarker": "" } ] }
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
FMLStatusPing.Serializer
-
Field Summary
Fields Modifier and Type Field Description private static int
CHANNEL_TRUNCATE_LIMIT
private java.util.Map<ResourceLocation,org.apache.commons.lang3.tuple.Pair<java.lang.String,java.lang.Boolean>>
channels
private int
fmlNetworkVer
private static org.apache.logging.log4j.Logger
LOGGER
private static int
MOD_TRUNCATE_LIMIT
private java.util.Map<java.lang.String,java.lang.String>
mods
private boolean
truncated
private static boolean
warnedAboutTruncation
-
Constructor Summary
Constructors Modifier Constructor Description FMLStatusPing()
private
FMLStatusPing(java.util.Map<ResourceLocation,org.apache.commons.lang3.tuple.Pair<java.lang.String,java.lang.Boolean>> deserialized, java.util.Map<java.lang.String,java.lang.String> modMarkers, int fmlNetVer, boolean truncated)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getFMLNetworkVersion()
java.util.Map<ResourceLocation,org.apache.commons.lang3.tuple.Pair<java.lang.String,java.lang.Boolean>>
getRemoteChannels()
java.util.Map<java.lang.String,java.lang.String>
getRemoteModData()
boolean
isTruncated()
-
-
-
Field Detail
-
LOGGER
private static final org.apache.logging.log4j.Logger LOGGER
-
CHANNEL_TRUNCATE_LIMIT
private static final int CHANNEL_TRUNCATE_LIMIT
- See Also:
- Constant Field Values
-
MOD_TRUNCATE_LIMIT
private static final int MOD_TRUNCATE_LIMIT
- See Also:
- Constant Field Values
-
warnedAboutTruncation
private static volatile boolean warnedAboutTruncation
-
channels
private transient java.util.Map<ResourceLocation,org.apache.commons.lang3.tuple.Pair<java.lang.String,java.lang.Boolean>> channels
-
mods
private transient java.util.Map<java.lang.String,java.lang.String> mods
-
fmlNetworkVer
private transient int fmlNetworkVer
-
truncated
private transient boolean truncated
-
-
Constructor Detail
-
FMLStatusPing
public FMLStatusPing()
-
FMLStatusPing
private FMLStatusPing(java.util.Map<ResourceLocation,org.apache.commons.lang3.tuple.Pair<java.lang.String,java.lang.Boolean>> deserialized, java.util.Map<java.lang.String,java.lang.String> modMarkers, int fmlNetVer, boolean truncated)
-
-
Method Detail
-
getRemoteChannels
public java.util.Map<ResourceLocation,org.apache.commons.lang3.tuple.Pair<java.lang.String,java.lang.Boolean>> getRemoteChannels()
-
getRemoteModData
public java.util.Map<java.lang.String,java.lang.String> getRemoteModData()
-
getFMLNetworkVersion
public int getFMLNetworkVersion()
-
isTruncated
public boolean isTruncated()
-
-