Class FMLStatusPing

java.lang.Object
net.minecraftforge.fmllegacy.network.FMLStatusPing

public class FMLStatusPing extends Object
{ "fmlNetworkVersion" : FMLNETVERSION, "channels": [ { "res": "fml:handshake", "version": "1.2.3.4", "required": true } ], "mods": [ { "modid": "modid", "modmarker": "<somestring>" } ] }
  • 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

      private transient Map<String,​String> mods
    • fmlNetworkVer

      private transient int fmlNetworkVer
    • truncated

      private transient boolean truncated
  • Constructor Details

    • FMLStatusPing

      public FMLStatusPing()
    • FMLStatusPing

      private FMLStatusPing(Map<ResourceLocation,​org.apache.commons.lang3.tuple.Pair<String,​Boolean>> deserialized, Map<String,​String> modMarkers, int fmlNetVer, boolean truncated)
  • Method Details

    • getRemoteChannels

      public Map<ResourceLocation,​org.apache.commons.lang3.tuple.Pair<String,​Boolean>> getRemoteChannels()
    • getRemoteModData

      public Map<String,​String> getRemoteModData()
    • getFMLNetworkVersion

      public int getFMLNetworkVersion()
    • isTruncated

      public boolean isTruncated()