简介
原版中,生物仅在由玩家击杀时才会掉落经验值和/或稀有战利品,而非由环境因素导致死亡时则不会。本模组使生物无论因何种原因死亡,都会始终掉落经验球和战利品。这对于喜欢建造被动型生物农场等的玩家非常有用。

安装
需要 Fabric Loader 和 Fabric API。
配置
自 MC 1.17.1 起,模组的配置界面已替换为游戏内规则(gamerules),以支持按世界进行配置。
如果你的世界中已禁用作弊权限,可以通过将世界开放给局域网来临时获取作弊权限以编辑游戏内规则。
始终掉落经验值 (Always drop XP)
控制所有生物在死亡时是否总是掉落经验值,无论是否由玩家击杀。
/gamerule always-drop-loot:alwaysDropXp true: 无论死因如何,生物都将始终掉落经验值。(默认)
/gamerule always-drop-loot:alwaysDropXp false: 原版行为;仅当由玩家击杀时,生物才会掉落经验值。
被动经验值修正系数 (Passive XP modifier)
控制当生物非由玩家击杀时所掉落的经验值数量。仅在 always-drop-loot:alwaysDropXp 为 true 时生效。此游戏内规则中设置的值将乘以生物的自然经验值掉落量,结果四舍五入至最接近的整数。
gamerule always-drop-loot:passiveXpModifier 1.0: 无论死因如何,生物掉落的经验值数量相同(默认)
gamerule always-drop-loot:passiveXpModifier 0.5: 当生物非由玩家击杀时,掉落一半的正常经验值。
战利品掉落模式 (Loot drop mode)
控制 killed_by_player(被玩家击杀)战利品条件是否始终通过,无论实体是否由玩家击杀。
/gamerule always-drop-loot:lootDropMode ALWAYS_AS_PLAYER: killed_by_player 战利品条件始终通过(默认)
/gamerule always-drop-loot:lootDropMode NEVER_AS_PLAYER: killed_by_player 战利品条件始终不通过
/gamerule always-drop-loot:lootDropMode VANILLA: 原版行为;仅当生物由玩家击杀时,killed_by_player 战利品条件才通过。
/gamerule always-drop-loot:lootDropMode VANILLA_INVERSE: 仅当生物非由玩家击杀时,killed_by_player 战利品条件才通过。
Summary
In vanilla, mobs only drop experience and/or rare loot when killed by a player, not when killed by their environment. With this mod, mobs will always drop experience orbs and loot, regardless of cause of death. This is useful for people who like to build passive mob farms and such.

Installation
Requires Fabric Loader and Fabric API.
Configuration
Since MC 1.17.1, the mod config screen has been replaced with gamerules in order to allow configuration per world.
If you have cheats disabled in your world, you can temporarily get cheat permissions to edit gamerules by opening your world to LAN.
Always drop XP
Control whether all mobs drop XP when killed, regardless of whether a player killed them.
/gamerule always-drop-loot:alwaysDropXp true: mobs will always drop XP regardless of how they died. (default)
/gamerule always-drop-loot:alwaysDropXp false: vanilla behavior; mobs will drop XP iff killed by a player.
Passive XP modifier
Control the amount of XP dropped when mobs are not killed by a player. Only applies when always-drop-loot:alwaysDropXp is true. The value set in this gamerule is multiplied by the mob's natural XP drop value, and the result is rounded to the nearest integer.
gamerule always-drop-loot:passiveXpModifier 1.0: mobs will drop the same amount of XP regardless of how they died (default)
gamerule always-drop-loot:passiveXpModifier 0.5: mobs will drop half the normal XP when not killed by a player.
Loot drop mode
Control whether the killed_by_player loot condition always passes, regardless of whether the entity was killed by a player.
/gamerule always-drop-loot:lootDropMode ALWAYS_AS_PLAYER: the killed_by_player loot condition always passes (default)
/gamerule always-drop-loot:lootDropMode NEVER_AS_PLAYER: the killed_by_player loot condition always fails
/gamerule always-drop-loot:lootDropMode VANILLA: vanilla behavior; the killed_by_player loot condition passes iff the mob was killed by a player.
/gamerule always-drop-loot:lootDropMode VANILLA_INVERSE: the killed_by_player loot condition passes iff the mob was NOT killed by a player.
评论 0
登录后参与评分
还没有评论,来抢沙发吧