
Advanced TreeCapitator
Advanced TreeCapitator enables fast tree felling on Paper 1.21. Sneak with an axe to chop entire trees, with configurable durability loss, world restrictions, and a reload command.
89
0
Список изменений
Changelog — Advanced TreeCapitator
All notable changes to this project are documented here. Format follows Keep a Changelog.
[1.2.1] — 2025-03-10
Fixed
- Plugin was completely non-functional. The BFS task read
block.getType()one tick after the block-break event fired — at that point the block is alreadyAIR, so the search found nothing and no extra logs were cut. The blockMaterialis now captured inside the event handler (while the block still exists) and passed to the task. - Tool durability changes were silently discarded because the modified
ItemStackwas never written back to the player's hand. AddedsetItemInMainHand(tool)after updating the item meta. Enchantment.UNBREAKINGresolved viaEnchantment.getByKey(NamespacedKey)with atry-catchfallback, fixing compatibility across all Paper 1.21.x patch builds.- Leaf blocks adjacent to a log in a cardinal direction were skipped during the 26-dir
leaf scan because the log-BFS
visitedset had already claimed them. Leaf collection now deduplicates with its ownLinkedHashSet, independent of the log BFS. - Event priority reverted to
NORMAL(was incorrectlyHIGH) so protection-plugin cancellations atNORMALpriority are still respected.
Файлы
AdvancedTreeCapitator-1.2.1.jar(15.25 KiB)
ОсновнойМетаданные
Канал релиза
Release
Номер версии
1.2.1
Загрузчики
BukkitPaperPurpurSpigot
Версии игры
1.21–1.21.11
Загрузок
8
Дата публикации
2 нед. назад
