Commit graph

95 commits

Author SHA1 Message Date
jordan4ibanez
0a8fff6524 Add in mob criticals when falling 2021-04-22 22:08:54 -04:00
jordan4ibanez
ef0d52a2df Update backup_code_api.lua 2021-04-22 21:41:54 -04:00
jordan4ibanez
8142f7e512 Add in mob death 2021-04-22 21:36:42 -04:00
jordan4ibanez
ebf27866ca Fix typo and error in animation.lua 2021-04-22 21:12:08 -04:00
jordan4ibanez
3fe8d2d3c5 Add file death_logic.lua 2021-04-22 20:30:50 -04:00
jordan4ibanez
b73ab976a1 Implement framework for mob death 2021-04-22 20:25:58 -04:00
jordan4ibanez
8530e6ee36 Make mob punching time based 2021-04-22 20:20:56 -04:00
jordan4ibanez
e1812b2cdb Reset pause timer to 0 2021-04-22 20:12:02 -04:00
jordan4ibanez
991bba0a1d Add comments into ai.lua 2021-04-22 20:10:01 -04:00
jordan4ibanez
f9a7144b65 Implement ability to hurt mobs 2021-04-22 20:07:30 -04:00
jordan4ibanez
45790c0be0 Re-enable mob punching (broken) 2021-04-22 19:12:02 -04:00
jordan4ibanez
31a791c33b Undo debug.txt spam from mob spawning 2021-04-22 18:20:58 -04:00
jordan4ibanez
d0d128c1d8 Break infinite loop if unable to find any mob to spawn 2021-04-22 18:18:57 -04:00
jordan4ibanez
ee905642c2 Add temporary warning debug to spawning algorithm output 2021-04-22 17:56:38 -04:00
jordan4ibanez
2cef9e7cca Optimize mob spawning even further with additional lua locals 2021-04-22 00:39:32 -04:00
jordan4ibanez
edb1939649 Fix mob_counter in mob spawning limiter 2021-04-22 00:27:35 -04:00
jordan4ibanez
7c1adeab45 Hyper-optimize mob spawning 2021-04-22 00:20:57 -04:00
jordan4ibanez
ecebe0253c Merge branch 'mineclone5' into mineclone5 2021-04-22 03:29:18 +00:00
jordan4ibanez
fbe3ccc5c0 Delete current state of things comment 2021-04-21 23:28:38 -04:00
kay27
7c2ea8d7f0 [mineclone5] Merge backup_code_api.lua from latest mineclone5 and playerplus from master 2021-04-22 01:16:22 +04:00
jordan4ibanez
29305f548d Overhaul arrow register, implement basic blaze, break parts of arrow register for now, remove fallback for detecting players 2021-04-21 15:08:35 -04:00
jordan4ibanez
91099c3be9 Fix auto-true statement for tilt fly/swim 2021-04-21 13:01:14 -04:00
jordan4ibanez
71c34823bc Make tilt flying/swimming dynamic 2021-04-21 12:56:36 -04:00
jordan4ibanez
20886f54bb Make shooty mobs jump 2021-04-21 12:48:23 -04:00
jordan4ibanez
c9f71d66f5 Implement skeletons/strays 2021-04-21 12:42:34 -04:00
jordan4ibanez
74094938bb Fix crash with non-punch attack mobs in collision 2021-04-21 12:10:29 -04:00
jordan4ibanez
6bd279255c Fully implement zombie pigmen 2021-04-21 11:50:22 -04:00
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