Is it possible to change how far away a pickaxe can mine in the .miningtool file? Is there an exposed LUA script that dictates how mining tools behave? Just curious, the only other person asking this never received a response.
Bump, I think it's fair after just short of a week, I really am curious and knowing would help immensely in a mod I'm making.
It seems there is no lua for mining tools, at least directly... but it seems that it's completely fixed range... perhaps. Code: { "itemName" : "copperpickaxe", "price" : 50, "category" : "Tool", "inventoryIcon" : "copperpickaxeicon.png", "maxStack" : 1, "rarity" : "Common", "tooltipKind" : "tool", "description" : "This tool won't last long, but I'll be able to dig pretty fast with it.", "shortdescription" : "Copper Pickaxe", "largeImage" : "copperpickaxebig.png", "image" : "copperpickaxe.png", "handPosition" : [-3, -4], "fireTime" : 0.3, "swingStart" : -40, "swingFinish" : 60, "blockRadius" : 3, "altBlockRadius" : 1, "twoHanded" : true, "strikeSounds" : [ "/sfx/tools/pickaxe_hit.ogg" ], "breakSound" : "/sfx/tools/pickaxe_break.ogg", "durability" : 200, "durabilityPerUse" : 1, "tileDamage" : 1.5, "harvestLevel" : 99, "tileDamageBlunted" : 0.6 } Code: { "itemName" : "superfishaxe", "price" : 0, "inventoryIcon" : "fishicon.png", "maxStack" : 1, "rarity" : "Legendary", "description" : "One step below a sharknado.", "shortdescription" : "Fishaxe", "tooltipKind" : "tool", "largeImage" : "diamondpickaxebig.png", "image" : "fish.png", "handPosition" : [-4, -4], "fireTime" : 0.01, "swingStart" : -40, "swingFinish" : 60, "blockRadius" : 7, "altBlockRadius" : 1, "tileDamageType" : "blockish", "tileDamage" : 10.0, "tileDamageBlunted" : 1.0, "harvestLevel" : 0, "twoHanded" : true, "strikeSounds" : [ "/sfx/tools/pickaxe_hit.ogg" ], "durability" : 10000000000000 } Seems something about the fishaxe makes its range super ridiculous.
I think you're asking how far away you can mine blocks? Like if you wanna be able to stand on 1 side of a room and mine a table 50 away. I'm pretty sure this makes it so you can mine stuff 70 blocks away from you [{"op":"replace","path":"/initialBeamGunRadius","value":70}]