Mekanism-tilera-Edition/common/mekanism/api/transmitters/ITransmitterNetwork.java

44 lines
871 B
Java
Raw Normal View History

package mekanism.api.transmitters;
2013-08-04 02:18:43 +02:00
import java.util.List;
2013-08-18 22:51:47 +02:00
import java.util.Set;
2013-12-06 13:57:26 +01:00
public interface ITransmitterNetwork<A, N extends DynamicNetwork<A, N>>
2013-08-04 02:18:43 +02:00
{
public void tick();
2013-08-04 02:18:43 +02:00
public int getSize();
public int getAcceptorSize();
public String getNeeded();
public String getStored();
public String getFlow();
2013-08-18 22:51:47 +02:00
public Set<A> getAcceptors(Object... data);
2013-12-21 01:12:33 +01:00
public void removeTransmitter(IGridTransmitter<N> transmitter);
2013-08-18 22:51:47 +02:00
public void refresh();
2013-12-21 01:12:33 +01:00
public void split(IGridTransmitter<N> splitPoint);
2013-08-18 22:51:47 +02:00
public void merge(N network);
2013-12-21 01:12:33 +01:00
public void fixMessedUpNetwork(IGridTransmitter<N> transmitter);
2013-08-18 22:51:47 +02:00
public void register();
2013-08-18 22:51:47 +02:00
public void deregister();
public void setFixed(boolean value);
public TransmissionType getTransmissionType();
public boolean canMerge(List<ITransmitterNetwork<?, ?>> networks);
public void onNetworksCreated(List<N> networks);
2013-08-04 02:18:43 +02:00
}