Client-only mod for Minecraft 1.16.1 that changes the on-screen size of the debug profiler pie chart.
- Java 8
- Git
- Linux or macOS recommended for the commands below
- Fabric Loader compatible with Minecraft 1.16.1
If you don't want to change your global JAVA_HOME, you can pin Gradle to Java 8 in gradle.properties:
org.gradle.java.home=/usr/lib/jvm/temurin-8-jdk-amd64Clone the project and run a dev client:
chmod +x gradlew
./gradlew genSources
./gradlew runClientCreate a distributable jar:
./gradlew buildOutput:
build/libs/contains the mod jar
- Install Fabric Loader for Minecraft 1.16.1.
- Copy the jar from
build/libs/into your Minecraftmods/folder. - Launch the Fabric 1.16.1 profile.
This project is intended to store one setting: a scale factor for the profiler pie chart.
- Config file location:
config/ - Config file name:
piescale.json
If the config file does not exist, the mod should create it with a default scale of 1.0.
Current config keys (all values are floats, units are pixels unless noted):
scale— pie chart scale factor (min0.01, no max)anchorOffsetX— X offset from the vanilla pie center used as the scale anchoranchorOffsetY— Y offset from the vanilla pie center used as the scale anchorpieOffsetX— X offset applied only to the pie chartpieOffsetY— Y offset applied only to the pie charttextOffsetX— X offset applied only to the profiler texttextOffsetY— Y offset applied only to the profiler textleftOffsetX— X offset for the left bound used by the clamp mathrightOffsetX— X offset for the right bound used by the clamp mathtopOffsetY— Y offset for the top bound used by the clamp mathbottomOffsetY— Y offset for the bottom bound used by the clamp math
./gradlew tasks
./gradlew clean
./gradlew build
./gradlew runClient
./gradlew genSources- Keep the mod client-only.
- Avoid adding new dependencies unless strictly necessary.
- Prefer small, reviewable changes.