Interface NodeEnergyPort

All Superinterfaces:
NodePort

public interface NodeEnergyPort extends NodePort
  • Method Summary

    Modifier and Type
    Method
    Description
    int
    pullEnergy(int amount, boolean simulate)
     
    int
    pushEnergy(int amount, boolean simulate)
     

    Methods inherited from interface net.jcm.vsch.api.pipe.capability.NodePort

    getFlowDirection, getPressure
  • Method Details

    • pushEnergy

      int pushEnergy(int amount, boolean simulate)
      Parameters:
      amount - The amount of the energy pushing
      simulate - If this is a simulate action
      Returns:
      The actual amount of energy pushed
    • pullEnergy

      int pullEnergy(int amount, boolean simulate)
      Parameters:
      amount - The amount of the energy pulling
      simulate - If this is a simulate action
      Returns:
      The actual amount of energy pulled