跳到正文

Configured Burn Time

作者:Nerjal_Nosk

允许通过数据驱动的方式动态配置物品的燃烧时间。

收藏

介绍

介绍由机器翻译自 Modrinth 原页面,仅供参考。

配置燃烧时间

又称配置燃烧

让物品的燃烧时间由数据驱动。
只需重新加载一次数据包,即可更改物品的燃烧时间!

新增一种配方类型:configured_burn:burning_time

结构:

{
  "type": "configured_burn:burning_time",
  "item": "<item id>",
  "tag": "<tag id>", // Does not take a #
  // Either the item or tag is required, but one can be missing.
  "priority": 0,
  // must be positive or null. Indicates priority over the specified item/tag. Optional, 0 by default.
  "time": 200, // the new fuel time, in server ticks.
  "compat": { // optional element, implements some other mods compat
    "createOverheatTime": 100
    // indicates how long the item would make a Create blaze burner overheat. By default, 0. 
  },
  "conditions": [
    // optional, a collection of stack predicates to be validated
    // in order to apply the specified fuel change at a specific occasion.
    // Warning: due to implementation difficulties, it most often comes irrelevant.
  ]
}

参考

以下是部分原版物品燃料时间的简要参考表,
方便你了解不同数值对应的效果:

| 物品 | 数值(刻) | 时间(秒) | 物品数量 |
|——————————|—————|—————-|—————–|
| #minecraft:boats | 1200 | 60 | 6 |
| #minecraft:burnable_planks | 300 | 15 | 1.5 |
| minecraft:coal_block | 16000 | 800 | 80 |
| minecraft:coal | 1600 | 80 | 8 |
| minecraft:lava_bucket | 20000 | 1000 | 100 |
| #minecraft:burnable_logs | 300 | 15 | 1.5 |

已实现的模组兼容性

Create

配方支持兼容性字段,可用于定义物品能让 Create 烈焰人燃烧室过热多长时间。

警告!根据 Create 的实现方式,每当烈焰人燃烧室结束过热状态后,都会进入一段普通加热时间,
目前无法控制这段时间。

常见问题

Configured Burn Time 支持哪些 Minecraft 版本?

Configured Burn Time 支持 Minecraft Java 版 1.19.2–1.21.11,共 17 个版本,可用的加载器:Fabric / Forge / NeoForge / Quilt。下载时注意选择和你游戏版本一致的文件。

Configured Burn Time 怎么安装?

先用 PCL2 或 HMCL 启动器安装对应版本的 Fabric / Forge / NeoForge / Quilt,再把下载的 .jar 文件放进游戏目录的 mods 文件夹,重新启动游戏即可。开启了版本隔离的,mods 文件夹在 versions/版本名 下面。运行环境:客户端和服务端都要装。

评论

登录后评论和评分

Nerjal_Nosk 的其他作品

查看全部 →