Installation
This branch targets Minecraft 26.2, Java 25, and PulseLib 1.2.0. It pins Fabric Loader 0.20.1, Fabric API 0.161.0+26.2, and NeoForge 26.2.0.57. Gradle properties
For developers
Use the loader-specific artifact. The Common module contains shared code and resources; it is not a standalone mod JAR. Both loader JARs include Common.
| Project | Dependency coordinate |
|---|---|
| Fabric | com.arcanc.pulselib:pulselib-fabric:26.2-1.2.0 |
| NeoForge | com.arcanc.pulselib:pulselib-neoforge:26.2-1.2.0 |
Both loader projects support Maven, Modrinth and CurseForge publication. The coordinates above describe this branch; use a version available in the public repository, or build locally until that version is released.
For a published release, add the ArcAnc Maven repository and the dependency matching your loader and Minecraft version:
repositories {
maven { url = "https://arcanc.github.io/Maven/" }
}
dependencies {
// NeoForge consumer; use only a version available in the repository.
implementation "com.arcanc.pulselib:pulselib-neoforge:26.2-1.2.0"
}
To build from this checkout, use JDK 25:
./gradlew :fabric:assemble :neoforge:assemble
The loader JARs are written to fabric/build/libs/ and neoforge/build/libs/. Add the matching JAR as a local dependency in your loader project; Fabric also needs Fabric API. For example, with the JAR in the consumer's libs/ directory:
dependencies {
implementation files("libs/pulselib-26.2-neoforge-1.2.0.jar")
}
Keep shared PulseLib integration in your Common source set and Minecraft renderer registration in each loader's client source set. See Getting started.
Publishing from this checkout
The shared release configuration is implemented by MultiloaderPublishingPlugin.groovy. Its multiloader-publishing ID is registered in buildSrc/build.gradle and applied by both loader projects.
publish writes both loader publications to a local Maven repository. The default destination is build/maven-repository/; mavenRepoDir selects another directory:
./gradlew :fabric:publish :neoforge:publish -PmavenRepoDir=/absolute/path/to/maven-repository
The Maven workflow runs both publications and pushes the generated repository to ArcAnc/Maven using MAVEN_REPO_TOKEN. It runs on a published GitHub release or a manual workflow dispatch.
publishMods uploads both loaders to Modrinth and CurseForge. publishAll combines those uploads with Maven publication. For a Fabric-only upload, run :fabric:modrinth and :fabric:publishCurseForge. Each loader has its own version suffix and artifacts; Fabric releases declare Fabric API as a required dependency on both services.
Provide MODRINTH_TOKEN and CURSEFORGE_TOKEN in the environment, or Gradle properties modrinthToken and curseforgeToken, before running upload tasks. Keep credentials outside the repository. Use ./gradlew publishAll --dry-run to inspect the release task graph without uploading files.
To send a release announcement to Discord, set DISCORD_WEBHOOK_URL in the environment or discordWebhookUrl in your user Gradle properties, then run ./gradlew :publishDiscord. The task runs by itself and posts the changelog and download links for both loaders. Set the optional discordRoleIds Gradle property to a comma-separated list of role IDs to mention.
For players
Download a release matching your Minecraft version and loader from CurseForge or Modrinth. Install one loader-specific PulseLib JAR; Fabric installations also require Fabric API. The development branch and an uploaded release may have different availability.
NeoForge Vulkan
With NeoForge 26.2.0.57, the default FML early window can fail Vulkan startup with GLFW error 65540. Set earlyWindowControl = false in the instance’s config/fml.toml before starting the Vulkan client. 26.2 validation matrix