Skip to content

crabs3/hackware4free

Repository files navigation

Hackware

A high-performance, modular client for anarchy servers. Built on Fabric for Minecraft 1.21.11.

Requirements

  • Java 21+
  • Fabric Loader ≥ 0.18.4
  • Fabric API

Gradle Commands

Build

./gradlew build

Compiles the mod, runs generateBuildConstants and generateShaderSources, then produces a remapped jar in build/libs/.

Run Client

./gradlew runClient

Launches a Minecraft client with the mod loaded. Add --debug-jvm to attach a debugger.

Obfuscate

./gradlew obfuscate

Runs the full obfuscation pipeline:

  1. flattenJar — Extracts shaded Jar-in-Jar dependencies (e.g. SnakeYAML) into the main jar and flattens mixin sub-packages.
  2. obfuscatedJar — Runs ProGuard for shrinking/obfuscation, then rewrites mixin JSONs and fabric.mod.json with the obfuscated class names.
  3. zkmObfuscate — Runs Zelix KlassMaster on the ProGuard output for additional obfuscation (flow obfuscation, string encryption, etc.).
  4. Replaces build/libs/Hackware.jar with the final obfuscated jar.

Code Generation

These run automatically as part of compileJava:

  • generateBuildConstants — Generates BuildConstants.java with project properties and the current git hash.
  • generateShaderSources — Converts GLSL shader files (src/main/shaders/) into Java string constants.

Authors

  • TehPicix
  • d.m.t

License

All Rights Reserved.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors