跳到正文

Configured Burn Time

作者:Nerjal_Nosk

Allows to configure the items fuel time dynamically in a data-driven way

收藏

介绍

中文介绍正在准备中,下面暂时显示原文。

Configured Burn Time

a.k.a. Configured Burn

Allows to make item burn time data-driven.
Change your items’ fueling time with a single datapack reload!

Implements a new recipe type: configured_burn:burning_time

Structure:

{
  "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.
  ]
}

Reference

Here is a small reference sheet of some vanilla item fuel times,
so that you may have an idea of what a value evaluates for:

| item | value (ticks) | time (seconds) | number of items |
|——————————|—————|—————-|—————–|
| #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 |

Implemented mod compatibilities

Create

The recipe supports a compatibility field which allows to define how long should an item make a Create blaze burner overheat.

Warning! As per Create’s implementation, any time a blaze burner finished overheating, ensues a time of normal heating that
cannot be controlled to this day.

常见问题

Configured Burn Time 支持哪些 Minecraft 版本?

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

Configured Burn Time 怎么安装?

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

评论

登录后评论和评分

Nerjal_Nosk 的其他作品

查看全部 →