Neo Favorite Items is an inventory slot favorite and lock mod for Minecraft 1.21.1. It supports Fabric, Forge, and NeoForge. The mod adds lock states to player inventory slots and displays configurable overlay markers on those slots.
Neo Favorite Items 是一个适用于 Minecraft 1.21.1 的物品栏槽位收藏与锁定模组,支持 Fabric、Forge 与 NeoForge。模组用于为玩家物品栏槽位添加锁定状态,并在对应槽位上显示可配置的标记图层。
The goal of this mod is to provide a focused, standalone slot-locking mod for Minecraft 1.21.1, especially for NeoForge environments. It does not include inventory sorting, auto-refill, or inventory rule management features.
本模组的制作目标是为 Minecraft 1.21.1,尤其是 NeoForge 环境,提供一个功能范围集中的独立槽位锁定模组。它不包含自动整理、自动补货、物品栏规则管理等扩展功能。
Compared with client-side inventory management mods such as Inventory Profiles Next, Neo Favorite Items focuses on slot locking itself and provides server-authoritative state and interaction interception when installed on the server. This design is intended for server-side inventory operation scenarios that client-only mods cannot fully cover, such as sorting, quick transfer, or inventory slot changes triggered by other mods.
与以客户端物品栏管理为主的 Inventory Profiles Next 不同,Neo Favorite Items 更侧重槽位锁定本身,并在服务端安装时提供权威状态与交互拦截能力。该设计可用于处理部分仅客户端模组无法覆盖的服务端物品栏操作场景,例如整理、快速转移,以及其他模组交互导致的玩家物品栏槽位变动。
neo_favorite_items.neo_favorite_items。config/neo-favorite-items.toml.config/neo-favorite-items.toml。Left Alt.Left Alt。Left Control.Left Control。Hold the lock-operation key and click a player inventory slot to toggle its favorite state. Favorited slots display a lock marker and can block configured interaction types.
玩家按住锁定操作键后,可以点击玩家物品栏槽位来切换该槽位的收藏状态。被收藏的槽位会显示锁定标记,并根据配置阻止指定类型的交互。
Current logical slot ranges:
当前槽位索引范围如下:
0..8: hotbar.0..8:快捷栏。9..35: main inventory.9..35:主背包。36..39: armor slots.36..39:护甲栏。40: offhand slot.40:副手。The mod only applies to player inventory slots. It does not lock container-owned slots such as chest or furnace slots.
模组只针对玩家物品栏槽位生效,不会锁定箱子、熔炉等容器自身的槽位。
The mod can block the following operations according to configuration:
模组可根据配置阻止以下操作:
When installed on the server, the mod handles favorite state and part of the interaction interception logic server-side. This can be used to intercept player inventory slot changes caused by server-side actions or other mods.
服务端安装本模组时,收藏状态与部分拦截逻辑由服务端处理。该机制可用于拦截由服务端操作或其他模组触发的玩家物品栏槽位变动。
Players can hold the bypass key to temporarily allow some operations on locked slots. Whether bypassing is allowed, how overlays appear while bypassing, and related behavior can be adjusted in the config file.
玩家可以按住旁路键临时允许部分被锁定槽位的操作。是否允许旁路、旁路时的显示效果以及相关交互行为,可以在配置文件中调整。
The default bypass key is Left Control, and it can be changed in Minecraft Controls.
默认旁路键为 Left Control,可在 Minecraft 控制设置中修改。
Favorited slots display overlay markers in GUI screens. Locked hotbar slots also display markers on the hotbar HUD outside GUI screens.
已收藏槽位会在 GUI 中显示 Overlay 标记,退出 GUI 后也会在快捷栏 HUD 中显示对应标记。
Available overlay styles:
当前提供以下 Overlay 样式:
borderclassicframeworkhighlightbracketslockmarktagstarOverlay color, opacity, and whether the marker renders in front of item icons can be configured. Colors support among 0xAARRGGBB、luv(L, u, v, alpha) and rgba(r, g, b, alpha) formats.
Overlay 的颜色、透明度、是否显示在物品图标前方等内容均可通过配置文件调整。颜色支持 0xAARRGGBB luv(L, u, v, alpha) 与 rgba(r, g, b, alpha) 三种写法。
The mod stores favorite slot states per player. Storage location depends on whether the game is running in singleplayer, multiplayer, or client-only mode.
模组会按玩家保存槽位收藏状态。单人游戏、多人游戏与仅客户端使用时的数据位置会根据运行环境分别处理。
When installed on the server, the server loads and saves favorite data when players join or leave, and synchronizes favorite state to clients.
服务端安装本模组时,服务端会在玩家加入和离开时处理收藏数据的加载与保存,并向客户端同步收藏状态。
The config file is located at:
配置文件位于:
config/neo-favorite-items.toml
Main configuration items include:
主要配置项包括:
This mod is suitable for players or servers that need standalone slot locking. Its feature scope is focused and does not include complex inventory management features.
本模组适合需要单独槽位锁定功能的玩家或服务器使用。它的功能范围集中,不包含复杂物品栏管理功能。
For Minecraft 1.21.1 NeoForge environments, this mod can be used when independent slot locking, marker rendering, and server-side interception are required.
在 Minecraft 1.21.1 NeoForge 环境中,如果需要独立的槽位锁定、标记显示与服务端拦截能力,可以使用本模组。