Create a client-side Fabric mod for Minecraft 26.1.1 that increases the player's entity interaction reach to 5 blocks, specifically allowing villagers to be interacted with from up to 5-10 blocks away(UI in that can be access by modmenu mod). Do not change block reach or attack reach. Make it compatible with Fabric API and ensure normal villager trading works. for 26.1.1 fabric loader 0.19.2
KodariSep 4 at 6:49 am 1
VillagerReachExtender
Client-side Fabric mod that extends player entity interaction reach to 5 blocks, specifically enabling villager trading and UI access from up to 10 blocks away. Uses ModMenu integration for configuration, preserves vanilla block and attack reach, and maintains full compatibility with Fabric API and normal villager trading mechanics.
Create a minimal Fabric 26.1.1 client mod project with split client source sets and Fabric/Mod Menu/YACL metadata.
Add a configurable client-side interaction-reach mixin that affects entity interaction only, capped at 5 blocks and leaving block/attack reach unchanged.
Add the Mod Menu/YACL settings screen and required resource files.
Created the Fabric 26.1.1 client mod project.
Default entity interaction reach: 5 blocks
Configurable through Mod Menu
Adjustable from 3–10 blocks
Only modifies entity interaction targeting
Block reach and attack reach remain unchanged
Villager trading uses the normal interaction flow
Includes Fabric Loader 0.19.2, Fabric API metadata, YACL, and Mod Menu integration
Uses split client source sets and a client-only mixin
Kodari can make mistakes. Review important code before using.
package com.kodari.villagerreach;
import net.fabricmc.api.ClientModInitializer;
public final class VillagerReachClient implements ClientModInitializer {
@Override
public void onInitializeClient() {
VillagerReachConfig.load();
}
}