promotional bannermobile promotional banner

Flux Network x CC: Tweaked

Compatability between Flux Network and CC: Tweaked

Flux Network x CC: Tweaked

Need to manage your energy? Now you can!
You can get from the network all your energy, and network stats

Will this be updated for newer versions of Minecraft?

Yes, I just want to get the base features before porting it to newer versions

Can I use this in my modpack?

Yes you can! All my mods can go into modpacks of your liking

IMPORTANT FOR FNCCT 1.1.0 AND ABOVE

Due to CC: Tweaked updates, you will need to download CC: Tweaked from https://modrinth.com/mod/cc-tweaked

Here is an example using this mod:

local flux = peripheral.find("flux_controller") -- Find a flux controller
local monitor = peripheral.find("monitor") -- Find a monitor
monitor.clear() -- Clear the monitor
local line = 0 -- Start

local function write(toWrite, color)
line = line + 1
-- If the color param is not given, default to white
if color == nil then
color = 0x1 -- this is white
end
monitor.setTextColor(color)
monitor.setCursorPos(1, line)
monitor.write(toWrite)
monitor.setTextColor(0x1)
end

-- This function turns numbers from 194168 to 192,168 for example
local function format_number(n)
local formatted = tostring(n)
local k
while true do
formatted, k = formatted:gsub("^(-?%d+)(%d%d%d)", '%1,%2')
if k == 0 then break end
end
return formatted
end

while true do
local stats = flux.networkStats()
write(format_number(flux.getEnergy()) .. " / " .. format_number(flux.getEnergyCapacity()) .. " FE")
write()
write("Controllers: ".. stats.controllerCount)
write("Points: ".. stats.pointCount)
write("Storages: ".. stats.storageCount)
write("Buffer: ".. stats.totalBuffer)
write("Total Energy: ".. stats.totalEnergy)
write("Energy Input: ".. stats.energyInput)
write("Energy Output: ".. stats.energyOutput)
write("Average Tick: ".. stats.averageTick)
write("Connection Count: ".. stats.connectionCount)
line = 0 -- reset line count. Handeled in the write function
end

The Flux Network x CC: Tweaked Team

profile avatar
  • 8
    Followers
  • 8
    Projects
  • 387.1K
    Downloads
Donate

More from Wolfieboy09View all

  • Research Tree project image

    Research Tree

    • 67
    • Mods

    A Research Tree mod for all of your needs. Supports many things and is fully data-driven!

    • 67
    • March 25, 2026
    • Mods
    • +2
  • Mekanism x Create: Northstar project image

    Mekanism x Create: Northstar

    • 81.1K
    • Mods

    Compatibility between Mekanism and Create: Northstar

    • 81.1K
    • January 12, 2026
    • Mods
    • +2
  • Create: Netherless Ported project image

    Create: Netherless Ported

    • 56.3K
    • Mods

    Create: Netherless to 1.21.1 NeoForge, de-mcreatored it, make recipes better, and add new features!

    • 56.3K
    • September 26, 2025
    • Mods
    • +1
  • KubeJS TFMG project image

    KubeJS TFMG

    • 57.4K
    • Mods

    KubeJS intergration for Create: The Factory Must Grow

    • 57.4K
    • September 23, 2025
    • Mods
    • +2
  • Research Tree project image

    Research Tree

    • 67
    • Mods

    A Research Tree mod for all of your needs. Supports many things and is fully data-driven!

    • 67
    • March 25, 2026
    • Mods
    • +2
  • Mekanism x Create: Northstar project image

    Mekanism x Create: Northstar

    • 81.1K
    • Mods

    Compatibility between Mekanism and Create: Northstar

    • 81.1K
    • January 12, 2026
    • Mods
    • +2
  • Create: Netherless Ported project image

    Create: Netherless Ported

    • 56.3K
    • Mods

    Create: Netherless to 1.21.1 NeoForge, de-mcreatored it, make recipes better, and add new features!

    • 56.3K
    • September 26, 2025
    • Mods
    • +1
  • KubeJS TFMG project image

    KubeJS TFMG

    • 57.4K
    • Mods

    KubeJS intergration for Create: The Factory Must Grow

    • 57.4K
    • September 23, 2025
    • Mods
    • +2