Commit graph

346 commits

Author SHA1 Message Date
jordan4ibanez
964ce9ccf7 Temporarily disable spawn eggs from setting owner 2021-04-21 11:42:01 -04:00
jordan4ibanez
5062d56a5d Implement neutral mob mechanics and partial implement of zombie pigmen 2021-04-21 11:00:02 -04:00
jordan4ibanez
b0b1ec9436 Implement zombie pigmen and make them turn hostile when punched 2021-04-21 10:53:20 -04:00
jordan4ibanez
f1dc286442 Dump mob_punch from backup_code_api.lua back into interaction.lua 2021-04-21 10:23:51 -04:00
jordan4ibanez
486959515c Make creepers even more dangerous 2021-04-21 10:20:31 -04:00
jordan4ibanez
1ed3377559 Add punch mobs knockback to players when hit 2021-04-20 23:11:18 -04:00
jordan4ibanez
8c9356a18c Implement eye_height and viewing range for hostile mobs, along with making punchy mobs jump over nodes 2021-04-20 22:58:39 -04:00
jordan4ibanez
a05ebd7cc2 Add informative text art 2021-04-20 22:44:34 -04:00
jordan4ibanez
751c4c2d99 Integrate mob punching into collision detection 2021-04-20 22:41:13 -04:00
jordan4ibanez
6b52b94516 Start setting up hostile punch attack type 2021-04-20 22:30:34 -04:00
jordan4ibanez
fabd4d64e6 Slow down creeper type mobs explosion buildup 2021-04-20 21:35:19 -04:00
jordan4ibanez
bf367fffd0 Add in sound_handling and make explosion type mobs make their attack sound before explosion animation 2021-04-20 21:34:18 -04:00
jordan4ibanez
0b763f54b5 Finish creeper movement ai and move jump_check into environment 2021-04-20 21:00:36 -04:00
jordan4ibanez
cd6f07537f Make creepers even more deadly 2021-04-20 20:43:45 -04:00
jordan4ibanez
9678b556e1 Fix crashes when trying to collision detect a removed mob 2021-04-20 20:33:30 -04:00
jordan4ibanez
cdb840609d Add in creeper basic prototype 2021-04-20 20:19:55 -04:00
jordan4ibanez
008d670ed9 Remove wandering from ai 2021-04-20 17:10:51 -04:00
jordan4ibanez
491ef6c8f8 Add in auto mob removal if something goes horribly wrong 2021-04-20 16:48:20 -04:00
jordan4ibanez
348df0fcec Rename detect_players_in_area to detect_closest_player_within_radius 2021-04-20 16:46:10 -04:00
jordan4ibanez
ac08c6991c Add in detect_players_in_area 2021-04-20 16:39:05 -04:00
jordan4ibanez
3d776138e9 Start implementing creeper ai 2021-04-20 14:55:22 -04:00
jordan4ibanez
85e531bf10 Remove unneeded mobs:protect from code 2021-04-18 21:24:31 -04:00
jordan4ibanez
4d589dfb2a Remove literally unneeded mobs:capture_mob 2021-04-18 21:22:39 -04:00
jordan4ibanez
39985aa558 Up fallback max xp to 3 2021-04-18 21:22:21 -04:00
jordan4ibanez
719bb2a3c9 Add in prototype jump-only mobs api 2021-04-17 18:21:33 -04:00
jordan4ibanez
e2987245fd Balance out collision forces for mobs 2021-04-17 17:00:34 -04:00
jordan4ibanez
3cf263d292 Add in dynamic pitch in flying/swimming mobs 2021-04-17 16:23:38 -04:00
jordan4ibanez
5ade34115c Remove random state initialization in set_up.lua 2021-04-17 13:17:29 -04:00
jordan4ibanez
58d9670e77 Remove collisionbox addition for y position for fly mobs 2021-04-17 13:11:39 -04:00
jordan4ibanez
a20f272e08 re-adjust logic gate for mobs floating in water and lava 2021-04-17 13:05:53 -04:00
jordan4ibanez
0794bc5437 Make flying mobs float in water and lava 2021-04-17 13:04:55 -04:00
jordan4ibanez
8783912938 Add in mobs api swimming animation 2021-04-17 12:48:57 -04:00
jordan4ibanez
f2e909ab8d Add in fly logic gate 2021-04-17 12:41:14 -04:00
jordan4ibanez
07841c8963 Swap name of quick_rotate_45 to quick_rotate 2021-04-17 12:38:48 -04:00
jordan4ibanez
240d6ea211 Add note about quick_rotate_45 actually rotating 11.25 degrees 2021-04-17 12:37:04 -04:00
jordan4ibanez
e8148f81ab Make underwater mobs try to continuously swim around with quick_rotate_45 2021-04-17 12:36:19 -04:00
jordan4ibanez
061602d9d4 Overhaul separation of swimming and flying for ease of use with writing mobs api 2021-04-17 12:28:07 -04:00
jordan4ibanez
5365dec19a Adjust "flying" vector checks for mobs 2021-04-17 12:01:27 -04:00
jordan4ibanez
dda7839d8c Add in prototype swimming 2021-04-16 21:43:02 -04:00
jordan4ibanez
f1141aed9f Make mobs flop when outside of flying node 2021-04-16 21:08:54 -04:00
jordan4ibanez
84ca7681fc Make squids fly in water flowing and water source 2021-04-16 20:47:16 -04:00
jordan4ibanez
52c3db041e Add in fly state prep for mobs 2021-04-16 20:32:05 -04:00
jordan4ibanez
6db4511dd5 Add notes 2021-04-16 20:06:55 -04:00
jordan4ibanez
15ea9c1c71 Implement self walking velocity for walking state 2021-04-16 19:59:20 -04:00
jordan4ibanez
9d6d042ee3 Fix formatting in ai.lua 2021-04-16 19:37:01 -04:00
jordan4ibanez
ce7f4918b0 Re-organize comments 2021-04-16 19:35:19 -04:00
jordan4ibanez
05d06a4c8f Add comment to state_execution 2021-04-16 18:36:23 -04:00
jordan4ibanez
c761db86c7 re-arrange mob logic for random wandering 2021-04-16 18:29:42 -04:00
jordan4ibanez
ed456ecb47 Make mobs not fear cliffs if fear_height is 0 2021-04-16 18:17:51 -04:00
jordan4ibanez
8ca5f221ec clean up ai.lua 2021-04-16 18:13:54 -04:00