cora
bd6e6b48d9
disable smooth rotation
2022-09-09 22:31:32 +02:00
cora
962425faa5
Don't spawn structure mobs in peaceful mode
2022-09-07 11:58:16 +02: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
77e11713d3
Remove superfluous bed check for villagers
2022-08-30 21:52:47 +02:00
cora
2f0ca063e9
Make monsters less likely to spawn in groups
2022-08-30 21:52:47 +02:00
cora
3993cddfc6
Check for conditions on each group spawn
2022-08-30 21:52:47 +02: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
cora
f27b2d9714
Fix 'spawn_in_group_min' warning
2022-08-15 11:58:39 +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
51f79eaa39
Add lilypads and dead bushes
2022-08-02 12:02:20 +02: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
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
99037cb0ec
adapt several mob spawning conditions to mc
2022-07-18 00:10:23 +00:00
cora
1087d9e54b
Implement mc like mob cap
2022-07-18 00:10:23 +00:00
cora
2d3f4531c9
Add mob spawning debug command
2022-07-18 00:10:23 +00:00
cora
987ae3c6e8
Fix mobs spawning inside nodes
2022-07-18 00:10:23 +00:00
cora
3a32e4e4e9
Never spawn mobs on bedrock
2022-07-18 00:10:23 +00:00
cora
a68343b71d
Add group spawning minimum attribute
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
9e60d24fe0
Never spawn mobs on leaves
2022-07-13 16:45:41 +02:00
cora
c1686923d3
Fix crash when no group spawning positions found
2022-07-11 22:31:35 +02:00
cora
f202ed8327
spawn in groups
2022-07-09 02:30:48 +02:00
cora
ae0eb85ffc
Add salmon, cod and dolphin from mcl5
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
b1c97a0510
prevent ground squids, variable spawn height
2022-07-04 01:41:45 +02:00
cora
8efbd89b6a
Add basalt columns & lava pools
2022-06-19 00:24:52 +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
8651e3b04e
randomize spawning list
2022-06-15 05:06:31 +02:00