Commit Graph

325 Commits

Author SHA1 Message Date
cora ef4b243a30 Add coord safe infinite particlespawners api for mobs 2022-10-13 21:48:05 +00:00
cora a4a5b72380 Fix mobs not following player wielding the follow item 2022-10-13 15:03:24 +02:00
cora 0048a3edb2 Display egg if icon not available 2022-10-13 02:13:02 +02:00
cora 57b5d13edf Add setting to optionally bring back spawn icons 2022-10-13 02:13:02 +02:00
epCode aa2693795d Add Spider Jockey 2022-10-10 13:42:01 -07:00
epCode 8cd093afa9 adjust values 2022-10-09 18:43:41 -07:00
epCode 9cf5b2a9f6 make mobs rotate when punched 2022-10-09 18:40:41 -07:00
epCode 8a63e90e4a remove debug message 2022-10-09 18:26:20 -07:00
epCode a16e8f0403 remove all glitchy shaking 2022-10-09 17:41:50 -07:00
epCode 090c5b086a fix mobs shaking a lot 2022-10-09 17:29:28 -07:00
epCode c500dc98f9 fix only hostile mobs using smooth turning 2022-10-09 17:23:14 -07:00
epCode 4a086db4c5 get rid of unecessary "if true" statement 2022-10-10 00:09:06 +00:00
epCode ef980f2ea0 Make mobs have smooth turning 2022-10-10 00:09:06 +00:00
Johannes Fritz 36427d5aef Check enable damage instead of creative mode in some cases 2022-10-09 21:45:05 +02:00
epCode 25cceb58a9 (+)blaze_head_rotation 2022-10-07 02:45:02 +00:00
epCode 690d97bc63 (+)zombie_head_rotation 2022-10-07 02:45:02 +00:00
epCode 5f46f9649a Make mobs not always look at you+looks at own kind 2022-10-07 02:45:01 +00:00
cora 609f90dd0a Use conditional set_bone_position for mob head swivel 2022-10-07 02:45:01 +00:00
epCode 1a6698abda Add api and following mobs as starers: cow, chicken, creeper, pig, sheep, skellys. spider, villager, villager_zombie, wolf 2022-10-07 02:45:01 +00:00
cora d570a2dda6 Fix double despawn in staticdata/activate 2022-10-06 19:15:14 +02:00
PrairieWind d8e2255d76 Added egg textures to register_egg function/api 2022-10-03 11:52:22 -06:00
Johannes Fritz 19c0851003 Add big head support to all babies 2022-09-29 12:03:50 -05:00
cora 9a95557ec8 Simplify within_limits function
so you don't need a cs degree to read it ^^
2022-09-19 13:56:39 +02:00
cora df8c234def Check map limits before get_natural_light 2022-09-19 13:56:39 +02:00
cora 467ecc7c58 Remove 5.3 check for get_natural_light function
as 5.3 isn't supported anymore
2022-09-19 13:56:39 +02:00
cora 7f4443b76f Don't reset size for children 2022-09-16 18:22:09 +02:00
cora ed8dc1d137 Move zombie visual size update to mcl_mobs 2022-09-16 18:22:09 +02:00
cora cb3b3b92cc Immobilize shulkers 2022-09-14 20:37:07 +00:00
cora 20a30f9f44 Instakill mobs on punch in creative 2022-09-13 16:52:53 +00:00
cora 87d4640ca1 mcl_mobs: actually use the localized functions
not that it actually gains *a lot*
2022-09-13 13:53:38 +02:00
cora 51e244fe35 Make logging of mob spawning configurable 2022-09-13 13:43:57 +02:00
cora 786cea122d Remove some unsused settings from mcl_mobs 2022-09-13 13:39:14 +02:00
cora 3093462ee3 Fix despawning 2022-09-10 01:56:37 +00:00
cora f629a6ba9d Only zombies attack villagers 2022-09-10 01:56:37 +00:00
cora 4bc6210fda disable smooth rotation 2022-09-10 01:56:37 +00:00
PrairieWind fc362f0e9c Add Loggin Actions to mob spawning, and fixed log message for spawn egg use 2022-09-02 10:06:10 +00:00
cora 683ace0748 Fix crash when using flint and steel on creeper 2022-08-28 21:10:48 +02:00
cora ccfbc7da14 Make sure math.random gets a >0 argument 2022-08-24 03:01:32 +02:00
Johannes Fritz 181eb96c6d Fix up pillagers 2022-08-16 01:53:42 +02:00
iliekprogrammar bf80074d98
[5.6][mobs] fix unsafe entity handling (unsure)
i'm not sure about this one, can't find a suitable test for it.
2022-08-07 12:38:26 +08:00
iliekprogrammar 221ee0fcf1
[5.6] mark places with unsafe set_hp entity handling
There might be other places i might be missing, but these are the obvious ones.

leftover entity handling i did not mark:
* everything that involves a apply()-like algorithm (e.g. callbacks) over the
  same list of objects.
* in mcl_damage, it's not known whether mcl_damage.from_mt() would involve
  entity handling or just player handling.
2022-08-07 00:13:03 +08:00
cora 94f0d679f2 Add can_spawn callback in mob api 2022-07-22 03:27:41 +02:00
cora 32ac2ffeb8 remove unused alias_mob function 2022-07-22 03:27:41 +02:00
Sumyjkl 68e1fdde36 fixed comment about creative 2022-07-22 03:27:41 +02:00
Sumyjkl fbfc53ff42 eat sound will play even when feeding in creative 2022-07-22 03:27:41 +02:00
Sumyjkl 3852c0297f changed API to recognise sitting order, added animations for sitting and idle, dog will no longer walk around while in sit mode 2022-07-22 03:27:41 +02:00
cora b7a0460b15 Reset aggro when player far 2022-07-22 03:27:41 +02:00
SumianVoice cfb6b6003c Update api.lua 2022-07-22 03:27:41 +02:00
SumianVoice a6eae1e95e don't tame baby animals yet 2022-07-22 03:27:41 +02:00
SumianVoice 682b61ad4a make sure you can't heal and tame at the same time 2022-07-22 03:27:41 +02:00