Examples of changeEnergyConfig()


Examples of forestry.energy.gadgets.EngineTin.changeEnergyConfig()

  public void onInsertion(int slot, TileEntity tile) {
    if (!isCircuitable(tile))
      return;

    EngineTin engine = (EngineTin) tile;
    engine.changeEnergyConfig(euChange, rfChange, 2 * euChange);
  }

  @Override
  public void onLoad(int slot, TileEntity tile) {
    onInsertion(slot, tile);
View Full Code Here

Examples of forestry.energy.gadgets.EngineTin.changeEnergyConfig()

  public void onRemoval(int slot, TileEntity tile) {
    if (!isCircuitable(tile))
      return;

    EngineTin engine = (EngineTin) tile;
    engine.changeEnergyConfig(-euChange, -rfChange, -(2 * euChange));
  }

  @Override
  public void onTick(int slot, TileEntity tile) {
  }
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.