grorp
ecf535ee83
Restore proportional minimap scaling ( #15022 )
2024-09-08 20:19:31 +02:00
Lars Müller
8ed55b3aff
Help modders deal with object invalidation ( #14769 )
...
* Skip invalid objects in raycasts
* Add `ObjectRef:is_valid` method
* Add object inside radius / area iterators which skip invalid objects
* Update docs to clarify object invalidation and how to deal with it
---------
Co-authored-by: sfan5 <sfan5@live.de>
2024-07-01 20:50:38 +02:00
Lars Mueller
5009259473
Add unit test and feature flag for override_item
2024-05-21 15:46:33 +02:00
Lars Müller
408faa11a1
Allow removal of item definition fields ( #14675 )
2024-05-20 20:37:40 +02:00
sfan5
c4703a7f19
Fix wrong collision axis in Lua moveresult
...
introduced by c24a04d246221e13a626f4a4dd34037a5332a935
2024-05-17 14:32:57 +02:00
grorp
af8cb63292
Add object's own position for each collision to moveresult ( #14608 )
2024-05-05 13:28:59 +02:00
sfan5
c24a04d246
Optimize pushing collision data for entity on_step
...
Since this is fixed overhead for every entity, this is important to optimize.
This optimizes one very common case.
before:
push_collision_move_result [us] _____________ 64512x 3.562
after:
push_collision_move_result [us] _____________ 72636x 0.831
2024-05-03 16:28:29 +02:00
sfence
72cb4e9bea
Allow nil
puncher in object:punch
( #14319 )
2024-04-28 17:55:04 +02:00
OgelGames
a7bde8e523
Hide internal detached inventory functions ( #14594 )
2024-04-28 00:07:45 +02:00
LoneWolfHT
c63c05b141
Fix crash when player leaves before breath removal job
2024-04-24 22:32:07 +02:00
cx384
8a5e49c856
Refactor builtin HUD ( #14346 )
2024-04-10 11:43:15 +02:00
1F616EMO~nya
2d8e4df7bc
Allow optional actor ObjectRef value in node interaction calls ( #14505 )
2024-04-05 13:00:50 +02:00
cx384
234b01a8c2
Item meta pointing range ( #14347 )
2024-03-17 15:55:38 +01:00
SmallJoker
61a5733692
Unittest: Add inventory callback tests
2024-03-16 20:14:05 +01:00
cx384
60810c2d37
Add L-system trees as decorations ( #14355 )
2024-03-12 20:10:28 +01:00
y5nw
fc80f65a6d
Try to preserve metatable when exchanging data with the async env ( #14369 )
...
Co-authored-by: sfan5 <sfan5@live.de>
Co-authored-by: Lars Mueller <appgurulars@gmx.de>
2024-03-06 18:04:49 +01:00
DS
d4d4712361
Implement get_node with a get_node_raw ( #14384 )
...
Add /bench_bulk_get_node
Considerably improves the execution speed of core.get_node
2024-03-03 15:53:23 +01:00
Gregor Parzefall
84dd812da4
Fix hud_elem_type warning triggered by builtin minimap
...
Fixes a deprecation warning introduced by adaa4cc2f3c6e624b2c9ab7f40df4139b2a61c5a.
2024-02-19 19:04:43 +01:00
sfan5
3cac17d23e
Lua on each mapgen thread ( #13092 )
2024-02-13 22:47:30 +01:00
sfan5
d4b107e2e8
Enable dynamic_add_media to take the file data instead of a path
2024-02-13 22:44:10 +01:00
sfan5
af69d4f7a9
Allow dynamic_add_media at mod load time
2024-02-13 22:44:10 +01:00
kromka-chleba
6c8ae2b72a
Fix liquid falling if in "float" group ( #13789 )
...
* Make falling liquid source nodes replace flowing nodes
This makes falling liquid source nodes in group:float replace
flowing nodes on the ground instead of being placed above
the flowing node.
* Make flowing liquids "fall through" for source nodes
This makes liquids in float and falling_node groups fall through
flowing liquid nodes instead of being supported by them in the air.
---------
Co-authored-by: SmallJoker <SmallJoker@users.noreply.github.com>
Co-authored-by: Lars Mueller <appgurulars@gmx.de>
2024-02-12 23:24:54 +01:00
cx384
adaa4cc2f3
Move hard coded minimap to builtin ( #14071 )
2024-02-07 20:13:23 +01:00
Lars Mueller
f0180ad488
Fix revoke callbacks being run for false
values passed to set_privileges
2024-01-22 22:24:32 +01:00
Lars Müller
afc48cf224
Address set_player_privs
footgun ( #14297 )
...
---------
Co-authored-by: grorp <gregor.parzefall@posteo.de>
2024-01-22 20:06:03 +01:00
cx384
5958714309
Tool specific pointing and blocking pointable type ( #13992 )
2024-01-22 18:27:08 +01:00
Wuzzy
08ee6d8d4b
Add rotation support for wallmounted nodes in 'ceiling' or 'floor' mode ( #11073 )
2024-01-17 17:47:06 +01:00
Jude Melton-Houghton
e7dd9737bd
Reduce minetest.after
time complexity and provide ordering guarantee
...
---------
Co-authored-by: Lars Mueller <appgurulars@gmx.de>
2024-01-16 23:46:43 +01:00
sfence
ceaa7e2fb0
Add API for restoring PseudoRandom and PcgRandom state ( #14123 )
2024-01-16 23:20:52 +01:00
cx384
467d3a8c62
Rename hud_elem_type
to type
( #14065 )
2023-12-29 21:51:02 +01:00
sfan5
93dfa8a6d8
Optimize and improve built-in PNG writer ( #14020 )
2023-12-27 11:56:48 +01:00
Lars Mueller
d58cc7fb7a
Fix on_(grant|revoke) not being run by mods
2023-12-21 18:54:50 +01:00
DS
8cf76e004f
Add new flags to minetest.features for 5.8.0 features ( #13978 )
2023-11-12 20:08:57 +01:00
savilli
852d6a7976
Fix potential freeze in core.check_for_falling
2023-08-27 20:12:53 +02:00
fluxionary
587e2b2526
Set item description as infotext for item entities ( #13728 )
2023-08-24 12:00:18 +07:00
sfan5
43c9c38a28
Fix itemdef defaults not being applied in async env
2023-08-14 18:16:36 +02:00
sfan5
4fdd2dec59
Move core.run_callbacks and related to common folder
2023-06-23 09:05:26 +02:00
mazes-80
23f7aab354
Item Entity: prevent moveresult assert when attached ( #13353 )
2023-06-05 12:00:11 +02:00
DS
ea095d3f69
Fix core.item_eat for same-item replace_with_item and split stacks before dropping ( #13286 )
...
The replace_with_item can be added to the slot of the wield item, which
is afterwards overwritten. This causes item loss.
2023-03-27 20:02:23 +02:00
Vitra Suchovich
2dafce6206
Say /setpassword is insecure
2023-02-18 00:04:52 +01:00
Jude Melton-Houghton
5c248c2d7d
Add callback on_mapblocks_changed
2022-12-24 08:24:59 -05:00
Jude Melton-Houghton
f80ea73bfb
Let mods choose a forceload limit ( #13002 )
2022-12-03 10:41:34 -05:00
Wuzzy
3c7f26d937
Add support for attached facedir/4dir nodes ( #11432 )
2022-11-24 17:56:07 -05:00
Jude Melton-Houghton
475005012a
Improve ABM and LBM registration error handling ( #12969 )
2022-11-20 21:26:54 +01:00
Abdou-31
d1b80b462e
Fix typos and en_US/en_GB inconsistency in various files ( #12902 )
2022-11-09 11:57:19 -05:00
Jude Melton-Houghton
8f1593e4e8
Add VoxelArea() constructor ( #12886 )
2022-10-22 08:05:45 -04:00
DS
22cbc05808
Add an item pick up callback (2) ( #7712 )
...
Co-authored-by: SmallJoker <mk939@ymail.com>
Co-authored-by: Jude Melton-Houghton <jwmhjwmh@gmail.com>
2022-10-01 15:21:06 -04:00
20kdc
b1233056b7
Add zstd compression support ( #12515 )
2022-09-28 09:06:14 -04:00
Jude Melton-Houghton
f4a01f3a5d
Avoid duplication of mod metadata in memory ( #12562 )
...
Co-authored-by: sfan5 <sfan5@live.de>
2022-09-26 17:03:43 -04:00
Jude Melton-Houghton
310b12b5ed
Content ID caching in Lua ( #12444 )
...
* Cache content IDs in Lua
Co-authored-by: sfan5 <sfan5@live.de>
2022-09-18 17:46:48 +02:00