HomeJavaModsCreate: Powerlines
Create: Powerlines
ModsJava

Create: Powerlines

A fork of C:C&A for improving its wire connectors

Which build do you need?

This mod ships a separate file for every mod loader and every version of the game. Pick both, then download — the wrong build installs fine and then does nothing in the game.

Mod loader

Minecraft version

⬇ Download for 1.20.1 · Forge⬇ Download for 1.20.1 · NeoForge
I don't know my version or loader
Open the Minecraft launcher and look at the profile you play on — it names both, like fabric-loader-1.21.4. The version also shows in the bottom-right corner of the game's main menu.
No loader in the profile name? Then it's plain Minecraft, and these mods won't run — you need Fabric or NeoForge installed first.
Create: Powerlines — screenshot 1Create: Powerlines — screenshot 2Create: Powerlines — screenshot 3Create: Powerlines — screenshot 4

A fork of Create: Crafts & Additions for improving it's wire connectors, giving them more tiers with greater distance and power, with mod compatibilities

NOTICE!

Mod does not come with recipes in the base mod! Add recipes yourself using datapacks or scripting, OR use with C:C&A/Gregtech Modern

Compats:

Create: Crafts & Additions

Gregtech Modern

Planned:

The mod is also fairly easy to make custom connectors with via a Java mod!

build.gradle

repositories { // Place cursemaven repos within repositories block
   maven { url "https://cursemaven.com/"; content { includeGroup "curse.maven" } }
   maven { url = "https://minecraft.curseforge.com/api/maven/" }
}

dependencies { // Place impl within dependencies block
    implementation fg.deobf("curse.maven:create-powerlines-1076056:6274258")
}

CustomPowerlines.java

import net.deepacat.createpowerlines.blocks.connector.ConnectorStyle;
import net.deepacat.createpowerlines.blocks.connector.ConnectorType;
import net.deepacat.createpowerlines.blocks.connector.ConnectorTypes;
import net.deepacat.createpowerlines.item.WireMaterial;
import net.deepacat.createpowerlines.item.WireMaterials;

import java.util.ArrayList;
import java.util.List;

import static net.deepacat.createpowerlines.blocks.connector.ConnectorTypes.registerOne;
import static net.deepacat.createpowerlines.blocks.connector.ConnectorTypes.registerTier;

public class CustomPowerlines {
    public static void init() {
        ArrayList<WireMaterial> allTier = new ArrayList<>(); // All
        ArrayList<WireMaterial> tierULV = new ArrayList<>(); // 0
        ArrayList<WireMaterial> tierLV = new ArrayList<>();  // 1
        ArrayList<WireMaterial> tierMV = new ArrayList<>();  // 2
        ArrayList<WireMaterial> tierHV = new ArrayList<>();  // 3
        ArrayList<WireMaterial> tierEV = new ArrayList<>();  // 4

        WireMaterial silver = WireMaterials.getOrRegister("Silver", 0xCECECE);
        allTier.add(silver);

        public static ConnectorType[] registerTier(String tier, long baseEnergy, double[] energyMults, int color, List<WireMaterial> wireMaterials) {
        registerTier("Silver", 2048, 1, 0xCECECE, allTier);

        public static ConnectorType registerOne(String tier, String size, int connections, int wireLength, long baseEnergy, double energyMult,
          List<WireMaterial> wireMaterials, int width, int height, int color, ConnectorStyle style)
        registerOne("testConnector", "Small", 4, 16, 4096, 2, allTier, 3, 4, 0xCECECE, ConnectorStyle.LARGE);
    }
}
Verified by MCModsHub

These come from our own check of the pack file, not from the source page.

Explore more