something_isfishy

now turn it into a runnable fabric 1.21.11 client-side mod

Kodari AI
KodariNov 5 at 5:13 pm 1
BlockReachOverhaul
Enhances the player's block interaction range in Minecraft 1.21.11. This client-side Fabric mod extends the reach distance for breaking, placing, and interacting with blocks and entities. Features include configurable reach distance values, a visual indicator showing the extended reach range, and compatibility with survival and creative modes. The mod integrates seamlessly with the vanilla game mechanics, allowing players to interact with distant blocks without affecting server-side validation. Includes a simple configuration screen for adjusting reach settings and toggling the visual range indicator.

What should the client-side mod do? There’s no existing project or feature description to convert.

something_isfishy

turn these into a mod

📎 4 files 3,565 chars
📄
build.gradle
gradle 30 lines
▶
plugins {
    id 'fabric-loom' version "${loom_version}"
    id 'maven-publish'
}

version = project.mod_version
group = project.maven_group

base { archivesName = project.archives_base_name }

dependencies {
    minecraft "com.mojang:minecraft:${project.minecraft_version}"
    mappings "net.fabricmc:yarn:${project.yarn_mappings}:v2"
    modImplementation "net.fabricmc:fabric-loader:${project.loader_version}"
    modImplementation "net.fabricmc.fabric-api:fabric-api:${project.fabric_api_version}"
}

processResources {
    inputs.property "version", project.version
    filesMatching("fabric.mod.json") { expand "version": inputs.properties.version }
}

tasks.withType(JavaCompile).configureEach { it.options.release = 21 }

java {
    withSourcesJar()
    sourceCompatibility = JavaVersion.VERSION_21
    targetCompatibility = JavaVersion.VERSION_21
}
📄
gradle.properties
properties 16 lines
▶
org.gradle.jvmargs=-Xmx2G
org.gradle.parallel=true
org.gradle.configuration-cache=false

# Fabric (check https://fabricmc.net/develop if any of these no longer resolve)
minecraft_version=1.21.11
yarn_mappings=1.21.11+build.4
loader_version=0.18.4
loom_version=1.14-SNAPSHOT
fabric_api_version=0.141.3+1.21.11

# Mod
mod_version=1.0.0
maven_group=com.voidvisuals
archives_base_name=voidvisuals
📄
README.md
md 37 lines
▶
# VoidVisuals (Fabric, Minecraft 1.21.11, client-side)

## Build the .jar (needs JDK 21 and Gradle 8.14+, or just open the folder in IntelliJ IDEA)
    gradle build
Your mod is `build/libs/voidvisuals-1.0.0.jar` (ignore the `-sources` jar).
Drop it in `.minecraft/mods/` together with Fabric API 0.141.x for 1.21.11.
If a version in gradle.properties no longer resolves, copy the current ones from https://fabricmc.net/develop

## Use it
- Right Shift opens the menu (tabs: Performance, Visuals, HUD, Spotify, Animations, About).
- FPS + ping pills sit side by side at the top centre. Lyrics show in the centre HUD and up in the sky.

## Spotify setup
1. https://developer.spotify.com/dashboard -> Create app
2. Add the Redirect URI exactly: http://127.0.0.1:8888/callback
3. Open the VoidVisuals menu -> Spotify tab -> paste Client ID -> Connect Spotify.
(If Spotify says 403, add your account under User Management in your app's settings.)
Lyrics come from LRCLIB (synced lyrics); tracks LRCLIB doesn't have simply show nothing.
Use the "Lyric offset" slider if lyrics feel early/late on your connection.

## Skies
Six generated panoramas: Aurora, Nebula, Sunset, Deep Space, Void, Synthwave.
Regenerate or tweak them with `python3 tools/generate_skies.py` (needs numpy + Pillow).
You can also replace any PNG in `src/main/resources/assets/voidvisuals/textures/sky/`
(2048x512 RGBA, tileable left/right, top = zenith, bottom = horizon).
The sky is drawn as a camera-following layer above the horizon (it does not replace the vanilla
sky dome), so it works without mixins and can't crash on launch.

## If it fails to compile
This code was written without being able to compile against Minecraft here. The 1.21.x rendering
API moved a lot, so the usual suspects are (fix the line, it's one-liners):
- `DrawContext.drawTexture(...)` argument list (SkyVeil, VoidMenuScreen)
- `ctx.getMatrices()` push/pop/translate/scale names (LyricsHud, StatsHud)
- `mc.world.getTimeOfDay()` / `isSkyVisible(...)` (SkyVeil)
- `HudElementRegistry.addFirst/addLast` (VoidVisuals)
- option getters like `getMaxFps()`, `getEntityDistanceScaling()` (VoidMenuScreen)
📄
settings.gradle
gradle 8 lines
▶
pluginManagement {
    repositories {
        maven { name = 'Fabric'; url = 'https://maven.fabricmc.net/' }
        mavenCentral()
        gradlePluginPortal()
    }
}
Kodari AI
KodariNov 5 at 5:14 pm 1

The attachments contain build configuration and a README, but no mod source code or sky assets. Please upload the missing files, or confirm that you’d like me to build the README’s features from scratch.

Kodari can make mistakes. Review important code before using.
Files

No files in this session

Code