summaryrefslogtreecommitdiff
path: root/ihl/interfaces/IEnergyNetNode.java
blob: 3d04160ce2e311afec5c1faaf0b85ad6fde2d892 (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 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<NBTTagCompound> getCableList();
	void removeAttachedChains();
	void remove(NBTTagCompound cable);
	double getEnergyAmountThisNodeWant();
	void injectEnergyInThisNode(double amount, double voltage);
}