Implement Mining Laser

Mining Laser allows for quick node mining via shooting the beam. It comes with following modes:
- normal range
- short range
- horizontal direction
- explosion
This commit is contained in:
2024-01-20 14:35:14 +01:00
parent e95a2a7cc1
commit 359af1e57a
4 changed files with 208 additions and 2 deletions

View File

@@ -70,7 +70,9 @@ if industrialtest.mclAvailable then
end
return itemstack
end
industrialtest.internal.explode=mcl_explosions.explode
industrialtest.internal.explode=function(pos,radius,dropChance)
mcl_explosions.explode(pos,radius,{drop_chance=dropChance})
end
end
-- compatibilty that adds not existing elements