Energetic API is an API that tries to bring things like FE (Electricity), Custom Fluids & Gas into paper servers. Using the API is really easy. Let me show you how to use it.
Currently supported: 1.20
Repository:
<repositories>
<repository>
<id>jitpack.io</id>
<url>https://jitpack.io</url>
</repository>
</repositories>
Dependency:
<dependency>
<groupId>com.github.DracoFAAD</groupId>
<artifactId>EnergeticAPI</artifactId>
<version>1.0</version>
</dependency>
Repository:
maven { url 'https://jitpack.io' }
Dependency:
implementation 'com.github.DracoFAAD:EnergeticAPI:1.0'
import me.dracofaad.energeticapi.EnergeticAPI;
// It will get the plugin and cast it to EnergeticAPI so that you can use it.
EnergeticAPI energeticAPI = EnergeticAPI.getEnergeticAPI();