Commit Graph

448 Commits

Author SHA1 Message Date
Michieal
f05e976d18 changed comment. 2023-02-14 01:50:05 +00:00
Michieal
5533ec7bac fix mobs losing their textures. 2023-02-14 01:50:05 +00:00
ancientmarinerdev
2fd7f8c69f Fix hungry sheep and hyrdophobic passive mobs 2023-02-11 00:37:16 +00:00
ancientmarinerdev
39d4434df1 Reorder on_step calls 2023-02-08 19:34:04 +00:00
ancientmarinerdev
4b9482cb09 Mobs should not drop XP when dying by fire from sunlight 2023-02-08 19:34:04 +00:00
ancientmarinerdev
245ce99223 Using mcl_vars 2023-01-31 02:28:04 +00:00
ancientmarinerdev
1f107ec0c7 Tidy 2023-01-31 02:28:04 +00:00
ancientmarinerdev
c209537cfe Make it a bit less chatty for logging 2023-01-31 02:28:04 +00:00
ancientmarinerdev
d583ccb986 Oooops, wrong number 2023-01-31 02:28:04 +00:00
ancientmarinerdev
7d803e174c Set freeze and warning when mobs too close to boundary of world 2023-01-31 02:28:04 +00:00
ancientmarinerdev
15560d969c Change order of mob step 2023-01-23 20:10:28 +00:00
ancientmarinerdev
6bbf3af97b Remove log line 2023-01-23 20:10:28 +00:00
ancientmarinerdev
84317afc93 Review feedback implemented and planned changes 2023-01-23 20:10:28 +00:00
ancientmarinerdev
01c8009c6a Tidy on_step function 2023-01-11 01:07:18 +00:00
ancientmarinerdev
f8ae702ce4 Function name consistency 2023-01-02 00:58:23 +00:00
ancientmarinerdev
5faf060122 Fix crash and remove unused duplicate variables 2023-01-02 00:54:08 +00:00
ancientmarinerdev
8c648d1fc3 Refactor mob_step and do_states 2023-01-02 00:00:40 +00:00
cora
7bd0b5a9b1 Some more missing arg fixes 2022-11-27 14:53:16 +01:00
cora
4909ef6ff7 Restructure on_step a bit 2022-11-27 14:53:16 +01:00
cora
3c6d79ecb3 Add entity name to debug box 2022-11-27 14:53:16 +01:00
cora
6948b77226 move debug/nametag code back to api.lua 2022-11-27 14:53:16 +01:00
cora
c25287e493 Some cleanup 2022-11-27 14:53:16 +01:00
cora
db63f1c453 fix leftover pi shortcut 2022-11-27 14:53:16 +01:00
cora
faa38ffab8 Fix some warnings 2022-11-27 14:53:16 +01:00
cora
19d6d43b39 move on_blast default to mob default def 2022-11-27 14:53:16 +01:00
cora
28b6fcf289 Move detach_child to mount.lua 2022-11-27 14:53:16 +01:00
cora
80490b4c11 Move smooth rotation to separate function 2022-11-27 14:53:16 +01:00
cora
5e177c61f6 Move on_step despawning to separate function 2022-11-27 14:53:16 +01:00
cora
c9c2b874be move relative animation speed to separate function 2022-11-27 14:53:16 +01:00
cora
18c415f6a0 put head swivel in separate function 2022-11-27 14:53:16 +01:00
cora
49670d1d28 put water flow code in separate function 2022-11-27 14:53:16 +01:00
cora
a25cd921f2 move do_states to movement.lua 2022-11-27 14:53:16 +01:00
cora
91b5b6266c move stray particle spawner func to effects 2022-11-27 14:53:16 +01:00
cora
148b30694f Fix monster_attack and some other settings issues 2022-11-27 14:53:16 +01:00
cora
f4374d9efd Fix item drops 2022-11-27 14:53:16 +01:00
cora
b41d6a1cae Fix mob_punch 2022-11-27 14:53:16 +01:00
cora
c7681af53e Move registration functions to init.lua 2022-11-27 14:53:16 +01:00
cora
cc77e109f5 Split off general movement functions 2022-11-27 14:53:16 +01:00
cora
e7d9ded9ab Split off combat funcs 2022-11-27 14:53:16 +01:00
cora
96d697c5cd Split off pathfinding, use metatables 2022-11-27 14:53:16 +01:00
cora
01abfea16d Split off item management 2022-11-27 14:53:16 +01:00
cora
bbba7cee41 Add compat for old "wrong" : notation 2022-11-27 14:53:16 +01:00
cora
e82c318f0c Split off breeding 2022-11-27 14:53:16 +01:00
cora
70834d0f5d make register functions use the . notation 2022-11-27 14:53:16 +01:00
cora
d62dbcb852 effects -> separate file + metatable 2022-11-27 14:53:16 +01:00
cora
67fd8c8b40 split off physics functions into separate file + use metatable 2022-11-27 14:53:16 +01:00
cora
90639ef99d remove unused functions 2022-11-27 14:53:16 +01:00
cora
31ef791cfd Add proper metatable to mobs 2022-11-27 14:53:16 +01:00
cora
033b051689 Fix crash when rightclicking parrot 2022-11-15 21:16:48 +01:00
ancientmarinerdev
3e1a475442 Logging improvements 2022-11-12 02:35:00 +01:00