此模组需要同时安装更新版的 bspkrsCore:
原版 TreeCapitator 模组:
原版讨论帖:
功能:
- 开箱即用,可破坏任何正确编码的木头(详见 .minecraft/config/TreeCapitator.cfg)
- 砍树时按住 Shift 可正常逐个破坏木头(可配置)
- 可配置工具 ID 列表以定义何为“斧头”
- 可选:根据破坏的木头数量对物品造成耐久损耗(默认启用)
- 可选:每破坏一个方块增加一次物品耐久损耗(默认关闭)
- 智能树木检测(可配置)
- 可选:摧毁树叶(默认启用)
- 可选:使用剪刀剪掉树叶(需将剪刀类物品放在快捷栏中)
- 可选:使用剪刀剪掉藤蔓(需将剪刀类物品放在快捷栏中)
- 在创造模式下禁用掉落
- 禁用工具需求限制
工作原理说明:
树木检测
- 系统通过检查垂直木头列顶部方块相邻的树叶方块数量来确定是否为树木。
- 如果顶部方块有 3 个或更多相邻的树叶方块,代码会将该列木头视为一棵树。
- 如果顶部方块的相邻树叶方块不足 3 个,代码将回退到正常的单个方块破坏逻辑。
物品耐久损耗
- 拥有“耐久”附魔的斧头和剪刀会按预期方式运作。
- 在连锁破坏过程中,每破坏一个方块就会对当前使用的物品施加一次耐久损耗。
- allowMoreBlocksThanDamage 设置顾名思义:如果设为 false,且你的物品在砍树中途损坏,剩余的方块将不会被破坏。
- 如果你的当前斧头损坏,代码不会搜索你快捷栏中的其他斧头来继续施加耐久损耗。
- 如果你的快捷栏中有多个“剪刀类”物品,代码始终会对最左侧的物品施加耐久损耗。
摧毁树叶/藤蔓
- 剪藤蔓无法获取所有藤蔓;似乎更倾向于处理附着在树干西侧面上的藤蔓。
- 必须将 destroyLeaves 设置为 true,shearLeaves 或 shearVines 才能生效。
- shearLeaves 和 shearVines 设置可以独立启用。
- 是的,有时砍树后会留下几片树叶,但它们会像正常情况一样自然 decay(腐烂消失)。
This mod REQUIRES updated bspkrsCore to be installed as well:
Original TreeCapitator mod:
Original discussion:
Features:
- Can break any properly coded log out of the box (see .minecraft/config/TreeCapitator.cfg for details)
- Sneak while chopping to break logs normally (configurable)
- Configurable list of tool IDs to determine what an "axe" is
- optional item damage based on number of logs broken (defaults to enabled)
- optional increasing item damage per block broken (off by default)
- Smart tree-detection (configurable)
- option to destroy leaves (enabled by default)
- option to shear leaves (with a shear-type item in hotbar)
- option to shear vines (with a shear-type item in hotbar)
- disable drops in creative
- disable tool requirement
Some notes on how it works:
Tree Detection
- Trees are determined by looking at the number of leaf blocks that neighbor the top block of a vertical column of logs.
- If the top block has 3 or more neighboring leaf blocks the code considers that column of logs to be a tree.
- If the top block does not have 3 neighboring leaf blocks the code will default to normal block breaking.
Item Damage
- Axes and Shears that have the Unbreaking enchantment will work the way they are supposed to.
- Damage is applied to the item as each block is broken in the chain.
- The allowMoreBlocksThanDamage setting should be self-explanitory, but basically it means that if it is set to false and your item breaks in the middle of chopping down a tree, the remaining blocks will not be broken.
- The code will not search for other axes in your hotbar to apply damage to if your current axe breaks.
- If you have multiple "shear-type" items in your hotbar, the code will always apply damage to the left-most item.
Destroying Leaves/Vines
- Shearing vines doesn't get every vine It seems to favor vines hanging on the Western face of the tree.
- The destroyLeaves setting MUST be set to true in order for shearLeaves or shearVines to work.
- The shearLeaves and shearVines settings can be enabled independently of each other.
- Yes, sometimes a few leaf blocks are left behind after chopping a tree, but they will decay normally.
评论 0
登录后参与评分
还没有评论,来抢沙发吧