Package net.jcm.vsch.api.pipe.capability
Interface NodeEnergyPort
- All Superinterfaces:
NodePort
-
Method Summary
Modifier and TypeMethodDescriptionintpullEnergy(int amount, boolean simulate) intpushEnergy(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 pushingsimulate- 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 pullingsimulate- If this is a simulate action- Returns:
- The actual amount of energy pulled
-