Commit graph

491 commits

Author SHA1 Message Date
Elias Åström
0c90dda04c Rename register_digtime_group to register_diggroup 2021-03-18 11:34:26 +01:00
Elias Åström
fb6f5eae7a Rewrite mcl_autogroup
These changes are primarly made to make mcl_autogroup more efficient.
Previously enchanted tools required storing around 21 kB of metadata due
to the way the previous version of the mod was implemented.  This caused
a lot of lag and a huge amount of network traffic.  With the changes
enchanted tools won't require more than 1 kB of metadata.

The mod is also rewritten to use an API to register digging groups and
compute the groupcaps for tools.  This will make it easier for modders
to register custom digging groups.

The mod is now split up into two parts.  One part called "mcl_autogroup"
to implement the API for registering custom digging groups, and the
other part called "_mcl_autogroup" which contains most of the code which
has to be loaded after most mods.
2021-03-18 11:32:18 +01:00
AFCMS
8f30e223e2 I hate reverting something xD 2021-03-16 17:39:06 +01:00
AFCMS
7b5d67cdbe add flowerpots API 2021-03-11 22:13:43 +01:00
pitchum
390f877230 Fix French translations 2021-02-27 10:35:46 +01:00
Elias Fleckenstein
360436cf19 Fix #1183 2021-02-25 10:24:26 +01:00
Elias Fleckenstein
30b1d58e67 Revert "Merge pull request 'Change Diamond and Emerald textures to more Minecraft-looking ones' (#1100) from TechDudie/MineClone2:master into master"
This reverts commit 2f206a0640, reversing
changes made to 0bde0aabf6.
2021-02-20 10:46:52 +01:00
Elias Fleckenstein
aeb7078c05 Update use_texture_alpha to the minetest 5.4 conventions 2021-02-18 14:00:17 +01:00
Elias Fleckenstein
82e113f0fc Update usages of alpha to the 5.4 convention 2021-02-18 10:58:50 +01:00
Elias Fleckenstein
bec5339fc6 Update existing occurences of use_texture_alpha to the Minetest 5.4 convention if the feature is detected 2021-02-18 10:39:19 +01:00
Elias Fleckenstein
9b349a1684 More flexible wield rotation determination 2021-02-18 09:28:12 +01:00
TechDudie
10d3c62690 Upload files to 'mods/ITEMS/mcl_core/textures' 2021-02-12 17:54:49 +00:00
TechDudie
a1e8685faf Delete 'mods/ITEMS/mcl_core/textures/mcl_core_emerald.png' 2021-02-12 17:53:21 +00:00
TechDudie
b2d53e9e39 Upload files to 'mods/ITEMS/mcl_core/textures' 2021-02-12 17:52:30 +00:00
TechDudie
1022449ace Delete 'mods/ITEMS/mcl_core/textures/default_diamond.png' 2021-02-12 17:51:23 +00:00
Elias Fleckenstein
18dd3ac9bd Add 'ice' group 2021-02-03 17:08:04 +01:00
kay27
b0f151147c Fix the trees, https://git.minetest.land/Wuzzy/MineClone2/issues/1031 2021-01-30 05:23:34 +04:00
kay27
948265fd6b Fix https://git.minetest.land/Wuzzy/MineClone2/issues/1028 - Make tree saplings grow in inactive areas (approx. time calc.) 2021-01-30 04:42:53 +04:00
Elias Fleckenstein
e9f9d96eb1 Fix #1012 2021-01-26 17:42:45 +01:00
Elias Fleckenstein
fdfcf9ca70 Fix #1001 2021-01-24 16:29:24 +01:00
Elias Fleckenstein
a92273b930 Gold apples give the player effects; Added Enchanted Golden Apples (Swiftnes & Leaping instead of Absorbtion and Resistance) 2021-01-22 19:08:01 +01:00
Elias Fleckenstein
96ca23419a Fix #944 2021-01-05 15:40:03 +01:00
Elias Fleckenstein
14551edcd2 Remove debugging message from last commit 2021-01-05 15:23:42 +01:00
Elias Fleckenstein
f253d49a8d Fix #901 2021-01-05 15:19:31 +01:00
Elias Fleckenstein
269ebc2718 Fix Silk Touch drop of Top Snow 2021-01-04 13:34:57 +01:00
Elias Fleckenstein
c36dc16527 Fix #948 2021-01-04 10:15:28 +01:00
Elias Fleckenstein
abdb76c2a0 Fix #942 2021-01-04 10:09:44 +01:00
Elias Fleckenstein
071ba77bb0 mcl_burning fully working 2021-01-01 19:25:47 +01:00
kay27
5da02bb8cc Merge https://git.minetest.land/EliasFleckenstein03/MineClone2 2020-12-13 03:00:04 +04:00
Wuzzy
9324c43d8d Reduce grass sound volume 2020-12-08 16:56:27 +01:00
Wuzzy
d60a0a0949 Fix ice melt not cause surrounding nodes to update 2020-12-03 12:36:58 +01:00
kay27
2b1d21a5b5 Merge branch 'kay27_mechanics' as a squash 2020-11-14 01:59:03 +04:00
Wuzzy
bd2d0f717a Sugarcane: No place inside liquid 2020-11-12 21:12:25 +01:00
Wuzzy
132db02011 Sugarcane less strict w/ water check on place 2020-11-11 21:00:37 +01:00
Elias Fleckenstein
86b2cd70f9 Fortune 2020-11-06 13:46:52 +01:00
Elias Fleckenstein
7c28bf8507 Silk Touch 2020-11-02 19:09:23 +01:00
kay27
1965696829 Merge kay27_textures branch: more recongizable obsidian texture; better NP texture; Nether particles 2020-10-24 21:49:11 +04:00
kay27
30d9e54803 Implement leftovers of https://git.minetest.land/Wuzzy/MineClone2/issues/841#issuecomment-11440 2020-10-24 02:46:45 +04:00
kay27
a127136c60 Add Enchanting from Crafter-minetest by Oil_boi 2020-10-19 16:38:21 +04:00
kay27
a78c613322 Fix slimeblock/piston behavior, https://github.com/kay27/MineClone2/issues/4 2020-10-07 23:28:21 +04:00
Wuzzy
c2afc82754 Disable some demanding particles by default
Fire smoke, lava droplets
2020-08-19 20:39:05 +02:00
Wuzzy
c0aeb2f15f Add lava particles 2020-08-19 20:17:04 +02:00
Wuzzy
de8183f07a Fix German translation mistake 2020-08-19 14:48:14 +02:00
Wuzzy
f91ae540c2 Add leafdecay and anvil damage particles 2020-08-19 13:22:40 +02:00
kay27
ba51686e6c Russian translation 2020-07-20 00:11:13 +00:00
Elias Åström
fe648a9287 Fix blast resistance value for polished andesite 2020-07-10 23:21:11 +02:00
Wuzzy
ec660d73c9 Teach endermen how to take mycelium 2020-07-10 18:03:46 +02:00
Brandon
f0e9727b85 Add all brewitems to creative inventory 2020-07-04 21:28:02 -04:00
Brandon
eee75f8988 Reduce alpha on post color effect for lava to allow some viewing range - similar to MC 2020-06-30 18:56:27 -04:00
kay27
528c19302f Russian translation: mcl_core, mcl_craftguide 2020-06-13 18:58:59 +02:00
Wuzzy
e14fe15d26 Add is_ground_content=false to all liquids 2020-06-07 21:32:55 +02:00
Wuzzy
a08152d8fb Localize some variables in mcl_core 2020-06-03 20:19:27 +02:00
Elias Åström
2e79f1f0ed Check if there is room for tree to grow
Previously tree saplings would grow regardless of the blocks above it.
This could be abused to destroy bedrock and other nodes.

To solve this, checks are added for nodes around the trees.  The volume
checked depends on the tree type.  The volume for each tree has been set
so reject trees where branches would grow into other nodes.  Some nodes
types like torches, plants and wood are ignored in the checks.

Saplings in a 2x2 formation will grow into normal trees if there is no
room for a huge tree.  Oak trees has separate checks for balloon oak
trees and normal oak trees, if there is no room for a balloon oak, it
becomes a normal oak tree.
2020-05-23 19:37:02 +02:00
Wuzzy
c156398fb5 Merge branch 'translate-fr' of https://git.minetest.land/lrocher/MineClone2 into translate_fr 2020-05-09 18:57:40 +02:00
Rocher Laurent
e058ee8487 Fix some template.txt 2020-05-05 21:02:48 +02:00
Rocher Laurent
c9a37d0dbc Translate In French 2020-05-05 21:02:21 +02:00
Rocher Laurent
4957bd1118 Translate In French 2020-05-03 22:39:07 +02:00
Wuzzy
3087621b11 Merge branch 'mcl_explosions' 2020-04-30 20:55:10 +02:00
Wuzzy
eea07f0ce7 Fix incomplete dry grass replacement LBM 2020-04-27 14:05:09 +02:00
Wuzzy
e268370452 Add fire metadata to many nodes (unused for now) 2020-04-18 23:24:42 +02:00
Elias Åström
063595ac3c Change blast resistance of nodes in mcl_core
The new blast resistance values are copied from the Minecraft wiki.

https://minecraft.gamepedia.com/Explosion
2020-04-17 20:47:12 +02:00
Wuzzy
d9cff3ef82 Make bark nodes usable as fuel 2020-04-08 13:15:22 +02:00
Wuzzy
c5e4ec5e27 Use ephemeral sounds 2020-04-07 00:55:45 +02:00
wuniversales
3772dd51cc Update Spanish translation 2020-03-15 08:32:00 +01:00
Wuzzy
28b2085492 Bump golden apple hunger points to 20 2020-03-12 02:35:02 +01:00
Wuzzy
6b529e1204 Colorize some item tooltips 2020-03-12 02:29:30 +01:00
Wuzzy
feba60cad8 Translate all extended tooltips to German 2020-03-12 01:35:11 +01:00
Wuzzy
070e928bf0 Merge branch 'tt' 2020-03-10 18:21:32 +01:00
Wuzzy
cbda2ef326 Add _tt_help to many more items 2020-03-08 03:30:40 +01:00
wuniversales
f93d3a897e Update Spanish translation 2020-02-23 16:26:21 +01:00
Wuzzy
ba74546d48 Add extended tooltips 2020-02-19 04:54:17 +01:00
wuniversales
15481cb24d Add Spanish translation 2020-02-04 21:43:50 +01:00
Wuzzy
834c8cbc3a Disable jump in cobweb 2020-01-30 16:36:28 +01:00
Wuzzy
bc7b86b61a Fix incorrect liquid backface culling 2020-01-19 22:56:37 +01:00
Wuzzy
f2b7392a30 Use "minetest" instead of "core" table 2020-01-06 13:02:30 +01:00
Wuzzy
87449b5719 Make ice texture opaque by default
Because of glitchy translucency in Minetest
2019-12-19 17:55:43 +01:00
Wuzzy
085e6f306a Use fallback grass color for unknown values 2019-12-17 02:01:34 +01:00
Wuzzy
a5b4a261dc Dry grass replacement: Use fallback param2 2019-12-16 23:59:49 +01:00
Wuzzy
92ef7c3b9a Simplify rotation of pillar-like nodes 2019-12-14 23:42:17 +01:00
Wuzzy
101c9b7322 Use minetest.LIGHT_MAX 2019-12-14 18:57:17 +01:00
Wuzzy
741b32e8d0 Tweak grass palette 2019-12-14 03:10:16 +01:00
Wuzzy
aaedf6517a Update grass block param2 when placing snow nodes 2019-12-14 01:52:01 +01:00
Wuzzy
5f2cc506f0 Fix broken legacy dry grass LBM 2019-12-14 01:41:49 +01:00
Wuzzy
c90f693c06 Smoother dirt texture from PP 2019-12-14 01:03:44 +01:00
Wuzzy
c149f5ca3c Update PP grass textures 2019-12-14 00:45:57 +01:00
Wuzzy
40453d597b Add LBM to kill old drygrass nodes 2019-12-14 00:03:43 +01:00
Wuzzy
3e3ed630e5 Add per-biome grass coloring 2019-12-13 23:48:13 +01:00
Wuzzy
6002cd0af5 Fix tallgrass, fern, bonemeal for new grass color 2019-12-13 15:32:57 +01:00
Wuzzy
9c55b6c9c9 Update grass color after placing grass block 2019-12-13 14:18:35 +01:00
Wuzzy
325801efd7 First step towards param2-based grass color 2019-12-13 14:03:12 +01:00
Wuzzy
2e09febaae Rename Moss Stone to Mossy Cobblestone 2019-12-11 04:24:32 +01:00
Wuzzy
f91619cae1 New PP cobblestone and brick block textures 2019-12-11 04:17:38 +01:00
Wuzzy
753acdf272 Update sand, sandstone, TNT, iron nugget textures 2019-12-11 03:37:53 +01:00
Wuzzy
a177d3cbba More saturated grass color 2019-12-11 02:02:16 +01:00
Wuzzy
bbcab7275e Make ladders rotatable 2019-12-09 17:51:35 +01:00
Wuzzy
748b5d4a4b Localize a variable 2019-09-19 00:35:28 +02:00
Wuzzy
6e9d712c5e Fix ice not melting properly by non-Sun light 2019-06-02 10:12:36 +02:00
Wuzzy
ab81dfb4b4 Stop fire spread if enable_fire=false 2019-04-09 15:25:27 +02:00
Wuzzy
967905264d Make many help texts translatable and fix bugs 2019-03-25 12:05:57 +01:00
Wuzzy
c5db9987c3 Fix various typos in German translation 2019-03-25 11:01:52 +01:00