Fabric Mod

BaseEspMod

Act as an expert Minecraft Fabric Mod Developer. Write a complete Fabric mod code for Minecraft version 1.21 (Fabric API for 1.21 / 26.2). The mod's purpose is a Client-Side utility to locate/detect nearby players' bases (Bases Finder / ESP). Requirements: 1. It must scan the rendered chunks or the client world for specific "Player-made blocks" that indicate a base (e.g., Chests, Ender Chests, Shulker Boxes, Furnaces, Beds, and Respawn Anchors). 2. Create a simple toggleable feature (using a custom Keybinding, default key 'H').

Read the full description

3. When activated, it should render a highlight box (ESP/Outline or Tracer lines) around these specific blocks so the player can see their locations through walls. 4. Provide the main Mod Initializer class, the Mixin/Client code required for rendering the outlines safely without crashing the game, and the Keybinding handler. 5. Ensure the code is strictly compatible with Fabric 1.21 (Java 21). Keep the code clean and well-commented.