Back to mods
OC: Energy Meter project artwork

CurseForge · Minecraft mod

OC: Energy Meter

An in-line Forge Energy meter with a live LCD and an optional OpenComputers: Rebooted component for reading the flow and totals from Lua.

Choose a version Pick your version below, then grab the matching file.

Quick answer

Which OC: Energy Meter release should I use?

Updated today
Latest stable file OC: Energy Meter 0.3.0
Game version 1.21.1
Loader NeoForge

OC: Energy Meter 0.3.0 targets 1.21.1 with NeoForge. The project page does not say whether this file belongs on the client, dedicated server, or both. No extra mods listed for this file.

Where it goes

Is OC: Energy Meter required on the client, server, or both?

The project page does not say whether this file belongs on the client, dedicated server, or both.

Client Source doesn’t say
Dedicated server Source doesn’t say
Loader for this release NeoForge
Required install it here Optional supported, not mandatory Not supported do not install here Source doesn’t say do not assume

The source does not explicitly classify this release as client-only or server-only.

What else does OC: Energy Meter 0.3.0 need?

OC: Energy Meter 0.3.0. Change the file and its required mods may change too.

No extra mods listed for this file

This file does not list any required mods. Do not add a library just because a different file uses it.

1 listed on this file 3 pulled in by those mods
OpenComputers: Rebooted Optional for OC: Energy Meter 0.3.0
optional
Matching file found Matched file: OpenComputers v1.9.4-5
Sable Needed by OpenComputers: Rebooted
pulled in
Matching file found Matched file: Sable NeoForge 2.0.6 for mc1.21.1
Create Needed by Sable
pulled in
Matching file found Matched file: Create 6.0.10 for mc1.21.1
ImGuiMC Needed by Sable
pulled in
Matching file found Matched file: ImGuiMC NeoForge 2.0.5 for mc1.21.1

3 extra mods were pulled in by other dependencies. Indented rows show who needs each one. We only count dependency files that match this setup. A file for another loader does not fill the gap.

Before you install it

Add OC: Energy Meter without breaking your instance.

Built for OC: Energy Meter 0.3.0. Pick another file and the loader, install side or required mods may change.

  1. 01

    Stick to this file

    Use OC: Energy Meter 0.3.0. It targets 1.21.1 with NeoForge; another release may have different loader, side or dependency requirements.

  2. 02

    Bring the mods it needs

    This file does not list any required mods. Do not add a library just because a different file uses it.

  3. 03

    Put it on the correct side

    The project page does not say whether this file belongs on the client, dedicated server, or both.

  4. 04

    Pick the file you checked

    Use the “Get this file” button beside OC: Energy Meter 0.3.0. It opens that exact file at the source.

About this project

What does OC: Energy Meter add?

OC: Energy Meter

OC: Energy Meter is a two-block-tall electricity meter for Forge Energy (FE). Put it between a power source and a consumer, and its LCD shows how much energy flows through it right now and how much has gone through in total.

With OpenComputers: Rebooted installed, computers can read the meter too, so you can build power monitors, logs and in-game billing.

Requirements

  • Minecraft 1.21.1
  • NeoForge 21.1.266 or newer
  • Java 21
  • OpenComputers: Rebooted 1.9.4-5 or newer (optional)

Features

  • Live LCD with the flow in FE per tick and the lifetime total
  • GUI with the lifetime total, a resettable session counter and the buffer
  • Customer account name field in the GUI, readable from computers for in-game billing
  • Only the owner or a server operator can open the GUI or dismantle the meter
  • Cannot be mined, blown up or moved by pistons; dismantle it with the Meter Wrench or a Create Wrench
  • Counters are saved with the world
  • Works with any mod that uses Forge Energy, including Create: Crafts & Additions

How to connect

Looking at the LCD, connect the source to the blue port on the left and the consumer to the orange port on the right. The ports are on the upper half.

OpenComputers

Connect an Adapter to the lower half and use the energy_meter component:

Method Returns
getRate() FE per tick in the last completed tick
getTotal() Lifetime FE (string)
getSession() FE since the last reset (string)
getBuffer() Buffered FE and capacity
getOwner() Name of the player who placed the meter
getCustomer() Customer account name set in the GUI
resetSession() Resets the session counter (can be disabled in the config)
local meter = require("component").energy_meter
print(meter.getCustomer() .. ": " .. meter.getRate() .. " FE/t, total " .. meter.getTotal() .. " FE")

getRate() is in FE per tick. Only the owner or an operator can change the customer, in the GUI; computers can only read it.

Recipes

Item Recipe
Energy Meter 5 gold ingots, 1 glass pane, 2 copper ingots, 1 redstone comparator
Meter Wrench 3 iron ingots, 2 sticks

For pack makers

  • Server and client both need the mod.
  • OpenComputers: Rebooted is optional; without it the meter works on its own.
  • allowOcReset in config/ocem-common.toml (default true) controls whether computers can reset the session counter.

License

MIT.

Project description from CurseForge.

Pick your setup

OC: Energy Meter by Minecraft version and loader

Choose the version and loader you play, then open the matching release.

1 available setups

Check the dependencies, then try the file in a copied instance before changing a world you care about.

Recent files

OC: Energy Meter versions and loaders

2 of 2 releases match

Looking for an older file? The official CurseForge project page is in Resources.