跳到正文

Do Not Punch Trees

作者:TNT_Blox_0

Makes the early game more realistic by removing the ability to harvest wood with your fist. Instead, you'll need to get sticks from leaves and craft them into planks.

收藏

介绍

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

Being able to punch a tree and harvest wood with your fists is unrealistic and undermines the survival aspect of the game. Plenty of mods have been made to solve this problem, but Do Not Punch Trees takes a simpler and more vanilla friendly approach. Matter of fact, DPT is a datapack, which means you can use it in vanilla Minecraft – or with any mod loader of your choice.

Installation

To install this datapack, you’ll need to either copy the zip folder into your world’s datapacks folder or install a mod to load the datapack for you.

Obtaining wood

You can no longer harvest wood with your fists. Logs, planks, stairs, slabs, etc. will not drop as items unless you harvest them with an axe (bamboo can also be harvested with a sword). This does not include functional blocks like crafting tables, chests, barrels, etc.

Instead, you’ll need to harvest sticks from leaves and craft them into planks. 4 sticks in a 2×2 pattern will give you 2 oak planks. (This can also be used as a form of uncrafting if you make too many sticks or want more wood out of your tree farm).

Since it can take a while to get enough sticks for a crafting table and a wooden axe, this datapack lets you craft saplings into sticks as well.

Is this compatible with mods?

Modded Wood Types

In order for this to be compatible with modded wood types, mod makers will need to edit the loot table of their wooden blocks to require an axe. It’s also possible to create a datapack that adds compatibility if the mod maker didn’t. Here’s an example json file:

{
    “type”: “minecraft:block”,
    “pools”: [
        {
            “bonus_rolls”: 0.0,
            “conditions”: [
                {
                    “condition”: “minecraft:survives_explosion”
                },
                {
                    “condition”: “minecraft:match_tool”,
                    “predicate”: {
                        “items”: “#minecraft:axes”
                    }
                }
            ],
            “entries”: [
                {
                    “type”: “minecraft:item”,
                    “name”: “minecraft:oak_log”
                }
            ],
            “rolls”: 1.0
        }
    ],
    “random_sequence”: “minecraft:blocks/oak_log”
}

Modded Tools

If a mod adds an axe to the game, it must be added to the item tag minecraft:axes. If it’s not in that tag, you will not be able to harvest wood with it. As with wood types, you can still make your own datapack if the mod maker didn’t do this.

常见问题

Do Not Punch Trees 支持哪些 Minecraft 版本?

Do Not Punch Trees 支持 Minecraft Java 版 1.20–1.21.4,共 10 个版本。下载时注意选择和你游戏版本一致的文件。

Do Not Punch Trees 怎么安装?

新建世界时在「数据包」里把下载的 .zip 拖进去;已有的存档,把文件放进存档目录下的 datapacks 文件夹,进游戏输入 /reload 即可生效。服务器同样放在世界目录的 datapacks 里。

评论

登录后评论和评分

TNT_Blox_0 的其他作品

查看全部 →