Neo Favorite Items
Neo Favorite Items 是一款适用于 Minecraft 1.21.1 的物品栏槽位收藏与锁定模组,支持 Fabric、Forge 和 NeoForge。该模组为玩家物品栏槽位添加了锁定状态,并在这些槽位上显示可配置的叠加层标记。
本模组旨在为 Minecraft 1.21.1(尤其是 NeoForge 环境)提供一个专注且独立的槽位锁定模组。它不包含物品栏整理、自动补货或物品栏规则管理等功能。
与 Inventory Profiles Next 等客户端物品栏管理模组不同,Neo Favorite Items 更侧重于槽位锁定本身,并在服务端安装时提供权威状态和交互拦截能力。这种设计旨在覆盖仅客户端模组无法完全处理的服务端物品栏操作场景,例如整理、快速转移或由其他模组触发的物品栏槽位变更。
基本信息
- 支持的 Minecraft 版本:1.21.1。
- 支持的加载器:Fabric、Forge、NeoForge。
- Mod ID:
neo_favorite_items。 - 主要功能:玩家物品栏槽位收藏、槽位锁定、交互拦截、锁定标记渲染。
- 配置文件目录:
config/NFI/。 - 默认锁定操作键:
Left Alt。 - 默认旁路键:
Left Control。
功能说明
0.0.2 版本引入了新的游戏内配置界面,可通过绑定按键打开。此外还新增了自定义材质兼容、游戏内样式调节与预览、音效反馈调节与预览以及多层材质渲染等功能。
按住锁定操作键并点击玩家物品栏槽位,可切换该槽位的收藏状态。被收藏的槽位会显示锁定标记,并能阻止配置的交互类型。
当前逻辑槽位范围如下:
0..8:快捷栏。9..35:主背包。36..39:护甲栏。40:副手。
本模组仅针对玩家物品栏槽位生效。它不会锁定容器(如箱子或熔炉)拥有的槽位。
交互拦截
模组可根据配置阻止以下操作:
- 点击已锁定槽位。
- 从已锁定槽位丢弃物品。
- 从已锁定槽位快速移动物品。
- Shift 点击已锁定槽位。
- 拖拽物品经过已锁定槽位。
- 与已锁定槽位交换物品。
当安装于服务端时,模组在服务端处理收藏状态和部分交互拦截逻辑。这可用于拦截由服务端操作或其他模组引起的玩家物品栏槽位变更。
旁路键
玩家可以按住旁路键临时允许对锁定槽位执行某些操作。是否允许旁路、旁路时的叠加层外观以及相关行为均可在配置文件中调整。
默认旁路键为 Left Control,可在 Minecraft 控制设置中更改。
标记显示
已收藏的槽位会在 GUI 屏幕中显示叠加层标记。锁定的快捷栏槽位不仅在 GUI 中显示标记,在退出 GUI 后的快捷栏 HUD 上也会显示标记。
当前可用的叠加层样式,以及 DIY 样式(通过 NFI Assets Folder):
borderclassicframeworkhighlightbracketslockmarktagstar
可以配置叠加层的颜色、透明度以及标记是否渲染在物品图标前方。颜色支持 0xAARRGGBB、luv(L, u, v, alpha) 和 rgba(r, g, b, alpha) 格式。
数据保存
模组按玩家存储槽位收藏状态。存储位置取决于游戏是在单人模式、多人模式还是仅客户端模式下运行。
当安装于服务端时,服务端会在玩家加入或离开时加载和保存收藏数据,并将收藏状态同步给客户端。
配置内容
配置文件位于:
config/NFI/
主要配置项包括:
- 是否允许锁定空槽位。
- 空槽位是否自动解锁。
- 是否允许物品进入锁定的空槽位。
- 不同操作类型的交互拦截规则。
- 物品移动时收藏状态的行为表现。
- 叠加层样式、颜色和透明度。
- 锁定、解锁和旁路的显示行为。
- 调试日志开关。
适用场景
本模组适合需要独立槽位锁定功能的玩家或服务器使用。其功能范围集中,不包含复杂的物品栏管理功能。
对于 Minecraft 1.21.1 NeoForge 环境,当需要独立的槽位锁定、标记渲染和服务端拦截功能时,可以使用本模组。
当前限制
- 仅支持玩家物品栏槽位。不支持容器拥有的槽位。
- 已实现以服务器权威为主的同步机制,但复杂的多玩家交互仍需与特定模组组合进行验证。
- 视觉反馈仍在开发中。
Neo Favorite Items
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 更侧重槽位锁定本身,并在服务端安装时提供权威状态与交互拦截能力。该设计可用于处理部分仅客户端模组无法覆盖的服务端物品栏操作场景,例如整理、快速转移,以及其他模组交互导致的玩家物品栏槽位变动。
Basic Information 基本信息
- Supported Minecraft version: 1.21.1.
- 支持的 Minecraft 版本:1.21.1。
- Supported loaders: Fabric, Forge, NeoForge.
- 支持的加载器:Fabric、Forge、NeoForge。
- Mod ID:
neo_favorite_items. - Mod ID:
neo_favorite_items。 - Main features: player inventory slot favorites, slot locking, interaction interception, and lock marker rendering.
- 主要功能:玩家物品栏槽位收藏、槽位锁定、交互拦截、锁定标记显示。
- Config file:
config/NFI/. - 配置文件:
config/NFI/。 - Default lock-operation key:
Left Alt. - 默认锁定操作键:
Left Alt。 - Default bypass key:
Left Control. - 默认旁路键:
Left Control。
Features 功能说明
0.0.2 introduces a new in-game configuration interface, which can be accessed by binding a key. It also adds features such as custom material compatibility, in-game style adjustment and preview, sound effect feedback adjustment and preview, and multi-layer material rendering.
0.0.2 新增局内配置界面,可绑定按键打开,新增自定义材质兼容、局内样式调节与预览、音效反馈调节与预览、多层材质渲染等。
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.
模组只针对玩家物品栏槽位生效,不会锁定箱子、熔炉等容器自身的槽位。
Interaction Interception 交互拦截
The mod can block the following operations according to configuration:
模组可根据配置阻止以下操作:
- Clicking locked slots.
- 点击已锁定槽位。
- Dropping items from locked slots.
- 从已锁定槽位丢弃物品。
- Quick-moving items from locked slots.
- 从已锁定槽位快速移动物品。
- Shift-clicking locked slots.
- Shift 点击已锁定槽位。
- Dragging items through locked slots.
- 拖拽物品经过已锁定槽位。
- Swapping items with locked slots.
- 与已锁定槽位交换物品。
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.
服务端安装本模组时,收藏状态与部分拦截逻辑由服务端处理。该机制可用于拦截由服务端操作或其他模组触发的玩家物品栏槽位变动。
Bypass Key 旁路键
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 控制设置中修改。
Overlay Markers 标记显示
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,and DIY styles(by NFI Assets Folder):
当前提供以下 Overlay 样式,以及自定义样式(通过NFI Assets文件夹):
borderclassicframeworkhighlightbracketslockmarktagstar
Overlay 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) 三种写法。
Data Storage 数据保存
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.
服务端安装本模组时,服务端会在玩家加入和离开时处理收藏数据的加载与保存,并向客户端同步收藏状态。
Configuration 配置内容
The config file is located at:
配置文件位于:
config/NFI/
Main configuration items include:
主要配置项包括:
- Whether empty slots can be locked.
- 是否允许锁定空槽位。
- Whether empty slots automatically unlock.
- 空槽位是否自动解锁。
- Whether items can enter locked empty slots.
- 是否允许物品进入锁定的空槽位。
- Interaction interception rules for different operation types.
- 不同交互类型的拦截策略。
- How favorite state behaves when items move.
- 收藏状态在物品移动时的处理方式。
- Overlay style, color, and opacity.
- Overlay 样式、颜色与透明度。
- Lock, unlock, and bypass display behavior.
- 锁定提示、解锁提示与旁路显示效果。
- Debug logging switch.
- 调试日志开关。
Use Cases 适用场景
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 环境中,如果需要独立的槽位锁定、标记显示与服务端拦截能力,可以使用本模组。
Current Limitations 当前限制
- Only player inventory slots are supported. Container-owned slots are not supported.
- 当前只支持玩家物品栏槽位,不支持容器自身槽位锁定。
- Server-authoritative synchronization is implemented, but complex multiplayer interactions still need validation with specific mod combinations.
- 物品移动策略已提供配置入口,复杂移动场景下的状态跟踪仍在完善中。
- Visual feedback are still under development.
- 视觉反馈仍在开发中。
下载 Neo Favorite Items
下载 Neo Favorite Items
下载 Neo Favorite Items
下载 Neo Favorite Items
下载 Neo Favorite Items
下载 Neo Favorite Items
下载 Neo Favorite Items
下载 Neo Favorite Items
下载 Neo Favorite Items
下载 Neo Favorite Items
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
Neo Favorite Items 0.0.2
Changes
更新内容
- Added an in-game configuration screen with a bindable open key 新增局内配置界面和可绑定打开按键
- Added themes, tabs, collapsible recursive configuration sections, and scrolling 新增主题、分页、可折叠递归配置分组
- Added up to four independent rendering layers per profile 支持每个 Profile 最多四个独立渲染层
- Added custom PNG/JPG materials from the NFI Assets folder 支持于NFI Assets 文件夹自定义 PNG/JPG 材质
- Added bounded arbitrary dimensions, anchors, offsets, scaling, rotation, clipping, overflow, and z-order 支持任意受限尺寸、锚点、偏移、缩放、旋转、裁剪、溢出和 z 层
- Expanded color modes and color configuration 扩展颜色模式和颜色配置
- Added searchable lazy-paged sound IDs, subtitle tooltips, and preview playback 新增音效 ID 搜索、懒加载分页、subtitle 提示和预览播放
- Improved multi-hotbar and third-party mod compatibility 改进多快捷栏及第三方模组兼容
- Improved live configuration updates, reload, and external-change detection 改进配置即时生效、Reload 和外部修改检测
关于这个资源的讨论、问题反馈与使用心得
还没有讨论,来发第一帖吧
你是这个资源的作者?登录后可认领此资源。
相似资源
模组
显示你正在注视的方块的信息。(适用于 Minecraft 1.16+ 的 Hwyla/Waila 分支)
模组
使用 JavaScript 编辑配方、添加自定义物品、编写世界事件!
模组
查看物品与配方
模组
在游戏画面角落显示附近世界地形、玩家、生物和实体的地图。可创建路径点,帮助你找到标记过的位置。
模组
AE2:一款流行的自动化与存储模组
模组
那是什么?一个 Waila/Hwyla 的分支。
评论 0
登录后参与评分
还没有评论,来抢沙发吧