promotional bannermobile promotional banner

True Favorites (Neoforge)

True Favorites - lets you lock your most important items so you never accidentally throw them away, or any item you can't afford to lose. It even has custom icons, and it has a custom animated mod menu to customize settings.
Back to Files

TrueFavoriteItems-neoforge-2.0.0-1.21.x.jar

File namefavoriteitems-neoforge-2.0.0-1.21.x.jar
Uploader
GuyThatCooksGuyThatCooks
Uploaded
Oct 3, 2026
Downloads
21
Size
878.4 KB
Mod Loaders
NeoForge
File ID
9043386
Type
R
Release
Supported game versions
  • 1.21.11
  • 1.21.10
  • 1.21.9
  • 1.21.8
  • 1.21.7
  • 1.21.6
  • 1.21.5
  • 1.21.4
  • 1.21.3
  • 1.21.2
  • 1.21.1
  • 1.21

Curse Maven Snippet

NeoForge

implementation "curse.maven:true-favorites-neoforge-1386228:9043386"

Learn more about Curse Maven

What's new

 

 


Left Alt hotkey toggle — Now properly opens/closes the favorites menu from anywhere

Intelligent menu closing — Pressing Left Alt closes menus layer-by-layer instead of all at once

Left Alt works in inventory — Can now open favorites menu while any inventory screen is open

Config screen toggle — Left Alt now properly closes the config screen when it's open

Curio Lock setting moved — "Keep favorited Curios/Trinkets locked in creative mode" moved to Settings → Config → Curios/Trinkets section

Slot pop sound spam fix — Added 50ms cooldown to prevent sound spam when placing multiple items rapidly

Renamed Effects to Slot Pop Effect

Fixed Creative Slot Sound Spam

Fixed Server Client/Server Issue

Fixed when typing in chat or chatbox it will no longer be conflicting with hotkey

Server/client compatibility — Confirmed mod requires both client and server (displayTest = "MATCH_VERSION")

Added New creative favorite system, bit of a work in progress but will soon save items in a custom favorited items tab, press v over any item as you would favorite items

Ported to Fabric 1.21.x and Possible Quilt Support Later on
Fixed Scrollbars
Fixed Sliderbuttons
Integrated a new menu api

Bug Causing Menu to not close properly: Removed the reflection-based OPEN_CONFIG_KEY handler from keyPressed(). That code was detecting Left Alt via keyPressed event and calling onClose() immediately after the menu opened.
Root cause found: There was a ScreenEvent.KeyPressed.Post handler that was ALSO processing the config key. When you pressed Left Alt:

onClientTick detected it → opened the menu
onKeyPressed event fired for the inventory screen → matched OPEN_CONFIG_KEY → closed the menu immediately
Fix: Added an early return in onKeyPressed to skip Left Alt entirely, since onClientTick handles it with proper edge detection.

Added resolveContainerScreen(Screen) — walks the getPreviousScreen() chain (up to 8 layers) to find the inventory underneath any stack of mod menus

onKeyPressed now uses it instead of the hardcoded 2-screen instanceof chain — V works from any menu screen (Sounds, Colors, Protection, Admin, etc.)

Creative mode path also uses the resolver, so bookmarking creative tab items works while a menu is open

Bounce animation + particles now spawn on the resolved inventory screen

Fabric (FavoriteItemsClientFabric.java)

Added same resolveContainerScreen helper

AFTER_INIT registration now also registers key handlers on menu screens — any screen with an inventory in its previousScreen chain gets onScreenKeyPress/onScreenKeyRelease
onScreenKeyPress resolves the container screen through the menu chain — hoveredSlot stays updated because menus render the inventory each frame

Result
Menu open: hover an inventory slot → press V → item toggles favorite (sound, icon, particles all fire)
Menu closed: unchanged behavior in inventory/hotbar
Works through nested menus (e.g., Sounds screen opened from the main menu)

All of these fixes also go for fabric as well.
Alot of bug fixes.

Duck - Removed.

This mod has no additional files