描述
一款小型模组,允许调整苦力怕或其他爆炸的某些方面。 最常见且实用的调整是:被苦力怕爆炸摧毁的所有方块都将始终掉落为物品。
再也不会有半空的苦力怕坑了!
此模组仅需在服务器端安装。
注意: 此模组目前无法与 Sponge 兼容,因为安装了 Sponge 后 Forge 的爆炸事件不会被触发。(上次检查是在 1.10.2 或 1.12.2 版本,不清楚当前情况。)
配置
该模组完全通过配置文件进行设置,文件位于 config/environmentalcreepers.<toml | json>(Forge 版本使用 *.toml 文件,Fabric/Quilt 版本使用 *.json 文件)。
在 1.14+ 版本中,新增了一个命令:/environmentalcreepers-reload,用于在游戏中从磁盘重新加载配置文件,无需在单人游戏中重新登录世界或重启服务器即可读取更改。在单人游戏中,您还可以使用游戏内的配置 GUI 来修改配置(1.14+ Forge 版本尚未重新实现此功能)。
以下是可用的配置选项。该模组将苦力怕爆炸与其他所有爆炸分开处理,因此您可以仅针对苦力怕启用调整,如果这是您唯一需要的更改。
creeperChainReactionChance- 连锁反应发生的概率(针对范围内的每个目标苦力怕),前提是enableCreeperExplosionChainReaction为 true。范围:0.0 - 1.0creeperChainReactionMaxDistance- 苦力怕引燃其他苦力怕的最大距离creeperExplosionBlockDropChance- 被苦力怕爆炸摧毁的方块掉落为物品的概率。范围0.0 - 1.0,其中1.0表示方块总是掉落为物品。creeperExplosionStrengthCharged- 闪电苦力怕爆炸的威力。原版默认值为6.0(普通苦力怕的两倍)。creeperExplosionStrengthNormal- 普通苦力怕爆炸的威力。原版默认值为3.0。disableCreeperExplosionBlockDamage- 完全禁用苦力怕爆炸对方块的破坏效果disableCreeperExplosionCompletely- 完全阻止苦力怕爆炸。它们只会膨胀起来。disableCreeperExplosionItemDamage- 防止苦力怕爆炸销毁地面上的物品disableOtherExplosionBlockDamage- 完全禁用除苦力怕以外的其他爆炸对方块的破坏效果disableOtherExplosionItemDamage- 防止除苦力怕以外的其他类型爆炸销毁地面上的物品enableCreeperExplosionChainReaction- 如果启用,则苦力怕爆炸可以引燃范围内的其他苦力怕modifyCreeperExplosionDropChance- 启用苦力怕爆炸的物品掉落概率修改modifyCreeperExplosionStrength- 启用修改苦力怕爆炸威力的功能。如果没有此项,上述描述的爆炸威力值将无效。modifyOtherExplosionDropChance- 启用除苦力怕以外的所有其他爆炸的物品掉落概率修改otherExplosionBlockDropChance- 与creeperExplosionBlockDropChance相同,但适用于除苦力怕以外的所有其他爆炸
Description
A small mod that allows tweaking some aspects of Creeper or other explosions. The most common and useful tweak is probably the one where all the blocks destroyed by Creeper explosions will always drop as items.
No more partially filled Creeper holes!
This mod is only needed on the server side.
Note: This mod does not currently work with Sponge, because the Forge Explosion events don't get fired with Sponge installed. (This was last checked back in 1.10.2 or 1.12.2. No idea about the current situation.)
Configuration
The mod is entirely configured through the config file, which is at config/environmentalcreepers.<toml | json> (The Forge version uses a *.toml file and the Fabric/Quilt version uses a *.json file).
In the 1.14+ versions there is now one command: /environmentalcreepers-reload to reload the config file from disk in-game, without having to re-log to the world in single player or restart the server to read the file. In single player you can also use the in-game config GUI for changing the configs (not re-implemented yet in the 1.14+ Forge version).
The following configuration options are available. The mod handles Creeper explosions separately from all other explosions, so that you can only enable the tweaks for Creepers, if that is the only change you are looking for.
creeperChainReactionChance- The chance (per each target Creeper within range) that a chain reaction occurs, ifenableCreeperExplosionChainReactionis true. Range:0.0 - 1.0creeperChainReactionMaxDistance- The maximum distance within which a Creeper can ignite other CreeperscreeperExplosionBlockDropChance- The chance that a block destroyed by a Creeper explosion will drop as an item. Range0.0 - 1.0, where1.0means that the block always drops as an item.creeperExplosionStrengthCharged- The strength of Charged Creeper explosions. The default in vanilla is6.0(double of normal Creepers).creeperExplosionStrengthNormal- The strength of normal Creeper explosions. The default in vanilla is3.0.disableCreeperExplosionBlockDamage- This completely disables Creeper explosions from destroying blocksdisableCreeperExplosionCompletely- This prevents Creepers from exploding completely. They just swell up.disableCreeperExplosionItemDamage- This prevents Creeper explosions from destroying items on the grounddisableOtherExplosionBlockDamage- This completely disables other explosions except for Creepers from destroying blocksdisableOtherExplosionItemDamage- This prevents other types of explosions except for Creepers from destroying items on the groundenableCreeperExplosionChainReaction- If enabled, then a Creeper explosion can ignite other Creepers within rangemodifyCreeperExplosionDropChance- This enables the item drop chance modification for Creeper explosionsmodifyCreeperExplosionStrength- Enable modifying the explosion strength of Creeper explosions. Without this, the explosion strength values described above do nothing.modifyOtherExplosionDropChance- This enables the item drop chance modification for every other explosion except for CreepersotherExplosionBlockDropChance- Same ascreeperExplosionBlockDropChance,but for all other explosions except Creepers
下载 Environmental Creepers
下载 Environmental Creepers
下载 Environmental Creepers
下载 Environmental Creepers
下载 Environmental Creepers
下载 Environmental Creepers
下载 Environmental Creepers
下载 Environmental Creepers
下载 Environmental Creepers
下载 Environmental Creepers
- 更新到 MC 1.20.6
我注意到目前代码中缺少对除 0.0 和 1.0 这两种“特殊情况”之外的爆炸掉落率修改的处理。不知道这部分是什么时候被移除的……或许应该在某个时候把它加回来 ?
原始构建时间: 2024-07-28 03:07:36 +0300
关于这个资源的讨论、问题反馈与使用心得
还没有讨论,来发第一帖吧
你是这个资源的作者?登录后可认领此资源。
相似资源
模组
显示你正在注视的方块的信息。(适用于 Minecraft 1.16+ 的 Hwyla/Waila 分支)
模组
在游戏画面角落显示附近世界地形、玩家、生物和实体的地图。可创建路径点,帮助你找到标记过的位置。
模组
查看物品与配方
模组
使用 JavaScript 编辑配方、添加自定义物品、编写世界事件!
模组
AE2:一款流行的自动化与存储模组
模组
那是什么?一个 Waila/Hwyla 的分支。
评论 0
登录后参与评分
还没有评论,来抢沙发吧