ModsFinder

TESLA

by Darkhax

Tesla is a Forge library that defines a shared power API, so that mods can exchange energy through the same capability interfaces.

ForgeClient and serverMIT LicenseOpen source1.9 – 1.12.2

What it does

Tesla gives mods a common way to move power between items, blocks and entities. Its interfaces are built on Forge's capability system, which lets a mod add Tesla support to a block such as a vanilla furnace without bundling extra code or relying on a workaround. Energy values use longs rather than integers, so the API can carry much larger power numbers. One Tesla is equal to one Redstone Flux (RF).

The API was made as a side project and drew attention from other developers, and its author describes it as a deliberate alternative to existing power APIs rather than an attempt to replace them all. It enforces a small set of standards that mod authors are encouraged to follow, and the logic stays in capability methods so tile entities implement the sided interfaces directly. Mods that depend on Tesla declare it through Forge's optional soft dependency annotation.

Tesla is open source under the MIT License and runs on client and server. Files are published for Forge only, across 10 release versions 1.9 – 1.12.2, and the latest file is 1.0.63 for 1.12.2, released on 2023-06-07. Bundling the API inside another mod is allowed but discouraged, and the author does not officially support it.

Key features

  1. Shared power interfaces

    Items, blocks and entities expose Tesla capabilities so that different mods can send and receive power.

  2. Forge capability based

    Support is added through capability methods, so a machine gains power handling without a custom hook.

  3. Large power values

    Energy amounts are stored as longs, which lets mods work with much bigger power numbers than integers allow.

Compatibility

Latest build for each game version and loader.

1.12.x2 of 2 versions with builds
1.12.21.0.63
1.121.0.61
1.11.x2 of 2 versions with builds
1.11.21.3.0.52
1.111.3.0.52
1.10.x3 of 3 versions with builds
1.10.21.2.1.50
1.10.11.2.1.42
1.101.2.1.42
1.9.x3 of 3 versions with builds
1.9.41.2.1.49
1.9.31.2.1.42
1.91.0.2.23
ReleaseBetaAlphaNot available

Only full game releases are shown. This mod publishes no snapshot builds.

Use cases

Machine interoperability

A generator mod and a machine mod can exchange power over Tesla without writing a direct integration between them.

Vanilla block power

Mod authors can give a vanilla block such as a furnace power handling through the capability system.

Who it’s for: Mod developers who want their machines or cables to exchange power with other mods, and modpack authors who combine several power-based mods on Forge 1.12.2 or older versions.

Questions

Does Tesla need to be installed on both client and server?

Yes. Servers that run it need every player to install it too.

Which Forge versions does Tesla support?

Files are published for Forge across 1.9 – 1.12.2, with the latest being 1.0.63 for 1.12.2, released on 2023-06-07.

Can another mod include Tesla inside its own copy?

Bundling the API is allowed by its license, but the author discourages it and does not officially support bundled copies.

In the catalog

TESLA is one of 3,514 Library mods on ModsFinder, and one of 1,576 Library mods for Forge. 2,920 mods support Minecraft 1.12.2.

More from Darkhax

All projects

Similar mods

What the author says

Tesla is a power API designed for cross mod communication. It allows for Items, Blocks and Entities from various mods to interact with each other over the Tesla power network. WARNING: Alpha and beta releases are intended for mod authors and testers. Mods that support Tesla should only target full releases! Using an…
Darkhax, on the Modrinth page

Official listing

Owner
Darkhax
Published
2023-06-07
Updated on Modrinth
2023-06-07
Facts verified
2026-10-15

Tags