Class FMLStatusPing
java.lang.Object
net.minecraftforge.fmllegacy.network.FMLStatusPing
{
"fmlNetworkVersion" : FMLNETVERSION,
"channels": [
{
"res": "fml:handshake",
"version": "1.2.3.4",
"required": true
}
],
"mods": [
{
"modid": "modid",
"modmarker": "<somestring>"
}
]
}
-
Nested Class Summary
-
Field Summary
Modifier and TypeFieldDescriptionprivate static int
private Map<ResourceLocation,org.apache.commons.lang3.tuple.Pair<String,Boolean>>
private int
private static org.apache.logging.log4j.Logger
private static int
private boolean
private static boolean
-
Constructor Summary
ModifierConstructorDescriptionprivate
FMLStatusPing(Map<ResourceLocation,org.apache.commons.lang3.tuple.Pair<String,Boolean>> deserialized, Map<String,String> modMarkers, int fmlNetVer, boolean truncated)
-
Method Summary
Modifier and TypeMethodDescriptionint
Map<ResourceLocation,org.apache.commons.lang3.tuple.Pair<String,Boolean>>
boolean
-
Field Details
-
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 Map<ResourceLocation,org.apache.commons.lang3.tuple.Pair<String,Boolean>> channels -
mods
-
fmlNetworkVer
private transient int fmlNetworkVer -
truncated
private transient boolean truncated
-
-
Constructor Details
-
FMLStatusPing
public FMLStatusPing() -
FMLStatusPing
-
-
Method Details
-
getRemoteChannels
public Map<ResourceLocation,org.apache.commons.lang3.tuple.Pair<String,Boolean>> getRemoteChannels() -
getRemoteModData
-
getFMLNetworkVersion
public int getFMLNetworkVersion() -
isTruncated
public boolean isTruncated()
-