Examples of OreDictToReactantMapping


Examples of erogenousbeef.bigreactors.api.data.OreDictToReactantMapping

    }

    SourceProductMapping firstMapping = null;

    for(String name : oreDictNames) {
      OreDictToReactantMapping mapping = new OreDictToReactantMapping(name, reactantName);
      SourceProductMapping reverseMapping = mapping.getReverse();
      _solidToReactant.put(mapping.getSource(), mapping);
      mapReactant(reverseMapping.getSource(), reverseMapping, _reactantToSolid);

      if(firstMapping == null) { firstMapping = mapping; }
    }
   
View Full Code Here

Examples of erogenousbeef.bigreactors.api.data.OreDictToReactantMapping

    }

    SourceProductMapping firstMapping = null;

    for(String name : oreDictNames) {
      OreDictToReactantMapping mapping = new OreDictToReactantMapping(name, reactantName, reactantQty);
      SourceProductMapping reverseMapping = mapping.getReverse();
      _solidToReactant.put(mapping.getSource(), mapping);
      mapReactant(reverseMapping.getSource(), reverseMapping, _reactantToSolid);

      if(firstMapping == null) { firstMapping = mapping; }
    }
   
View Full Code Here

Examples of erogenousbeef.bigreactors.api.data.OreDictToReactantMapping

  public static SourceProductMapping registerSolid(String oreDictName, String reactantName, int reactantAmount) {
    if(!_reactants.containsKey(reactantName)) {
      throw new IllegalArgumentException("Unknown reactantName " + reactantName);
    }
   
    OreDictToReactantMapping mapping = new OreDictToReactantMapping(oreDictName, reactantName, reactantAmount);
   
    _solidToReactant.put(mapping.getSource(), mapping);
   
    SourceProductMapping reverseMapping = mapping.getReverse();
    mapReactant(reverseMapping.getSource(), reverseMapping, _reactantToSolid);
    return mapping;
  }
View Full Code Here

Examples of erogenousbeef.bigreactors.api.data.OreDictToReactantMapping

  public static SourceProductMapping registerSolid(String oreDictName, String reactantName) {
    if(!_reactants.containsKey(reactantName)) {
      throw new IllegalArgumentException("Unknown reactantName " + reactantName);
    }
   
    OreDictToReactantMapping mapping = new OreDictToReactantMapping(oreDictName, reactantName);
    SourceProductMapping reverseMapping = mapping.getReverse();
   
    _solidToReactant.put(mapping.getSource(), mapping);
    mapReactant(reverseMapping.getSource(), reverseMapping, _reactantToSolid);
    return mapping;
  }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.