blob: ae99eafd9309abbe16c2dd00ea125dd0dfec67ce (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
package ihl.interfaces;
import java.util.Set;
import net.minecraft.nbt.NBTTagCompound;
import ihl.flexible_cable.IHLGrid;
public interface IEnergyNetNode extends ICableHolder{
IHLGrid getGrid();
int getGridID();
void setGrid(int newGridID);
double getMaxAllowableVoltage();
boolean addCable(NBTTagCompound cable);
Set<NBTTagCompound> getCableList();
void removeAttachedChains();
void remove(NBTTagCompound cable);
double getEnergyAmountThisNodeWant();
void injectEnergyInThisNode(double amount, double voltage);
}
|