Fire Bending
这是一个用于 Fabric Minecraft 的服务端模组,允许服务器管理员更细致地控制火焰刻度的行为。
火源
由不同来源产生的火焰方块现在被视为独立的火焰方块。该模组添加了新的游戏规则(gamerules),让你能够单独配置每种火源的火焰刻度延迟:
/gamerule lightningFireTickDelay <integer-argument>
/gamerule lavaFireTickDelay <integer-argument>
/gamerule flintAndSteelFireTickDelay <integer-argument>
/gamerule explosionFireTickDelay <integer-argument>
/gamerule fireChargeFireTickDelay <integer-argument>
提供给游戏规则的整数参数将根据公式 tickDelay = argument + RandomNumber(0, 10) 修改对应火源的火焰刻度延迟。此外,将该值设置为 -1 将禁用该火源的火焰刻度。
所有这些游戏规则的默认值均为 30。
根据附近玩家进行火焰刻度
此外,该模组还添加了两个新的游戏规则:
/gamerule doTickFireOnlyWhenPlayerNearby <boolean-argument>:此游戏规则切换是否仅在玩家处于特定用户可配置距离内且该火源的火焰刻度已启用时,才对火焰方块进行刻度。默认为 false。
/gamerule tickFireWhenPlayerNearbyDistance <integer-argument>:如果启用了 doTickFireOnlyWhenPlayerNearby 游戏规则,此游戏规则设置火焰需要刻度的玩家距离阈值。默认为 30,最小值为 1。
易燃方块黑名单
最后,该模组提供了一个配置文件,位于 ./config/fire-bender-config.json,用户可以在其中配置不应具有易燃性的方块列表。
你可以向 flammable_blocks_blacklist 数组中添加方块标识符条目,然后使用命令 /fire-bender reload_config 重新加载配置。
{
"flammable_blocks_blacklist": [
"minecraft:my_block",
"modid:other_block"
]
}
支持
如果你想报告错误或提出建议,可以通过模组的 问题追踪器 进行反馈。
Fire Bending
This is a Fabric Minecraft server-side mod that allows server administrators to control with more detail the behaviour of fire ticking.
Fire Sources
Fire blocks produced by different sources are now their own fire blocks. The mod adds new gamerules that let you configure the fire tick delay of each fire source individually:
/gamerule lightningFireTickDelay <integer-argument>
/gamerule lavaFireTickDelay <integer-argument>
/gamerule flintAndSteelFireTickDelay <integer-argument>
/gamerule explosionFireTickDelay <integer-argument>
/gamerule fireChargeFireTickDelay <integer-argument>
The integer argument supplied to the gamerule, will modify the fire tick delay of the corresponding fire source, using the formula tickDelay = argument + RandomNumber(0, 10). Additionally, setting this value to -1 disables fire ticking for that fire source.
All of these gamerules have the default value of 30.
Tick fire based on nearby players
Furthermore, the mod adds two new gamerules:
/gamerule doTickFireOnlyWhenPlayerNearby <boolean-argument>: This gamerule toggles whether fire blocks should tick only when a player is within a certain user-configurable distance and fire ticking is enabled for the source of the fire. This is false by default.
/gamerule tickFireWhenPlayerNearbyDistance <integer-argument> This gamerule sets the distance at which a player has to be in order for fire to tick, if the doTickFireOnlyWhenPlayerNearby gamerule is enabled. This is 30 by default, and the minimum value is 1.
Flammable blocks blacklist
Finally, the mod offers a configuration file, found at ./config/fire-bender-config.json, where the user can configure a list for blocks that shouldn't be flammable.
You can add block identifier entries to the flammable_blocks_blacklist array, and then reload the config using the command /fire-bender reload_config.
{
"flammable_blocks_blacklist": [
"minecraft:my_block",
"modid:other_block"
]
}
Support
If you would like to report a bug, or make a suggestion, you can do so via the mod's issue tracker.
评论 0
登录后参与评分
还没有评论,来抢沙发吧