Emir Iaifi

make me a minecraft cheat with sus chunk and storage esp and tracers for fabric 1.21.11

Kodari AI
KodariOct 7 at 3:15 pm 7
CheatVisionSuite
CheatVisionSuite is a Minecraft Fabric cheat client mod for version 1.21.11 that provides three essential cheating utilities. It includes a Suspicious Chunk overlay that highlights chunks with high ore density or valuable resource concentrations using a configurable color system. The Storage ESP feature renders all storage containers through walls with customizable colors based on container type, making loot easily visible from any distance. Tracers add persistent line indicators to entities, allowing players to track movement patterns through walls and terrain. All features are toggleable via keybinds and configurable through a settings interface, with optimized rendering that maintains high performance even in complex environments.

Plan:

  1. Create a client-only Fabric mod entrypoint and world-render hook.

  2. Highlight storage blocks and draw tracers to them.

  3. Mark chunks containing detected storage blocks as “suspicious.”

Created Storage Scout, a client-only Fabric 1.21.11 mod. It highlights chests, trapped and ender chests, barrels, shulker boxes, hoppers, dispensers, and droppers; draws tracers to them; and outlines chunks containing storage within 6 chunks of the player. It scans loaded chunks and is always on.

Kodari can make mistakes. Review important code before using.
Files
src
Emir client
Code
2 114
src/client/java/dev/kodari/storagescout/StorageScoutClient.java
package dev.kodari.storagescout;

import java.util.ArrayList;
import java.util.List;

import net.fabricmc.api.ClientModInitializer;
import net.fabricmc.fabric.api.client.event.lifecycle.v1.ClientTickEvents;
import net.minecraft.block.entity.BlockEntity;
import net.minecraft.block.entity.BlockEntityType;
import net.minecraft.client.MinecraftClient;
import net.minecraft.client.render.DrawStyle;
import net.minecraft.util.math.BlockPos;
import net.minecraft.util.math.Box;
import net.minecraft.util.math.ChunkPos;
import net.minecraft.util.math.Vec3d;
import net.minecraft.world.chunk.ChunkStatus;
import net.minecraft.world.chunk.WorldChunk;
import net.minecraft.world.debug.gizmo.GizmoDrawing;

public final class StorageScoutClient implements ClientModInitializer {
    private static final int SCAN_RADIUS_CHUNKS = 6;
    private static final int STORAGE_COLOR = 0xFF39F5B2;
    private static final int CHUNK_COLOR = 0xFFFF5263;

    @Override
    public void onInitializeClient() {
        ClientTickEvents.END_CLIENT_TICK.register(StorageScoutClient::scanLoadedChunks);
    }

    private static void scanLoadedChunks(MinecraftClient client) {
        if (client.world == null || client.player == null) {
            return;
        }

        ChunkPos center = client.player.getChunkPos();
        List<BlockPos> foundStorage = new ArrayList<>();
        List<SuspiciousChunk> foundChunks = new ArrayList<>();

        for (int chunkX = center.x - SCAN_RADIUS_CHUNKS; chunkX <= center.x + SCAN_RADIUS_CHUNKS; chunkX++) {
            for (int chunkZ = center.z - SCAN_RADIUS_CHUNKS; chunkZ <= center.z + SCAN_RADIUS_CHUNKS; chunkZ++) {
                WorldChunk chunk = client.world.getChunkManager().getChunk(chunkX, chunkZ, ChunkStatus.FULL, false);
                if (chunk == null) {
                    continue;
                }

                int minY = Integer.MAX_VALUE;
                int maxY = Integer.MIN_VALUE;
                for (BlockEntity blockEntity : chunk.getBlockEntities().values()) {
                    if (!isStorage(blockEntity.getType())) {
                        continue;
                    }

                    BlockPos pos = blockEntity.getPos();
                    foundStorage.add(pos);
                    minY = Math.min(minY, pos.getY());
                    maxY = Math.max(maxY, pos.getY());
                }

                if (minY != Integer.MAX_VALUE) {
                    foundChunks.add(new SuspiciousChunk(chunkX, chunkZ, minY, maxY));
                }
            }
        }

        submitOverlays(client, foundStorage, foundChunks);
    }

    private static boolean isStorage(BlockEntityType<?> type) {
        return type == BlockEntityType.CHEST
                || type == BlockEntityType.TRAPPED_CHEST
                || type == BlockEntityType.ENDER_CHEST
                || type == BlockEntityType.BARREL
                || type == BlockEntityType.SHULKER_BOX
                || type == BlockEntityType.HOPPER
                || type == BlockEntityType.DISPENSER
                || type == BlockEntityType.DROPPER;
    }

    private static void submitOverlays(MinecraftClient client, List<BlockPos> positions, List<SuspiciousChunk> chunks) {
        if (positions.isEmpty() && chunks.isEmpty()) {
            return;
        }

        Vec3d cameraPos = client.gameRenderer.getCamera().getCameraPos();

        try (GizmoDrawing.CollectorScope ignored = client.worldRenderer.startDrawingGizmos()) {
            DrawStyle storageStyle = DrawStyle.filledAndStroked(STORAGE_COLOR, 2.5F, 0x4939F5B2);
            for (BlockPos pos : positions) {
                GizmoDrawing.box(pos, 0.035F, storageStyle);
                GizmoDrawing.line(
                        cameraPos,
                        new Vec3d(pos.getX() + 0.5, pos.getY() + 0.5, pos.getZ() + 0.5),
                        STORAGE_COLOR,
                        1.6F
                );
            }

            DrawStyle chunkStyle = DrawStyle.stroked(CHUNK_COLOR, 3.0F);
            for (SuspiciousChunk chunk : chunks) {
                double minX = (double) chunk.x * 16.0;
                double minZ = (double) chunk.z * 16.0;
                GizmoDrawing.box(
                        new Box(minX, chunk.minY - 0.025, minZ, minX + 16.0, chunk.maxY + 1.025, minZ + 16.0),
                        chunkStyle
                );
            }
        }
    }

    private record SuspiciousChunk(int x, int z, int minY, int maxY) {
    }
}