teknomunk
18e5dd4088
Add compatibility shim for core.bulk_swap_node() ( #5093 )
...
Reviewed-on: https://git.minetest.land/VoxeLibre/VoxeLibre/pulls/5093
Reviewed-by: kno10 <kno10@noreply.git.minetest.land>
Co-authored-by: teknomunk <teknomunk@protonmail.com>
Co-committed-by: teknomunk <teknomunk@protonmail.com>
2025-04-06 12:23:41 +02:00
teknomunk
83fedc527c
Fix itemframe item duplication ( #5086 )
...
Reviewed-on: https://git.minetest.land/VoxeLibre/VoxeLibre/pulls/5086
Reviewed-by: the-real-herowl <the-real-herowl@noreply.git.minetest.land>
Co-authored-by: teknomunk <teknomunk@protonmail.com>
Co-committed-by: teknomunk <teknomunk@protonmail.com>
2025-04-04 22:53:26 +02:00
kno10
f4bc162af5
Lua no-JIT compatibility ( #5037 )
...
Reviewed-on: https://git.minetest.land/VoxeLibre/VoxeLibre/pulls/5037
Reviewed-by: teknomunk <teknomunk@protonmail.com>
Co-authored-by: kno10 <erich.schubert@gmail.com>
Co-committed-by: kno10 <erich.schubert@gmail.com>
2025-03-22 11:27:28 +01:00
teknomunk
5b3790ab60
Make liquids non-diggable even in cases where it is selectable ( #5012 )
...
Reviewed-on: https://git.minetest.land/VoxeLibre/VoxeLibre/pulls/5012
Reviewed-by: Mikita Wiśniewski <rudzik8@protonmail.com>
Co-authored-by: teknomunk <teknomunk@protonmail.com>
Co-committed-by: teknomunk <teknomunk@protonmail.com>
2025-03-14 08:23:25 +01:00
Mikita Wiśniewski
ef0d38e530
Fix "hud_elem_type" deprecation warning spam (5.9+) ( #4965 )
...
`mcl_vars.hud_type_field` is introduced to determine the right HUD element type field to use. All mods adding HUDs, together with their `mod.conf` files, are changed accordingly to silence the warnings.
Reviewed-on: https://git.minetest.land/VoxeLibre/VoxeLibre/pulls/4965
Reviewed-by: teknomunk <teknomunk@protonmail.com>
Co-authored-by: Mikita Wiśniewski <rudzik8@protonmail.com>
Co-committed-by: Mikita Wiśniewski <rudzik8@protonmail.com>
2025-03-04 20:50:10 +01:00
Mikita Wiśniewski
951e90bd8f
mcl_util: Improve set_bone_position
functionality
...
* Bring back the check for vector equality, but adjust it to not just
round to the nearest integer values (which doesn't make a lot of sense
for angles defined in radians), but to compare the distance between
vectors against an epsilon, defining the precision.
* Make interpolation actually work.
* Simplify the pre-5.9 code too, making it more readable.
* Annotate the whole shebang with comments for the future of the human
race to read.
2025-02-27 15:04:30 +01:00
Lars Mueller
3bab7a2287
Work around wrong character bone rotations on Luanti 5.11+
2025-02-27 15:04:30 +01:00
Mikita Wiśniewski
00b1df6b00
Add wallmounted attachment groups and document them
...
BONUS: document `supported_node_facedir` which was added before this
2025-02-25 21:52:42 +07:00
kno10
9472017fdb
improve UUID functionality
2025-02-09 16:41:22 +01:00
kno10
2d61cc1178
add highly efficient hashing functions
2025-02-09 16:41:22 +01:00
Mikita Wiśniewski
289816a7b4
Add a setting to control Christmas decorations ( #4809 )
...
Reviewed-on: https://git.minetest.land/VoxeLibre/VoxeLibre/pulls/4809
Reviewed-by: kno10 <kno10@noreply.git.minetest.land>
Co-authored-by: Mikita Wiśniewski <rudzik8@protonmail.com>
Co-committed-by: Mikita Wiśniewski <rudzik8@protonmail.com>
2025-02-09 16:30:22 +01:00
kno10
1a613a6fca
add documentation
2025-01-25 14:28:24 +01:00
kno10
9aa35154d2
add jit parameter tuning and get_node_raw access
2025-01-25 14:28:24 +01:00
Elias Åström
5b7b2d8eb7
Adjust node sounds levels
2025-01-20 18:48:07 +01:00
Elias Åström
19c4e2526f
Lower gain of glass breaking sound
2025-01-20 18:48:07 +01:00
teknomunk
85155f8cd5
Convert state hash to number from string, exclude core.add_entity() time from profiling
2025-01-20 18:37:09 +01:00
teknomunk
3a54c67c4c
Remove unused table.find(), add comment on fallthru, fix typo in log message, switch to using mcl_log for two log messages, set guardians to no biomes (structures only)
2025-01-20 18:37:09 +01:00
teknomunk
b568a5cc49
Fix rebase missing moving a function to new mcl_util/table.lua
2025-01-20 18:37:09 +01:00
teknomunk
ee386080eb
Optimize table.intersect
2025-01-20 18:37:09 +01:00
teknomunk
e4b5673642
Resolve some review comments
2025-01-20 18:37:09 +01:00
teknomunk
bd7c926aaf
Move table.* functions to separate file in mcl_utils, add table.find() and table.intersect()
2025-01-20 18:37:09 +01:00
OpenSauce04
7e96774b06
Remove clicking sound from walking on grass sound effects ( #4727 )
...
Reviewed-on: https://git.minetest.land/VoxeLibre/VoxeLibre/pulls/4727
Reviewed-by: Mikita Wiśniewski <rudzik8@protonmail.com>
Co-authored-by: OpenSauce04 <opensauce04@gmail.com>
Co-committed-by: OpenSauce04 <opensauce04@gmail.com>
2025-01-16 23:52:43 +01:00
kno10
2f457d9c32
Drop non-persistent tracking of generated chunks. ( #4834 )
...
Reviewed-on: https://git.minetest.land/VoxeLibre/VoxeLibre/pulls/4834
Reviewed-by: teknomunk <teknomunk@protonmail.com>
Co-authored-by: kno10 <erich.schubert@gmail.com>
Co-committed-by: kno10 <erich.schubert@gmail.com>
2025-01-08 04:51:21 +01:00
teknomunk
a9f50e68af
Cleanup
2025-01-07 16:18:09 +01:00
teknomunk
dccb07d36f
Remove log dump
2025-01-07 16:18:09 +01:00
teknomunk
e8b9346026
Make blocks breakable when not passing in node definition to mcl_autogroup.group_compatibility()
2025-01-07 16:18:09 +01:00
teknomunk
5257e7bc80
Address review comments
2025-01-07 16:18:09 +01:00
teknomunk
b6164ab6e6
Fix spelling
2025-01-07 16:18:09 +01:00
teknomunk
517024f9c1
Finish adding backticks to documentation, switch from indestructable to unbreakable and make nodes with either group indestructable
2025-01-07 16:18:09 +01:00
teknomunk
e7978fc515
Move documentation to correct location, add backticks to existing mcl_autogroups documentation
2025-01-07 16:18:09 +01:00
teknomunk
28b5e00e37
Add API documentation, change ndef to node_def to match documentation, change log message according to review comment
2025-01-07 16:18:09 +01:00
teknomunk
b5a05857eb
Add conversion for nodes that shears act on
2025-01-07 16:18:09 +01:00
teknomunk
d7995d81bb
Fix indestructable blocks provided by mods
2025-01-07 16:18:09 +01:00
Mikita Wiśniewski
0385abc277
Fix undeclared (global) variable usage ( #4803 )
...
Reviewed-on: https://git.minetest.land/VoxeLibre/VoxeLibre/pulls/4803
Reviewed-by: teknomunk <teknomunk@protonmail.com>
Co-authored-by: Mikita Wiśniewski <rudzik8@protonmail.com>
Co-committed-by: Mikita Wiśniewski <rudzik8@protonmail.com>
2025-01-05 15:57:02 +01:00
teknomunk
ab7d0544da
Add TODO for future planned work
2025-01-03 20:07:12 +01:00
teknomunk
d7bb017dca
Fix sweetberry bonemealing crash, fix sweetberry growth, fix double bonemeal usage
2025-01-03 20:07:12 +01:00
ninjum
b407cc9628
Squashed: Galician translation
2025-01-03 11:56:04 +01:00
teknomunk
3cc8a8474d
Fix rebase duplicating code
2024-12-31 02:36:18 +01:00
teknomunk
9ef2e02463
Add guard that prevents crash when itemstack is nil
2024-12-31 02:36:18 +01:00
teknomunk
b963936c6d
Add legacy node conversion to vl_legacy and update rails.lua to use it
2024-12-31 02:36:18 +01:00
teknomunk
00665063da
Address additional review comments
2024-12-31 02:36:18 +01:00
teknomunk
16caed401c
Rewrite mcl_util.hopper_pull in terms of mcl_util.hopper_pull_to_inventory
2024-12-31 02:36:18 +01:00
teknomunk
a176d04bda
Correct documentation per review
2024-12-31 02:36:18 +01:00
teknomunk
c165938c1b
Fix typo
2024-12-31 02:36:18 +01:00
teknomunk
b47288a260
Implement vl_legacy deprecated function and item conversion APIs
2024-12-31 02:36:18 +01:00
teknomunk
fa29e3410b
Fix several undefined global warnings, fix cart movement when over maximum speed, fix cart reattachment to sloped track
2024-12-31 02:36:18 +01:00
teknomunk
3bbd5a20fa
More fixes for minecart-hopper movement
2024-12-31 02:36:18 +01:00
teknomunk
e1ff394204
Create mcl_util.metadata_timer, fix crashes, add checks to prevent hoppers from pulling from carts that are not in the square above it
2024-12-31 02:36:18 +01:00
teknomunk
1eda16a1a1
Tune respawn distance limit
2024-12-31 02:36:18 +01:00
teknomunk
135eea4de4
Fix crashes
2024-12-31 02:36:18 +01:00