背包属性
这是一种在 Minecraft 中实现背包的不同方式。本模组不会添加任何背包物品,玩家可以在任何时候访问背包(具体取决于配置设置)。
玩家可以通过热键(默认为 B)打开新的背包界面。
最小槽位数量为 0,此时背包界面将不会打开。系统会通知玩家当前没有可用的背包槽位。
最大槽位数量为 27。
配置
“natural_backpack_capacity”服务器配置选项控制每个玩家默认拥有的背包槽位数量。
实体属性 “backpackattribute:backpack_capacity” 控制相对于默认数量的槽位增减量。该值默认为 0,但通过实体属性修饰符(EAMs)可以对其进行更改。
禁用状态的槽位背景纹理默认不显示。这可以在客户端配置中关闭。
“当我的背包容量变小时,里面的物品会发生什么?”
当某个背包槽位包含物品且该槽位变为不可用时,该物品会被移至普通物品栏;如果物品栏已满,则物品会在玩家所在位置掉落。此情况会通过聊天消息告知玩家。
“当我死亡时,背包里的物品会发生什么?”
多个服务器配置选项决定了玩家死亡时的物品处理方式。
当 “keep_backpack_inventory_on_death” 选项设置为 true 时,物品将保留在背包中。这与原版游戏的 “keepInventory” 游戏规则类似。
当 “keep_backpack_inventory_on_death” 设置为 false 时,可能出现两种结果,具体取决于 “clear_backpack_inventory_on_death” 选项:
- 如果该选项为 true,物品将被销毁。
- 如果该选项为 false,物品将在玩家死亡位置掉落。
Backpack Attribute
This is a different approach to a backpack in Minecraft. No backpack items are added, the backpack can be accessed at any time (depending on the config settings).
The player can open the new backpack screen via a hotkey (B by default).
The minimum amount of slots is 0, in which case the backpack screen won't open. The player gets notified that they currently don't have backpack slots.
The maximum amount of slots is 27.
Configuration
The "natural_backpack_capacity" server config option controls the amount of backpack slots each player has by default.
The entity attribute "backpackattribute:backpack_capacity" controls how many slots are added to/removed from the default amount. This is 0 by default, but with entity attribute modifiers (EAMs) it can be changed.
The background texture of disabled slots is not shown. This can be disabled in the client config.
"What happens to items in my backpack when my backpack gets smaller?"
When a backpack slot contains an item and becomes inactive, that item is moved to the normal inventory or dropped at the players location, when the inventory is full. This is announced to the player via a chat message.
"What happens to items in my backpack when I die?"
Several server config options control what happens in the case of player death.
When the "keep_backpack_inventory_on_death" option is set to true, the items stay in the backpack. This is similar to the vanilla "keepInventory" game rule.
When "keep_backpack_inventory_on_death" is set to false, two outcomes are possible, depending on the "clear_backpack_inventory_on_death" option:
- When the option is true, the items are destroyed.
- When the option is false, the items are dropped on the players position.
下载 Backpack Attribute
下载 Backpack Attribute
下载 Backpack Attribute
下载 Backpack Attribute
下载 Backpack Attribute
下载 Backpack Attribute
下载 Backpack Attribute
4.0.0
- 更新至 26.1.x
关于这个资源的讨论、问题反馈与使用心得
还没有讨论,来发第一帖吧
你是这个资源的作者?登录后可认领此资源。
相似资源
模组
一个用于收集生物掉落物的多区块模组。
模组
可定制的鞘翅模组,支持装饰纹饰、旗帜图案等更多功能!
模组
显示你正在注视的方块的信息。(适用于 Minecraft 1.16+ 的 Hwyla/Waila 分支)
模组
查看物品与配方
模组
在游戏画面角落显示附近世界地形、玩家、生物和实体的地图。可创建路径点,帮助你找到标记过的位置。
模组
使用 JavaScript 编辑配方、添加自定义物品、编写世界事件!
评论 0
登录后参与评分
还没有评论,来抢沙发吧