Commit Graph

1089 Commits

Author SHA1 Message Date
Bakawun
8d34ff2a9a Shulker: Make shulker peek periodically
Adjust walk and animation settings so the shulker peeks out randomly.
2023-12-13 02:42:08 +01:00
Bakawun
e6ddc03d3c 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-13 02:42:08 +01:00
Bakawun
5f3c901f11 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-11 09:58:41 +01:00
bakawun
2ba73f832c horse: drops: remove 2nd saddle, add armor 2023-12-04 20:17:39 +01:00
bakawun
25fa21ddbd Set all mob spawn chance weights according to mc now that weights are actually taken into account 2023-11-27 10:47:55 +01:00
3raven
86da47b922 French translation update (#4006)
Update french translation, add missing chain, fix typo

Reviewed-on: https://git.minetest.land/MineClone2/MineClone2/pulls/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
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
Freeman
83d6e2a5d2 polar bear fix typo (#3846)
horrizonatal -> horizontal

Reviewed-on: https://git.minetest.land/MineClone2/MineClone2/pulls/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
codiac
4fcd1ae541 Fix slime spawn crash (#3977)
Declare global variables before using them!

Fixes #3975

Reviewed-on: https://git.minetest.land/MineClone2/MineClone2/pulls/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
the-real-herowl
59f3b53a51 Merge pull request 'Use MC 1.18+ light levels to control mob spawning' (#3946) from spawn_lighting into master
Reviewed-on: https://git.minetest.land/MineClone2/MineClone2/pulls/3946
Reviewed-by: the-real-herowl <the-real-herowl@noreply.git.minetest.land>
2023-10-22 01:35:00 +00:00
the-real-herowl
c874e01cf9 Wither falling when no target found and small fixes 2023-10-11 00:54:31 +00:00
the-real-herowl
645072507f Wither melee attack and bug fixes 2023-10-11 00:54:31 +00:00
the-real-herowl
924a6c1c47 Settings-related fixes
-moved to the cleaner way of obtaining settings values
-disabled the anti-troll measures by default
-made the wither per-dimension limit dependent on the settings
-(anti-troll measures enabled required for wither counting and limit)
2023-10-11 00:54:31 +00:00
the-real-herowl
20b0f0748d Added some comments to the code 2023-10-11 00:54:31 +00:00
the-real-herowl
d7c76e33d8 Tiny adjustments
- wither initial explosion radius moved from a magic value into a local variable
- wither initial explosion radius reduced
- wither attack_exception improved to better handle unlikely edge cases
2023-10-11 00:54:31 +00:00
the-real-herowl
966712f4ff Optimisation and cleanup
-optimised and cleaned up wither rose withering effect code
-removed unused code
2023-10-11 00:54:31 +00:00
the-real-herowl
e4102e6124 Implemented wither defensive measures
Added block breaking when hit, or a safe_boom when hit and mobs_griefing
is disabled. Removed dubious anti-troll measures.
2023-10-11 00:54:31 +00:00
the-real-herowl
17c8f220e6 A few more wither fixes 2023-10-11 00:54:31 +00:00
the-real-herowl
df17688b7d Great batch of improvements 2023-10-11 00:54:31 +00:00
the-real-herowl
729d8ec9e0 Another batch of wither adjustments 2023-10-11 00:54:31 +00:00
the-real-herowl
c9dc12b081 Further wither adjustments 2023-10-11 00:54:31 +00:00
Nauta Turbidus
a1b6819756 Withering effect and effect immunities
Added withering effect and immunities to effects.

Signed-off-by: Nauta Turbidus <88062389+nauta-turbidus@users.noreply.github.com>
2023-10-11 00:54:31 +00:00
ThePython10110
d7fa24ebf8 Keep axolotls from attacking sheep 2023-10-10 23:50:46 +00:00
Nicu
6d3e55ce12 Reduced the creeper explosion timer reset radius from 6 to 3
This gives the player just enough time to get out of the creeper's range, to reset their explosion timer and avoid unnecessary destruction.
2023-09-29 18:35:21 +00:00
codiac
95db118361 Add rules for blaze, wither skeleton, silverfish 2023-09-22 09:09:35 +10:00
codiac
d2d7887e0f Handle bat and slime light checks 2023-09-21 14:53:32 +10:00
ancientmarinerdev
1749712318 Change creepers line of sight check to raycast and do it from eyes to targets feet and head 2023-09-03 22:02:34 +00:00
ancientmarinerdev
a648e53699 Merge pull request 'Import villager trade changes by Alessandra_Lozoya' (#3854) from Codiac/MineClone2:trades into master
Reviewed-on: https://git.minetest.land/MineClone2/MineClone2/pulls/3854
Reviewed-by: ancientmarinerdev <ancientmariner_dev@proton.me>
2023-09-02 15:44:13 +00:00
Codiac
98e7cd6e8e Merge branch 'master' into trades 2023-09-02 04:15:42 +00:00
Sab Pyrope
5b4a79a26d Update russian translation 2023-08-31 14:16:42 +08:00
ancientmarinerdev
3c266f5cfd Merge pull request 'Enable enchanting on sheers & allow enchanted shears to shear.' (#3884) from Codiac/MineClone2:shears_fix into master
Reviewed-on: https://git.minetest.land/MineClone2/MineClone2/pulls/3884
Reviewed-by: AFCMS <afcm.contact@gmail.com>
2023-08-27 23:42:53 +00:00
codiac
85c1c57e95 Fix formatting. Remove plain terracotta. 2023-08-19 11:36:04 +10:00
Sebastian Riedel
d7ea628270 Revert reversion of 822071c66b30d9a1da3ae810d038bebdb65e101c 2023-08-14 11:27:36 +02:00
codiac
246a95f973 Fix typo 2023-08-14 10:39:31 +10:00
codiac
8c64fdfa5d Enable enchanting on sheers & allow enchanted shears to shear. 2023-08-13 14:02:15 +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
codiac
2cf5183638 Import villager trade changes by Alessandra_Lozoya 2023-07-25 13:44:28 +10:00
Kristian
9c77cbc011 TOM Mobs 2023-06-27 21:09:03 +00:00
José Muñoz
c61df75370 Add spanish translations 2023-06-27 20:39:27 +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
cc5a0971ac Object reference check before setting velocity 2023-06-05 15:03:45 +01: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
c049113f26 Fix sheep sliding, make eating timed, fix animation repeat 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
812269264b Add in caps for underground water and axolotl 2023-06-01 20:05:25 +00:00
ancientmarinerdev
4d3e8e25e5 Add water_ambient cap 2023-06-01 20:05:25 +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
PrairieWind
873297d2cf Make Piglin Brutes drop golden axes
Instead of dropping crossbows
2023-05-17 20:55:09 +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
ancientmarinerdev
92a8f23d22 Fix creeper name 2023-05-14 15:56:26 +00:00
ancientmarinerdev
2d89440972 Fix Piglin naming and add localisation entries 2023-05-14 15:56:26 +00:00
ancientmarinerdev
92c0809dbe Remove zombie pigman file as no longer needed 2023-05-14 15:56:26 +00:00
ancientmarinerdev
530c8ec0da Remove zombie pigmen and ensure zombie piglin named correctly. Add Piglin description names. 2023-05-14 15:56:26 +00:00
PrairieWind
be32ffde6b Remove Flower Forest Beaches from Wolf biome spawn list 2023-05-12 22:50:33 +00:00
ancientmarinerdev
3aed71fb85 Piglins no longer aggro for enchanted gold armour 2023-05-12 22:21:56 +00:00
3raven
9518d47662 (french) translation enhancements (#3643)
- Add missing translation
- Fix broken translations
- Fix unacurate description
- Correct/improve/change for cohesion french translation

Translations templates have been updated,other translations must be updated.

<!--
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: 3raven <elise_declerck@laposte.net>
Reviewed-on: https://git.minetest.land/MineClone2/MineClone2/pulls/3643
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-05-11 22:39:49 +00:00
ancientmarinerdev
39872f8ef6 Fix hoglin reach and view_range 2023-05-11 16:33:55 +00:00
ancientmarinerdev
8a771ebfce Allow adjustment of attack frequency. Reduce attack frequency of Hoglins. Move on_step and do_states functionality off of the attack timer on to their own timer. 2023-05-11 16:33:55 +00:00
megustanlosfrijoles
d14c074d6c Add spanish translations (#3678)
I'm working on adding more translations. I made this pull request to let everyone now I'm working on this.

So far I've completed 1 file/mod

Co-authored-by: José Muñoz <dr.cabra@disroot.org>
Reviewed-on: https://git.minetest.land/MineClone2/MineClone2/pulls/3678
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-10 23:12:37 +00:00
ancientmarinerdev
ea4ea3f05e Standardise despawn logic and add asserts. Add persistent flag for mobs that have been interacted with. 2023-05-09 22:24:40 +00:00
ancientmarinerdev
8b45cb2672 Remove slimes from mushroom islands 2023-05-09 14:56:51 +01:00
ancientmarinerdev
3bdc77a1aa Hoglins should only spawn in crimson forest 2023-03-26 13:03:46 +00:00
ancientmarinerdev
7f3734b6cb Ensure hoglins and piglins aren't faster than player. 2023-03-26 13:03:46 +00:00
ancientmarinerdev
b7079e8b19 Fix slime and some nether mob speeds 2023-03-26 13:03:46 +00:00
ancientmarinerdev
049406162e Fix crash when skeleton tries to jock when there is no pos, maybe because pos is unloaded. 2023-03-25 01:55:52 +00:00
ancientmarinerdev
41882e9e1f Adjust speeds to make it less ridiculous 2023-03-23 00:38:18 +00:00
ancientmarinerdev
2440b73e67 Bundled lua with 5.7 crashes when you right click a farmer villager. math.random needs correct order 2023-03-22 03:55:27 +00:00
ancientmarinerdev
81a258d33b Clean up and reorder code 2023-03-19 02:44:35 +00:00
ancientmarinerdev
bd579314ba Remove logging and clean up 2023-03-19 02:44:35 +00:00
ancientmarinerdev
b8b47e55e1 Add in slime chunks 2023-03-19 02:44:35 +00:00
ancientmarinerdev
e15d0cd5a0 Merge pull request 'Make enderman hostile towards endermites and fix it's behavior on other dimensions' (#3501) from anarquimico/MineClone2:enderman_hostile_endermite into master
Reviewed-on: https://git.minetest.land/MineClone2/MineClone2/pulls/3501
Reviewed-by: ancientmarinerdev <ancientmariner_dev@proton.me>
2023-03-08 21:47:40 +00:00
anarquimico
8c4f2fdd7b TP to dark spots only on the overworld 2023-03-03 21:55:56 -03:00
ancientmarinerdev
48fa2608ed Merge pull request 'spawn-egg-crash-fix' (#3492) from GuyLiner/MineClone2:spawn-egg-crash-fix into master
Reviewed-on: https://git.minetest.land/MineClone2/MineClone2/pulls/3492
2023-03-04 00:34:45 +00:00
anarquimico
a3ab67cb55 Better fix for enderman behavior 2023-03-03 10:03:26 -03:00
anarquimico
7cbeae00cc Fix enderman behaviour for other dimesions 2023-03-02 10:22:08 -03:00
anarquimico
16a4448c5f Performance improvement 2 2023-03-02 09:57:33 -03:00
anarquimico
5093f31f28 Performance improvement 2023-03-02 09:20:00 -03:00
anarquimico
8825fb9860 Removes unnecessary commentary 2023-03-02 08:32:52 -03:00
anarquimico
d0022db2a5 Make enderman hostile towards endermites 2023-03-02 08:28:06 -03:00
epCode
dc9407701e fix crash skeleton jockey code 2023-02-28 17:46:21 +00:00
epCode
e48dabc8be Create the Jockey api and use it on Skel/Spid 2023-02-28 17:46:21 +00:00
GuyLiner
14039290a9 Added mobs that were missing from non_spawn_specific() 2023-02-26 11:06:38 -05:00
GuyLiner
f39cec2442 Added slime_big to non_spawn_specific instead of creating an exception for them in spawning.lua 2023-02-16 20:48:30 -05:00
GuyLiner
fbb2923a0b Added mcl_mobs:non_spawn_specific function for mobs that don't naturally spawn and for mobs that don't spawn in the overworld 2023-02-16 19:43:50 -05:00
Michieal
8bfa55fa7a Changed Salmon, Glow Squid, Cod, Cartography Table, Awards_Axolotl, Armor_Stand_Item. Glow-Ink_sac. 2023-02-14 01:43:16 +00:00
ancientmarinerdev
9445e10834 Pathfinding optimisations and villager has earlier bed time 2023-02-11 10:36:56 +00:00
ancientmarinerdev
4482068211 Nerf group spawning until group spawn is based on pack size, not per spawn attempt 2023-02-10 19:01:29 +00:00
ancientmarinerdev
7d46fa3362 Merge pull request 'texture-consolidation' (#3380) from texture-consolidation into master
Reviewed-on: https://git.minetest.land/MineClone2/MineClone2/pulls/3380
Reviewed-by: ancientmarinerdev <ancientmariner_dev@proton.me>
2023-02-04 03:23:13 +00:00
mrminer
01f814267e Update 'mods/ENTITIES/mobs_mc/villager.lua' 2023-01-31 21:14:23 +00:00
mrminer
8f4c69084d Make fletcher buy sticks 2023-01-31 21:12:01 +00:00
Michieal
6265148727 Move textures all into one centralized directory. 2023-01-30 22:55:53 -05:00
ancientmarinerdev
ce7d493890 Merge pull request 'Iron golem fixes' (#3309) from gldrk/MineClone2:master into master
Reviewed-on: https://git.minetest.land/MineClone2/MineClone2/pulls/3309
Reviewed-by: ancientmarinerdev <ancientmariner_dev@proton.me>
2023-01-22 00:45:53 +00:00