Recipe Tracker HUD

Recipe Tracker helps you keep track of the items you need to craft any recipe, directly in your game.

File Details

recipes_hud-0.1.1-neoforge-1.21.1.jar

  • R
  • May 4, 2026
  • 25.68 KB
  • 18
  • 1.21.1
  • NeoForge

File Name

recipes_hud-0.1.1-neoforge-1.21.1.jar

Supported Versions

  • 1.21.1

Curse Maven Snippet

NeoForge

implementation "curse.maven:recipe-tracker-hud-client-side-1531745:8039689"
Curse Maven does not yet support mods that have disabled 3rd party sharing

Learn more about Curse Maven

# Changelog — Recipes HUD All notable changes to this mod are documented here. --- ## [0.1.1] — Latest ### 🆕 NEW FEATURE — Clear Recipe Button (X Button) A new **clear button** (X icon) now appears in the crafting GUI next to the track button whenever a recipe is actively being tracked in the HUD. Clicking it **immediately removes the tracked recipe** from the HUD without needing to navigate any menu. - The button is only shown when there is an active tracked recipe (`RecipeTrackingData` is not empty) - Uses dedicated textures: `widget/clear_button` and `widget/clear_button_highlighted` (hover state) - Positioned to the right of the existing track button (`guiLeft + 152 + 18, guiTop + 5`) - Calls `RecipeTrackingData.clear()` and refreshes the current screen on click --- ### Added - **Item Search Screen** (`ItemSearchScreen`): a new full-screen search UI that opens when pressing the track button. Allows players to search for any craftable item by name, or filter by mod using the `@` syntax. Displays results in a 9×5 scrollable grid. - **Result item row in HUD**: the crafting target item is now displayed at the top of the HUD panel (blue background, gold name text) so players always know what recipe they are tracking. - **Ingredient alternatives**: `TrackedIngredient` now supports multiple valid alternatives per slot (e.g. any type of wood plank). The displayed icon rotates between alternatives every second. - **Auto-clear on completion**: when the result item is detected in the player's inventory, the HUD automatically clears the active recipe. ### Changed - Track button now opens `ItemSearchScreen` instead of `RecipeOptionsScreen` directly, allowing players to choose which recipe to track from the full crafting registry. - `CraftingGuiHandler` now injects buttons into both the **Crafting Table** (`CraftingScreen`) and the **Inventory** (`InventoryScreen`) GUIs. ### Fixed - Ingredient counting now correctly handles tag-based ingredients by iterating all valid `alternatives`, avoiding double-counting a single inventory slot. - HUD is hidden while any GUI screen is open, preventing overlap with inventory or crafting screens. --- ## [0.1.0] — Initial Release - HUD overlay rendering on the left side of the screen showing tracked ingredients with color-coded quantity indicators (green / yellow / red). - `RecipeTrackingData` static store for the active recipe (result item + ingredient list). - `CraftingGuiHandler` injecting a track button into the crafting GUI via `ScreenEvent.Init.Post`. - Both handlers registered on the client side only via `FMLEnvironment.dist == Dist.CLIENT`.