Commit graph

13325 commits

Author SHA1 Message Date
teknomunk
7bf1c958e4 Start converting mob spawn registrations to use mcl_mobs:spawn_setup() 2025-02-10 20:04:44 +07:00
kno10
161dbaea03 Fix shroomlights, remove workaround ()
Reviewed-on: https://git.minetest.land/VoxeLibre/VoxeLibre/pulls/4919
Reviewed-by: Mikita Wiśniewski <rudzik8@protonmail.com>
Co-authored-by: kno10 <erich.schubert@gmail.com>
Co-committed-by: kno10 <erich.schubert@gmail.com>
2025-02-09 17:16:58 +01:00
teknomunk
f22946dc76 Fix the deepslate cobble->polished->bricks->tiles craft recipes ()
Reviewed-on: https://git.minetest.land/VoxeLibre/VoxeLibre/pulls/4918
Reviewed-by: Mikita Wiśniewski <rudzik8@protonmail.com>
Co-authored-by: teknomunk <teknomunk@protonmail.com>
Co-committed-by: teknomunk <teknomunk@protonmail.com>
2025-02-09 17:11:24 +01:00
Nicu
bed4734618 Increase volume of sheep grazing ()
Reviewed-on: https://git.minetest.land/VoxeLibre/VoxeLibre/pulls/4910
Reviewed-by: kno10 <kno10@noreply.git.minetest.land>
Co-authored-by: Nicu <kneekoo@noreply.git.minetest.land>
Co-committed-by: Nicu <kneekoo@noreply.git.minetest.land>
2025-02-09 17:10:43 +01:00
Nicu
7f01e46fd5 Tweak head_bone_position to fix head placement for sheared sheep ()
Reviewed-on: https://git.minetest.land/VoxeLibre/VoxeLibre/pulls/4909
Reviewed-by: kno10 <kno10@noreply.git.minetest.land>
Reviewed-by: Mikita Wiśniewski <rudzik8@protonmail.com>
Co-authored-by: Nicu <kneekoo@noreply.git.minetest.land>
Co-committed-by: Nicu <kneekoo@noreply.git.minetest.land>
2025-02-09 17:09:42 +01:00
teknomunk
15ed7895cd Fix crash in skyblock spawning ()
Reviewed-on: https://git.minetest.land/VoxeLibre/VoxeLibre/pulls/4905
Reviewed-by: kno10 <kno10@noreply.git.minetest.land>
Co-authored-by: teknomunk <teknomunk@protonmail.com>
Co-committed-by: teknomunk <teknomunk@protonmail.com>
2025-02-09 16:59:22 +01:00
teknomunk
da7cf8a723 Don't display global mob cap reached unless logging setting has been enabled ()
Reviewed-on: https://git.minetest.land/VoxeLibre/VoxeLibre/pulls/4901
Reviewed-by: kno10 <kno10@noreply.git.minetest.land>
Co-authored-by: teknomunk <teknomunk@protonmail.com>
Co-committed-by: teknomunk <teknomunk@protonmail.com>
2025-02-09 16:58:26 +01:00
Mikita Wiśniewski
12ad6f586d Update erle's name in code and docs ()
Reviewed-on: https://git.minetest.land/VoxeLibre/VoxeLibre/pulls/4844
Reviewed-by: kno10 <kno10@noreply.git.minetest.land>
Reviewed-by: teknomunk <teknomunk@protonmail.com>
Reviewed-by: the-real-herowl <the-real-herowl@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:49:58 +01:00
kno10
60b01a4daa Remove unnecessary jumping on breeding ()
Reviewed-on: https://git.minetest.land/VoxeLibre/VoxeLibre/pulls/4900
Reviewed-by: Mikita Wiśniewski <rudzik8@protonmail.com>
Co-authored-by: kno10 <erich.schubert@gmail.com>
Co-committed-by: kno10 <erich.schubert@gmail.com>
2025-02-09 16:42:03 +01:00
the-real-herowl
d845f802d7 Merge pull request 'Hashing functions' () from hashing into master
Reviewed-on: https://git.minetest.land/VoxeLibre/VoxeLibre/pulls/4881
Reviewed-by: Mikita Wiśniewski <rudzik8@protonmail.com>
2025-02-09 16:41:22 +01:00
kno10
f128556ba7 fix bad use of random APIs in mcl_bamboo 2025-02-09 16:41:22 +01:00
kno10
df08ba7e82 use new hashing functions 2025-02-09 16:41:22 +01: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 ()
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
the-real-herowl
633b0432ef Merge pull request 'Improved gennotify mapgen' () from mapgen-gennotify2 into master
Reviewed-on: https://git.minetest.land/VoxeLibre/VoxeLibre/pulls/4862
Reviewed-by: teknomunk <teknomunk@protonmail.com>
2025-01-27 17:07:32 +01:00
kno10
c95a29742c more timing logging for mapgen 2025-01-27 17:07:32 +01:00
kno10
088095adf3 improved gennotify callback mechanism 2025-01-27 17:07:32 +01:00
teknomunk
73b675448e Prevent minecarts from being placed above air nodes ()
Reviewed-on: https://git.minetest.land/VoxeLibre/VoxeLibre/pulls/4888
Reviewed-by: kno10 <kno10@noreply.git.minetest.land>
Co-authored-by: teknomunk <teknomunk@protonmail.com>
Co-committed-by: teknomunk <teknomunk@protonmail.com>
2025-01-25 20:15:49 +01:00
SmokeyDope
22ff4d3694 Add some missing sounds for mobs ()
- Eating sound for Sheep (file already here)
- Damage sound for Sheep
  - mobs_mc_sheep_damage.ogg all taken from https://freesound.org/people/Breviceps/sounds/644830/ released under CC0
- More random baa sounds for Sheep
  - mobs_mc_sheep_random.1.ogg is taken from here https://freesound.org/people/michaelperfect/sounds/710298/ and is released under CC0
  - mobs_mc_sheep_random.2.ogg is taken from here https://freesound.org/people/satoristudios3/sounds/677221/ and is released under CC0
- Footsteps for Skeletons fixed
- Random Sounds for Skeletons fixed
- Sounds for Iron Golem
  - mobs_mc_iron_golem_clank_damage.1.ogg comes from https://freesound.org/people/F.M.Audio/sounds/616200/ CC-BY-4.0
  - mobs_mc_iron_golem_clank_damage.2.ogg comes from https://freesound.org/people/F.M.Audio/sounds/620435/ CC-BY-4.0
  - mobs_mc_iron_golem_clank_damage.3.ogg comes from https://freesound.org/people/F.M.Audio/sounds/620830/ CC-BY-4.0
  - mobs_mc_iron_golem_death.ogg taken from https://freesound.org/people/yottasounds/sounds/175180/ under cc-by-3.0
  - mobs_mc_iron_golem_random.1.ogg taken from https://freesound.org/people/LemmaEOF/sounds/538065/ under cc-by-4.0
  - mobs_mc_iron_golem_random.2.ogg taken from  https://freesound.org/people/newagesoup/sounds/337841/ released under CC0

Reviewed-on: https://git.minetest.land/VoxeLibre/VoxeLibre/pulls/4875
Reviewed-by: kno10 <kno10@noreply.git.minetest.land>
Co-authored-by: SmokeyDope <smokey@tilde.team>
Co-committed-by: SmokeyDope <smokey@tilde.team>
2025-01-25 20:13:13 +01:00
SmokeyDope
373c6134fe Add placement and digging sounds to bamboo ()
Reviewed-on: https://git.minetest.land/VoxeLibre/VoxeLibre/pulls/4874
Reviewed-by: kno10 <kno10@noreply.git.minetest.land>
Co-authored-by: SmokeyDope <smokey@tilde.team>
Co-committed-by: SmokeyDope <smokey@tilde.team>
2025-01-25 20:05:14 +01:00
kno10
fbb963f2f1 German grammar fix ()
Trivial translation fix.

Reviewed-on: https://git.minetest.land/VoxeLibre/VoxeLibre/pulls/4898
Reviewed-by: the-real-herowl <the-real-herowl@noreply.git.minetest.land>
Co-authored-by: kno10 <erich.schubert@gmail.com>
Co-committed-by: kno10 <erich.schubert@gmail.com>
2025-01-25 20:04:04 +01:00
the-real-herowl
69fd46cdf1 Merge pull request 'LuaJIT parameters and get_node_name function' () from trusted into master
Reviewed-on: https://git.minetest.land/VoxeLibre/VoxeLibre/pulls/4880
Reviewed-by: the-real-herowl <the-real-herowl@noreply.git.minetest.land>
2025-01-25 14:28:24 +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
kno10
36f5abc4df Fix spawning ignoring mob cap ()
Reviewed-on: https://git.minetest.land/VoxeLibre/VoxeLibre/pulls/4891
Reviewed-by: teknomunk <teknomunk@protonmail.com>
Reviewed-by: Mikita Wiśniewski <rudzik8@protonmail.com>
Co-authored-by: kno10 <erich.schubert@gmail.com>
Co-committed-by: kno10 <erich.schubert@gmail.com>
2025-01-25 14:22:30 +01:00
the-real-herowl
a27fbe80bd Merge pull request 'Fix pistons moving powered rail' () from fix-piston-pushing-powered-rails into master
Reviewed-on: https://git.minetest.land/VoxeLibre/VoxeLibre/pulls/4892
Reviewed-by: Mikita Wiśniewski <rudzik8@protonmail.com>
2025-01-25 14:19:51 +01:00
teknomunk
feaf000b00 Turn powered rail conductor states into functions 2025-01-25 14:19:51 +01:00
teknomunk
b7538bb64d Fix mesecon.on_placenode to work with functions 2025-01-25 14:19:51 +01:00
teknomunk
15fbaedd9a Modify mesecons to allow functions in conductor.state, conductor.on and conductor.off 2025-01-25 14:19:51 +01:00
kno10
d297a90d3f Sort blocks and mobs by localized name in documentation ()
Reviewed-on: https://git.minetest.land/VoxeLibre/VoxeLibre/pulls/4895
Reviewed-by: Mikita Wiśniewski <rudzik8@protonmail.com>
Co-authored-by: kno10 <erich.schubert@gmail.com>
Co-committed-by: kno10 <erich.schubert@gmail.com>
2025-01-24 22:38:08 +01:00
kno10
9564b69e6a Unnecessary use of mcl_vars.get_node ()
Reviewed-on: https://git.minetest.land/VoxeLibre/VoxeLibre/pulls/4781
Reviewed-by: Mikita Wiśniewski <rudzik8@protonmail.com>
Co-authored-by: kno10 <erich.schubert@gmail.com>
Co-committed-by: kno10 <erich.schubert@gmail.com>
2025-01-24 22:37:07 +01:00
kno10
a0fe68a6f1 Tiny fix in door pathfinding ()
Reviewed-on: https://git.minetest.land/VoxeLibre/VoxeLibre/pulls/4893
Reviewed-by: the-real-herowl <the-real-herowl@noreply.git.minetest.land>
Co-authored-by: kno10 <erich.schubert@gmail.com>
Co-committed-by: kno10 <erich.schubert@gmail.com>
2025-01-24 22:32:42 +01:00
SmokeyDope
94a0a0c008 Add placement sounds to scaffolding ()
Reviewed-on: https://git.minetest.land/VoxeLibre/VoxeLibre/pulls/4872
Reviewed-by: the-real-herowl <the-real-herowl@noreply.git.minetest.land>
Co-authored-by: SmokeyDope <smokey@tilde.team>
Co-committed-by: SmokeyDope <smokey@tilde.team>
2025-01-20 19:06:49 +01:00
kno10
9d2e42165f snow should be supported_node ()
Reviewed-on: https://git.minetest.land/VoxeLibre/VoxeLibre/pulls/4876
Reviewed-by: the-real-herowl <the-real-herowl@noreply.git.minetest.land>
Co-authored-by: kno10 <erich.schubert@gmail.com>
Co-committed-by: kno10 <erich.schubert@gmail.com>
2025-01-20 18:51:52 +01:00
the-real-herowl
9ae9842069 Merge pull request 'Node sounds adjustments from MCLA' () from adjust-node-sounds into master
Reviewed-on: https://git.minetest.land/VoxeLibre/VoxeLibre/pulls/4853
Reviewed-by: kno10 <kno10@noreply.git.minetest.land>
2025-01-20 18:48:07 +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
the-real-herowl
d441262c8e Merge pull request 'Fix pulling partial stacks from double chests with hopper minecart' () from fix-chest-hopper-pulling into master
Reviewed-on: https://git.minetest.land/VoxeLibre/VoxeLibre/pulls/4850
Reviewed-by: kno10 <kno10@noreply.git.minetest.land>
2025-01-20 18:42:40 +01:00
teknomunk
c72ff616ab Change hopper minecart delay to 0.25 seconds from 0.05 seconds 2025-01-20 18:42:40 +01:00
teknomunk
53e1546219 Fix crash when hopper minecart is off rails 2025-01-20 18:42:40 +01:00
teknomunk
e08505d24d Make hopper minecart pull items from containers when stopped 2025-01-20 18:42:40 +01:00
teknomunk
74de26b3c8 Fix pulling partial stacks from double chests 2025-01-20 18:42:40 +01:00
the-real-herowl
7456eba0f5 Merge pull request 'Update playerphysics to 1.1.0 (upstream mod changes)' () from playerphysics_upstream into master
Reviewed-on: https://git.minetest.land/VoxeLibre/VoxeLibre/pulls/4836
Reviewed-by: kno10 <kno10@noreply.git.minetest.land>
2025-01-20 18:41:22 +01:00
Wuzzy
4eafc06531 playerphysics: Version 1.1.0 2025-01-20 18:41:22 +01:00
the-real-herowl
62efc371a1 Merge pull request 'mcl_mobs spawning cleanup and performance optimization' () from mcl_mobs_cleanup into master
Reviewed-on: https://git.minetest.land/VoxeLibre/VoxeLibre/pulls/4468
Reviewed-by: kno10 <kno10@noreply.git.minetest.land>
2025-01-20 18:37:09 +01:00
teknomunk
9474da5e75 Fix crash 2025-01-20 18:37:09 +01:00
teknomunk
e5279a2723 Rework fixed_timestep() to be more accurate and remove maximum spawn cycle time 2025-01-20 18:37:09 +01:00
teknomunk
ed5a08ba36 Rework build_state_for_position so that more cases will return early and avoid computations and a table allocation, replace find_spawning_position() with get_next_spawning_position(), add (commented out) notes for tracking which cases lead to mobs not spawning to help guide optimization 2025-01-20 18:37:09 +01:00
teknomunk
94da5fe813 Replace minetest. with core., fix percentage calculation 2025-01-20 18:37:09 +01:00