Commit graph

6163 commits

Author SHA1 Message Date
AFCMS
c1a717238b [mcl_portals] fix warnings 2021-05-22 23:07:56 +02:00
AFCMS
a71a0e9161 fix even more warnings (nether portals and potions) 2021-05-22 23:04:18 +02:00
AFCMS
1870a89af0 remove unused var 2021-05-22 20:01:59 +02:00
AFCMS
1b3763654e comment unused local function 2021-05-22 20:00:59 +02:00
AFCMS
84a800f22b fix many warnings 2021-05-22 19:58:09 +02:00
Elias Fleckenstein
fb60bd0253 Disable backface culling of fire entity 2021-05-21 20:45:53 +02:00
AFCMS
a9bf923df9 improve mcl_bucket API (on_take callback) 2021-05-19 11:14:18 +02:00
Elias Åström
067affcabb Merge branch 'master' of https://git.minetest.land/MineClone2/MineClone2 2021-05-18 19:33:05 +02:00
Elias Åström
4d13eddcd6 Adjust explosion entity damage hitbox
In mcl_explosions the hitbox used for calculating the damage of an
entity is its collisionbox multiplied by two.  This commit removes the
multiplication by two because that makes explosion damage behave weirdly
in some circumstances.  It was most likely implemented that way because
of a misinterpretation of the Minecraft wiki.
2021-05-18 19:31:08 +02:00
Elias Åström
f7052943ec Fix rays not being cast in a specific direction
A bug was introduced in 679e2b1b which caused explosions to not cast
rays for environment destruction in the (+X, +Y, +Z) direction.  This
commit fixes that.
2021-05-18 19:29:03 +02:00
Elias Fleckenstein
04436ea5f7 Fix that fucking mending armor crash 2021-05-18 16:34:20 +02:00
NO11
cb82e3c9c5 Make a cobweb protect from fall damage 2021-05-16 21:13:07 +00:00
AFCMS
4992a05c2b Merge branch 'master' of ssh://git.minetest.land:29418/MineClone2/MineClone2 2021-05-15 12:19:29 +02:00
kay27
9ae1119438 [mcl_mobs] Fix server crash for mobs in unloaded areas, https://git.minetest.land/MineClone2/MineClone2/issues/1703 2021-05-15 03:17:16 +04:00
NO11
9e095980c8 Simplify wooden planks crafting even more 2021-05-14 15:00:34 +00:00
NO11
be9fb5be47 Fix #1718 (Give potion particles the same color as in mc) part2 2021-05-14 10:07:58 +00:00
NO11
f4c302e582 Fix #1718 (Give potion particles the same color as in mc) part1 2021-05-14 10:07:42 +00:00
Code-Sploit
bcea5a35ef Try to fix unknown variable in mcl_chorus_flower 2021-05-14 08:22:10 +00:00
AFCMS
86d1e0ac12 fix duplicated assignement 2021-05-14 09:34:40 +02:00
AFCMS
866c097d56 fix typo 2021-05-14 09:19:44 +02:00
AFCMS
d5ec2ccbd8 fix doc 2021-05-13 23:09:47 +02:00
AFCMS
0ad03acf46 improve mcl_worlds API 2021-05-13 22:55:17 +02:00
AFCMS
3097df731d Merge branch 'master' of ssh://git.minetest.land:29418/MineClone2/MineClone2 2021-05-11 15:23:46 +02:00
jordan4ibanez
ad4e86deca Fix #1726 2021-05-10 20:17:43 -04:00
jordan4ibanez
052bb540ba Remove unused parent data for arrows 2021-05-10 20:06:38 -04:00
AFCMS
074e8c8389 remove unused optional depends to lucky_block
lucky_block is mtg mod and never used  at any place in the code
2021-05-11 00:43:17 +02:00
NO11
7e132866bf Update my credits in mcl_credits 2021-05-10 19:47:51 +00:00
NO11
9fa51dc6b9 Simplify wooden planks crafting 2021-05-10 10:06:34 +00:00
NO11
6ffb7f525a Add more crafting recipes for wooden planks (including stripped wood) 2021-05-10 09:40:16 +00:00
AFCMS
45201481c1 Merge branch 'master' into luacheck-script 2021-05-10 09:38:40 +02:00
kay27
f054eb1ce6 [mcl_biomes] Fix chorus random function, prevent chorus growth at return portal position 2021-05-10 02:47:56 +04:00
kay27
f3c540af5d [mcl_mapgen_core, mcl_biomes] Make chorus growth deterministic 2021-05-10 02:24:52 +04:00
NO11
a3d3055e8a Remove cactus destroys minecart from master 2021-05-09 22:10:08 +00:00
NO11
925e482362 Merge branch 'master' into master 2021-05-09 21:58:42 +00:00
kay27
96be84161f [mcl_mapgen_core] Don't crash if Ender Dragon doesn't spawn for some reason 2021-05-10 01:57:34 +04:00
NO11
7b78d500fd Better textures for stripped wood part3 2021-05-09 21:57:06 +00:00
NO11
358ea695e1 Better textures for stripped wood part2 2021-05-09 21:55:51 +00:00
NO11
f6b8133381 Better textures for stripped wood part1 2021-05-09 21:54:56 +00:00
NO11
96aec38947 Merge pull request 'master' (#3) from MineClone2/MineClone2:master into master
Reviewed-on: https://git.minetest.land/NO11/MineClone2/pulls/3
2021-05-09 21:52:37 +00:00
AFCMS
d221e5ab0a Merge branch 'master' into luacheck-script 2021-05-08 22:01:22 +02:00
kay27
31b56e77ee [mcl_mobspawners] Remove a typo (tab character) 2021-05-08 14:12:13 +04:00
kay27
4bb27a0d79 [mcl_mobspawners] Fix random crash, https://git.minetest.land/MineClone2/MineClone2/issues/1707 2021-05-08 14:09:16 +04:00
jordan4ibanez
37350e81c9 Stop crashing when mob object is already deleted 2021-05-05 12:52:07 -04:00
Elias Fleckenstein
4b327bcf99 Minor fix to prevent writing the damage reason approval field into MCL damage reason and calling passive damage handlers on dead players 2021-05-05 14:41:23 +02:00
Elias Fleckenstein
35a2a2b912 Workaround to prevent double death messages 2021-05-05 13:27:30 +02:00
Elias Fleckenstein
f53ff8418f mcl_damage: HP check guard in non-modifier on_hpchange callback and usage of raw tostring for deactivated objects for death messages 2021-05-05 13:24:23 +02:00
Elias Fleckenstein
1bd647507b Add proper end crystal death message 2021-05-05 13:20:06 +02:00
Elias Fleckenstein
f5b2a5f5c1 Merge branch 'master' of https://git.minetest.land/MineClone2/MineClone2 2021-05-05 09:25:20 +02:00
Elias Fleckenstein
be0cf5788d mcl_util.deal_damage: Only deal damage to players / mobs that are not already dead 2021-05-05 09:24:51 +02:00
Elias Fleckenstein
a9817fea4b Merge branch 'master' into real_maps 2021-05-05 08:21:01 +02:00
Elias Fleckenstein
70db02306f Merge branch 'master' of https://git.minetest.land/MineClone2/MineClone2 2021-05-05 08:19:59 +02:00
Elias Fleckenstein
f7280dc4f0 Remove mod screenshots since they only take up space and are partly outdated 2021-05-04 20:16:30 +02:00
Elias Fleckenstein
75d9450002 Make compasses point upwards when dropped as an item 2021-05-04 10:24:08 +02:00
Elias Fleckenstein
0d29688b13 Fix creeper explosion values 2021-05-04 09:54:18 +02:00
Elias Fleckenstein
78ce97aaf6 Fix creeper explosion values 2021-05-04 09:53:28 +02:00
Elias Fleckenstein
3b3d67a99c Make clocks work when dropped 2021-05-04 09:16:42 +02:00
Elias Fleckenstein
7513bc600a Merge branch 'master' into compass_and_clock 2021-05-04 09:04:50 +02:00
Elias Fleckenstein
f96258ca5c Fix mob heads not showing their texture when worn as head armor 2021-05-04 09:01:53 +02:00
Elias Fleckenstein
33c6e5cdad Fix wearing pumpkin heads as armor 2021-05-04 08:59:01 +02:00
Elias Fleckenstein
2c5eca3999 Make clocks work in itemframes 2021-05-04 08:49:21 +02:00
AFCMS
f0ec64528c Merge branch 'master' into luacheck-script 2021-05-03 23:24:55 +02:00
AFCMS
cbb014ed38 basic working script 2021-05-03 22:11:49 +02:00
Elias Fleckenstein
74e3c6555d Globalize mcl_clock API 2021-05-03 13:43:46 +02:00
Elias Fleckenstein
ecc2010fe5 Make compasses work in itemframes 2021-05-03 11:22:47 +02:00
Elias Fleckenstein
5bb1657bd8 Add moving marker for the player 2021-05-03 10:46:59 +02:00
Elias Fleckenstein
f063d14caf Add craft predict for map copying 2021-05-02 19:30:27 +02:00
Elias Fleckenstein
02da1abcf9 Merge branch 'master' into real_maps 2021-05-02 19:24:52 +02:00
Elias Fleckenstein
0d287001f7 Fix tt snippet to update wield filled maps as well 2021-05-02 19:18:30 +02:00
Benjamin Schötz
f528b31d48 Added french, spanish, russian translation for killerbunny-nametag 2021-05-02 18:02:51 +02:00
Benjamin Schötz
a77f99a1ec Sets killerbunny-label in a translateable way 2021-05-02 18:02:35 +02:00
Elias Fleckenstein
1eaf662833 Add updated tga_encoder 2021-05-02 17:47:46 +02:00
Elias Fleckenstein
63d4e57a8d Correct typo (ninetest -> minetest) 2021-05-02 17:19:11 +02:00
Elias Fleckenstein
ecea8f1662 Prevent placing of wielded maps 2021-05-02 17:14:57 +02:00
Elias Fleckenstein
ef08977112 Copy stack before accessing it in add_item 2021-05-02 17:11:33 +02:00
Elias Fleckenstein
1f87874870 Make it look like the player is holding the map in their hand 2021-05-02 17:03:39 +02:00
Elias Fleckenstein
9a3ae17564 Make maps show their image when in itemframes 2021-05-02 16:04:48 +02:00
Elias Fleckenstein
bd74dbe321 Revert "Use PNG instead of TGA"
This reverts commit ca9cd8cbe0.
The TGA was faster and produced smaller files.
2021-05-02 13:03:18 +02:00
Elias Fleckenstein
ca9cd8cbe0 Use PNG instead of TGA 2021-05-02 12:55:04 +02:00
Elias Fleckenstein
d9a670dcb8 Show empty map in creative inv, but don't show filled map there 2021-05-02 12:24:22 +02:00
Elias Fleckenstein
f22b3fd457 Implement copying maps 2021-05-02 12:23:29 +02:00
Elias Fleckenstein
1079ab74d4 Stack filled maps that have the same metadata 2021-05-02 11:42:16 +02:00
Elias Fleckenstein
2228b30658 Add API to create filled map 2021-05-01 17:36:51 +02:00
Elias Fleckenstein
1ed6aeca5e Remove map_background.png 2021-05-01 17:22:48 +02:00
Elias Fleckenstein
5d3e74c844 Remove useless tga_encoder files 2021-05-01 17:20:23 +02:00
Elias Fleckenstein
c6e80b5882 Add Real Maps 2021-05-01 16:52:16 +02:00
NO11
1c05461e67 Add #924 (cactus breaks minecart now) 2021-04-30 23:05:40 +00:00
Elias Fleckenstein
8cccbd7caa Fix harming potion crash 2021-04-30 16:38:53 +02:00
Elias Fleckenstein
ae1212be7f Add anon5's fix to prevent get_light crashes 2021-04-30 16:29:45 +02:00
kay27
7e3dd715af Fix https://git.minetest.land/MineClone2/MineClone2/issues/1681 by @cora 2021-04-30 16:51:34 +04:00
Elias Fleckenstein
ab4b6d214e Update doc_items translations 2021-04-29 12:49:07 +02:00
Elias Fleckenstein
f8b9f16799 Update mcl_chests translation template 2021-04-29 12:45:15 +02:00
Elias Fleckenstein
404097dcc0 Update german mcl_core translations 2021-04-29 12:43:44 +02:00
Elias Fleckenstein
db78c19880 Remove legacy mcl_potions translations 2021-04-29 12:42:08 +02:00
Elias Fleckenstein
7be749a122 Update mcl_awards translations 2021-04-29 12:40:18 +02:00
Elias Fleckenstein
fed1410b7f Add set_on_fire to do_env_damage 2021-04-29 12:28:34 +02:00
NO11
71ff38add8 Merge branch 'master' into master 2021-04-29 09:54:07 +00:00
Elias Fleckenstein
6550e3e8e2 Add per-element armor groups 2021-04-29 11:51:06 +02:00
Elias Fleckenstein
87e41cc9a9 Add support for armor texture and preview being functions 2021-04-29 11:46:27 +02:00
Elias Fleckenstein
ec08032b62 Add on_break callback 2021-04-29 11:40:09 +02:00
Elias Fleckenstein
199488cc74 Add nil check for crash prevention 2021-04-29 11:18:22 +02:00