Community listing page, reviews may not be monitored by the author.
Flux Network x CC: Tweaked
No reviews yet
Compatability between Flux Network and CC: Tweaked
Community voices
Reviews
No reviews yet. Be the first to review this project!
Get it on
Available Platforms
About
Project Details
For authors
Embed Badge
If you're the author of this project, you can embed a live badge anywhere that supports HTML or Markdown. It updates automatically whenever ratings change.
Use HTML for any page that supports it, or Markdown for README files and Markdown-based descriptions.
Identifiers
Platform IDs
About
Description
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
Screenshots
Gallery
Versions
Files
Relations
Project Relations
More like this
Similar Mods
Suggestions use data such as tags, dependencies, dependents, descriptions, titles, and more to rank how much they overlap with this mod.
On ModDex
Community snapshot
By the numbers
Statistics
Get it on
Available Platforms
On ModDex
Community snapshot
By the numbers