Commit Graph

2065 Commits

Author SHA1 Message Date
ancientmarinerdev
5f0944062c Merge pull request 'Improve mob floating' (#3883) from Codiac/MineClone2:mob_float_fix into master
Reviewed-on: https://git.minetest.land/MineClone2/MineClone2/pulls/3883
Reviewed-by: ancientmarinerdev <ancientmariner_dev@proton.me>
2023-08-27 23:30:16 +00:00
Sebastian Riedel
d7ea628270 Revert reversion of 822071c66b 2023-08-14 11:27:36 +02:00
codiac
0d16acdd42 Use a vector and fix the merge fail >_< 2023-08-14 10:48:27 +10:00
codiac
034382c883 Fix float check :( 2023-08-13 12:14:52 +10:00
cora
898a183ccd Prevent floating mobs from drowning all the time
Less dieing for mobs in deep water.
2023-08-13 12:12:03 +10:00
codiac
6ae597c97f This changes mob floating so they stay inside the top water node instead of
standing on it. The head of the mod should still be above water.

Changes drowning so that mobs will not drown in one block of water. They will
drown in 2 or more blocks of water.

Does not appear to affect them getting out of deep water :( But they do seem to
die somewhat faster when they stay in deep water.
2023-08-12 14:01:26 +10:00
codiac
4f2cb955b8 Use minetest.get_item_group for more flexibility 2023-08-05 15:09:53 +10:00
codiac
a3bbb3694c Allow villager to claim filled cauldrons.
Fixes #3733
2023-08-05 15:09:53 +10:00
ancientmarinerdev
fe501e8021 Change bug fix so that loop carries on processing other items if first one is the issue. 2023-06-28 20:19:49 +00:00
ancientmarinerdev
b05fa5562c Fix crash in hopper minecarts through missing ent 2023-06-28 20:19:49 +00:00
Kristian
9c77cbc011 TOM Mobs 2023-06-27 21:09:03 +00:00
Kristian
cc21b74125 Three fully translated 2023-06-27 21:09:03 +00:00
José Muñoz
c61df75370 Add spanish translations 2023-06-27 20:39:27 +00:00
PrairieWind
67078ba3b1 Fix most of the feedback issues in cherry blossoms 2023-06-25 16:37:02 +00:00
PrairieWind
da71e7b521 Add cherry boat 2023-06-25 16:37:02 +00:00
ancientmarinerdev
dd5d1dad29 Nerf skeleton attack 2023-06-25 11:52:02 +00:00
ancientmarinerdev
7d51519f4d Fix wool farm crash 2023-06-21 20:47:54 +00:00
ancientmarinerdev
658f244ae4 Creeper should not walk to player if it does not have line of sight. Mob shouldn't look at player it does not have line of sight to. 2023-06-21 20:17:49 +00:00
Temak
f7f8a72d08 Update russian translation (#3519)
Update russian translation by Temak

Reviewed-on: https://git.minetest.land/MineClone2/MineClone2/pulls/3519
Reviewed-by: ancientmarinerdev <ancientmariner_dev@proton.me>
Co-authored-by: Temak <artemkotlubai@yandex.ru>
Co-committed-by: Temak <artemkotlubai@yandex.ru>
2023-06-19 21:54:51 +00:00
ancientmarinerdev
cc5a0971ac Object reference check before setting velocity 2023-06-05 15:03:45 +01:00
epCode
df8592df41 Revert add punch node 2023-06-04 21:53:39 -07:00
epCode
5e4fa30aae Punch node after change 2023-06-04 20:19:18 -07:00
epCode
e49eac6d85 Fix sheep not regrowing wool after eating 2023-06-04 16:24:37 -07:00
epCode
e53b6c124c Make sheep always drop 1 wool (MC continuity) 2023-06-04 22:41:35 +00:00
epCode
92887f5501 fix sheep replace rate 2023-06-04 22:41:35 +00:00
epCode
86cd5711ca Rearange on replace code to be more general purpous 2023-06-04 22:41:35 +00:00
epCode
908ba9fba6 Put on_replace call in correct place (wool regrow on grass to dirt) 2023-06-04 22:41:35 +00:00
epCode
91d94800d7 Adjust grass replace timer 2023-06-04 22:41:35 +00:00
epCode
74e55ca361 Fix eat replace timer for sheep 2023-06-04 22:41:35 +00:00
epCode
c049113f26 Fix sheep sliding, make eating timed, fix animation repeat 2023-06-04 22:41:35 +00:00
epCode
1f5247df06 Make mobs slide less, and fix ageold jump dilema 2023-06-04 22:41:35 +00:00
epCode
2e2f56122d Incorperate sheep eating animation. #3734 2023-06-04 22:41:35 +00:00
ancientmarinerdev
4287a261c8 Change order of numbers passed into random that crash on some Lua versions 2023-06-02 21:14:52 +01:00
ancientmarinerdev
c65f8c9e51 Improved early game spawn balance 2023-06-01 20:05:25 +00:00
ancientmarinerdev
812269264b Add in caps for underground water and axolotl 2023-06-01 20:05:25 +00:00
ancientmarinerdev
afb4540408 Clean up 2023-06-01 20:05:25 +00:00
ancientmarinerdev
4d3e8e25e5 Add water_ambient cap 2023-06-01 20:05:25 +00:00
ancientmarinerdev
ae32ce4a0a Split hostile and non-hostile mob caps 2023-06-01 20:05:25 +00:00
megustanlosfrijoles
06077d1633 Spanish translations (#3753)
<!--
Please follow our contributing guidelines first:
https://git.minetest.land/MineClone2/MineClone2/src/branch/master/CONTRIBUTING.md#how-you-can-help-as-a-programmer

By submitting this pull request, you agree to follow our Code of Conduct:
https://git.minetest.land/MineClone2/MineClone2/src/branch/master/CODE_OF_CONDUCT.md
-->

Tell us about your pull request! Reference related issues, if necessary

### Testing
Tell us how to test your changes!

Co-authored-by: José Muñoz <dr.cabra@disroot.org>
Reviewed-on: https://git.minetest.land/MineClone2/MineClone2/pulls/3753
Reviewed-by: ancientmarinerdev <ancientmariner_dev@proton.me>
Co-authored-by: megustanlosfrijoles <dr.cabra@disroot.org>
Co-committed-by: megustanlosfrijoles <dr.cabra@disroot.org>
2023-05-31 21:22:49 +00:00
PrairieWind
5ed92a2695 Make pigs mountable without carrot on a stick, but require the carrot on a stick to actually control the pig 2023-05-22 21:40:23 +00:00
ancientmarinerdev
10a3d06360 Fix global variable references and exit mob_step if missing pos 2023-05-22 21:05:12 +00:00
PrairieWind
873297d2cf Make Piglin Brutes drop golden axes
Instead of dropping crossbows
2023-05-17 20:55:09 +00:00
ancientmarinerdev
5a059379b2 Group damage logic. Remove physics falling logic out of suspend with duplicate falling call 2023-05-15 13:54:23 +00:00
ancientmarinerdev
952a90bfde Re-organise mob_step for better clarity 2023-05-15 13:54:23 +00:00
ancientmarinerdev
f326fa620f Optimise do states and env danger check 2023-05-15 13:54:23 +00:00
ancientmarinerdev
3d1fb8cf4a Clean up and optimise falling 2023-05-15 13:54:23 +00:00
ancientmarinerdev
519b237ba8 Jumping check only called once per mob_step and refactor duplicate water danger, cliff fall logic 2023-05-15 13:54:23 +00:00
ancientmarinerdev
72c3f87925 Reduce excessive mob overhead 2023-05-15 13:54:23 +00:00
ancientmarinerdev
818052dc6c Fix mob textures getting reset on shutdown/startup 2023-05-15 13:54:23 +00:00
ancientmarinerdev
53637bbc19 Group attack configured so that sword piglins and piglins will also respond to aggression on other piglins. 2023-05-14 15:56:26 +00:00