Commit graph

135 commits

Author SHA1 Message Date
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
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
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
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
jordan4ibanez
eb7ae5e10e Fix random crash 2021-04-23 16:28:30 -04:00
jordan4ibanez
c831da2c02 Fix mobs not making hit sound when hit by node 2021-04-23 16:22:34 -04:00
jordan4ibanez
d5a38fef58 Add in new mob punched sounds 2021-04-23 16:19:37 -04:00
jordan4ibanez
8e7ce5a72a Add in a visual for horse taming (hearts) 2021-04-23 16:04:01 -04:00
jordan4ibanez
189c0ad157 Half finish horse (riding logic, etc) 2021-04-23 15:53:01 -04:00
jordan4ibanez
f64f8e31e3 Fix llama blaze and ghast projectile sprites 2021-04-23 14:50:38 -04:00
jordan4ibanez
16cc7e37d2 Randomize projectile cooldown timer 2021-04-23 14:34:59 -04:00
jordan4ibanez
8eb9ba12ce Fix crash when mob collides with nil entity 2021-04-23 14:33:40 -04:00
jordan4ibanez
5d59583583 Massive overhaul to projectile mobs with custom projectile function, make llamas spit 2021-04-23 14:10:12 -04:00
jordan4ibanez
4fb9e69e41 Make enderman become hostile when stared at, freeze when attacking when stared at 2021-04-23 13:27:17 -04:00