summaryrefslogtreecommitdiff
path: root/ihl/interfaces/IEnergyNetNode.java
blob: b18b1660c8c72154a182085043c56ea9e628760e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
package ihl.interfaces;

import java.util.Set;

import ihl.flexible_cable.IHLCable;
import ihl.flexible_cable.IHLGrid;
import net.minecraft.nbt.NBTTagCompound;

public interface IEnergyNetNode extends ICableHolder{
	IHLGrid getGrid();
	int getGridID();
	void setGrid(int newGridID);
	double getMaxAllowableVoltage();
	boolean addCable(NBTTagCompound cable);
	Set<IHLCable> getCableList();
	void removeAttachedChains();
	void remove(IHLCable cable);
	double getEnergyAmountThisNodeWant();
	void injectEnergyInThisNode(double amount, double voltage);
}