Commit graph

445 commits

Author SHA1 Message Date
jordan4ibanez
ddb33acf0d Add in unused head code elements 2021-04-25 20:46:45 -04:00
jordan4ibanez
e52aab45c0 Implement no-op head operations for enderman 2021-04-25 20:23:46 -04:00
jordan4ibanez
ac85230938 Add in chicken head code with additional pitch modifier 2021-04-25 20:08:45 -04:00
jordan4ibanez
a8152760b9 Integrate more switches into internal api elements of head code 2021-04-25 19:44:15 -04:00
jordan4ibanez
6a38198e97 Add in swap_y_with_x and reverse_head_yaw to flesh out head code api element 2021-04-25 18:24:10 -04:00
jordan4ibanez
d28e81bc9f Add in mobs look pitch 2021-04-25 17:54:14 -04:00
jordan4ibanez
5a2773ea1a Add in basics of head code yaw 2021-04-25 17:48:41 -04:00
jordan4ibanez
555935ff3d Implement basic fall damage 2021-04-25 16:43:23 -04:00
jordan4ibanez
7e3b69348e Add secondary existence check after main logic has been executed to prevent future crashes 2021-04-25 16:11:45 -04:00
kay27
7c9d9b1650 [mineclone5] [mcl_mobs] Avoid some crashes in mob_functions/ai/lua, @jordan4ibanez feel free to revert 2021-04-25 15:37:34 +04:00
Elias Fleckenstein
073e7b81f8 Merge branch 'master' into mineclone5 2021-04-25 13:11:20 +02:00
Elias Fleckenstein
9eba2add3f Rewrite burning API 2021-04-25 13:09:20 +02:00
jordan4ibanez
5e6653ff65 Implement mob cramming 2021-04-25 04:19:02 -04:00
jordan4ibanez
1616cb7538 Fix nametags 2021-04-25 04:09:35 -04:00
jordan4ibanez
a3ff108cd4 Make mobs walk up stairs/slabs properly, yet not glitch out when jumping over solid nodes 2021-04-25 04:03:06 -04:00
jordan4ibanez
df364eed28 Implement basics of head movement and fix walking mobs flying away after floating 2021-04-25 01:45:35 -04:00
jordan4ibanez
bac191293b Fix clientside guessing making floating go crazy client side 2021-04-25 01:45:03 -04:00
jordan4ibanez
38c22f277d Add pop sound when baby mob is born 2021-04-25 01:24:19 -04:00
jordan4ibanez
f83ccdb2ed Add in breeding and feeding baby mob sounds 2021-04-25 01:22:43 -04:00
jordan4ibanez
7733e05a12 Add in random sounds/hurt/death sounds and stop mobs from reviving on server restart again 2021-04-25 01:14:48 -04:00
jordan4ibanez
0a380265c8 Fix dead-alive mobs and add in hurt/die sound 2021-04-25 00:16:54 -04:00
jordan4ibanez
8d3eff0c16 Enable mob drowning 2021-04-25 00:06:12 -04:00
jordan4ibanez
079811984c Make every mob besides spiders get slowed down by cobwebs like players 2021-04-24 23:29:56 -04:00
jordan4ibanez
7e8e63b0e3 If mob is in daylight and ignites_in_daylight = true, make mob burn 2021-04-24 23:15:40 -04:00
jordan4ibanez
49b01dca4f Make mobs drop xp on death 2021-04-24 22:28:26 -04:00
jordan4ibanez
3d5cceab76 Fix ghast strange behavior in the nether 2021-04-24 22:21:58 -04:00
jordan4ibanez
a73e5b57c0 Make pitch movement for fly/swim mobs more dynamic and make ghasts randomly fly around when attacking 2021-04-24 22:14:25 -04:00
jordan4ibanez
b401b50c04 Give mobs 6 seconds of memory to prevent strange behavior when player hides behind something 2021-04-24 21:15:42 -04:00
jordan4ibanez
807fb6966d Make spiders climb up walls, fix problems with mob following freaking out when under, fix spider collisionbox 2021-04-24 20:27:37 -04:00
jordan4ibanez
c2cb15a47f Fix horse breeding 2021-04-24 18:36:22 -04:00
jordan4ibanez
39f7d0cf3c Update api.txt 2021-04-24 18:18:53 -04:00
jordan4ibanez
2dab0773df Remove unused breedable api call 2021-04-24 00:00:21 -04:00
jordan4ibanez
0568c14a43 Fix timer and make mooshroom breedable 2021-04-23 23:59:35 -04:00
jordan4ibanez
531253008a Complete mob breeding, make cows breedable 2021-04-23 23:56:59 -04:00
jordan4ibanez
79cb6ddc49 Fix lua locals in environment.lua 2021-04-23 22:35:35 -04:00
jordan4ibanez
6eb3eef215 Fix typo in function 2021-04-23 22:34:40 -04:00
jordan4ibanez
c37a82d4a2 Add comments 2021-04-23 22:03:29 -04:00
jordan4ibanez
ed9d629b99 Add in mob following for cows 2021-04-23 21:59:42 -04:00
jordan4ibanez
fcfd6b9d19 Set up basics for breeding mechanics 2021-04-23 21:14:23 -04:00
jordan4ibanez
5ee6cf6c9b Implement mob despawner/mob limiter 2021-04-23 19:49:35 -04:00
jordan4ibanez
19c8dd1dd4 Stop hostile mobs from falling through water when stunned 2021-04-23 18:41:41 -04:00
jordan4ibanez
31ded5e40f Re-implement neutral mob switch 2021-04-23 18:34:20 -04:00
jordan4ibanez
13c321e8f2 Re-enable mob spawning 2021-04-23 18:03:01 -04:00
jordan4ibanez
ea6912c980 Don't do knockback effect for mobs when hurt by a rider 2021-04-23 17:44:49 -04:00
jordan4ibanez
3560bda4a5 Remove unused code and variables from mob punch 2021-04-23 17:29:23 -04:00
jordan4ibanez
9720986c4d Fix punching a mob breaking it's velocity 2021-04-23 17:27:08 -04:00
jordan4ibanez
dc7592528c Add red tint hurt effect 2021-04-23 17:23:00 -04:00
jordan4ibanez
af4c42fea7 Add skittish behavior (runaway from punch) and fix ocelot 2021-04-23 17:10:44 -04:00
jordan4ibanez
36d5af1d15 Stop dead mobs from getting in the way of fighting other mobs 2021-04-23 16:35:16 -04:00
jordan4ibanez
73b4d3c1d2 stop projectile mobs from being completely disabled while stunned 2021-04-23 16:31:13 -04:00