TreeCut Tool: Remove a Full Tree Without Affecting Nearby Trees
维护者通常 1 天内回复
还没有人认领这个 Issue。
评估
调研方向
首先追踪现有的 /tool deltree 入口点,以及它如何识别可移除的方块。完成标准是:能够在安全限制内移除被点击的树,同时不影响附近的树,并且对相互接触的树冠、有根的树木、保护机制以及预览或确认行为都有明确的处理方案。
由索引模型根据 Issue 内容生成。
描述
The Problem
Hello.
I would like to suggest a feature for WorldEdit/FAWE: a dedicated tool for removing an entire tree by clicking it, not only floating tree remains.
Currently, /tool deltree only removes floating tree blocks and does not work on trees that are still connected to the ground. In practice, when editing forests, it is often necessary to remove one specific tree completely: trunk, branches, leaves, and related blocks, without affecting nearby trees or builds.
A Solution
Expected behavior:
- The player clicks a log or leaf block.
- The plugin detects the connected tree cluster: logs, wood, leaves, vines, mushrooms if needed.
- Only that detected cluster is removed within a configurable limit.
- Nearby trees should not be affected unless they are directly connected.
- There should be a radius/block-count limit to prevent accidental removal of a large forest or wooden builds.
- An option like ignore-grounded=true/false would be useful.
- A preview/confirm mode would be useful for large trees.
Alternatives
Suggested behavior:
-
The player clicks a log or leaf block of a specific tree.
-
The plugin first detects the tree canopy — a connected group of leaves around the clicked point or around the nearest trunk.
-
After detecting the canopy, the plugin searches for trunks that belong specifically to this canopy, instead of treating the entire nearby forest as one structure.
-
The tree should not be detected simply as any connected set of logs + leaves. It should be treated as a separate structure:
- one main canopy;
- one or more connected trunks inside this canopy;
- branches connected to this trunk;
- leaves belonging to this canopy.
-
If another tree is nearby, its leaves should not be removed if they form a separate canopy or have their own center/trunk.
-
If the canopies of two trees touch each other, the plugin should try to separate them by the nearest trunk:
- leaves closer to the selected trunk belong to the selected tree;
- leaves closer to the neighboring trunk should remain;
- ambiguous blocks may be skipped to avoid damaging the neighboring tree.
-
Only the selected tree should be removed:
- its trunk;
- branches;
- leaves assigned to its canopy;
- vines/mushrooms if necessary.
-
Nearby trees should not be affected, even if their leaves touch the selected tree, as long as they have a separate trunk and a separate canopy.
-
Safety limits should be included:
- maximum search radius;
- maximum block count;
- maximum trunk count;
- protection against removing wooden builds;
- preview/confirm mode for large trees.
Main idea: the tool should not simply detect “all connected tree blocks”. It should identify a specific tree through its own canopy and the trunk associated with that canopy. This is needed so that one tree can be removed in a dense forest without destroying nearby trees.
Anything Else?
No response
- 主要语言
- Java
- 星标
- 3.5k
- 派生
- 981
- 平均合并
- 2 天 15 小时
- 30 天内合并 PR
- 11
环境准备
- 没有 Dockerfile 或 Docker Compose 文件
- 没有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
EngineHub/WorldEdit 的其他 Issue
-
Make //drain command also remove bubble columns可能已有人在做 关联的 PR 仍在进行中或已合并。 未关闭status:accepted type:feature-request
难度 2/5 1-3 小时 新手友好度 65/100
EngineHub/WorldEdit#3001 · 1 条评论 ·
维护者通常 1 天内回复
-
status:accepted type:feature-request
难度 3/5 1-2 天 新手友好度 62/100
EngineHub/WorldEdit#3038 · 5 条评论 ·
维护者通常 1 天内回复
-
status:accepted type:feature-request
难度 5/5 一周以上 新手友好度 45/100
维护者通常 1 天内回复
-
Use 26.3 tag for dangerous teleportation targets可能已有人在做 @me4502 于 29 天前认领。 未关闭status:accepted type:feature-request
难度 3/5 1-2 天 新手友好度 64/100
维护者通常 1 天内回复
-
type:tech-debt
难度 5/5 一周以上 新手友好度 25/100
维护者通常 1 天内回复
查看 EngineHub/WorldEdit 的全部 Issue
相似的 Issue
-
难度 2/5 1-3 小时 新手友好度 77/100
-
bug finsim-registry good-first-issue
难度 1/5 1 小时以内 新手友好度 88/100
维护者通常 1 天内回复
-
status:pending type:bug
难度 2/5 1-3 小时 新手友好度 75/100
-
bug level:trivial
难度 2/5 1-3 小时 新手友好度 72/100
exoego/keycloak-fuhito#666 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 79/100
hammy275/immersive-mc#669 ·