Commit Graph

221 Commits

Author SHA1 Message Date
Lizzy Fleckenstein 57662b319c Merge branch 'master' into damage 2021-04-25 20:04:15 +02:00
Lizzy Fleckenstein 3e3f53efbd New attempt to fix #1392 2021-04-25 19:59:08 +02:00
Lizzy Fleckenstein b2407e407a Add mob descriptions 2021-04-25 17:30:15 +02:00
Lizzy Fleckenstein 58d67aace6 Merge branch 'master' into damage 2021-04-25 13:29:07 +02:00
Lizzy Fleckenstein 9eba2add3f Rewrite burning API 2021-04-25 13:09:20 +02:00
Lizzy Fleckenstein f0d7715080 Merge branch 'master' into damage 2021-04-18 14:51:45 +02:00
Lizzy Fleckenstein a7e102426a Add time_of_day to get_light crash fix 2021-04-17 21:01:09 +02:00
Lizzy Fleckenstein bcd058feb1 Fix get_light crash 2021-04-17 21:00:32 +02:00
Lizzy Fleckenstein c7c47c1ca7 Increase mob_view_range_factor performance 2021-04-17 13:49:40 +02:00
Lizzy Fleckenstein ca75a893db Merge branch 'master' into damage 2021-04-17 12:58:19 +02:00
Lizzy Fleckenstein 01c79c5a18 Fix mcl_burning.tick not being called at all for mobs 2021-04-16 18:37:07 +02:00
Lizzy Fleckenstein 095f78b785 Massive mcl_burning performance improvement 2021-04-16 18:34:29 +02:00
Lizzy Fleckenstein 5d5ed91519 Merge branch 'master' into damage 2021-04-16 12:20:53 +02:00
jordan4ibanez 044e9d22ad Re-enable mob-despawner 2021-04-15 21:13:19 -04:00
Lizzy Fleckenstein ce0148d9a8 Rewrite armor; new damage system 2021-04-14 15:46:52 +02:00
jordan4ibanez 26847bbb54 Finish mob limiter 2021-04-08 23:58:12 +04:00
jordan4ibanez abc68f4dc6 Refactor spawning into it's own file 2021-04-08 23:58:10 +04:00
jordan4ibanez 38dcbcb3d4 Fix mobs colliding with other mobs/players 2021-04-08 23:58:10 +04:00
jordan4ibanez d65a5e3be0 Fix mobs colliding with objects 2021-04-08 23:58:10 +04:00
kay27 de41a4c26b merge 2021-04-08 23:58:10 +04:00
kay27 5e0bd2281c Revert "Revert "Merge pull request 'Massively overhaul spawning algorithm for mobs' (#1487) from jordan4ibanez/MineClone2-MobTweaks:master into master""
This reverts commit 6a1a634cba.
2021-04-08 23:58:10 +04:00
Lizzy Fleckenstein 6a1a634cba Revert "Merge pull request 'Massively overhaul spawning algorithm for mobs' (#1487) from jordan4ibanez/MineClone2-MobTweaks:master into master"
This reverts commit 4f2a6b2db0, reversing
changes made to 0970981252.
2021-04-07 17:20:56 +02:00
jordan4ibanez ec6eb51726 Massively overhaul spawning algorithm for mobs 2021-04-07 02:39:15 -04:00
jordan4ibanez 6cdf7c98c2 Rework all mobs spawning - preprototype stage 2021-04-07 00:55:57 -04:00
jordan4ibanez 7cecc71b91 Make mobs not collide with objects to stop weird glitches 2021-04-06 22:08:10 -04:00
jordan4ibanez 8e2493dd9a Remove 47 node object check from mobs 2021-04-06 10:40:16 -04:00
Lizzy Fleckenstein f350fa6272 Add bossbars 2021-04-06 14:50:34 +02:00
kay27 beb2484224 Merge MineClone2/MineClone2#1366 2021-04-05 13:50:26 +04:00
Saku Laesvuori 4a085c9526 Fix passive mobs despawning
According to the wiki most passive mobs do not despawn. The ones that do
have already been explicity marked as despawning.

<https://minecraft.fandom.com/wiki/Spawn#Despawning>
<https://minecraft.fandom.com/wiki/Mob#Despawning>
2021-04-04 09:15:25 +03:00
epCode ac87e0604e make ghast firing more MC-like 2021-04-03 18:39:20 -07:00
epCode 40b07e466b make ghast fireballs deflectible 2021-04-03 18:07:51 -07:00
epCode 0dbe66f3b4 make mob drops similar to MC 2021-04-01 14:12:07 -07:00
Lizzy Fleckenstein 46c6328432 Something secret :P 2021-03-25 09:24:38 +01:00
epCode 01df02667b Make setting for swim on lava 2021-03-21 17:53:57 -07:00
kay27 03feb36558 Improve Nether Portals (#1315) (as a squash)
Remove Nether portal caches, MineClone2/MineClone2#1210

Store all exits from Nether portals in quick-access table

Implement proper Nether portal search, using the table, MineClone2/MineClone2#1055

Store Nether portal exits table in mod storage

Remove exits from table on Nether portal destruction

Align destination area to [map chunks 5x5x5](https://git.minetest.land/MineClone2/MineClone2/wiki/World-structure%3A-positions%2C-boundaries%2C-blocks%2C-chunks%2C-dimensions%2C-barriers-and-the-void) to avoid lots of ```emerge_area()``` calls

Support Nether roof, MineClone2/MineClone2#1267

Implement better suitable place search, MineClone2/MineClone2#1126

Implement object queue not to trigger the same search again

Avoid lava lakes, MineClone2/MineClone2#1126

Add ```/spawnstruct nether_portal``` chat command
Co-Authored-By: kay27 <kay27@noreply.git.minetest.land>
Co-Committed-By: kay27 <kay27@noreply.git.minetest.land>
2021-03-21 23:14:33 +00:00
Elias Åström 7441f0269b Use get_node_light for sunlight in 5.3
Avoids servers running 5.3 crashing.
2021-03-17 09:12:02 +01:00
Elias Åström 0805431231 Fix #1293 2021-03-16 23:51:20 +01:00
AFCMS 5d17a6b699 fix SO MANY pairs/ipairs 2021-03-16 17:35:46 +01:00
epCode cb10a5508b Make mob damage more red (MC-like) 2021-03-11 19:40:36 -08:00
Lizzy Fleckenstein 5de9d90569 Simplify mcl_burning API 2021-02-22 10:55:14 +01:00
kay27 0ba7e4fc4d Fix Runtime error: attempt to index a nil value (api.lua:399 <- is_node_dangerous <- is_at_cliff_or_danger <- on_step_old <- void_damage:16) 2021-02-22 13:40:40 +04:00
epCode 512765a37d Make use_texture_alpha an mobs_mc.entity setting 2021-02-21 17:10:04 -08:00
epCode 393bc195fb Enable alpha for mobs 2021-02-19 13:11:18 -08:00
Lizzy Fleckenstein c9e589b931 Add mcl_burning damage interval 2021-02-18 14:47:35 +01:00
Lizzy Fleckenstein eddef41e6b Fix #1132 2021-02-18 09:41:06 +01:00
MysticTempest 0ec64189dc Partial creeper explode distance fix, and fix to stop punching mobs into the air. 2021-02-11 17:27:55 -06:00
kay27 696ae8e6fe Merge pull request 'Fix Mobs not taking knockback on the Y-axis' (#1061) from Code-Sploit/MineClone2:master into master
Reviewed-on: MineClone2/MineClone2#1061
2021-02-05 21:41:38 +00:00
kay27 fa3e37c604 A mob does not drop XP unless it dies within 5 s of an attack registered as a player hit, MineClone2/MineClone2#1021 (comment) 2021-02-05 16:34:49 +04:00
Code-Sploit 95b0a27213 Fix Mobs not taking knockback on the Y-axis 2021-02-05 10:36:48 +00:00
kay27 7210dfcc1c Make mobs only drop XP orbs when they're killed by hit, attempt to fix Wuzzy/MineClone2#978 2021-01-27 16:12:34 +04:00