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
SumianVoice
524da8a6cb
move heal under tame so that you can tame an animal and then heal it, like in MC
2022-07-22 03:27:41 +02:00
SumianVoice
e6a97031ef
remove unnecessary check
2022-07-22 03:27:41 +02:00
SumianVoice
120b096fc8
move self.food check
2022-07-22 03:27:41 +02:00
SumianVoice
9d52fed357
non-tamable mobs will not send tame param to feed_tame func,
...
changed event flow so it tries in order: heal, tame, breed, grow child
2022-07-22 03:27:41 +02:00
SumianVoice
e5c1da4380
make it check not child, since the return statement was removed
2022-07-22 03:27:41 +02:00
SumianVoice
a07a5b24bd
animals don't take food from player unless it is used for something
2022-07-22 03:27:41 +02:00
SumianVoice
c626c977d1
Update api.lua
2022-07-22 03:27:41 +02:00
cora
bf756403a3
Fix animals attacking players for no reason
2022-07-18 00:10:23 +00:00
cora
987ae3c6e8
Fix mobs spawning inside nodes
2022-07-18 00:10:23 +00:00
cora
a077e4535f
Fix non-monsters being unable to attack
...
A check in the relevant function excluded all non-monsters from
looking for targets to attack. This removes that check and relies
on the passive attribute of the entity
2022-07-18 00:10:23 +00:00
cora
ee9cc5341b
Fix villager crash when opening iron doors
2022-07-15 22:11:07 +00:00
cora
aab3180269
clear empty nametag as well as nil
2022-07-15 04:40:12 +02:00
cora
f202ed8327
spawn in groups
2022-07-09 02:30:48 +02:00
cora
de9056ae62
Fix child mobs collision boxes
2022-07-08 23:57:02 +02:00
cora
08a1ecd879
Don't take extra bread when feeding
2022-07-08 23:57:02 +02:00
cora
672b9dbedf
make pathfinding to jobsite more smooth
2022-07-05 23:47:30 +02:00
cora
e630ea59c9
Rate limit pathfinding attempts
...
In certain situation it otherwise results in excessive attempts to
find a path.
2022-06-17 15:54:53 +02:00
cora
a43627e268
Fix 2 wrong variable uses that made warnings
2022-06-12 01:35:27 +00:00
MysticTempest
45ec876167
Knockback fixes:
...
This PR enables knockback for snowballs, and eggs.
And disables knockback for the following mobs: Shulkers, Iron Golems,
and Ender Dragons.
2022-06-07 02:55:19 -05:00
cora
86bc398a79
don't do flying animation while perching,fix anims
2022-05-28 00:05:04 +02:00
cora
47fa43825c
count only mobs for cramming
2022-05-26 14:20:19 +02:00
cora
af7dc0fb8f
change "constant" declaration to match mcl_mobs
2022-05-26 14:16:38 +02:00
cora
87f50d6423
entity cramming: clean up check logic
2022-05-26 14:16:38 +02:00
cora
fb4f21cba0
entity cramming: spare the children
2022-05-26 14:16:38 +02:00
cora
85b599edba
entity cramming: check less often
2022-05-26 14:16:38 +02:00
cora
b4cbc528a3
mcl_mobs: add entity_cramming
2022-05-26 14:16:38 +02:00
Lizzy Fleckenstein
f6a40ffb78
Run tools/strip_trailing_whitespace.sh
2022-05-26 07:29:28 +02:00
Lizzy Fleckenstein
ff33794487
Rename mobs global to mcl_mobs
2022-05-25 23:13:33 +02:00
Lizzy Fleckenstein
e0f70b54ec
Remove _cmi_is_mob
2022-05-25 23:13:33 +02:00
Lizzy Fleckenstein
4054f05a4c
Remove support for invisibility mod
2022-05-25 23:13:33 +02:00
Lizzy Fleckenstein
f6be8bac5a
Remove checks for MCL2 mods
2022-05-25 23:13:33 +02:00
Lizzy Fleckenstein
8db9e76529
Remove unused version field
2022-05-25 23:13:33 +02:00
Lizzy Fleckenstein
6ae722a6ee
Remove use_cmi
2022-05-25 23:13:33 +02:00
Lizzy Fleckenstein
fc3992ceb6
Remove mobs.is_creative
2022-05-25 23:13:33 +02:00
cora
53df441c1b
Don't pick up near player, add more breeding stuff
2022-05-21 12:36:57 +02:00
cora
db865ede56
villagers open doors in daytime and close at night
2022-05-21 12:36:57 +02:00
cora
67939f7b7a
pathfinding: find doors close to target as well
2022-05-21 12:36:57 +02:00
cora
dfb74cf9e9
mobs: add nofollow option so v. dont follow bread
2022-05-21 12:36:57 +02:00
cora
e6b65af3b4
add mobs item pickup
2022-05-21 12:36:57 +02:00
cora
4ac41a793e
fix two crashes in pathfinding
2022-05-21 12:36:57 +02:00
cora
98231f15ae
change function name go_wplist -> gopath
2022-05-21 12:36:57 +02:00
cora
f8fc111b4a
pathfind to jobsites
2022-05-21 12:36:57 +02:00
cora
dbc5564d02
move movement code to mcl_mobs
2022-05-21 12:36:57 +02:00
cora
5282a63bcb
add options for nametagged mobs and range
2022-05-15 20:04:09 +00:00
cora
e5de4bba65
keep nametagged mobs, add "all" argument
2022-05-15 20:04:09 +00:00
cora
628686ce79
Add a command to safely remove all mob objects
2022-05-15 20:04:09 +00:00
NO411
e790bf90f4
Make shields work with all mobs
2022-04-09 16:21:22 +02:00