blob: 4d0435a11ee79359192a062ad68669236cfe9b52 [file] [log] [blame] [raw]
package li.cil.oc.api.detail;
import li.cil.oc.api.network.Component;
import li.cil.oc.api.network.Node;
import li.cil.oc.api.network.Visibility;
import li.cil.oc.api.network.Environment;
import net.minecraft.world.World;
public interface NetworkAPI {
void joinOrCreateNetwork(World world, int x, int y, int z);
Node createNode(Environment host, String name, Visibility visibility);
Component createComponent(Node node);
Node createProducer(Node node);
Node createConsumer(Node node);
}