Без опису

luarocks b30e830038 Minor correction 1 рік тому
locale 452faab21a Privileges now change speed #4 1 рік тому
LICENSE ef483ce646 Initial commit 1 рік тому
README.md ca9087ebfc Update README.md 1 рік тому
init.lua b30e830038 Minor correction 1 рік тому
mod.conf 79db265352 Fix multiplayer bug 1 рік тому
screenshot.gif ef483ce646 Initial commit 1 рік тому
screenshot.png ef483ce646 Initial commit 1 рік тому
settingtypes.txt df92dcc7a6 Add `only_upward` and `prevent_tool_break` options 1 рік тому

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.