Examples of FluidToReactantMapping


Examples of erogenousbeef.bigreactors.api.data.FluidToReactantMapping

  public static void registerFluid(FluidStack fluidStack, String reactantName) {
    if(!_reactants.containsKey(reactantName)) {
      throw new IllegalArgumentException("Unknown reactantName " + reactantName);
    }

    FluidToReactantMapping mapping = new FluidToReactantMapping(fluidStack, reactantName);
    SourceProductMapping reverseMapping = mapping.getReverse();

    _fluidToReactant.put(mapping.getSource(), mapping);
    mapReactant(reverseMapping.getSource(), reverseMapping, _reactantToFluid);
  }
View Full Code Here

Examples of erogenousbeef.bigreactors.api.data.FluidToReactantMapping

  public static void registerFluid(Fluid fluid, String reactantName) {
    if(!_reactants.containsKey(reactantName)) {
      throw new IllegalArgumentException("Unknown reactantName " + reactantName);
    }

    FluidToReactantMapping mapping = new FluidToReactantMapping(fluid, reactantName);
    SourceProductMapping reverseMapping = mapping.getReverse();

    _fluidToReactant.put(mapping.getSource(), mapping);
    mapReactant(reverseMapping.getSource(), reverseMapping, _reactantToFluid);
  }
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.