SaveTheHotbar!
keepInventory 游戏规则应设置为 true 模组才能正常工作
描述
SaveTheHotbar! 是 keepInventory 和墓碑类模组的平衡替代方案。
它允许你在死亡后保留护甲或快捷栏,并掉落其余的物品栏内容,
这样你就不会因为失去武装而无法找回其他战利品!
配置
你可以通过 Mod Menu 进入游戏的配置界面来访问和编辑配置文件。
SaveTheHotbar! 支持以下配置选项:
enabled
默认值为 true
如果设置为 false,模组将禁用,就像未安装一样。
saveHotbar
默认值为 true
如果设置为 true,死亡后将保留快捷栏。
saveArmor
默认值为 true
如果设置为 true,死亡后将保留护甲。
saveSecondHand
默认值为 true
如果设置为 true,死亡后将保留副手物品。
saveArsenal
默认值为 true
如果设置为 true,死亡后将保留 Arsenal 模组的背包槽位。
如果未安装 Arsenal 模组,则此选项无效。
experienceBehaviour
默认值为 false
如果为 DROP,经验将在死亡后掉落。
如果为 STORE,经验将存储在 "grave"(墓碑)方块中。(如果 containDrop 为 false,经验将直接掉落)
如果为 KEEP,玩家将保留经验值。
无论选择哪种模式,死亡后的新经验值都将根据 experienceCalculationMode 设置进行计算。
experienceCalculationMode
默认值为 FRACTION
如果为 ALL,经验值保持不变。
如果为 FRACTION,经验值乘以 experienceFraction。
如果为 VANILLA,使用原版公式计算新的经验值 -> new_exp_points = {player_level} * 7。
experienceFraction
默认值为 0.2
当 experienceCalculationMode 设置为 FRACTION 时,应在死亡后掉落/存储/保留的经验比例。
randomDropChance
默认值为 0.0 (0.0 -> 0%; 1.0 -> 100%)
增加原本应保留的物品随机掉落的几率。
例如:即使护甲应该被保留,每件护甲仍有概率改为掉落,从而增加风险!
rarityDropChanceDecrease
默认值为 0.2 (0.0 -> 0%; 1.0 -> 100%)
根据物品稀有度降低随机掉落几率的百分比。
(例如:rdc = 20%, rdcd = 20%,非普通物品将有 16% 的几率掉落)
luckDropChanceDecrease
默认值为 0.2 (0.0 -> 0%; 1.0 -> 100%)
根据玩家的幸运效果降低随机掉落几率的百分比。
(例如:rdc = 20%, ldcd = 20%,拥有 1 级幸运时,物品将有 16% 的几率掉落)
randomSpread
默认值为 false
如果为 true,死亡后掉落的所有物品将向各个方向随机散布。
如果为 false,所有物品将停留在你死亡的精确位置,且只能向下掉落。
如果 containDrop 为 true,则此选项无效。
containDrop
默认值为 false
如果为 true,所有未被保留的物品将存储在由 containDropMode 选项指定的方块中。
如果为 false,所有未被保留的物品将在死亡后掉落。
containDropMode
默认值为 "SACK"
如果 containDrop 为 true,未被保留的物品将存储在此处指定的方块。
"SACK"
玩家死亡后,会生成一个袋子,包含所有未被保留的物品。
破坏时掉落物品。可被水浸透。自身不掉落。"SKELETON_HEAD"/"ZOMBIE_HEAD"/"RANDOM_HEAD"
玩家死亡后,会生成一个生物头颅墓碑,包含所有未被保留的物品。
破坏时掉落物品。自身不掉落。
墓碑将在找到的第一个有效生成位置生成,该位置必须是一个顶部有可替换方块的完整方块。
如果在mobGraveMaxSpawnRadius半径内找不到此类位置,则会改为生成SACK墓碑。"GRAVE"
GRAVESTONES MOD 必需!!!
玩家死亡后,会生成来自Gravestones模组的墓碑,
其中包含根据其配置存储的未被保留的物品和经验值。
mobGraveMaxSpawnRadius
默认值为 1
搜索有效袋子生成位置的最大半径。
如果未找到有效位置,将在死亡位置直接生成一个袋子,替换那里的任何方块。
mobGraveMaxSpawnRadius
默认值为 32
搜索有效生物墓碑生成位置的最大半径。
如果未找到有效位置,将改为生成一个袋子。
allowGravesToSpawnOnSlabs
默认值为 false
如果为 true,上半部分方块也将被视为有效的墓碑生成方块。
logDeathCoordinatesInChat
默认值为 false
如果为 true,死亡坐标将记录在聊天栏中。
logGraveCoordinatesInChat
默认值为 false
如果为 true,墓碑坐标将记录在聊天栏中。
路线图:
- 使配置文件翻译可通过翻译文件进行翻译
SaveTheHotbar!
keepInventory GameRule should be set to true for the mod to work
Description
SaveTheHotbar! is a balanced alternative to keepInventory and gravestone type mods.
It allows you to keep the armour or the hotbar after death and drop the rest of the inventory,
so that you don't lose the armament required to get the rest of your loot back!
Configuration
You can access and edit the config in game entering it's configuration through the Mod Menu.
SaveTheHotbar! can be configured with the following options:
enabled
Defaults to true
If false, the mod will become disabled, just as if it wasn't installed.
saveHotbar
Defaults to true
If true, the hotbar will be kept after death.
saveArmor
Defaults to true
If true, the armor will be kept after death.
saveSecondHand
Defaults to true
If true, the second hand will be kept after death.
saveArsenal
Defaults to true
If true, the Arsenal's back slot will be kept after death.
Does not do anything if the Arsenal mod is not installed
experienceBehaviour
Defaults to false
If DROP, the experience will be dropped after death.
If STORE, the experience will be stored in the "grave" block. (if containDrop is false, EXP will drop instead)
If KEEP, the player will keep the experience.
No matter which mode is selected, the new EXP amount after death will be calculated according to experienceCalculationMode setting
experienceCalculationMode
Defaults to FRACTION
If ALL, the experience stays unchanged.
If FRACTION, the experience is multiplied by experienceFraction.
If VANILLA, the new experience value is calculated with the vanilla formula -> new_exp_points = {player_level} * 7.
experienceFraction
Defaults to 0.2
The fraction of experience that should be dropped/stored/kept after death when experienceCalculationMode is set to FRACTION
randomDropChance
Defaults to 0.0 (0.0 -> 0%; 1.0 -> 100%)
Adds a random chance to drop an otherwise kept item
E.g. Even when the armor should be kept, each piece will still have a change to be dropped instead, increasing the risk!
rarityDropChanceDecrease
Defaults to 0.2 (0.0 -> 0%; 1.0 -> 100%)
A percentage by which the random drop chance will be decreased according to item's rarity
(e.g. rdc = 20%, rdcd = 20%, UNCOMMON item will have 16% change to drop)
luckDropChanceDecrease
Defaults to 0.2 (0.0 -> 0%; 1.0 -> 100%)
A percentage by which the random drop chance will be decreased according to player's luck effect
(e.g. rdc = 20%, ldcd = 20%, with luck 1, item will have 16% change to drop)
randomSpread
Defaults to false
If true, all the dropped items after death will be spread randomly in all directions.
If false, all the item will stay in the exact position of your death and can only fall downwards.
Does not do anything if containDrop is true.
containDrop
Defaults to false
If true, all the non-kept items will be stored in a block specified by the containDropMode option.
If false, all the non-kept items will be dropped after death.
containDropMode
Defaults to "SACK"
The block where the non-kept items will be stored if containDrop is true.
"SACK"
After player death, a sack will be spawned, containing all the non-kept items.
Drops items on destruction. Can be waterlogged. Does not drop itself."SKELETON_HEAD"/"ZOMBIE_HEAD"/"RANDOM_HEAD"
After player death, mob head grave will be spawned, containing all the non-kept items.
Drops items on destruction. Does not drop itself.
The Grave will be spawned in the first found valid spawn location, which is a full block with replaceable block on top.
If such location insidemobGraveMaxSpawnRadiusradius isn't found, aSACKgrave will be spawned instead."GRAVE"
GRAVESTONES MOD REQUIRED!!!
After player death, a grave from theGravestonesmod will be spawned,
containing the non-kept items and XP according to its configuration.
mobGraveMaxSpawnRadius
Defaults to 1
The maximum search radius for a valid sack spawning position.
If no valid place is found, a Sack will be spawned directly at the death position replacing whatever block was there.
mobGraveMaxSpawnRadius
Defaults to 32
The maximum search radius for a valid mob grave spawning position.
If no valid place is found, a Sack will be spawned instead.
allowGravesToSpawnOnSlabs
Defaults to false
If true a top slab block will also be considered a valid grave spawning block
logDeathCoordinatesInChat
Defaults to false
If true, the coordinates of the death will be logged in the chat.
logGraveCoordinatesInChat
Defaults to false
If true, the coordinates of the grave will be logged in the chat.
Roadmap:
- Make config translations translatable through translation files
下载 Save The Hotbar!
下载 Save The Hotbar!
下载 Save The Hotbar!
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Save The Hotbar!
下载 Save The Hotbar!
下载 Save The Hotbar!
下载 Save The Hotbar!
下载 Save The Hotbar!
下载 Save The Hotbar!
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Save The Hotbar!
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
已完成:
- 支持最新的 Pneumono Gravestones 版本
- 将配置名称和工具提示移至 MC 语言文件
- 按类型过滤物品:武器、盔甲、食物、药水等
- 支持以下 MC 版本:
- 1.20.6
- 1.21.1
- 1.21.4
- 1.21.8
- 1.21.11
- 26.1.2
- 26.2
- 内部配置重构,并更改为 TOML 格式
- 死亡后的饥饿值与饱和度控制
进行中:
- 自动化测试(1.20.1 - 1.21.4 完全可用;1.21.8+ 部分可用)
关于这个资源的讨论、问题反馈与使用心得
还没有讨论,来发第一帖吧
你是这个资源的作者?登录后可认领此资源。
相似资源
模组
可定制的鞘翅模组,支持装饰纹饰、旗帜图案等更多功能!
模组
显示你正在注视的方块的信息。(适用于 Minecraft 1.16+ 的 Hwyla/Waila 分支)
模组
使用 JavaScript 编辑配方、添加自定义物品、编写世界事件!
模组
查看物品与配方
模组
在游戏画面角落显示附近世界地形、玩家、生物和实体的地图。可创建路径点,帮助你找到标记过的位置。
模组
AE2:一款流行的自动化与存储模组
评论 0
登录后参与评分
还没有评论,来抢沙发吧