Commit graph

5903 commits

Author SHA1 Message Date
Elias Fleckenstein
5bdb3bc274 Add MineClone5 section to credits 2021-04-06 12:14:43 +02:00
Elias Fleckenstein
ba15f01ca9 Add translations; Duplicate listing of people 2021-04-06 12:08:25 +02:00
Elias Fleckenstein
c93a865098 Remove empty line from mcl_portals 2021-04-06 11:59:22 +02:00
Elias Fleckenstein
d07e415b37 Add credits screen 2021-04-06 11:55:21 +02:00
Elias Fleckenstein
175cb44fb1 Merge branch 'master' into credits 2021-04-06 10:53:15 +02:00
kay27
748087ac3f [extra_mobs] Remove chat debug messages 2021-04-06 01:18:51 +04:00
kay27
807126c517 [extra_mobs] Update to latest https://git.minetest.land/epCode/extra_mobs 2021-04-06 01:17:34 +04:00
kay27
a324ac0308 Merge remote-tracking branch 'origin/master' into mineclone5 2021-04-06 01:16:02 +04:00
AFCMS
91da727184 Merge branch 'master' of ssh://git.minetest.land:29418/MineClone2/MineClone2 2021-04-05 15:22:57 +02:00
AFCMS
339e3e2792 fix some tools not using right var 2021-04-05 14:32:48 +02:00
kay27
25df2906f4 Merge remote-tracking branch 'origin/master' into mineclone5 2021-04-05 13:51:18 +04:00
kay27
beb2484224 Merge https://git.minetest.land/MineClone2/MineClone2/pulls/1366 2021-04-05 13:50:26 +04:00
j1233
f0a67cf749 add whirlpools 2021-04-05 09:19:05 +00:00
AFCMS
28402ca663 store tool wield scale in a global var 2021-04-05 10:16:56 +02:00
Elias Fleckenstein
e407ad2254 Fix #1447 2021-04-05 09:25:03 +02:00
Elias Fleckenstein
b1c4476a04 Merge pull request 'Add End main island generation' (#1459) from end_main_island into master
Reviewed-on: https://git.minetest.land/MineClone2/MineClone2/pulls/1459
2021-04-05 07:02:48 +00:00
kay27
f28d8632a4 Merge remote-tracking branch 'origin/master' into mineclone5 2021-04-05 05:00:57 +04:00
kay27
b1f27dba6a Merge pull request 'Make horse taming more similar to minecraft (#1249)' (#1460) from slaesvuo/MineClone2:master into master
Reviewed-on: https://git.minetest.land/MineClone2/MineClone2/pulls/1460
2021-04-05 01:00:17 +00:00
kay27
67e8dd2aa1 Merge remote-tracking branch 'origin/master' into mineclone5 2021-04-05 04:42:47 +04:00
ztianyang
1e1d31b57b Merge branch 'master' into master 2021-04-04 23:57:20 +00:00
epCode
a6f0ad13a0 Make blaze burning better 2021-04-04 16:46:44 -07:00
epCode
93684baa86 Make Blazes have more Mc-likeness ;) 2021-04-04 16:32:58 -07:00
Tianyang Zhang
8bb8a0e3b2 Fix large and small slimes and magma cubes not dropping xp and loot 2021-04-04 15:40:10 -07:00
Saku Laesvuori
c5e1734c1c Make horse taming more similar to minecraft (#1249)
In minecraft horses are tamed by trying to ride them and they can also
be fed to speed up taming. This commit implements both of those
features and disables the old and broken taming system for horses.
2021-04-04 23:24:28 +03:00
Elias Fleckenstein
90f312f772 Add credits overlay prototype 2021-04-04 19:13:46 +02:00
Elias Fleckenstein
1144006cdd Add End main island generation 2021-04-04 15:16:06 +02:00
kay27
3e0bbda3f7 Merge remote-tracking branch 'origin/master' into mineclone5 2021-04-04 14:20:01 +04:00
kay27
f54f4ebcf9 Merge pull request 'Fix passive mobs despawning' (#1458) from slaesvuo/MineClone2:master into master
Reviewed-on: https://git.minetest.land/MineClone2/MineClone2/pulls/1458
2021-04-04 10:18:36 +00:00
Elias Fleckenstein
598692cf8c Add nil check to prevent crashes with mcl_throwing 2021-04-04 12:10:21 +02:00
Elias Fleckenstein
ff538d51bd Merge branch 'master' of https://git.minetest.land/MineClone2/MineClone2 2021-04-04 12:01:59 +02:00
Elias Fleckenstein
49446bbb7b Make enderdragon spawn upon exit portal generation 2021-04-04 12:01:45 +02:00
kay27
48286d4ac1 Merge remote-tracking branch 'origin/master' into mineclone5 2021-04-04 10:37:39 +04:00
Saku Laesvuori
4a085c9526 Fix passive mobs despawning
According to the wiki most passive mobs do not despawn. The ones that do
have already been explicity marked as despawning.

<https://minecraft.fandom.com/wiki/Spawn#Despawning>
<https://minecraft.fandom.com/wiki/Mob#Despawning>
2021-04-04 09:15:25 +03:00
epCode
ac87e0604e make ghast firing more MC-like 2021-04-03 18:39:20 -07:00
jordan4ibanez
f8229def5e Merge pull request 'Fix locationless playing when picking up items' (#1457) from jordan4ibanez/MineClone2-PopSounds:master into master
Reviewed-on: https://git.minetest.land/MineClone2/MineClone2/pulls/1457
2021-04-04 01:10:19 +00:00
jordan4ibanez
90fd65ac66 Fix locationless playing 2021-04-03 21:09:43 -04:00
epCode
40b07e466b make ghast fireballs deflectible 2021-04-03 18:07:51 -07:00
jordan4ibanez
1b511936f5 Fix local name memory leak 2021-04-03 21:05:31 -04:00
jordan4ibanez
a807ee6372 Adjust the volume even more to perfectly match the gameplay 2021-04-03 20:55:46 -04:00
jordan4ibanez
0641f09915 Adjust volume of item collection sound 2021-04-03 20:53:34 -04:00
jordan4ibanez
c572db92aa Add sound buffer and different item collection sound 2021-04-03 20:39:08 -04:00
kay27
70f1434da6 Merge remote-tracking branch 'origin/master' into mineclone5 2021-04-03 14:05:47 +04:00
jordan4ibanez
844db8aa7b Revert to previous style of interpolated move_to with tweaks 2021-04-02 22:02:19 -04:00
jordan4ibanez
0840ad98a2 Adjust the item collection magnet even more 2021-04-02 21:57:38 -04:00
jordan4ibanez
1cbd3a998d Use manual move_to to account for move_to interpolation issues 2021-04-02 21:50:47 -04:00
jordan4ibanez
61e812e40a Add in manual interpolation into the item magnet 2021-04-02 21:40:04 -04:00
jordan4ibanez
18d7be4a4f More fixes to item collection on laggy servers 2021-04-03 00:42:20 -04:00
kay27
4027c9fa29 Merge remote-tracking branch 'origin/master' into mineclone5 2021-04-03 01:25:40 +04:00
AFCMS
b68c4b07c1 tweak hudbars 2021-04-02 17:20:19 +02:00
AFCMS
ca01b3641b make endermen not teleport everytime when hitted 2021-04-02 15:04:21 +02:00
AFCMS
0db47dbf02 Merge branch 'remove-alpha-field' 2021-04-02 14:43:08 +02:00
AFCMS
59d687c579 fix API.md 2021-04-02 14:30:46 +02:00
AFCMS
c457c4ce3c fix undeacleared vars in mcl_fishing 2021-04-02 14:28:43 +02:00
AFCMS
ead33e3520 fix undeacleared vars in mcl_throwing 2021-04-02 14:27:35 +02:00
AFCMS
e20e0fab71 remobe backward compatibility for portals 2021-04-02 14:16:14 +02:00
AFCMS
695ad9120b remove backward compatibility for water 2021-04-02 14:12:44 +02:00
NO11
39aaf0f21f Fix #1391 2021-04-02 11:09:45 +00:00
AFCMS
cbc1052f6b Merge branch 'master' into doc-refactoring 2021-04-02 10:27:22 +02:00
jordan4ibanez
1e3676c391 Remove debug info from item magnet 2021-04-02 05:38:53 +00:00
jordan4ibanez
c4d030d111 Fix item drop on laggy servers 2021-04-02 09:13:21 +04:00
epCode
70bbcefbed make mob drops similar to MC 2021-04-02 09:13:21 +04:00
jordan4ibanez
2f272b3dff Fix item drop on laggy servers 2021-04-01 23:48:00 -04:00
epCode
0dbe66f3b4 make mob drops similar to MC 2021-04-01 14:12:07 -07:00
kay27
30973086e0 Merge remote-tracking branch 'origin/master' into mineclone5 2021-04-01 01:42:58 +04:00
AFCMS
15803fddc2 Merge branch 'master' into doc-refactoring 2021-03-31 20:33:37 +02:00
epCode
5356e97b77 fix copy/pasted arrow texture to pixel-perfection 2021-03-31 11:23:59 -07:00
AFCMS
626990adeb Merge branch 'master' into doc-refactoring 2021-03-31 16:15:34 +02:00
kay27
618a8dfa2b Merge remote-tracking branch 'origin/master' into mineclone5 2021-03-31 16:31:53 +04:00
iliekprogrammar
9885f36c62 Fix missing age metadata and timer initialization in on_place. 2021-03-31 19:27:57 +08:00
kay27
c6e0b229be Merge remote-tracking branch 'ilp/kelp' into mineclone5 2021-03-31 14:28:51 +04:00
iliekprogrammar
bfff643ff4 Allow age to override during initialization. 2021-03-31 17:38:38 +08:00
iliekprogrammar
ccea673dcc Fix updating age metadata. Remove kelp.lock_drop. 2021-03-31 17:31:28 +08:00
iliekprogrammar
08e280d9b4 Comment out debug stuff 2021-03-31 14:17:50 +08:00
iliekprogrammar
52c788f197 Merge branch 'master' into kelp 2021-03-31 13:59:27 +08:00
iliekprogrammar
089d6aa5c8 Add dug sounds to kelp when unsubmerged 2021-03-31 13:55:07 +08:00
iliekprogrammar
9518086b6b Kelp store age metadata by bulk on a queue, improve API, etc.
Highlights:
- Implement storing age metadata by bulk on a queue, with maximum interval and queue length.
- "Flexible" initial growth probability. Will provide helper APIs.
- Fix various bugs with unsubmerged kelp detection, submerged tip detection, age metadata.
- Various optimizations.
2021-03-31 13:41:52 +08:00
kay27
9c5af40589 Add mcl_bubble_column by j45, extra_mobs by epCode, mcl_mushroom & mcl_blackstone by Debiankaios, mcl_nether_gold by NO11 2021-03-30 23:23:31 +00:00
AFCMS
0740854b5d Merge branch 'master' into doc-refactoring 2021-03-30 22:28:48 +02:00
epCode
86b63c8bc4 Make player model easier to use 2021-03-30 13:26:46 -07:00
epCode
38e4e7293a fix female player anim XD 2021-03-30 10:29:46 -07:00
epCode
97424f7d0a Fix #1414 2021-03-30 10:24:39 -07:00
epCode
a14959ac70 add player death animation and particles 2021-03-30 09:53:55 -07:00
AFCMS
3b8916ef65 Merge branch 'master' of ssh://git.minetest.land:29418/MineClone2/MineClone2 2021-03-30 15:48:18 +02:00
AFCMS
a040355dce Revert "Revert "Revert "improve wieldview API (!)"""
This reverts commit d4e0d4d1c1.
2021-03-30 01:00:51 +02:00
AFCMS
d4e0d4d1c1 Revert "Revert "improve wieldview API (!)""
This reverts commit 613779a851.
2021-03-30 01:00:17 +02:00
AFCMS
c35dab1d08 try to fix crash 2021-03-30 00:59:52 +02:00
AFCMS
613779a851 Revert "improve wieldview API (!)"
This reverts commit 600e8bede2.
2021-03-30 00:59:00 +02:00
AFCMS
59c13b6df8 Revert "Revert "remove hard depend to mcl_wip in mcl_minecarts""
This reverts commit 857a0c5565.
2021-03-30 00:58:45 +02:00
AFCMS
857a0c5565 Revert "remove hard depend to mcl_wip in mcl_minecarts"
This reverts commit 369c8b9b8a.
2021-03-30 00:58:36 +02:00
AFCMS
41a8cd0e15 Revert "Revert "remove hard depend to mcl_wip in mcl_minecarts""
This reverts commit 7a5c2d617b.
2021-03-30 00:58:02 +02:00
AFCMS
7a5c2d617b Revert "remove hard depend to mcl_wip in mcl_minecarts"
This reverts commit 369c8b9b8a.
2021-03-30 00:57:46 +02:00
AFCMS
369c8b9b8a remove hard depend to mcl_wip in mcl_minecarts 2021-03-30 00:54:58 +02:00
AFCMS
7ec7012572 fix indentation 2021-03-30 00:50:58 +02:00
AFCMS
c70ea7c843 fix crash :-/
I am stupid
2021-03-30 00:49:54 +02:00
AFCMS
f60941003d fix the stupidiest typo ever :-/ 2021-03-30 00:49:05 +02:00
AFCMS
3a514ecdad remove duplicated code 2021-03-30 00:44:38 +02:00
AFCMS
600e8bede2 improve wieldview API (!)
to support transform registration without groups
this will make detaching screwdriver from mcl more easy
2021-03-30 00:35:29 +02:00
AFCMS
84819bf9f5 MAKE EVERY SINGLE MOD USE PROPER COLORS!!! 2021-03-30 00:01:29 +02:00
AFCMS
f8a627915e use proper colors in mcl_books 2021-03-29 22:57:05 +02:00
AFCMS
a2fcd28a3d use proper colors in mcl_skins 2021-03-29 22:23:00 +02:00
AFCMS
f51deb0737 use propers colors in mcl_jukebox 2021-03-29 22:21:14 +02:00
epCode
5a7d128861 Add wither functions from MC 2021-03-29 11:29:39 -07:00
ArTee3
1b9737b431 Prevent beds from appearing and disappearing if they cannot be placed, fix #1419 2021-03-29 18:19:46 +02:00
iliekprogrammar
ecdbc30b63 Overhaul kelp interactions.
Highlights:
- Added locking system to drops. Will be removed after testing.
- Expose more variables and functions. Will be finalized soon.
- Implement MC-like age and natural growth mechanics.
- Implement correct piston interactions with kelp and its surface.
- Implement correct falling node interactions for its surface.
- ABMs are now nonfunction. Will be fixed.
- Various optimizations and fixes.
2021-03-29 14:09:09 +08:00
kay27
d1a0299b92 [mcl_dungeons] Remove empty code section, add debug info 2021-03-29 03:34:41 +04:00
kay27
80d845adb6 [mcl_mapgen_core] Fix Nether generation chain reaction 2021-03-29 03:18:17 +04:00
kay27
2e3a5efaf9 [mcl_spawn] Ignore 'ignore' nodes when checking the point, fix https://git.minetest.land/MineClone2/MineClone2/issues/1230 2021-03-29 03:08:21 +04:00
kay27
b587b1f2a5 [mcl_spawn] Cleanup 2021-03-29 02:48:45 +04:00
kay27
1818fcf592 [mcl_mapgen_core] Remove water from End, fix https://git.minetest.land/MineClone2/MineClone2/issues/1394 2021-03-29 02:43:08 +04:00
kay27
bbd52043f1 [mcl_portals] Make '/spawnstruct nether_portal' chat command work in obsidian nodes (immediate destruction triggered) 2021-03-29 02:17:32 +04:00
kay27
05260d03d5 [mcl_portals] Fix crash on access empty index trying to find portal after its destruction 2021-03-29 01:33:01 +04:00
kay27
cb2aae5a55 [mcl_mapgen_core] Redesign, mostly to remove water from End and restore static lvm_buffer to speed it up 2021-03-28 22:57:11 +04:00
AFCMS
d07cf64d11 Merge pull request 'mcl_death_drop refactoring' (#1415) from mcl-death-drop-refactoring into master
Reviewed-on: https://git.minetest.land/MineClone2/MineClone2/pulls/1415
2021-03-28 18:13:57 +00:00
AFCMS
5a4355b859 Merge branch 'master' of https://git.minetest.land/MineClone2/MineClone2 2021-03-28 19:44:43 +02:00
kay27
628ca226a6 [mcl_portals] Additionally index source Nether portals from 0.71 and earlier before teleporting, to make possible returning through them 2021-03-28 20:36:35 +04:00
iliekprogrammar
24da94ec3b Disable ABMs in favor of nodetimers to check if kelp is unsubmerged. 2021-03-28 20:29:29 +08:00
iliekprogrammar
e76a0ba6e8 Added kelp API and additional refactorings.
WIP: register nodetimers for kelp
2021-03-28 14:51:21 +08:00
AFCMS
c7389dc0a4 add basic API to mcl_item_entity 2021-03-28 08:13:24 +02:00
AFCMS
890a569b13 add API documentation to mcl_worlds 2021-03-28 07:40:36 +02:00
kay27
54e7529754 [mcl_achievements] Add mcl:stoneAge, mcl:hotStuff, mcl:obsidian 2021-03-28 04:32:57 +04:00
AFCMS
cdb67d96a6 add API documentation to mcl_explosions 2021-03-28 01:00:18 +01:00
AFCMS
6f9c1856b8 add API documentation to mcl_colors (!) 2021-03-28 00:48:24 +01:00
AFCMS
e56d9d2ab8 add API documentation to controls 2021-03-28 00:44:36 +01:00
AFCMS
52939ff6a4 add API documentation to flowlib (part 5) 2021-03-28 00:32:52 +01:00
AFCMS
39ac3f208d add API documentation to flowlib (part 4) 2021-03-28 00:25:54 +01:00
AFCMS
2a5dcd1634 add API documentation to flowlib (part 3) 2021-03-28 00:23:57 +01:00
AFCMS
19db2a479f add API documentation to flowlib (part 2) 2021-03-28 00:18:19 +01:00
AFCMS
fb50b256ed add API documentation to flowlib (part 1) 2021-03-28 00:12:41 +01:00
AFCMS
ce123d4676 add API documentation to mcl_autogroup 2021-03-28 00:02:35 +01:00
AFCMS
57ce5143b9 Clarify API documentation 2021-03-27 23:39:22 +01:00
AFCMS
3ba7a40251 Add API documentation 2021-03-27 23:07:46 +01:00
AFCMS
6a6b5970b3 fix API 2021-03-27 20:23:51 +01:00
AFCMS
30e50a64ef basic API (WIP) 2021-03-27 20:12:48 +01:00
AFCMS
cb294a5cad Add documentation to mcl_wip (pretty useless...) 2021-03-27 15:27:34 +01:00
AFCMS
9bb5e748b9 Add documentation to mcl_crafting_table API 2021-03-27 15:20:01 +01:00
AFCMS
61c9d065fb Fix  #1400 2021-03-27 07:19:35 +01:00
AFCMS
e2fd0823b9 Fix #1398 2021-03-27 07:10:50 +01:00
AFCMS
e2adead700 use proper colors 2021-03-26 22:50:37 +01:00
AFCMS
e11941c107 Add API documentation for mcl_throwing 2021-03-26 22:43:18 +01:00
AFCMS
e3c99c5be2 add basic API to mcl_throwing
remove hard depends to mcl_fishing
2021-03-26 22:31:15 +01:00
AFCMS
202e30a782 Add API to mcl_tmp_message 2021-03-26 21:37:10 +01:00
AFCMS
8c002671c0 make helmet protect from falling anvils 2021-03-26 18:24:08 +01:00
AFCMS
9c8ec7d4ec Merge branch 'master' into anvil-entity-damage 2021-03-26 17:40:55 +01:00
Elias Fleckenstein
0372057fe3 Merge branch 'master' of https://git.minetest.land/MineClone2/MineClone2 2021-03-26 17:51:16 +01:00
Elias Fleckenstein
6f8d0d4de0 Fix #1375 2021-03-26 17:51:13 +01:00
AFCMS
041300cde4 remove unuseful code 2021-03-26 17:39:25 +01:00
AFCMS
88fc515cff make mobs take damage of falling anvils 2021-03-26 17:38:25 +01:00
AFCMS
01eba30058 Fix #1234 2021-03-26 14:32:08 +01:00
AFCMS
35b2bd72f8 Merge pull request 'Add a server setting to disable command blocks usage' (#1381) from command-block-setting into master
Reviewed-on: https://git.minetest.land/MineClone2/MineClone2/pulls/1381
2021-03-26 10:54:53 +00:00
AFCMS
41768e95a1 fix 2021-03-26 11:50:14 +01:00
AFCMS
c0308c7c08 fix weird death message (#1378) 2021-03-26 11:49:41 +01:00
AFCMS
50c35ff5e8 Merge branch 'master' into command-block-setting 2021-03-26 10:06:18 +00:00
AFCMS
53d7134437 remove unuseful spamming messages 2021-03-26 10:00:48 +01:00
AFCMS
78bad87a72 fix transation 2021-03-26 09:59:58 +01:00
AFCMS
0e5bbd6d3d fix msg to be mc like
https://www.digminecraft.com/game_commands/enable_command_blocks.php
2021-03-26 09:57:28 +01:00
kay27
25f6a9ee23 [mcl_core] Set obsidian.is_ground_content to false, see https://git.minetest.land/MineClone2/MineClone2/issues/1372 2021-03-26 09:29:05 +04:00
AFCMS
8258dae1b8 setting working 2021-03-25 22:13:37 +01:00
AFCMS
e4a6244fdd add basic setting 2021-03-25 22:07:38 +01:00
AFCMS
b9301f12ce Update mod.conf 2021-03-25 21:59:21 +01:00
AFCMS
86a18802dc use proper colors 2021-03-25 21:57:07 +01:00
Elias Fleckenstein
97991d138c Revert "Do a secre thing even more secret then the secret thing of secret"
This reverts commit 630e7e8acb.
2021-03-25 17:34:03 +01:00
Code-Sploit
630e7e8acb Do a secre thing even more secret then the secret thing of secret 2021-03-25 16:20:02 +00:00
Elias Fleckenstein
d555fce8bc Bruh. kay27 has 20 times more commits than you.
This reverts commit 322578df6a.
2021-03-25 17:29:15 +01:00
Code-Sploit
322578df6a Something even more secret! 2021-03-25 16:03:54 +00:00
epCode
dbc6dd8cb3 Add villager sounds 2021-03-25 08:52:32 -07:00
Elias Fleckenstein
46c6328432 Something secret :P 2021-03-25 09:24:38 +01:00
Elias Fleckenstein
43a60e0c57 Fix #1357 2021-03-24 09:00:31 +01:00
Elias Fleckenstein
a47eda44e9 Slimes can burn 2021-03-24 08:54:23 +01:00
Elias Fleckenstein
fe937665f9 Fix #1336 2021-03-24 08:27:31 +01:00
kay27
6addb7db18 Merge pull request 'Move item renaming to tt to fix enchanted named items' (#1364) from BlueBlancmanche/MineClone2:anvil-fix into master
Reviewed-on: https://git.minetest.land/MineClone2/MineClone2/pulls/1364
2021-03-24 05:09:54 +00:00
Elias Åström
0d7c2c4988 Fix #1358 for real 2021-03-23 12:02:00 +01:00
kay27
3e58e989a1 [mcl_portals] Support Nether portals from 0.71 and earlier 2021-03-23 03:19:17 +04:00
kay27
06280e3bba [mcl_portals] Generate target map chunks on portal creation 2021-03-23 03:17:23 +04:00
Blue Blancmange
44c4999b37 Move item renaming to tt. This allows additional information such as enchantments to be displayed on named items 2021-03-22 23:02:11 +00:00
ArTee3
910c9083e5 Fix player speed on soul sand, https://git.minetest.land/MineClone2/MineClone2/issues/1356 2021-03-22 21:55:57 +01:00
kay27
66a64439c6 [mcl_weather] Fix crash on saving uninitialized data, https://git.minetest.land/MineClone2/MineClone2/issues/1361 2021-03-22 17:31:24 +04:00
kay27
7fe3217cd0 [mcl_portals] Remove debug messages 2021-03-22 11:32:28 +04:00
epCode
01df02667b Make setting for swim on lava 2021-03-21 17:53:57 -07:00
kay27
03feb36558 Improve Nether Portals (#1315) (as a squash)
Remove Nether portal caches, https://git.minetest.land/MineClone2/MineClone2/issues/1210

Store all exits from Nether portals in quick-access table

Implement proper Nether portal search, using the table, https://git.minetest.land/MineClone2/MineClone2/issues/1055

Store Nether portal exits table in mod storage

Remove exits from table on Nether portal destruction

Align destination area to [map chunks 5x5x5](https://git.minetest.land/MineClone2/MineClone2/wiki/World-structure%3A-positions%2C-boundaries%2C-blocks%2C-chunks%2C-dimensions%2C-barriers-and-the-void) to avoid lots of ```emerge_area()``` calls

Support Nether roof, https://git.minetest.land/MineClone2/MineClone2/issues/1267

Implement better suitable place search, https://git.minetest.land/MineClone2/MineClone2/issues/1126

Implement object queue not to trigger the same search again

Avoid lava lakes, https://git.minetest.land/MineClone2/MineClone2/issues/1126

Add ```/spawnstruct nether_portal``` chat command
Co-Authored-By: kay27 <kay27@noreply.git.minetest.land>
Co-Committed-By: kay27 <kay27@noreply.git.minetest.land>
2021-03-21 23:14:33 +00:00
kay27
1f925b6c84 Merge pull request 'Give xp if items are moved between furnace slots, unlock smelting achievements if furnace is inactive' (#1360) from ArTee3/MineClone2:furnace-fixes into master
Reviewed-on: https://git.minetest.land/MineClone2/MineClone2/pulls/1360
2021-03-21 22:53:59 +00:00
Elias Fleckenstein
9a4d26c2ae Fix all invalid usages of math.random in mcl_bows 2021-03-21 19:52:27 +01:00
Elias Fleckenstein
2d1ac1c7fa Properly fix arrows crashing the server 2021-03-21 19:47:13 +01:00
Elias Fleckenstein
f0c2a0a1e9 Fix arrows crashing the server 2021-03-21 19:45:33 +01:00
ArTee3
1fa2bd3477 Give xp if items are moved between furnace slots, unlock smelting achievements if furnace is inactive 2021-03-21 17:01:28 +01:00
Elias Åström
7f56e5efa4 Add hoey digging group to hand 2021-03-21 12:43:47 +01:00
Elias Åström
c1e295de5f Make hoe dig some blocks faster
- Sponges
- Hay and kelp blocks
- Nether wart
- Leaves
2021-03-21 12:39:14 +01:00
Elias Åström
dac3c21628 Do not register "creative_breakable" as a diggroup 2021-03-21 12:26:34 +01:00
Elias Åström
b0c7941b3a Fix #1358 2021-03-21 12:18:24 +01:00
iliekprogrammar
ca635b69be Various fixes. 2021-03-21 14:06:54 +08:00
iliekprogrammar
ebf9f8c918 placing kelp now creates water sources, small refactoring. 2021-03-21 12:16:56 +08:00
Elias Åström
0996a83ba0 Assert that both parts of mcl_autogroup exist 2021-03-20 19:32:04 +01:00
Elias Åström
1621c23308 Rename "tool_multiplier" to "speed" for tools 2021-03-20 19:25:47 +01:00
iliekprogrammar
23f69dfd1e Core implementation of MC-like kelp drops.
Highlights:
* Kelp should no longer be able to survive without water
(by decreasing its height)
* When kelp is destroyed, each segment now drop a single kelp similar to MC.
* Significantly refactor how kelp grows and dig. Possible optimizations might be
included.
2021-03-21 02:22:25 +08:00
Elias Åström
1873080046 Remove unnecessary code in mcl_item_entity 2021-03-20 14:21:50 +01:00
Elias Åström
46541a4adc Merge branch 'master' of https://git.minetest.land/MineClone2/MineClone2 2021-03-20 11:02:42 +01:00
Elias Åström
10154d5778 Fix #1348 2021-03-20 11:02:16 +01:00
epCode
c877d6e922 Merge pull request 'Slightly lift your right arm when holding an item.' (#1345) from iliekprogrammar/MineClone2:hand into master
Reviewed-on: https://git.minetest.land/MineClone2/MineClone2/pulls/1345
2021-03-20 02:29:11 +00:00
iliekprogrammar
12745bd450 Remove debug information... again :/ 2021-03-20 10:13:48 +08:00
iliekprogrammar
03be45b983 Fix indentation from iliekprogrammar's previous PRs 2021-03-20 09:17:43 +08:00
iliekprogrammar
34dbddb40a Move holding code into mcl_playerplus 2021-03-20 08:42:48 +08:00
Nicu
a40e1c4737 Reduce the size of the pumpkin texture
2732 -> 303 bytes

* We need smaller file sizes for better game startup time, especially for multiplayer and mobile gaming.
2021-03-19 17:41:37 +00:00
Nicu
df8fdda2c5 Fix #1346
Fixes crash trying to place cocoa
2021-03-19 17:25:40 +00:00
iliekprogrammar
249b5cfd1e Remove debug information 2021-03-20 00:11:12 +08:00
iliekprogrammar
f5f85a2148 Slightly lift your right arm when holding an item. 2021-03-19 23:28:33 +08:00
Elias Fleckenstein
d168bfa791 Fix pumpking breaking armor display 2021-03-19 14:47:52 +01:00
Elias Fleckenstein
c20bd768ec Revert "Fix #1277". The commit caused each enchanted armor piece to overlay an additional violet layer over all previous armor layers. A better fix needs to be found.
This reverts commit b82da05590.
2021-03-19 14:36:48 +01:00
Elias Fleckenstein
67cedf1308 Fix villager visual_size (Closes #1338) 2021-03-19 14:32:02 +01:00
Elias Fleckenstein
9391628813 Fix wielded nodes being upside down 2021-03-19 12:41:03 +01:00
Elias Fleckenstein
327bb68927 Fix crystal on_place handler 2021-03-19 12:03:32 +01:00
Elias Fleckenstein
ecd27a4cdb Initialize burning HUD with proper texture 2021-03-19 11:41:29 +01:00
Elias Fleckenstein
55df2a57f4 Fix #1336 2021-03-19 11:40:46 +01:00
Elias Fleckenstein
4ff987ccc5 Remove burning sound for objects 2021-03-19 11:39:04 +01:00
Elias Fleckenstein
f3c37f49b9 Only extinguish flame arrow on removal 2021-03-19 11:37:12 +01:00
Elias Fleckenstein
f3580efced Separate Head / Body rotation (Implement #1189) 2021-03-19 11:32:17 +01:00
Elias Fleckenstein
4a53ba67ab Wielditem rotation tweak 2021-03-19 09:37:24 +01:00
epCode
d02fc0c83d Re-Enable Skeleton horse spawn egg 2021-03-18 23:12:21 +00:00
epCode
e474ce6397 Merge pull request 'Add copyright-safe skeleton horse texture' (#1337) from ZedekThePD/MineClone2:master into master
Reviewed-on: https://git.minetest.land/MineClone2/MineClone2/pulls/1337
2021-03-18 23:09:47 +00:00
ZeDique la Ruleta
b71566aad6 Updated horse texture 2021-03-18 19:08:27 -04:00
ZeDique la Ruleta
2571c6124b Added copyright-safe skeleton horse texture
- Added proper skeleton horse texture edited from the default Pixel Perfection horse, similar to MC but not the same
2021-03-18 18:51:19 -04:00
Nicu
e61f1e38f2 Rotation fix for all wielded items
These were probably needed in an older version of the game/engine, but most items don't need changes for correct wielding. The only tweak was needed for the screwdriver.
2021-03-18 19:31:51 +00:00
AFCMS
a482a18a67 Merge branch 'master' of https://git.minetest.land/MineClone2/MineClone2 2021-03-18 18:53:06 +01:00
Elias Åström
ed30fa0868 Move data from deprecated files to mod.conf
Move data from deprecated files (depends.txt and description.txt) into
fields in mod.conf for all mods.

This was done with a shell script :)
2021-03-18 17:37:12 +01:00
Elias Åström
8d473a42ca Merge branch 'master' of https://git.minetest.land/MineClone2/MineClone2 2021-03-18 14:04:02 +01:00
Elias Åström
0f2c487dca Remove _mcl_autogroup depends on mcl_autogroup
It looks like the dependency might cause problems with the mod loading
order and lead to situations were _mcl_autogroup is not loaded after all
the other mods.  Because _mcl_autogroup begins with an underscore it
should always be loaded after mcl_autogroup anyways.
2021-03-18 13:59:22 +01:00
Elias Åström
dc41c594aa Move depends.txt into mod.conf for mcl_comparators
Fixes a crash in mcl_comparators caused by attempting to index global
'mesecon' (a nil value).
2021-03-18 13:45:29 +01:00
Elias Åström
bfe51316ee Merge branch 'mcl_autogroups' 2021-03-18 13:43:58 +01:00
Elias Åström
13268965ee Update README.txt in _mcl_autogroup 2021-03-18 13:40:56 +01:00
Elias Åström
521f96b4ab Use mod.conf for mcl_autogroup and _mcl_autogroup 2021-03-18 13:36:25 +01:00
Elias Fleckenstein
df59cc12a8 Proper bucket rotations (Fix #1289) 2021-03-18 12:48:29 +01:00
Elias Fleckenstein
3df3e957e2 Make nodes usable when wielding an end crystal 2021-03-18 12:41:39 +01:00
Elias Fleckenstein
0e206e9974 Fix #1324 2021-03-18 12:38:54 +01:00
Elias Fleckenstein
6ac0d628ef Fix #1319 2021-03-18 12:34:12 +01:00
Elias Fleckenstein
413fbc9c60 Make boats burn (Fix #1318) 2021-03-18 12:31:25 +01:00
Elias Åström
c8b543991f Automatically assign nodes to creative_breakable
If they belong to any digging group.
2021-03-18 11:35:40 +01:00
Elias Åström
8f9650abe4 Update the groupcaps of all enchanted tools
Not just those enchanted with efficiency.
2021-03-18 11:35:40 +01:00
Elias Åström
4c46eb2b4b Make tools without toolcaps do damage as hand
If the tool_capabilities defaults to {} if unspecified the tool, then
users will not be able to attack with the tool at all.  This solves that
by including the damage_group and full_punch_interval from the hand into
the tool_capabilities when it is nil.
2021-03-18 11:35:40 +01:00
Elias Åström
fe770c19a5 Fix crash when tool_capabilities is nil 2021-03-18 11:35:40 +01:00
Elias Åström
0112825a9f Localize variables in _mcl_autogroup 2021-03-18 11:35:40 +01:00
Elias Åström
cff0130506 Rename _mcl_autogroup_groupcaps to _mcl_diggroups 2021-03-18 11:35:40 +01:00
Elias Åström
7b93f68ed8 Fix typo 2021-03-18 11:35:40 +01:00
Elias Åström
ece4c892f4 Force tools to include levels in their diggroups 2021-03-18 11:35:40 +01:00
Elias Åström
bec1f786a6 Improve documentation of mcl_autogroup 2021-03-18 11:35:40 +01:00
Elias Åström
6458565bf9 Move mcl_util.hash to a local function
It is probably unlikely it will be useful at other places in Mineclone2.
2021-03-18 11:35:40 +01:00
Elias Åström
2e9b3c2259 Move efficiency code to its own file 2021-03-18 11:35:40 +01:00
Elias Åström
5193730652 Truncate groupcaps_hash to 8 Base64 digits 2021-03-18 11:35:40 +01:00
Elias Åström
e77473e800 Make changes to the mcl_autogroup API
Group levels are now specified as a list of names when registering a
digging group.  Digging groups which do not have specified levels will
support tools having two levels, 0 and 1 where 0 means the tool can dig
but not harvest the node and 1 means it can also harvest the node.  If
more levels are required one has to specifiy them when registering the
digging group.
2021-03-18 11:35:40 +01:00
Elias Åström
922bdbc601 Use hashing for more efficient groupcaps updating
This adds the metadata field "groupcaps_hash" to tools enchanted with
efficiency.  This value contains a hash of the groupcaps field in
tool_capabilities.  This value gets compared to the expected hash value
to determine if the tools tool_capabilities should be updated according
to commit af31f8189e8e5c2b.

This commit makes efficiency more efficient.
2021-03-18 11:35:40 +01:00
Elias Åström
3241dbbec5 Update enchanted tools with outdated digging times
Because of the way digging times is implemented in Mineclone2, it is
possible for the digging times of efficiency enchanted tools to become
outdated.

This fixes that by automatically updating the tools tool_capabilities
after each time the tool is used.
2021-03-18 11:35:40 +01:00
Elias Åström
b47733507d Fix tools not taking wear when rightclicking
Added the API function mcl_autogroup.get_wear which is used to get the
tool wear for digging a node of a group.  This is used by mcl_tools to
compute the wear of shovels and shears when rightclicking to create
grass paths and carve pumpkins.
2021-03-18 11:35:29 +01:00
Elias Åström
f0528b11d7 Make mcl_enchanting use the new mcl_autogroups
The function mcl_autogroups.get_groupcaps is used by mods to get the
groupcaps for tools with efficiency enchantments.  This function is used
by mcl_enchanting when enchanting tools with efficiency.
2021-03-18 11:34:26 +01:00