Could u see what im trying to do?
Yes — you’re building Block ESP, a client-side Fabric mod that scans nearby chunks and highlights selected blocks, such as ores, chests, and spawners.
It looks like you’re aiming for configurable colors, tracers, distance labels, scan ranges, and block profiles, with B to toggle the ESP and N to open its menu. There are also /blockesp commands for managing it.
The main pieces are present; I haven’t tested whether they all work yet. What would you like help with next?
Its missing files to compile it into a jar could u help me with that?
Add the Gradle and Fabric Loom build configuration.
Align the dependency versions with Minecraft 1.21.11.
Keep the existing client code in its current folder while configuring the split source sets.
Added the missing Gradle build files and aligned the dependencies with Fabric 1.21.11.
To build the JAR, click Compile in the top bar, then Compile in the window. When it succeeds, click Download. On a phone, use ⋮ → Compile Project.
The existing code may still need updates for 1.21.11. If the build reports errors, click Auto-fix in chat or Fix in the build window.
The compilation failed with this error:
Compilation failed with 64 error(s):
ERROR in src/main/java/com/alper/blockesp/render/ModRenderLayers.java at line 4: cannot find symbol
import net.minecraft.client.render.RenderPhase;
^
symbol: class RenderPhase
location: package net.minecraft.client.render
ERROR in src/main/java/com/alper/blockesp/render/ModRenderLayers.java at line 5: cannot find symbol
import net.minecraft.client.render.VertexFormat;
^
symbol: class VertexFormat
location: package net.minecraft.client.render
ERROR in src/main/java/com/alper/blockesp/render/ModRenderLayers.java at line 28: cannot find symbol
private ModRenderLayers(String name, VertexFormat vertexFormat, VertexFormat.DrawMode drawMode,
^
symbol: class VertexFormat
location: class ModRenderLayers
ERROR in src/main/java/com/alper/blockesp/render/ModRenderLayers.java at line 28: package VertexFormat does not exist
private ModRenderLayers(String name, VertexFormat vertexFormat, VertexFormat.DrawMode drawMode,
^
ERROR in src/main/java/com/alper/blockesp/render/EspRenderer.java at line 6: cannot find symbol
import net.fabricmc.fabric.api.client.rendering.v1.WorldRenderContext;
^
symbol: class WorldRenderContext
location: package net.fabricmc.fabric.api.client.rendering.v1
ERROR in src/main/java/com/alper/blockesp/render/EspRenderer.java at line 38: cannot find symbol
public static void render(WorldRenderContext context) {
^
symbol: class WorldRenderContext
location: class EspRenderer
ERROR in src/main/java/com/alper/blockesp/render/EspRenderer.java at line 129: cannot find symbol
private static void drawLabels(WorldRenderContext context, MatrixStack matrices,
^
symbol: class WorldRenderContext
location: class EspRenderer
ERROR in src/main/java/com/alper/blockesp/BlockEspClient.java at line 12: cannot find symbol
import net.fabricmc.fabric.api.client.rendering.v1.WorldRenderEvents;
^
symbol: class WorldRenderEvents
location: package net.fabricmc.fabric.api.client.rendering.v1
ERROR in src/main/java/com/alper/blockesp/gui/EspConfigScreen.java at line 57: no suitable method found for init(MinecraftClient,int,int)
this.init(this.client, this.width, this.height);
^
ERROR in src/main/java/com/alper/blockesp/gui/EspConfigScreen.java at line 237: method does not override or implement a method from a supertype
@Override
^
ERROR in src/main/java/com/alper/blockesp/gui/EspConfigScreen.java at line 251: method mouseClicked in interface ParentElement cannot be applied to given types;
return super.mouseClicked(mouseX, mouseY, button);
^
ERROR in src/main/java/com/alper/blockesp/gui/EspConfigScreen.java at line 254: method does not override or implement a method from a supertype
@Override
^
ERROR in src/main/java/com/alper/blockesp/gui/EspConfigScreen.java at line 266: method keyPressed in class Screen cannot be applied to given types;
return super.keyPressed(keyCode, scanCode, modifiers);
^
ERROR in src/main/java/com/alper/blockesp/gui/EspConfigScreen.java at line 298: cannot find symbol
context.getMatrices().push();
^
symbol: method push()
location: class Matrix3x2fStack
ERROR in src/main/java/com/alper/blockesp/gui/EspConfigScreen.java at line 299: incompatible types: int cannot be converted to Matrix3x2f
context.getMatrices().translate(0, 0, 300);
^
ERROR in src/main/java/com/alper/blockesp/gui/EspConfigScreen.java at line 308: cannot find symbol
context.drawBorder(sx, top, sw, n * SUGGESTION_ROW_H, 0xFF808080);
^
symbol: method drawBorder(int,int,int,int,int)
location: variable context of type DrawContext
ERROR in src/main/java/com/alper/blockesp/gui/EspConfigScreen.java at line 310: cannot find symbol
context.getMatrices().pop();
^
symbol: method pop()
location: class Matrix3x2fStack
ERROR in src/main/java/com/alper/blockesp/gui/ValueSlider.java at line 48: method does not override or implement a method from a supertype
@Override
^
ERROR in src/main/java/com/alper/blockesp/gui/ValueSlider.java at line 50: method onRelease in class SliderWidget cannot be applied to given types;
super.onRelease(mouseX, mouseY);
^
ERROR in src/main/java/com/alper/blockesp/config/EspConfig.java at line 275: cannot find symbol
return Registries.BLOCK.getOrEmpty(id).filter(b -> !b.getDefaultState().isAir()).orElse(null);
^
symbol: method getOrEmpty(Identifier)
location: variable BLOCK of type DefaultedRegistry<Block>
ERROR in src/main/java/com/alper/blockesp/render/ModRenderLayers.java at line 14: cannot find symbol
VertexFormats.LINES,
^
symbol: variable LINES
location: class VertexFormats
ERROR in src/main/java/com/alper/blockesp/render/ModRenderLayers.java at line 15: package VertexFormat does not exist
VertexFormat.DrawMode.LINES,
^
ERROR in src/main/java/com/alper/blockesp/render/ModRenderLayers.java at line 25: cannot find symbol
.depthTest(ALWAYS_DEPTH_TEST)
^
symbol: variable ALWAYS_DEPTH_TEST
location: class ModRenderLayers
ERROR in src/main/java/com/alper/blockesp/render/ModRenderLayers.java at line 24: cannot find symbol
.cull(DISABLE_CULLING)
^
symbol: variable DISABLE_CULLING
location: class ModRenderLayers
ERROR in src/main/java/com/alper/blockesp/render/ModRenderLayers.java at line 23: cannot find symbol
.writeMaskState(COLOR_MASK)
^
symbol: variable COLOR_MASK
location: class ModRenderLayers
ERROR in src/main/java/com/alper/blockesp/render/ModRenderLayers.java at line 22: cannot find symbol
.transparency(TRANSLUCENT_TRANSPARENCY)
^
symbol: variable TRANSLUCENT_TRANSPARENCY
location: class ModRenderLayers
ERROR in src/main/java/com/alper/blockesp/render/ModRenderLayers.java at line 21: package RenderPhase does not exist
.lineWidth(new RenderPhase.LineWidth(OptionalDouble.of(2.5)))
^
ERROR in src/main/java/com/alper/blockesp/render/ModRenderLayers.java at line 20: cannot find symbol
.program(LINES_PROGRAM)
^
symbol: variable LINES_PROGRAM
location: class ModRenderLayers
ERROR in src/main/java/com/alper/blockesp/render/ModRenderLayers.java at line 19: cannot find symbol
RenderLayer.MultiPhaseParameters.builder()
^
symbol: variable MultiPhaseParameters
location: class RenderLayer
ERROR in src/main/java/com/alper/blockesp/BlockEspClient.java at line 34: incompatible types: String cannot be converted to Category
"key.blockesp.toggle", InputUtil.Type.KEYSYM, GLFW.GLFW_KEY_B, "key.category.blockesp"));
^
ERROR in src/main/java/com/alper/blockesp/BlockEspClient.java at line 36: incompatible types: String cannot be converted to Category
"key.blockesp.menu", InputUtil.Type.KEYSYM, GLFW.GLFW_KEY_N, "key.category.blockesp"));
^
ERROR in src/main/java/com/alper/blockesp/BlockEspClient.java at line 39: package WorldRenderEvents does not exist
WorldRenderEvents.LAST.register(EspRenderer::render);
^
ERROR in src/main/java/com/alper/blockesp/gui/EspConfigScreen.java at line 251: method mouseClicked in interface ParentElement cannot be applied to given types;
return super.mouseClicked(mouseX, mouseY, button);
^
ERROR in src/main/java/com/alper/blockesp/gui/EspConfigScreen.java at line 266: method keyPressed in class Screen cannot be applied to given types;
return super.keyPressed(keyCode, scanCode, modifiers);
^
ERROR in src/main/java/com/alper/blockesp/gui/ValueSlider.java at line 50: method onRelease in class SliderWidget cannot be applied to given types;
super.onRelease(mouseX, mouseY);
^
ERROR in src/main/java/com/alper/blockesp/gui/EspConfigScreen.java at line 57: no suitable method found for init(MinecraftClient,int,int)
this.init(this.client, this.width, this.height);
^
ERROR in src/main/java/com/alper/blockesp/gui/EspConfigScreen.java at line 299: incompatible types: int cannot be converted to Matrix3x2f
context.getMatrices().translate(0, 0, 300);
^
ERROR in src/main/java/com/alper/blockesp/BlockEspClient.java at line 34: incompatible types: String cannot be converted to Category
"key.blockesp.toggle", InputUtil.Type.KEYSYM, GLFW.GLFW_KEY_B, "key.category.blockesp"));
^
ERROR in src/main/java/com/alper/blockesp/BlockEspClient.java at line 36: incompatible types: String cannot be converted to Category
"key.blockesp.menu", InputUtil.Type.KEYSYM, GLFW.GLFW_KEY_N, "key.category.blockesp"));
^
ERROR in src/main/java/com/alper/blockesp/render/ModRenderLayers.java at line 4: cannot find symbol
import net.minecraft.client.render.RenderPhase;
^
symbol: class RenderPhase
location: package net.minecraft.client.render
ERROR in src/main/java/com/alper/blockesp/render/ModRenderLayers.java at line 5: cannot find symbol
import net.minecraft.client.render.VertexFormat;
^
symbol: class VertexFormat
location: package net.minecraft.client.render
ERROR in src/main/java/com/alper/blockesp/render/ModRenderLayers.java at line 28: cannot find symbol
private ModRenderLayers(String name, VertexFormat vertexFormat, VertexFormat.DrawMode drawMode,
^
symbol: class VertexFormat
location: class ModRenderLayers
ERROR in src/main/java/com/alper/blockesp/render/EspRenderer.java at line 6: cannot find symbol
import net.fabricmc.fabric.api.client.rendering.v1.WorldRenderContext;
^
symbol: class WorldRenderContext
location: package net.fabricmc.fabric.api.client.rendering.v1
ERROR in src/main/java/com/alper/blockesp/render/EspRenderer.java at line 38: cannot find symbol
public static void render(WorldRenderContext context) {
^
symbol: class WorldRenderContext
location: class EspRenderer
ERROR in src/main/java/com/alper/blockesp/render/EspRenderer.java at line 129: cannot find symbol
private static void drawLabels(WorldRenderContext context, MatrixStack matrices,
^
symbol: class WorldRenderContext
location: class EspRenderer
ERROR in src/main/java/com/alper/blockesp/BlockEspClient.java at line 12: cannot find symbol
import net.fabricmc.fabric.api.client.rendering.v1.WorldRenderEvents;
^
symbol: class WorldRenderEvents
location: package net.fabricmc.fabric.api.client.rendering.v1
ERROR in src/main/java/com/alper/blockesp/render/ModRenderLayers.java at line 14: cannot find symbol
VertexFormats.LINES,
^
symbol: variable LINES
location: class VertexFormats
ERROR in src/main/java/com/alper/blockesp/render/ModRenderLayers.java at line 25: cannot find symbol
.depthTest(ALWAYS_DEPTH_TEST)
^
symbol: variable ALWAYS_DEPTH_TEST
location: class ModRenderLayers
ERROR in src/main/java/com/alper/blockesp/render/ModRenderLayers.java at line 24: cannot find symbol
.cull(DISABLE_CULLING)
^
symbol: variable DISABLE_CULLING
location: class ModRenderLayers
ERROR in src/main/java/com/alper/blockesp/render/ModRenderLayers.java at line 23: cannot find symbol
.writeMaskState(COLOR_MASK)
^
symbol: variable COLOR_MASK
location: class ModRenderLayers
ERROR in src/main/java/com/alper/blockesp/render/ModRenderLayers.java at line 22: cannot find symbol
.transparency(TRANSLUCENT_TRANSPARENCY)
^
symbol: variable TRANSLUCENT_TRANSPARENCY
location: class ModRenderLayers
ERROR in src/main/java/com/alper/blockesp/render/ModRenderLayers.java at line 20: cannot find symbol
.program(LINES_PROGRAM)
^
symbol: variable LINES_PROGRAM
location: class ModRenderLayers
ERROR in src/main/java/com/alper/blockesp/render/ModRenderLayers.java at line 19: cannot find symbol
RenderLayer.MultiPhaseParameters.builder()
^
symbol: variable MultiPhaseParameters
location: class RenderLayer
ERROR in src/main/java/com/alper/blockesp/gui/EspConfigScreen.java at line 237: method does not override or implement a method from a supertype
@Override
^
ERROR in src/main/java/com/alper/blockesp/gui/EspConfigScreen.java at line 254: method does not override or implement a method from a supertype
@Override
^
ERROR in src/main/java/com/alper/blockesp/gui/ValueSlider.java at line 48: method does not override or implement a method from a supertype
@Override
^
ERROR in src/main/java/com/alper/blockesp/gui/EspConfigScreen.java at line 298: cannot find symbol
context.getMatrices().push();
^
symbol: method push()
location: class Matrix3x2fStack
ERROR in src/main/java/com/alper/blockesp/gui/EspConfigScreen.java at line 308: cannot find symbol
context.drawBorder(sx, top, sw, n * SUGGESTION_ROW_H, 0xFF808080);
^
symbol: method drawBorder(int,int,int,int,int)
location: variable context of type DrawContext
ERROR in src/main/java/com/alper/blockesp/gui/EspConfigScreen.java at line 310: cannot find symbol
context.getMatrices().pop();
^
symbol: method pop()
location: class Matrix3x2fStack
ERROR in src/main/java/com/alper/blockesp/config/EspConfig.java at line 275: cannot find symbol
return Registries.BLOCK.getOrEmpty(id).filter(b -> !b.getDefaultState().isAir()).orElse(null);
^
symbol: method getOrEmpty(Identifier)
location: variable BLOCK of type DefaultedRegistry<Block>
ERROR in src/main/java/com/alper/blockesp/render/ModRenderLayers.java at line 28: package VertexFormat does not exist
private ModRenderLayers(String name, VertexFormat vertexFormat, VertexFormat.DrawMode drawMode,
^
ERROR in src/main/java/com/alper/blockesp/render/ModRenderLayers.java at line 15: package VertexFormat does not exist
VertexFormat.DrawMode.LINES,
^
ERROR in src/main/java/com/alper/blockesp/render/ModRenderLayers.java at line 21: package RenderPhase does not exist
.lineWidth(new RenderPhase.LineWidth(OptionalDouble.of(2.5)))
^
ERROR in src/main/java/com/alper/blockesp/BlockEspClient.java at line 39: package WorldRenderEvents does not exist
WorldRenderEvents.LAST.register(EspRenderer::render);
^
=== COMPILATION ERROR ANALYSIS ===
MISSING CLASSES:
- RenderPhase
- VertexFormat
- WorldRenderContext
- WorldRenderEvents
ACTION: Create these classes or check imports
MISSING METHODS:
- push()
- drawBorder(int,int,int,int,int)
- pop()
- getOrEmpty(Identifier)
ACTION: Check method names and signatures
TYPE MISMATCHES:
- incompatible types: int cannot be converted to Matrix3x2f
- incompatible types: String cannot be converted to Category
- incompatible types: String cannot be converted to Category
- incompatible types: int cannot be converted to Matrix3x2f
- incompatible types: String cannot be converted to Category
- incompatible types: String cannot be converted to Category
ACTION: Fix variable types or casting
FILES TO INVESTIGATE:
- src/main/java/com/alper/blockesp/render/ModRenderLayers.java
- src/main/java/com/alper/blockesp/render/EspRenderer.java
- src/main/java/com/alper/blockesp/BlockEspClient.java
- src/main/java/com/alper/blockesp/gui/EspConfigScreen.java
- src/main/java/com/alper/blockesp/gui/ValueSlider.java
- src/main/java/com/alper/blockesp/config/EspConfig.java
- src/main/java/com/alper/blockesp/gui/EspConfigScreen.java
- src/main/java/com/alper/blockesp/gui/ValueSlider.java
- src/main/java/com/alper/blockesp/BlockEspClient.java
- src/main/java/com/alper/blockesp/render/ModRenderLayers.java
- src/main/java/com/alper/blockesp/render/EspRenderer.java
- src/main/java/com/alper/blockesp/config/EspConfig.java
Please fix this error by creating a new artifact with the corrected code.
Updated the reported rendering, input, registry, and keybinding code for Fabric 1.21.11, including a no-depth rendering layer for the ESP.
I couldn’t run the compiler here. Please click Compile again; if it reports more errors, share them or use Auto-fix.
The compilation failed with this error:
Compilation failed with 10 error(s):
ERROR in src/main/java/com/alper/blockesp/render/EspRenderer.java at line 6: package net.fabricmc.fabric.api.client.rendering.v1.world does not exist
import net.fabricmc.fabric.api.client.rendering.v1.world.WorldRenderContext;
^
ERROR in src/main/java/com/alper/blockesp/render/EspRenderer.java at line 38: cannot find symbol
public static void render(WorldRenderContext context) {
^
symbol: class WorldRenderContext
location: class EspRenderer
ERROR in src/main/java/com/alper/blockesp/render/EspRenderer.java at line 129: cannot find symbol
private static void drawLabels(WorldRenderContext context, MatrixStack matrices,
^
symbol: class WorldRenderContext
location: class EspRenderer
ERROR in src/main/java/com/alper/blockesp/BlockEspClient.java at line 12: package net.fabricmc.fabric.api.client.rendering.v1.world does not exist
import net.fabricmc.fabric.api.client.rendering.v1.world.WorldRenderEvents;
^
ERROR in src/main/java/com/alper/blockesp/BlockEspClient.java at line 41: package WorldRenderEvents does not exist
WorldRenderEvents.BEFORE_DEBUG_RENDER.register(EspRenderer::render);
^
ERROR in src/main/java/com/alper/blockesp/render/EspRenderer.java at line 38: cannot find symbol
public static void render(WorldRenderContext context) {
^
symbol: class WorldRenderContext
location: class EspRenderer
ERROR in src/main/java/com/alper/blockesp/render/EspRenderer.java at line 129: cannot find symbol
private static void drawLabels(WorldRenderContext context, MatrixStack matrices,
^
symbol: class WorldRenderContext
location: class EspRenderer
ERROR in src/main/java/com/alper/blockesp/render/EspRenderer.java at line 6: package net.fabricmc.fabric.api.client.rendering.v1.world does not exist
import net.fabricmc.fabric.api.client.rendering.v1.world.WorldRenderContext;
^
ERROR in src/main/java/com/alper/blockesp/BlockEspClient.java at line 12: package net.fabricmc.fabric.api.client.rendering.v1.world does not exist
import net.fabricmc.fabric.api.client.rendering.v1.world.WorldRenderEvents;
^
ERROR in src/main/java/com/alper/blockesp/BlockEspClient.java at line 41: package WorldRenderEvents does not exist
WorldRenderEvents.BEFORE_DEBUG_RENDER.register(EspRenderer::render);
^
=== COMPILATION ERROR ANALYSIS ===
MISSING CLASSES:
- WorldRenderContext
ACTION: Create these classes or check imports
FILES TO INVESTIGATE:
- src/main/java/com/alper/blockesp/render/EspRenderer.java
- src/main/java/com/alper/blockesp/BlockEspClient.java
- src/main/java/com/alper/blockesp/render/EspRenderer.java
- src/main/java/com/alper/blockesp/BlockEspClient.java
Please fix this error by creating a new artifact with the corrected code.
I’ll replace the unavailable Fabric world-render event with a 1.21.11 renderer hook, keeping the existing ESP drawing code.
Replaced the unavailable Fabric world-render event with a renderer hook and removed the failing imports.
Please click Compile again. The build and in-game rendering haven’t been verified here.
Make the menu a bit more fancier, Make it so i could choose the colors for each block individually
I’ll refresh the main menu and make each block’s color picker easy to find, while keeping its existing saved settings.
Refreshed the menu with a darker, accented layout and added a color picker with opacity and presets for each tracked block.
Press N, then select Color beside a block. Its color is saved independently.
Make it like really fancy
I’ll give the menu a more polished dashboard style, with matching block-color controls and clearer visual hierarchy.
Redesigned the main menu and color picker with a dark dashboard theme, gradient panels, a subtle grid, and illuminated hover effects. Per-block colors and existing controls remain in place.
The new look hasn’t been tested in-game yet.
Give me a preview of how it looks aswell rn the menu
Here’s a text mockup based on the current menu code—not an in-game screenshot:
╭──────────────────────────────────────────╮
│ BLOCK ESP / COMMAND CENTER │
│ SCAN / TRACK / CUSTOMIZE │
│ │
│ 01 OVERVIEW │
│ [ ESP: ON ] [ Tracers: OFF ] │
│ [ Radius: 32m ] [ Distance: ON ] │
│ [ Profiles, Y filter & performance ] │
│ │
│ 02 TRACKED BLOCKS │
│ ■ [ Diamond Ore / Color ] [ ON ] [ X ] │
│ ■ [ Gold Ore / Color ] [ ON ] [ X ] │
│ │
│ 03 ADD A BLOCK │
│ [ Block ID, e.g. lapis_ore ] [ + Add ] │
│ │
│ [ Done ] │
╰──────────────────────────────────────────╯
The design uses a dark navy gradient, a faint grid background, and teal accents. Selecting a block’s Color button opens a matching color picker with opacity and presets.
The block names and settings above are examples; your menu shows your saved configuration. I can’t capture an actual in-game screenshot from here.
Compile the newest version for me
To compile the newest version:
Click Compile in the top bar. On phone, tap ⋮ → Compile Project.
Click Compile in the window.
When it succeeds, click Download on the build.
Why does it need the dependencies mods to work?
Block ESP uses shared code from two other mods:
Fabric API provides features needed for Fabric mod integration.
owo-lib provides the UI framework used by the menus.
They’re separate mods, so Fabric needs them installed alongside Block ESP. Kodari’s download bundles owo-lib with your mod; Fabric API also needs to be in your mods folder.
I didnt like the menu that much and when i search for the block make sure so it gives me a previes when i type for example end then i want to see the blocks that start with end and i want the icons of the blocks so i can search it easier and make the menu a bit more fancier like lunar client
Redesign the main menu with a cleaner, dark client-style layout.
Show matching block names and icons as you type, with the search above the tracked list.
Redesigned the main menu with a dark purple client-style theme. Block search now shows up to eight prefix matches with names and icons as you type—click a result to track it. Tracked blocks also show icons.
The new menu hasn’t been tested in-game yet.
Could u test it or should i ?
Please test it in Minecraft—I can’t launch the game or interact with the menu here.
First, Compile the latest version in Kodari, then install the downloaded files and open a world. Press N, type end in the search, and check that matching blocks and their icons appear. Try adding one and changing its color too.
If anything fails, send me a screenshot or describe what happened.
Do i need the dependencies mods aswell or ?
Yes. Install Fabric API and owo-lib alongside Block ESP in your mods folder. The Kodari download bundles owo-lib; you’ll also need Fabric API installed.
When i change the color and i apply/save it doesnt save it could u fix it?
I’ll make the color editor apply its selection to the current tracked block before saving, including when the screen closes.
Updated the color editor to save changes to the current tracked block, including when the editor closes.
Please compile and test changing a color, closing the menu, and reopening it. I couldn’t verify it in-game here.
Make the menu way fancier and the gui is too big a bit smaller
I’ll make the dashboard more compact and give the main menu and color picker a matching, more polished style.
Made the main menu and color picker smaller, with matching purple accents, a subtle grid, and refreshed buttons and panels. Search and per-block color controls remain in place.
The updated layout hasn’t been tested in-game yet.
What else do u recommend me to add/change to make the menu look fancier?
A few changes could make it feel more polished without making it bigger:
Clearer hierarchy: Give the title and active controls more emphasis; keep secondary settings quieter.
Smoother interactions: Add subtle hover fades, button press feedback, and a short opening animation.
Better block rows: Use larger icons, compact color swatches, and cleaner toggle switches.
Search polish: Highlight the matching text and show a friendly “No blocks found” state.
Consistent spacing: Align icons, labels, and controls on a tighter grid.
Refined color picker: Add a live preview of the outline and a few quick color presets.
I’d start with the block rows and search results—they’re the parts you’ll use most, and improving them would make the biggest visible difference.
Add everything u said and what should we change/add to make the mod overall look better/work better
I’ll polish the compact menu and color picker with animated feedback, clearer block rows, highlighted search matches, and a live outline preview. I’ll also suggest a few improvements for the mod overall.
Polished the compact menu with animated buttons, clearer block rows, highlighted search matches, and a live color-outline preview. The color presets remain available.
For the mod overall, I’d recommend next:
Performance: Show scan progress and tune scanning to reduce FPS drops.
Visuals: Add adjustable outline thickness and a maximum label distance.
Convenience: Add named profiles for different activities and a quick keybind to switch them.
The updated menu still needs an in-game test.
What else to improve?
A few more ideas for Block ESP:
Visibility controls: Set separate distances for outlines, tracers, and labels to reduce clutter.
Smart filters: Highlight only exposed ores, nearby blocks, or blocks within a chosen height range.
Search and organization: Sort tracked blocks by name or distance, and group them into categories.
Profiles: Add import/export and quick switching between mining, storage, and other setups.
On-screen feedback: Show a small optional status indicator when ESP is active, plus the selected profile.
Reliability: Test color persistence after restarting Minecraft and check performance in dense areas.
I’d prioritize exposed-block filtering and separate visibility distances: they’d make the highlights easier to read while reducing unnecessary rendering.
Do all of that
I’ll add the visibility filters and controls, improve block organization and profile switching, and add an optional status display. I’ll also preserve the existing height filter and note what still needs in-game testing.
Added separate outline, tracer and label distances; an exposed-to-air filter; category and name sorting; profile import/export; an optional status HUD; and an unbound key for cycling built-in profiles. The existing Y-range filter remains available.
Profile files are saved in config/blockesp-profiles. Visibility distances are limited by the scan radius.
Still missing: sorting blocks by distance. I also couldn’t test persistence or performance in Minecraft, so please compile and try the changes in-game.
package com.alper.blockesp;
import com.alper.blockesp.command.EspCommand;
import com.alper.blockesp.config.EspConfig;
import com.alper.blockesp.config.EspProfile;
import com.alper.blockesp.gui.EspConfigScreen;
import com.alper.blockesp.scanner.BlockScanner;
import net.fabricmc.api.ClientModInitializer;
import net.fabricmc.fabric.api.client.command.v2.ClientCommandRegistrationCallback;
import net.fabricmc.fabric.api.client.event.lifecycle.v1.ClientTickEvents;
import net.fabricmc.fabric.api.client.keybinding.v1.KeyBindingHelper;
import net.fabricmc.fabric.api.client.rendering.v1.hud.HudElementRegistry;
import net.minecraft.client.MinecraftClient;
import net.minecraft.client.option.KeyBinding;
import net.minecraft.client.util.InputUtil;
import net.minecraft.text.Text;
import net.minecraft.util.Formatting;
import net.minecraft.util.Identifier;
import org.lwjgl.glfw.GLFW;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
public class BlockEspClient implements ClientModInitializer {
public static final String MOD_ID = "blockesp";
public static final Logger LOGGER = LoggerFactory.getLogger("BlockESP");
private static KeyBinding toggleKey;
private static KeyBinding menuKey;
private static KeyBinding profileKey;
@Override
public void onInitializeClient() {
EspConfig.getInstance().load();
KeyBinding.Category category = KeyBinding.Category.create(Identifier.of(MOD_ID, "blockesp"));
toggleKey = KeyBindingHelper.registerKeyBinding(new KeyBinding(
"key.blockesp.toggle", InputUtil.Type.KEYSYM, GLFW.GLFW_KEY_B, category));
menuKey = KeyBindingHelper.registerKeyBinding(new KeyBinding(
"key.blockesp.menu", InputUtil.Type.KEYSYM, GLFW.GLFW_KEY_N, category));
profileKey = KeyBindingHelper.registerKeyBinding(new KeyBinding(
"key.blockesp.profile", InputUtil.Type.KEYSYM, GLFW.GLFW_KEY_UNKNOWN, category));
HudElementRegistry.addLast(Identifier.of(MOD_ID, "status"), (context, tickCounter) -> {
MinecraftClient client = MinecraftClient.getInstance();
EspConfig cfg = EspConfig.getInstance();
if (client.world != null && cfg.isEnabled() && cfg.isShowHud()) {
context.drawText(client.textRenderer, "Block ESP | " + cfg.getActiveProfile(), 6, 6, 0xFFE2D4FF, true);
}
});
ClientTickEvents.END_CLIENT_TICK.register(BlockEspClient::onEndTick);
ClientCommandRegistrationCallback.EVENT.register(EspCommand::register);
}
private static void onEndTick(MinecraftClient client) {
EspConfig cfg = EspConfig.getInstance();
while (toggleKey.wasPressed()) {
cfg.setEnabled(!cfg.isEnabled());
if (client.player != null) {
client.player.sendMessage(Text.literal("[Block ESP] ").formatted(Formatting.AQUA)
.append(Text.literal(cfg.isEnabled() ? "ON" : "OFF")
.formatted(cfg.isEnabled() ? Formatting.GREEN : Formatting.RED)), true);
}
}
while (menuKey.wasPressed()) {
client.setScreen(new EspConfigScreen(client.currentScreen));
}
while (profileKey.wasPressed()) {
EspProfile[] profiles = EspProfile.values();
int next = 0;
for (int i = 0; i < profiles.length; i++) {
if (profiles[i].getDisplayName().equals(cfg.getActiveProfile())) next = (i + 1) % profiles.length;
}
cfg.applyProfile(profiles[next]);
if (client.player != null) client.player.sendMessage(Text.literal("[Block ESP] Profile: " + profiles[next].getDisplayName()), true);
}
BlockScanner.tick(client);
}
}