一个让你从部分背包负担中解脱的模组。更具体地说,它允许你禁用物品栏槽位。
该模组需要在服务端和客户端同时安装。
功能
模组的主要功能是禁用物品栏槽位。这包括主 3x9 格子区域和 9 个快捷栏槽位,但不包括护甲槽或副手槽。
默认情况下会锁定 27 个槽位,但此数量可在配置文件中更改。
物品栏锁定仅适用于生存模式和冒险模式下的玩家,旁观者模式或创造模式的玩家不受影响。
已解锁的槽位
每个玩家都有一个“已解锁槽位数”的值。该值会从配置的锁定槽位数中减去,以确定针对该玩家的槽位数量。你可以直接使用 "/inventory_slots" 命令来查看或修改此值。通过这种方式,已解锁槽位数可以被设置为负数。
通过在配置中指定某种物品,消耗该物品可以解锁一个槽位。解锁每个槽位所需的物品数量可以通过配置选择有限的几种递增方式之一进行变化。
你还可以选择在死亡时失去一定数量的已解锁槽位。不过,通过此功能,已解锁槽位数永远不会低于 0。
锁定槽位中的物品
当一个已有物品的已解锁槽位因命令或死亡而被锁定时,根据配置的不同,该物品会有两种处理方式。
默认情况下,物品会与槽位一起被锁定(更准确地说,是移动到隔离的物品栏中,直到该槽位再次解锁)。另一个选项是将物品掉落至世界中。
锁定槽位中的物品会遵循 keepInventory 游戏规则的设定。因此,在常规游戏过程中(即不使用 /inventory_slots 命令时),此选项仅在 keepInventory 开启时才有意义。
配置文件
模组拥有世界专属的配置,可以在游戏中途更改(但目前尚不支持在游戏内直接更改),从而控制某些功能。
配置文件位于世界文件夹中的 "serverconfig" 文件夹内。如果你将配置文件复制到 "defaultconfigs" 文件夹(位于 minecraft 文件夹中,而非世界文件夹中),那么在创建新世界时将自动使用该配置文件。
欢迎将此模组包含在你的整合包中。
模组由 kirderf1 编写。锁定纹理(3.0.0+ 版本)由 Winddbourne 提供。
Discord 支持:
A mod that frees you from part of your inventory. More specifically, it lets you disable inventory slots.
The mod should be used both server-side and client-side.
Features
The primary feature of the mod is to disable inventory slots. This includes the main 3x9 slots, and the 9 toolbar slots, but not the armor slots or the offhand slot.
By default, 27 slots are locked, but this can be changed in the config.
Inventory locking will apply to players in survival and adventure mode, but not to players in spectator or creative mode.
Unlocked slots
Each player has a value for unlocked slots. This value is subtracted from the configured locked slots to determine the player-specific number of slots. You can check or modify this value directly with the "/inventory_slots" command. The number of unlocked slots can be set to a negative value this way.
By specifying an item in the config, this item can be consumed to unlock a slot. The number of items required to unlock each slot can progress in a limited number of ways, which is chosen in the config.
You can also choose a number of slot unlocks that are lost on death. However, the number of unlocked slots will never drop below 0 through this feature.
Items in locked slots
When an unlocked slot that already has an item is locked either by command or by death, two things can happen to the item based on the config.
By default, the item will be locked in with the slot (or more technically, moved to an isolated inventory until the slot in unlocked again). The other option is that the item is dropped into the world.
Items in locked slots will respect the keepInventory gamerule. As such, during regular gameplay (meaning no usage of /inventory_slots), this option will only be meaningful when keepInventory is turned on.
Config
The mod has a world-specific configuration that can be changed mid-game (however not yet in-game), where some features can be controlled.
The configuration file can be found in the "serverconfig" folder in the world folder. If you copy over a config file to the "defaultconfigs" folder (in the minecraft folder, not world folder), that config file will automatically be used when creating a new world.
Feel free to include this mod in modpacks.
Mod written by kirderf1. Lock texture (in 3.0.0+) provided by Winddbourne.
Support on Discord:
下载 Inventory-Free
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Inventory-Free
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Inventory-Free
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Inventory-Free
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Inventory-Free
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Inventory-Free
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Inventory-Free
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Inventory-Free
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Inventory-Free
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Inventory-Free
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
- 更新至 Minecraft 1.21.3 / NeoForge 21.3
更改
- 将日志记录器名称更改为 "inventory_free"
修复
- 修复配置卸载时记录的错误
关于这个资源的讨论、问题反馈与使用心得
还没有讨论,来发第一帖吧
你是这个资源的作者?登录后可认领此资源。
相似资源
模组
AE2:一款流行的自动化与存储模组
模组
基于 GTCEu 1.12.2 的现代 GregTech
模组
高科技机械、强大的能量生成、炫酷的小工具以及更多内容。现已登陆 Modrinth!
模组
更聪明地交易,随处存储,并用奇妙的原版增强机制打造更好的体验。
模组
自动附魔,搭配 Create
模组
一款适用于 Fabric/(Neo)Forge 的模组,添加了各种各样的便利性功能(QoL),包括容器搜索、精确库存管理、酷炫的视觉效果等等!
评论 0
登录后参与评分
还没有评论,来抢沙发吧