Pick Axe Tweaks

Adds the ability for pick axes to place light nodes on right click

Survival Tools / Weapons / Armor

Download (4 KB)
For Minetest 5.1 and above

How do I install this?

Minetest Pick_Axe_Tweaks Mod

About

adds the ability for pick axes to place a configurable light node from in game and per player

Setup

download mod, put in your worldmods folder, or mods folder and enable it
if not using with mtg, please change the setting found under header minetest.conf settings
also use a mod that uses this mods api to register its pick axes

minetest.conf settings

  • pat_light_node (by default default:torch): default light node for pick axes

API

example pulled from init.lua

if minetest.get_modpath("default") then
    local default_pick_axes = {
        "default:pick_wood",
        "default:pick_stone",
        "default:pick_bronze",
        "default:pick_steel",
        "default:pick_mese",
        "default:pick_diamond",
    }

    pick_axe_tweaks.register_pick_axes(default_pick_axes)
end

Reviews

Review

Do you recommend this mod?

  • Awesome!

    This mod is one of the reasons mining in Minetest is enjoyable. If I had to switch to place torches it just gets annoying, so thank you for making this mod! It's also very easy to use as a mod developer, literally don't have to do anything anymore as long as it is in the right item group.

    My one suggestion is to add a check for what game they are playing, and automatically add support for the pickaxes in those games. It should also do this for the default light node if possible.

    0 comments
  • Works!

    No more need to switch back and forth when mining. Perfect!

    0 comments

Used By