跳到正文

Treeplacer

作者:OutrightWings

Saplings can dynamically generate different trees, based on the biome they are grown in, declared in data files.

收藏

介绍

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

Ever played with a mod, such as Terralith or William Wythers’ Overhauled Overworld, that add custom trees to world gen that you can’t grow?

With Treeplacer you can create a custom datapack that allows you to change saplings to grow into whatever tree your heart desires!

Features include:

  • Change a sapling’s tree for all biomes,
  • Change a sapling’s tree based on biome,
  • Change a sapling’s tree based on the block it is grown on.
  • Define a 2×2 tree that uses the rules above on all saplings, even mushrooms!
  • Plus many advanced rules!

Example Sapling Override File:

Spoiler
{
    "replace": false,
    "values": {
        "treeplacer:all_biomes":[
            {
                "feature":"minecraft:birch",
                "weird":true
            },
            {
                "feature":"minecraft:fancy_oak",
                "weird":false
            }
        ],
        "minecraft:plains":[
            {
                "feature":"minecraft:spruce",
                "weight":1,
                "y":{
                    "max":70
                },
                "weird":false,
                "block":[{"id":"minecraft:podzol"},{"id":"minecraft:coarse_dirt"}]
            },
            {
                "feature":"minecraft:jungle_tree",
                "weight":2,
                "block":[{"id":"minecraft:podzol"}]
            }
        ],
        "minecraft:dirt":"minecraft:acacia"
    }
}

To get started take a look at the wiki on github.
Create Sapling Override JSONS online here!

Add Ons:

常见问题

Treeplacer 支持哪些 Minecraft 版本?

Treeplacer 支持 Minecraft Java 版 1.19–26.2,共 16 个版本,可用的加载器:Fabric / Forge / NeoForge。下载时注意选择和你游戏版本一致的文件。

Treeplacer 怎么安装?

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

评论

登录后评论和评分

OutrightWings 的其他作品

查看全部 →