跳到正文

Regenerating Blocks

作者:ShadowKing21_

Minecraft mod that adds a special block which can regenerate into another block after a delay.

收藏

介绍

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

Regenerating Blocks

Regenerating Blocks is a cross-loader Minecraft mod for Fabric and Forge that adds a special block which can regenerate into another block after a delay.

Features

  • A regenerating block that can be configured to restore a target block
  • Timer-based regeneration
  • Block/item tooltip information
  • Command support for setting up regenerating blocks
  • Jade integration for extra block info where available

Commands

The mod adds a command for creating a correctly configured regenerating block item:

/regeneratingblocks <target> <block> <timer>
  • <target> — one or more players who should receive the item
  • <block> — the block that this regenerating block will restore
  • <timer> — regeneration time in ticks, minimum 1

Example:

/regeneratingblocks @p minecraft:diamond_ore 1200

This gives the selected player a regenerating block item with the correct TargetBlock and Timer NBT values already set.

Global regenerating blocks via tags

You can also make any block a globally regenerating block by adding it to a block tag whose path starts with regenerating/.

The mod reads tags in the following format:

data/regeneratingblocks/tags/blocks/regenerating/<timer>.json

Where:

  • regeneratingblocks is the mod namespace
  • <timer> is the regeneration time in ticks
  • the JSON file contains the blocks that should use that timer

Example file: data/regeneratingblocks/tags/blocks/regenerating/1200.json

{
  "replace": false,
  "values": [
	"minecraft:diamond_ore",
	"minecraft:deepslate_diamond_ore"
  ]
}

Any block included in that tag will be treated as a regenerating block with a 1200 tick delay when broken.

Configuration

Сonfig and currently includes:

  • defaultTimer — default regeneration time in ticks
  • defaultBlock — fallback block used when no target block is provided

常见问题

Regenerating Blocks 支持哪些 Minecraft 版本?

Regenerating Blocks 支持 Minecraft Java 版 1.20.1,可用的加载器:Fabric / Forge / NeoForge。下载时注意选择和你游戏版本一致的文件。

Regenerating Blocks 怎么安装?

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

评论

登录后评论和评分

ShadowKing21_ 的其他作品

查看全部 →