ZENO

A mod that allows you to reduce texture quality down to 144p when objects are far away; it includes a menu that can be opened by pressing "J".

Kodari AI
KodariOct 27 at 7:35 pm 3
DistanceTextureReducer
A Minecraft Fabric mod that dynamically reduces texture resolution to 144p for distant objects, optimizing performance. Pressing "J" opens a configurable settings menu where players can adjust the distance threshold, toggle the feature on/off, and customize the reduced resolution level. The mod intelligently applies lower-resolution rendering only to objects beyond a specified range, preserving visual quality up close while boosting frame rates in expansive scenes. It includes a clean, intuitive interface with sliders and toggles for easy customization, ensuring a seamless balance between visual fidelity and performance across various hardware configurations.
  1. Find a 26.3-supported way to bias texture mip selection by distance.

  2. Build the J-key owo-ui menu and connect its settings to the rendering behavior.

Built the client-only Distant Detail mod. Press J to open its owo-ui menu and set Minecraft’s mipmap levels from 0–4; after applying, smaller and more distant textures can use lower-resolution mip levels automatically.

A fixed “144p” texture target isn’t a Minecraft mipmap setting, so this uses the closest native mechanism rather than claiming an exact 144p limit.

Kodari can make mistakes. Review important code before using.
Files
src
build.gradle
gradle.properties
manifest.kod
settings.gradle
Code
8 196
src/client/java/com/kodari/distantdetail/client/DistantDetailClient.java
package com.kodari.distantdetail.client;

import com.mojang.blaze3d.platform.InputConstants;
import net.fabricmc.api.ClientModInitializer;
import net.fabricmc.fabric.api.client.event.lifecycle.v1.ClientTickEvents;
import net.fabricmc.fabric.api.client.keymapping.v1.KeyMappingHelper;
import net.minecraft.client.KeyMapping;
import net.minecraft.client.Minecraft;

public final class DistantDetailClient implements ClientModInitializer {
    private static final KeyMapping OPEN_SETTINGS = KeyMappingHelper.registerKeyMapping(
            new KeyMapping(
                    "key.distantdetail.open_settings",
                    InputConstants.Type.KEYBOARD,
                    InputConstants.KEY_J,
                    KeyMapping.Category.MISC
            )
    );

    @Override
    public void onInitializeClient() {
        ClientTickEvents.END_CLIENT_TICK.register(client -> {
            if (OPEN_SETTINGS.consumeClick() && client.gui.screen() == null) {
                client.gui.setScreen(new DistantDetailScreen());
            }
        });
    }
}