🛠️ Developer Setup & Building (Minecraft 26.1.2)
This technical guide covers environment prerequisites, Gradle Loom tooling, and compilation instructions for building Camera Culling on Minecraft 26.1.2.
📋 Environment Prerequisites
- Java Development Kit (JDK): JDK 25+ (e.g. Eclipse Adoptium Temurin 25).
- Gradle Wrapper: Version 9.3+ with Loom 1.15.5 (
net.fabricmc.fabric-loom). - Runtime: Non-obfuscated Mojang runtime (mappings block in
build.gradleis strictly banned in 26.x).
🏗️ Gradle Build Commands
Open a terminal in the Camera Culling v26.1/Camera Culling 26.1 subproject directory:
bash
# Run unit test suite
./gradlew test --no-daemon
# Compile and package release JAR
./gradlew build --no-daemonAuto-Archiving Pipeline
The subproject build.gradle includes an automated archive task:
- Output JAR:
build/libs/vanilla-outsider-camera-culling-1.10.1+26.1.2.jar - Auto-Archived Location:
Archive Jar of all versions/MC 26.1.2/ - Modrinth Profile Sync: Automatically installed to your local launcher profile (
Fabric 26.1.2/mods/).
📄 fabric.mod.json Metadata
json
{
"schemaVersion": 1,
"id": "camera-culling",
"version": "${version}",
"name": "Camera Culling",
"description": "High-performance camera occlusion culling, 2-sided sign text culling & distance texture LOD.",
"authors": [
"Dasik (Rifaditya)"
],
"license": "GPL-3.0-or-later",
"environment": "client",
"entrypoints": {
"client": [
"net.vanillaoutsider.culling.CameraCullingClient"
],
"modmenu": [
"net.vanillaoutsider.culling.config.ModMenuIntegration"
]
},
"mixins": [
"camera-culling.mixins.json"
],
"depends": {
"fabricloader": ">=0.18.4",
"minecraft": ">=26.1.2-",
"fabric-api": "*"
}
}