Closed BuckarooBanzay closed 2 years ago
how much work would it be to implement the VoxelArea function in mineunit?
I think it might already work but only if using actual complete engine core libraries (with mineunit --fetch-core 5.6.1 --engine-version 5.6.1
)
Never tested but discussed here: https://github.com/S-S-X/mineunit/pull/84 (could also just merge that PR to include VoxelArea in base mineunit without downloading engine libraries).
VoxelArea is Lua class, basically just VoxelManip utility wrapper.
Mineunit contains some Minetest engine core libraries but those are 1. incomplete 2. fairly old 3. from random dev commit, not release.
Also haven't tested --engine-version that much and never with 5.6.1, I think latest I've tested was probably 5.4 or at most 5.5
FYI, VoxelArea:iterp(minp, maxp)
exists: https://github.com/minetest/minetest/blob/587f6656a4b86346e35da1b43b48b832d3f1b32e/doc/lua_api.txt#L4455
As promised in #291
Timings:
Test failures:
Should be mostly mineunit related (missing
VoxelArea
var)@S-S-X suggestions? i haven't looked into it but how much work would it be to implement the
VoxelArea
function in mineunit?