Package cpw.mods.fml.common

Examples of cpw.mods.fml.common.Mod


  public final boolean networkCheck(Map<String, String> remoteVersions, Side side) throws InvalidVersionSpecificationException {

    if (!requiresRemoteFrom(side)) {
      return true;
    }
    Mod mod = getClass().getAnnotation(Mod.class);
    String _modid = mod.modid();
    if (!remoteVersions.containsKey(_modid)) {
      return false;
    }
    String remotes = mod.acceptableRemoteVersions();
    if (!"*".equals(remotes)) {

      String remote = remoteVersions.get(_modid);
      if (Strings.isNullOrEmpty(remotes)) {
        return getModVersion().equalsIgnoreCase(remote);
View Full Code Here

TOP

Related Classes of cpw.mods.fml.common.Mod

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.