Commit Graph

10301 Commits

Author SHA1 Message Date
JoseDouglas26 799462c4b4 mcl_credits pt_BR translation 2023-12-22 23:45:07 +01:00
JoseDouglas26 334ac81f58 mcl_fences pt_BR translation 2023-12-22 23:45:07 +01:00
JoseDouglas26 840381f73f mcl_fletching_table pt_BR translation 2023-12-22 23:45:07 +01:00
JoseDouglas26 21a10751d1 mcl_lanterns pt_BR translation 2023-12-22 23:45:07 +01:00
JoseDouglas26 09a063256b mcl_wip pt_BR translation 2023-12-22 23:45:07 +01:00
JoseDouglas26 9701526d16 mcl_skins pt_BR translation 2023-12-22 23:45:07 +01:00
JoseDouglas26 e2746adea8 mcl_furnaces pt_BR translation 2023-12-22 23:45:07 +01:00
JoseDouglas26 a93ce7af1f mcl_inventory pt_BR translation 2023-12-22 23:45:07 +01:00
JoseDouglas26 3684cb8d2a mcl_cherry_blossom pt_BR translation 2023-12-22 23:45:07 +01:00
JoseDouglas26 0626c3329b mcl_sculk pt_BR translation 2023-12-22 23:45:07 +01:00
JoseDouglas26 5489bf20ea mcl_beehives pt_BR translation 2023-12-22 23:45:07 +01:00
JoseDouglas26 232740b5e6 mcl_totems pt_BR translation 2023-12-22 23:45:07 +01:00
JoseDouglas26 6f7ac46f05 mcl_jukebox pt_BR translation 2023-12-22 23:45:07 +01:00
JoseDouglas26 1524f63a6d mcl_hbarmor pt_BR translation 2023-12-22 23:45:07 +01:00
JoseDouglas26 60377c56cd mcl_tt pt_BR translation 2023-12-22 23:45:07 +01:00
JoseDouglas26 b0b120dd28 mcl_walls pt_BR translation 2023-12-22 23:45:07 +01:00
JoseDouglas26 34c23bd578 mcl_tnt pt_BR translation 2023-12-22 23:45:07 +01:00
JoseDouglas26 9be815956c mcl_signs pt_BR translation 2023-12-22 23:45:07 +01:00
JoseDouglas26 2da67765a0 mcl_flowers pt_BR translation 2023-12-22 23:45:07 +01:00
JoseDouglas26 01641b5a8c mcl_flowerpots pt_BR translation 2023-12-22 23:45:07 +01:00
JoseDouglas26 9371ed5c48 mcl_spyglass pt_BR translation 2023-12-22 23:45:07 +01:00
JoseDouglas26 527577cbcc mcl_raw_ores pt_BR translation 2023-12-22 23:45:07 +01:00
JoseDouglas26 86d5e748bb mcl_craftguide pt_BR translation 2023-12-22 23:45:07 +01:00
JoseDouglas26 6cbd985974 mcl_honey pt_BR translation 2023-12-22 23:45:07 +01:00
JoseDouglas26 6f9b70a98d mcl_fireworks pt_BR translation 2023-12-22 23:45:07 +01:00
JoseDouglas26 76e941cbb6 doc_items pt_BR translation missing translation 2023-12-22 23:45:07 +01:00
JoseDouglas26 aef093ef4e doc_items pt_BR translation correction 2023-12-22 23:45:07 +01:00
JoseDouglas26 f824f109e2 mcl_structures pt_BR translation 2023-12-22 23:45:07 +01:00
JoseDouglas26 a3ccd4d032 lightning pt_BR translation 2023-12-22 23:45:07 +01:00
JoseDouglas26 419456b835 mcl_weather pt_BR translation 2023-12-22 23:45:07 +01:00
JoseDouglas26 72a144f0b2 mcl_void_damage pt_BR translation 2023-12-22 23:45:07 +01:00
JoseDouglas26 f379a06998 mcl_raids pt_BR translation 2023-12-22 23:45:07 +01:00
JoseDouglas26 947d20ae96 mcl_mobs pt_BR translation 2023-12-22 23:45:07 +01:00
JoseDouglas26 5c06c28b0f mobs_mc pt_BR translation 2023-12-22 23:45:07 +01:00
JoseDouglas26 df02770470 mcl_minecarts pt_BR translation 2023-12-22 23:45:07 +01:00
JoseDouglas26 51dc10c9ea mcl_paintings pt_BR translation 2023-12-22 23:45:07 +01:00
JoseDouglas26 2370d155c9 mcl_falling_nodes pt_BR translation 2023-12-22 23:45:07 +01:00
JoseDouglas26 ad3ec48ec9 mcl_boats pt_BR translation 2023-12-22 23:45:07 +01:00
JoseDouglas26 beb06315ac mcl_explosions pt_BR translation 2023-12-22 23:45:07 +01:00
the-real-herowl 569dd69188 Increase sunflower height 2023-12-22 23:36:49 +01:00
the-real-herowl 92ee9c0557 Remove the wrong separate sunflower definition 2023-12-22 23:06:08 +01:00
JoseDouglas26 f63e5d3c19 fix facing west 2023-12-22 23:03:11 +01:00
JoseDouglas26 4d5d595310 changes requested in sunflower definitions 2023-12-22 22:55:09 +01:00
JoseDouglas26 f9972aef01 new lower mesh and selection box 2023-12-22 22:53:55 +01:00
JoseDouglas26 85d21fa1e9 new sunflower mesh 2023-12-22 22:53:43 +01:00
JoseDouglas26 e6a64cfc69 Sound and mining sunflower bug fixes 2023-12-22 22:53:31 +01:00
JoseDouglas26 dd5a9178d9 sunflower mapgen bug fix 2023-12-22 22:53:10 +01:00
JoseDouglas26 113f07581b new sunflower mesh 2023-12-22 22:52:50 +01:00
Eliy21 10dcdb7d6b Remove unnecessary player vector magnitude calculation 2023-12-21 15:52:26 +00:00
José M ec8f3f5530 Start the beggining of the mcl_tt spanish translation 2023-12-21 00:18:40 -06:00
José M 74ab3ffeee Add missing placeholder(s) in doc_items.pt.tr translation: '@1' 2023-12-20 23:55:39 -06:00
José M 9d62c4ca5e Fix missing placeholder(s) in mesecons_commandblock.es.tr translation: '@1' '@2' 2023-12-20 23:46:30 -06:00
José M c9d221976b Escape equals signs in translation file mcl_doc_basics.it.tr 2023-12-20 23:40:33 -06:00
José M 0d1a6d91e9 Remove an unescaped equals sign in mcl_info.fr.tr translation 2023-12-20 23:24:03 -06:00
José M 0f82c623d5 Add missing placeholder(s) in mcl_farming.fr.tr translation: '@1' 2023-12-20 23:15:12 -06:00
José M 325c6ab4ca Escape equals signs in translation file mcl_deepslate.pt_BR.tr 2023-12-20 19:13:30 -06:00
José M dc4c559ad9 Escape equals sign in translation 2023-12-20 19:04:46 -06:00
José M 1f52b7051a Add missing placeholder(s) in translation: '@1' 2023-12-20 18:58:15 -06:00
José M 5e28ff2d06 Delete non-empty translation in mcl_enchanting template file 2023-12-20 18:34:16 -06:00
José M d5eda7352c Remove whitespace-only translation in mcl_blast_furnace template file 2023-12-20 18:29:13 -06:00
cora 4cfd4ef6ce Fix wrong argument when piston dig calls on_dignode callbacks 2023-12-20 16:54:36 +00:00
Eliy21 96fa6c251e Counteract self forward velocity when hit by players in pvp 2023-12-20 15:50:37 +00:00
Eliy21 e19de85990 Adjust the difference between sprinting & walking knockbacks for a more seemless transition 2023-12-19 17:19:09 +00:00
Eliy21 76bff2b540 Add minimum pvp knockbacks to other meele weapons 2023-12-19 16:49:48 +00:00
Eliy21 ff882707de Rework moving majority of the added velocity knockbacks into sprinting 2023-12-19 16:15:41 +00:00
Eliy21 d7ed37ef25 Remove redundant knockback limiter 2023-12-19 15:31:29 +00:00
Michieal ceada2fcec Merge pull request 'Fix translation files syntax errors' (#4061) from megustanlosfrijoles/frijolesclone2:warning-fix2 into master
Reviewed-on: https://git.minetest.land/MineClone2/MineClone2/pulls/4061
Reviewed-by: the-real-herowl <the-real-herowl@noreply.git.minetest.land>
Merged-by: michieal
2023-12-19 01:15:43 +00:00
the-real-herowl 99cc88ac42 Merge pull request 'Update spanish translations and fix syntax errors' (#4060) from megustanlosfrijoles/frijolesclone2:es-translations-syntax into master
Reviewed-on: https://git.minetest.land/MineClone2/MineClone2/pulls/4060
Reviewed-by: the-real-herowl <the-real-herowl@noreply.git.minetest.land>
2023-12-18 23:25:48 +00:00
the-real-herowl 8a5058e032 Unified and refactored FOV API code 2023-12-18 22:50:52 +00:00
the-real-herowl e312955a14 Made spyglass reset instant 2023-12-18 22:50:52 +00:00
the-real-herowl 5afd0aa255 Fixed the exclusive modifiers not being exclusive 2023-12-18 22:50:52 +00:00
Michieal 98b6ead591 Fixed a couple of errors
Removed a debug statement that was broken.
Changed `modififer` to `modifier` in a code block.
2023-12-18 22:50:52 +00:00
the-real-herowl 040ce8288e Script and documentation cleanup 2023-12-18 22:50:52 +00:00
the-real-herowl f9b192e68f Updated credits 2023-12-18 22:50:52 +00:00
the-real-herowl 08241f6ea3 Updated the api.md file 2023-12-18 22:50:52 +00:00
the-real-herowl 5bf6608483 Made bow unfocus faster 2023-12-18 22:50:52 +00:00
the-real-herowl 42ec62562d Moved sprinting into the new FOV api 2023-12-18 22:50:52 +00:00
the-real-herowl 7f5ce4e033 Fixed modifier application and removal 2023-12-18 22:50:52 +00:00
the-real-herowl 3a007e3bb1 Re-registered FOV mods using new API version 2023-12-18 22:50:52 +00:00
the-real-herowl a650f8b368 Made fovapi registration more robust 2023-12-18 22:50:52 +00:00
Michieal 580a1caa38 Reworked some of the Apply_Modifier code to help prevent errors. 2023-12-18 22:50:52 +00:00
Michieal 2f8389d3f5 Put in check to prevent Trying to Reference a Nil error in Apply_Modifier. 2023-12-18 22:50:52 +00:00
Michieal 4f3f59f4bc Put in checks to prevent repeatedly applying the same FOV modifier.
Added short circuit to remove_modifier if the modifier is not currently applied.
2023-12-18 22:50:52 +00:00
Michieal 36f661743e Set up the Bows to use the new FOV API. Bows now zoom in and clear out the zoom. 2023-12-18 22:50:52 +00:00
Michieal 0a17bbe731 Added reset for player respawning to remove FOV modifiers.
Fixed missing on_end call in remove_all_modifiers.
Added mcl_fovapi to Bows, Sprint, and Spyglass.
Set up the Spyglass to use the new FOV API.
2023-12-18 22:50:52 +00:00
Michieal 6cfb55e853 Added reset for player respawning to remove FOV modifiers.
Fixed missing on_end call in remove_all_modifiers.
Added mcl_fovapi to Bows, Sprint, and Spyglass.
2023-12-18 22:50:52 +00:00
Michieal bf41e116a1 Fleshed out the API Documentation.
Modified missing pieces of code.
2023-12-18 22:50:52 +00:00
Michieal fc80d4fb9f Initial API state. 2023-12-18 22:50:52 +00:00
Michieal 11c5d36c55 Initial Commit. 2023-12-18 22:50:52 +00:00
Eliy21 44c656502f Add a prevention in case players get stuck with the damage animation 2023-12-18 22:04:12 +00:00
Eliy21 fe90424ee4 Add pvp knockback reduction when moving towards player while attacking 2023-12-18 21:42:26 +00:00
Eliy21 14cec16c63 Increase enchanted bow knockback 2023-12-18 21:31:38 +00:00
bakawun cc470b9d88 mobs:hoglin: fix conversion of tabs to spaces 2023-12-18 11:08:09 +01:00
bakawun ee51a500b2 mobs:piglin: use (alt) zombified piglin sounds 2023-12-18 10:57:39 +01:00
bakawun 7f823f0155 mobs:hoglin:add licence information 2023-12-18 10:38:23 +01:00
bakawun f5ba0b7981 mobs:zoglin: use hoglin sound .2 2023-12-18 10:31:08 +01:00
bakawun e202f20869 mobs:hoglin: use sound .1 for random and
reuse hurt sound for death
2023-12-18 09:58:37 +01:00
bakawun 692b101212 mobs:hoglin: add missing sounds
these were made by epCode and lincenced under
LGPL-3.0.
downloaded from
49a838e733
2023-12-18 09:51:58 +01:00
the-real-herowl 07147e9d5b Make slime+magmacube collision boxes rotate properly 2023-12-18 02:56:43 +01:00
the-real-herowl d44b00a20e Merge pull request 'Shulker improvements and homing mob projectiles' (#4000) from Bakawun/MineClone2:Shulker_shot_speed into master
Reviewed-on: https://git.minetest.land/MineClone2/MineClone2/pulls/4000
Reviewed-by: the-real-herowl <the-real-herowl@noreply.git.minetest.land>
2023-12-18 00:54:04 +00:00
Eliy21 12109e7f44 Add player damage animation 2023-12-17 21:18:57 +00:00
Eliy21 200f7451eb Remove unnecessary invul code & add damage animation code 2023-12-17 21:15:55 +00:00
Eliy21 c39e55e2d4 Add minimum knockback to crossbow 2023-12-17 20:01:35 +00:00
Eliy21 6d7ae8ba2d Add minimum unenchanted knockback to bow 2023-12-17 19:59:18 +00:00
Eliy21 8612350fa7 Make vertical pvp knockback floatiness reduction include moving hits 2023-12-17 17:48:39 +00:00
Eliy21 0a8874ecad Make vertical pvp knockbacks less floaty 2023-12-17 16:39:04 +00:00
Eliy21 e8ee9c4463 Remove obsolete work-around code 2023-12-16 12:58:58 +00:00
Eliy21 32e91b45ae Add vertical pvp knockbacks from downward hits & reduce pvp kb on half block angled upward hits 2023-12-16 11:48:16 +00:00
Eliy21 8fbd72c142 Optimize code by calling get_enchantment function only once 2023-12-16 09:46:18 +00:00
Eliy21 cfab59d68a Rebalanced moving pvp knockbacks 2023-12-16 09:20:29 +00:00
Eliy21 33e8337bbb Finish remaining excessive vertical pvp knockback prevention adjustments when hit from below 2023-12-16 07:58:26 +00:00
Eliy21 f799596db9 Make vertical pvp knockbacks respect attack reach limit & complete excess vertical kb prevention 2023-12-15 22:56:02 +00:00
Eliy21 9b9747b3d8 Prevent excessive vertical knockbacks if hit by a player from below 2023-12-15 21:02:07 +00:00
Eliy21 c9692c6224 Fix player invulnerability not getting disabled permanently bug 2023-12-15 19:49:04 +00:00
Eliy21 cd83305f07 Make the vertical lift on pvp knockback similar to MC 2023-12-15 18:17:15 +00:00
Eliy21 d7b10d18d8 Fix not being able to give minimum knockback to players when both near and lower than them 2023-12-15 16:27:09 +00:00
Eliy21 8e2c5249f5 Fix comment on player invul code 2023-12-15 15:59:08 +00:00
Eliy21 ca556c052f Prevent pvp knockbacks when invulnerable 2023-12-15 15:52:26 +00:00
Eliy21 60367cdbe0 Revert unreliable bugfix
There are times when the continuous damage when punching players does not happen so will not fix at the moment as using other weapons does still work.
2023-12-15 15:42:49 +00:00
Eliy21 ae169b2814 Add fix to crash when moving bought villager trade item to empty sell slot bug by JoseDouglas26 (#4079)
Add fix to #4062 by JoseDouglas26 https://git.minetest.land/MineClone2/MineClone2/issues/4062#issuecomment-74045

Reviewed-on: https://git.minetest.land/MineClone2/MineClone2/pulls/4079
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-12-15 03:09:48 +00:00
bakawun cee5bbc206 mobs:fix typo in homing function 2023-12-14 16:50:23 +01:00
Eliy21 6b439fd1de Add maximum pvp knockback limit & approximate enchant knockback distance to be similar to MC 2023-12-14 11:57:55 +00:00
Eliy21 bf9e487fa9 Adjust minimum pvp knockback to be closer to MC 2023-12-14 09:27:28 +00:00
Eliy21 49af5d2013 Rebalance minimum pvp knockback to account for added knockbacks when moving 2023-12-14 08:51:34 +00:00
Eliy21 ed507d8509 Remove unnecessary space in the attack reach limit on mobs code 2023-12-14 08:15:55 +00:00
Eliy21 b2507c3640 Make fire aspect enchant respect attack reach limit 2023-12-14 08:12:13 +00:00
Eliy21 85b1f5247a Add vertical lift & minimum pvp knockback 2023-12-14 07:46:16 +00:00
Eliy21 2b71462c1e Prevent knockback if player is beyond attack reach limit 2023-12-13 20:36:54 +00:00
Eliy21 b0e33793ec Fix a potential bug that could bypass attack reach limit when a stronger attack breaches the invul 2023-12-13 20:04:15 +00:00
Eliy21 96aaf89036 Readjust pvp enchant knockback to make the running knockback difference more pronounced 2023-12-13 18:49:08 +00:00
Eliy21 a8c2d4534a Nerf long pvp enchanted knockbacks especially when running 2023-12-13 17:42:42 +00:00
Eliy21 a8806fe04e Add player invulnerability & fix not continuously damaging players when holding the attack key
Player invulnerability is the same as Minecraft's Damage Immunity https://minecraft.wiki/w/Damage#Immunity

The old code for some reason only allows a few damage by holding and does not continuously damage other players after a few hits
2023-12-13 17:34:42 +00:00
Wbjitscool ebd733be82 update's the campfire's fire burning animation to make it look better (#4077)
improve the look of the campfire's flame/burning animation

Reviewed-on: https://git.minetest.land/MineClone2/MineClone2/pulls/4077
Reviewed-by: the-real-herowl <the-real-herowl@noreply.git.minetest.land>
Co-authored-by: Wbjitscool <dwsda121@gmail.com>
Co-committed-by: Wbjitscool <dwsda121@gmail.com>
2023-12-13 05:22:41 +00:00
the-real-herowl a2c8d13f04 Nerfed vexes and evokers 2023-12-13 04:51:56 +01:00
the-real-herowl ed205190e4 Nerfed slime and magma cube attack range 2023-12-13 04:10:01 +01:00
Wbjitscool 07eb70e9be Update mods/ITEMS/mcl_stonecutter/init.lua 2023-12-13 02:39:25 +00:00
bakawun bc101314df mobs:shulker:use on_attack to set shoot interval
to between 1 and 6 seconds
2023-12-13 02:42:08 +01:00
the-real-herowl 69903aa4ec Fixed crashes 2023-12-13 02:42:08 +01:00
bakawun 686646b86d Shulker: align armor value with mc and set it to 0 when opened 2023-12-13 02:42:08 +01:00
bakawun 789c9a9a6d 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-13 02:42:08 +01:00
cora cf51c60527 Fix shulker bullets ignoring armor 2023-12-13 02:42:08 +01:00
cora 55fe71d73b 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-13 02:42:08 +01:00
cora 58bb26a7ef Make shulker bullets homing 2023-12-13 02:42:08 +01:00
cora f5079f1568 Add an option for mob arrows to be "homing" 2023-12-13 02:42:08 +01:00
Bakawun b4511fb8c7 Shulker, add missing false statement 2023-12-13 02:42:08 +01:00
Bakawun b02a3deec7 Shulker; fix attack open animation, improve peek 2023-12-13 02:42:08 +01:00
Bakawun 26cfdf0b7c Shulker: randomize shoot interval
Randomize shoot interval to between 1 and 5.5 seconds and set default shoot interval to 5.5
2023-12-13 02:42:08 +01:00
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
Zasco 351e31a889 Move deepslate ore registration within generation check 2023-12-12 23:16:51 +00:00