Eliy21
95be0ca64c
Remove unnecessary space in the attack reach limit on mobs code
2023-12-14 09:32:23 +01:00
the-real-herowl
d658b1977f
Nerfed vexes and evokers
2023-12-13 07:02:55 +01:00
the-real-herowl
2e30b2120c
Nerfed slime and magma cube attack range
2023-12-13 07:02:06 +01:00
Bakawun
8555afe7f7
Mobs:creeper: add another missing comma
2023-12-13 06:44:39 +01:00
Bakawun
89a2c3f681
Mobs:creeper: fix missing comma
2023-12-13 06:44:19 +01:00
bakawun
ba564f843f
mobs:villager: reduce job/bed/bell search radius
...
and turn it into a setting
this makes villager breeding possible on low end
hardware like android
2023-12-12 09:23:53 +01:00
bakawun
238031921a
obs: loot table updates
...
fix table being defined twice for hoglin
enable looting enchantment effects wheee missing
use int 1 in N chances
correct some values to those from mc wiki
2023-12-12 09:22:46 +01:00
bakawun
e152a392e0
loot chance: fix 1 in N chance calculation.
...
add mc 2nd roll when enchanted to base chance value
remove unused math.floor calculation from num to drop
remove looting_ignore_chance, only used for ghast and
its not needed.
2023-12-12 09:22:27 +01:00
bakawun
91880967cb
Set all mob spawn chance weights according to mc now that weights are actually taken into account
2023-12-12 09:21:55 +01:00
bakawun
d2d04d77ca
Spawning: add a comment to clarify what the random select is doing
2023-12-12 09:21:28 +01:00
bakawun
8c7e26989f
Spawning: break mob selection loop when out of bounds
2023-12-12 09:21:10 +01:00
bakawun
31a56f6a2a
Spawning: remove unused summary_chance
2023-12-12 09:20:53 +01:00
bakawun
3a00986266
Spawning: remove another unused perlin var
2023-12-12 09:20:37 +01:00
cora
ad3a888e65
Mob spawning: Remove unused vars
2023-12-12 09:20:15 +01:00
bakawun
e86c8a8ac6
Spawning: fix random weighted choice
2023-12-12 09:20:00 +01:00
bakawun
d12cbbb706
mobs:shulker:use on_attack to set shoot interval
...
to between 1 and 6 seconds
2023-12-12 09:19:28 +01:00
the-real-herowl
2a0e21444b
Fixed crashes
2023-12-12 09:19:13 +01:00
bakawun
78ef56a2f3
Shulker: align armor value with mc and set it to 0 when opened
2023-12-12 09:18:52 +01:00
bakawun
697fdca549
Shulker: make bullet speed match mc
...
speed is 5 according to https://www.gmbinder.com/share/-MelLRYIg8yCfuAqQ82g#:~:text=After%20doing%20some%20experimentation%20I,~5%20blocks%2Fsecond ).
2023-12-12 09:18:37 +01:00
cora
83522126c5
Fix shulker bullets ignoring armor
2023-12-12 09:18:17 +01:00
cora
069513f70b
Add a get_arrow_hit_func function to mcl_mobs
...
reason for this is that player:punch used by most mobs ignores armor
worn by player
2023-12-12 09:17:55 +01:00
cora
6c93e17731
Make shulker bullets homing
2023-12-12 09:17:36 +01:00
cora
28c1fb4278
Add an option for mob arrows to be "homing"
2023-12-12 09:17:18 +01:00
Bakawun
a845437ea3
Shulker, add missing false statement
2023-12-12 09:17:01 +01:00
Bakawun
2a3abe54e9
Shulker; fix attack open animation, improve peek
2023-12-12 09:16:45 +01:00
Bakawun
b7f84bb059
Shulker: randomize shoot interval
...
Randomize shoot interval to between 1 and 5.5 seconds and set default shoot interval to 5.5
2023-12-12 09:16:20 +01:00
Bakawun
74aa25da4c
Shulker: Make shulker peek periodically
...
Adjust walk and animation settings so the shulker peeks out randomly.
2023-12-12 09:16:04 +01:00
Bakawun
69cca594e2
Shulker: lower shoot interval to 1 second
...
In this video we can see the shulkers are shooting at a rate of once per second.
https://youtube.com/shorts/8tUFaSZ4b7I?si=sszp4cnyXR4dXg9B
The wiki confirms this but mentions a range of 1 to 5.5 seconds.
I think this range is caused by the shulker closing and stopping shots for a few seconds but no longer than the max interval of 5.5
https://minecraft.fandom.com/wiki/Shulker#:~:text=The%20shulker%20continues%20firing%20every,unaffected%20by%20Levitation%20when%20hit
2023-12-12 09:15:49 +01:00
Bakawun
77e2beea17
Ghast: align attributes with mc
...
Ghast should spawn much more rarely than they currently do
I set the value to 1/4th of the original value before 72000 was set as an attempt to lower spawn rates, it actually increased them.
Align View distance, sound distance and shot interval with mc wiki.
https://minecraft.fandom.com/wiki/Ghast
Align fireball velocity with mc issue tracker
https://bugs.mojang.com/browse/MC-238286
2023-12-12 09:14:48 +01:00
bakawun
0952a92a5e
fix walking and running animation for horse donkey and mule
...
no more gliding horses
2023-12-12 09:12:46 +01:00
bakawun
edc4c95f6d
mobs:animations:align animation to movement speed
...
change walk speed of evoker and enderman to match mc
make enderman walk less
2023-12-12 09:12:12 +01:00
the-real-herowl
8b00fff4cb
Remove dangling else
2023-12-11 00:54:30 +01:00
the-real-herowl
cf70de0ecc
Add an on_attack callback for mobs ( #4064 )
...
Added an on_attack callback that allows to execute additional custom logic after each attack.
Reviewed-on: MineClone2/MineClone2#4064
Co-authored-by: the-real-herowl <wiktor_t-i@proton.me>
Co-committed-by: the-real-herowl <wiktor_t-i@proton.me>
2023-12-10 16:10:33 +00:00
the-real-herowl
bb66f81999
Merge pull request 'Combat rebalancing' ( #4036 ) from combat_rebalancing into master
...
Reviewed-on: MineClone2/MineClone2#4036
2023-12-08 22:06:06 +00:00
the-real-herowl
46d9c66000
Fixed mobs executing custom on_punch with punch fail
2023-12-05 00:58:10 +00:00
the-real-herowl
24ffd64cad
Knockback fixes
2023-12-05 00:58:10 +00:00
bakawun
2ba73f832c
horse: drops: remove 2nd saddle, add armor
2023-12-04 20:17:39 +01:00
codiac
4cf865a36c
Fix passive threshold in nether and end ( #4030 )
...
Fix light check for passive mobs in other dimensions. It is apparently the same in all dimensions. If a mob has it's own spawn_check function then that should be used regardless of it's type.
Fixes #4029
Reviewed-on: MineClone2/MineClone2#4030
Reviewed-by: the-real-herowl <the-real-herowl@noreply.git.minetest.land>
Co-authored-by: codiac <codiac@inbox.lv>
Co-committed-by: codiac <codiac@inbox.lv>
2023-11-28 02:45:18 +00:00
3raven
86da47b922
French translation update ( #4006 )
...
Update french translation, add missing chain, fix typo
Reviewed-on: MineClone2/MineClone2#4006
Reviewed-by: AFCMS <afcm.contact@gmail.com>
Co-authored-by: 3raven <3raven@noreply.git.minetest.land>
Co-committed-by: 3raven <3raven@noreply.git.minetest.land>
2023-11-25 01:08:06 +00:00
Eliy21
7cbba73d50
Combat (mostly PvE) rebalancing ( #4005 )
...
-Added short mob invulnerability time after being hit
-Added separate shorter range for hitting mobs (as opposed to node interaction)
-Reworked mob knockback
-Slowed down natural health regeneration from saturation
-Added a setting for the saturation health regen speed
Reviewed-on: MineClone2/MineClone2#4005
Reviewed-by: the-real-herowl <the-real-herowl@noreply.git.minetest.land>
Co-authored-by: Eliy21 <eliy21@noreply.git.minetest.land>
Co-committed-by: Eliy21 <eliy21@noreply.git.minetest.land>
2023-11-23 00:32:23 +00:00
the-real-herowl
e53d9ec8d7
Added comments
2023-11-18 02:31:07 +01:00
the-real-herowl
378b8f8f6c
Fix item not dropping at tool last use
2023-11-13 13:35:12 +01:00
codiac
89c97690c8
Add a setting to enable mod nav hacks
2023-11-06 22:01:31 +01:00
codiac
06f9486e4d
Do not go home if attacking
2023-11-06 21:59:40 +01:00
codiac
ae5564e658
Make golem go home. Fixes #3288
2023-11-06 21:59:40 +01:00
Eliy21
69dc013799
Prevent multiple chestboat drivers ( #3992 )
...
Fixes #3872
Reviewed-on: MineClone2/MineClone2#3992
Reviewed-by: the-real-herowl <the-real-herowl@noreply.git.minetest.land>
Co-authored-by: Eliy21 <eliy21@noreply.git.minetest.land>
Co-committed-by: Eliy21 <eliy21@noreply.git.minetest.land>
2023-11-03 22:09:49 +00:00
Freedom
83d6e2a5d2
polar bear fix typo ( #3846 )
...
horrizonatal -> horizontal
Reviewed-on: MineClone2/MineClone2#3846
Reviewed-by: the-real-herowl <the-real-herowl@noreply.git.minetest.land>
Co-authored-by: Freeman <project@gnuhacker.org>
Co-committed-by: Freeman <project@gnuhacker.org>
2023-11-03 00:06:06 +00:00
FossFanatic
ce403b9245
Rename Liquid Textures ( #3758 )
...
This pull request renames the textures of water and lava to more closely follow the MineClone 2 naming convention.
The code has also been changed to now reflect these new names.
Reviewed-on: MineClone2/MineClone2#3758
Reviewed-by: the-real-herowl <the-real-herowl@noreply.git.minetest.land>
Co-authored-by: FossFanatic <fossfanatic@noreply.git.minetest.land>
Co-committed-by: FossFanatic <fossfanatic@noreply.git.minetest.land>
2023-11-02 23:47:26 +00:00
Eliy21
da911bd4d4
Turn non-player boat passenger sideways ( #3986 )
...
Some low hanging simple boat fixes.
Fixes #3259
Reviewed-on: MineClone2/MineClone2#3986
Reviewed-by: the-real-herowl <the-real-herowl@noreply.git.minetest.land>
Co-authored-by: Eliy21 <eliy21@noreply.git.minetest.land>
Co-committed-by: Eliy21 <eliy21@noreply.git.minetest.land>
2023-11-02 19:24:52 +00:00
codiac
4fcd1ae541
Fix slime spawn crash ( #3977 )
...
Declare global variables before using them!
Fixes #3975
Reviewed-on: MineClone2/MineClone2#3977
Reviewed-by: the-real-herowl <the-real-herowl@noreply.git.minetest.land>
Co-authored-by: codiac <codiac@inbox.lv>
Co-committed-by: codiac <codiac@inbox.lv>
2023-10-23 05:32:18 +00:00