Potentials
IMPORTANT: THIS MOD DOES NOTHING ON ITS OWN!
Potentials provides mod developers with a universal solution for working with capabilities (API lookups) simultaneously on two platforms - Neoforge and Fabric.
Using this library, you can create your own capabilities or use existing implementations. Currently available types include:
- Energy blocks and block entities
- Energy entities
- Energy items
- Fluid storage blocks and block entities
- Fluid entities
- Fluid storage items
Getting Started
To connect the library, add the Maven repository to your build.gradle file:
repositories {
maven { url "https://maven.exodusstudio.org/releases" }
}
Then add the API to each of your project modules in the PLATFORM/build.gradle file:
dependencies {
modApi("com.fej1fun.potentials:potentials-${platform}-${mc_version}:${version}")
}
Replace PLATFORM with the appropriate platform: common, fabric, or neoforge. Specify the current Potentials version instead of VERSION.