Fork of https://github.com/minetestia/simple-woodcutter

ik7mt 4f6b27c2de Re-add only upward strict for jungletree 1 year ago
locale 452faab21a Privileges now change speed #4 1 year ago
LICENSE ef483ce646 Initial commit 1 year ago
README.md c841006dfa Rebase on latest upstream 1 year ago
init.lua 4f6b27c2de Re-add only upward strict for jungletree 1 year ago
mod.conf 79db265352 Fix multiplayer bug 1 year ago
screenshot.gif ef483ce646 Initial commit 1 year ago
screenshot.png ef483ce646 Initial commit 1 year ago
settingtypes.txt 4f6b27c2de Re-add only upward strict for jungletree 1 year ago

README.md

Simple Woodcutter

screenshot

This mod chops the whole tree if you are holding an axe.

The chopping process stops if:

  • You are too far away from the target (40 blocks by default)
  • You take the axe out of your hand
  • Your axe is destroyed
  • You are dead
  • You are out of the game
  • You are holding ctrl or shift key down (this behavior can be reversed in settings)

Features

  • Super simple (~50 lines of code with extra features, translations and settings, but core functionality is just 10-15 lines).
  • Compatible with any game or mod
  • Works fine with huge trees (increase max_distance and max_radius if needed)
  • Recognizes trees and tools by their group, so it does not require any configuration
  • I you don't have the lumberjack permission (in multiplayer game), trees will be cut 100 times slower (you can change the default delay in settings)

Latest update notes

Since version 1.2.0, chopping trees is performed with a new, more accurate algorithm that handles trees of all sizes and shapes! 🎉


This mod was created in Minetestia Forge.

All my mods uses Minetest LSP-API annotations, StyLua and Luacheck.