Chop Down Updated
砍断树干会使树木向与你站立方向相反的一侧倒下。
功能特性
- 沿轴向朝反方向倒下(移除了对角线倒下功能,因为无法在对角线倒下的同时保持逼真的视觉效果)
- 支持多线程处理,即使是超大型树木,在多人游戏中也不会造成卡顿问题。
- 兼容任意大小的树木,包括 Natura 的红杉(尽管计算倒下过程会有延迟,但服务器在此期间仍保持响应)
- 无依赖项
- 不同类型的树木不会混淆。例如白桦树旁边有橡树,你砍倒白桦树时,只有白桦树的树干和树叶会落下。
- 在同种树木组成的森林中,它会尽力计算哪些树叶和树枝属于你正在砍伐的树木。
- 你必须将树干完全砍透才能放倒树木,仅仅砍掉 1 个方块是不够的。
- 服务器限制玩家一次只能砍倒一棵树。你不能一次性快速连续砍伐多棵红杉(虽然实际上很难实现这一点,但这能彻底杜绝滥用行为)。
- 可以从树干上的任意位置开始砍伐以放倒树木。
- 在创造模式下树木依然会倒下。如果你想让你的创造模式世界看起来更逼真,就去随意砍倒一些随机生长的树木吧。
- 高度可配置,详见下方说明。
配置说明
自定义树木:你可以从几乎任何方块定义自定义树木。
使用 创建自定义树木,请把你创建的配置文件反馈给我,以便我添加兼容性供所有人使用。
输入 /cdu showBlockName 可以切换显示用于原木和树叶的方块名称(仅限 OP)
非标准树木通常可以通过调整半径/树干半径/树叶上限/可能的树干设置来适配,如果你不确定如何修改以匹配某棵树,请直接询问。
要查看兼容模组的当前配置,请点击此处:
手动移动前的最大方块数:maxFallingBlockBeforeManualMove: 默认 1500。
如果树木包含的方块数超过此数值,模组将不会生成掉落实体,而是直接将方块放置在其原本应该落地的位置。这是为了防止在多人游戏服务器上造成实体过载。大多数普通树木的方块数都低于此阈值。
这通常只影响如 Natura 红杉之类的巨型树木。
作为掉落实体倒下的树木不再会发生弹跳现象,而是会破坏可通行的方块。
每刻移动的最大方块数:默认 150
默认值通常表现良好。其目的是通过分散大型树木掉落的过程来减轻负载。
掉落树叶:默认 FALSE
不应导致树木倒下的工具列表:
例如匠作工坊(Tinkers' Construct)的伐木斧,以及任何具有“矿脉挖掘”(Vein Mining)功能的工具。
允许砍倒树木的玩家类列表:
这可以防止假玩家及基于假玩家的收割机制引发的问题。默认设置已涵盖一些常见模组。如果你发现无法砍倒树木,可能是某个模组覆盖了你的角色模型,请联系我以便我进行检查。
DarkCow 的引用
允许一次性砍倒整棵树木……
旧视频,自该视频发布以来已有大量更改,但你仍能从中了解大致玩法。
更新日志:
1.2.4: 新增以下模组的配置:
AbyssalCraft
Better With Addons
Cuisine
JurassiCraft
Natural Pledge
Primal Core
The Erebus
The Midnight
Vibrant Journeys
更新以下模组的配置:
The Twilight Forest
Plants
AetherLegacy
感谢 TeetoKaziim 和 wenlfs 提供的配置反馈
感谢 QuantumStatement 提供的调试帮助
1.2.3: 小型配置更新
1.2.2: 新增为模组启用配置的选项以提升兼容性,减少未安装相关模组时的负载
修复手动掉落导致原木重复的 Bug
通过移除不再需要的底层原木函数提高计算效率
移除过时的配置选项
允许更大的树木使用手动移动功能撞碎树叶
1.2.0: 更改了掉落实体,现在不会再发生弹跳,并能正确落在栅栏上。原木在倒下过程中也会切断其他树木的树叶。
修复了查询其他树木时出现的问题,使得森林中的树木不再像以前那样造成严重卡顿。
下落的方块现在会对落在其上的实体造成伤害。
1.1.3: 修复仅使用已弃用函数的模组导致的问题
1.1.2: 更新 Biomes Of Plenty 配置。
1.1.1: 在方块上使用正确的物品堆收集器
添加 terraqueous 的配置项
增加叶子上限和基础半径,以解决偶尔出现树木砍伐后残留叶子的问题。
1.1.0: 重新优化以提升运行效率
1.0.12: 添加了忽略工具的功能(即如果用户使用特定工具,则不触发砍伐事件)
添加了正则表达式匹配功能
当 showBlockName 为 true 时,显示手持工具的名称
1.0.11: 添加与 Galacticraft 的兼容性。
1.0.10: 添加了针对 plants、leather works 和 defiled lands 的配置项。
添加了将任意方块定义为原木或叶子的功能,也可以将某些方块(如蜂巢)视为所有树木的叶子。
修复了假人玩家导致树木掉落的问题,该问题在 industrial foregoing 中已被注意到。
不再需要手动删除旧配置文件。(尽管如果您进行了更改,建议您保存一份副本)
1.0.9: 修复了来自 forestry 等模组的方块实体未被移动的问题。
1.0.8: 更新了 forestry 条目(如果您拥有这些树木,请删除旧配置。)
1.0.7: 添加了 Terra、Thaumcraft、Tropicraft 和 Traverse 的配置项(如果您拥有这些树木,请删除旧配置。)
1.0.6: 添加了无需使用方块即可动画展示树木掉落的功能(测试版发布)
1.0.5: 添加了一些树木配置(如需使用请删除旧配置)
修复了轻微的树木检测问题。
1.0.4: 停止大型树木在被误认为剩余树干属于另一棵树时分裂成两半(使用最小半径限制)!!!删除旧配置!!!
1.0.3: 大型树木可穿透水流掉落,同时掉落物会替换掉落在其位置上的物品,落叶同理。
将 forestry 的树木添加到配置中。
1.0.2: 移植到 1.12.2 版本,并将 1.9 至 1.11.2 版本的对应版本设置为 1.10.2
Forked from ternsip's chopdown mod.
Chop Down Updated
Chopping through a tree's trunk makes the tree fall down opposite to where you are standing.
Features
- Falldown opposite direction along the axis (Diagonal fall was removed because you can't have the tree fall diagonally and look as realistic)
- Multi threaded capability meaning even for really large trees it will not cause you an issue in multiplayer.
- Handles any size tree including naturas redwoods (though there is a delay the server is still responsive while it calculates the fall)
- No dependencies
- Different trees should not get mixed up, got a birch next to an oak tree, chop down the birch and only the birch tree and leaves will fall.
- In same type forests it does its best to calculate which leaves and branches should belong to the tree you are chopping
- You must chop all the way through the trunk to fell the tree, not just 1 block
- Server only allows a player to chop 1 tree at a time down, you could not spam for example serveral redwoods at once (though achieving this would be hard in the first place it cuts all chance for abuse)
- Trees can be felled from any point on the trunk
- Trees still do the fell in creative, want to make your creative world look more realistic just go chop some random trees down.
- Highly configurable, see below.
Configuration
Custom Trees: You can define custom trees from pretty much any block
Use to create custom trees, please report any configs you create to me so I can add the compatibility for everyone to use.
Type /cdu showBlockName to toggle the display of block names to use for the logs and leaves (OP only)
None standard trees can normally be accommodated by using the radius/trunk radius/leaf limit/possible trunk settings, if you are unsure what to change to match a tree just ask.
To see the current configs for compatible mods look here:
Set the max blocks before the tree is moved manually : maxFallingBlockBeforeManualMove: Default 1500.
If the tree contains more than this number of blocks, rather than creating falling entities it will place the blocks in the world where they would have landed, this is to stop entity overload on multiplayer servers. Most normal trees are less than this number of blocks.
This generally only effects trees like Natura Redwoods.
Trees that fall as falling block entities no longer pop off and will instead break passable blocks.
Set the max blocks to move per tick: Default 150
The default value works quite well generally. It is meant to reduce the load by spreading out the dropping of large trees.
Drop Leaves: Default FALSE
Leaves are broken off instead of falling with the tree.
List Tools that should not cause a fell:
Such as tinkers lumberjack, anything that vein mines really.
List players classes that can fell trees:
This stops issues with fake players and fake player based harvesting. The defaults cover some common mods, if you find that you cannot fell trees it might be a mod that overlays your character, please contact me so I can check.
Quote from DarkCow
Allows cutting down an entire tree in one go...
Old video, a load of stuff has changed since this, but you will still get the idea.
Change Log:
1.2.4: Add configs for:
AbyssalCraft
Better With Addons
Cuisine
JurassiCraft
Natural Pledge
Primal Core
The Erebus
The Midnight
Vibrant Journeys
Update Configs for:
The Twilight Forest
Plants
AetherLegacy
Thank you for the config inputs from TeetoKaziim and wenlfs
Thank you for debug help from QuantumStatement
1.2.3: Minor config update
1.2.2: Add ability to choose enable configs for mods for compatibility to reduce load for
trees not in your game
Fix bug with manual drops duplicating logs
Increase efficiency of the calculation by removing lower logs function that is no
longer needed
Remove obsolete config options
Allow larger trees using manual move to smash through leaves
1.2.0: Changed the falling entity, now wont pop off, and lands on fences correctly, logs
also cut through other trees leaves as they fall.
Fixed issues with looking up other trees so trees in forests don't lag as much as
they used to.
Falling blocks now hurt entities they fall on.
1.1.3: Fix issue with mods using deprecated function only
1.1.2: Update Biomes Of Plenty config.
1.1.1: Use correct item stack collector on block
Add configs for terraqueous
Increase leaf limit and base radius to solve some trees leaving leaves behind on
occasion.
1.1.0: Reoptimise to run better
1.0.12: Added ability to ignore tools (i.e. don't do chop down event if user used a certain
tool)
Added regex matching
Added showing the held tools name is showBlockName is true
1.0.11: Add compatibility with Galacticraft.
1.0.10: Added configuration for plants, leather works and defiled lands.
Added ability to define anything as a log or leaf, also to treat certain blocks as
leaves for all trees, such as beehives.
Fixed fake players causing tree falling, noticed on industrial foregoing
No longer need to manually delete the old config. (Though if you made changes
advise you save a copy)
1.0.9: Fixed tile entities not being moved from mods such as forestry.
1.0.8: Updated forestry entries (Please delete old config if you have these trees.)
1.0.7: Added configs for Terra, Thaumcraft, Tropicraft and Traverse (Please delete old
config if you have these trees.)
1.0.6: Added option to animate tree falling without use of blocks (beta release)
1.0.5: Added some tree configs (Delete old if need to use)
Fixed minor tree detection issue.
1.0.4: Stop large trees splitting in 2 when it thinks the rest of the trunk belongs to
another tree (uses a min radius) !!!DELETE OLD CONFIG!!!
1.0.3: Drop through water for large trees, also drop drops from fallen on items in their
places, same for dropped leaves.
Add forestry Trees to the config.
1.0.2: Ported to 1.12.2 and set 1.10.2 for version 1.9 to 1.11.2
Forked from ternsip's chopdown mod.
评论 0
登录后参与评分
还没有评论,来抢沙发吧