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
Elias Åström
0c90dda04c
Rename register_digtime_group to register_diggroup
2021-03-18 11:34:26 +01:00
Elias Åström
f8461d5e90
Remove mcl_autogroups.get_groupcaps
...
Requiring tool definitions to call a function in _mcl_autogroup means
that they need to be loaded after _mcl_autogroup. This can cause
problems because _mcl_autogroup needs to be loaded after all tool and
node definitions are completed.
Because of this the API is changed so tool definitions instead put the
data used to generate groupcaps in the custom field
_mcl_autogroup_groupcaps. _mcl_autogroup will then go through all
registered tools and update the groupcaps for every tool where this
field is present. This means that no mod ever has to depend on
_mcl_autogroup.
2021-03-18 11:33:18 +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
Elias Åström
97bd3777e1
Merge branch 'master' of https://git.minetest.land/Wuzzy/MineClone2
2021-03-01 16:10:55 +01:00
Elias Åström
1b9857219d
Lower drop rate of TNT to 25 %
...
So it becomes consistent with Minecraft 1.12.
2021-03-01 16:08:52 +01:00
Elias Fleckenstein
f5b590901e
Merge branch 'master' of https://git.minetest.land/Wuzzy/MineClone2
2021-03-01 10:52:07 +01:00
Elias Fleckenstein
95b0a495bc
Fix #1152
2021-03-01 10:51:57 +01:00
Code-Sploit
578709c93e
Add Depth Strider enchantment
2021-02-27 15:35:59 +00:00
pitchum
d0e789daf2
More fixes in French translations
2021-02-27 13:43:57 +01:00
pitchum
390f877230
Fix French translations
2021-02-27 10:35:46 +01:00
kay27
3a2300382b
Translate mcl_enchanting to Russian
2021-02-27 01:48:22 +04:00
Elias Fleckenstein
524b3343bd
Fix #1200
2021-02-26 09:19:11 +01:00
kay27
0e37188ad1
Fix https://git.minetest.land/MineClone2/MineClone2/issues/1108
2021-02-26 02:48:22 +04:00
epCode
8f2a588059
Fix #1156
2021-02-25 12:27:14 -08:00
Elias Fleckenstein
360436cf19
Fix #1183
2021-02-25 10:24:26 +01:00
epCode
d1fd3cc827
Add 3D wieldveiw for non-item objects
2021-02-24 13:20:31 -08:00
Elias Fleckenstein
da606fa9d2
Add 3d wielded nodes (not functional until Right_Hand bone is added)
2021-02-24 12:58:30 +01:00
Elias Fleckenstein
62171b9cf9
Implement #1099
2021-02-24 10:55:13 +01:00
Elias Fleckenstein
6780031454
Fix #1181
2021-02-24 08:33:35 +01:00
epCode
5a6810aa6a
Add female player model (though unutilized)
2021-02-23 09:47:02 -08:00
Elias Fleckenstein
2d4b8a8232
Replace usages of get_node_group by get_item_group
2021-02-23 10:25:17 +01:00
Elias Fleckenstein
5de9d90569
Simplify mcl_burning API
2021-02-22 10:55:14 +01:00
Elias Fleckenstein
3d0f5a4de5
Fix #1161
2021-02-22 10:43:59 +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
epCode
d29c045ad8
Fix sneak_mine glitch
2021-02-19 09:19:18 -08:00
AFCMS
fa0ea94433
replace pairs() by ipairs() in mcl_bow
2021-02-18 15:35:52 +00:00
Elias Fleckenstein
c9e589b931
Add mcl_burning damage interval
2021-02-18 14:47:35 +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
Elias Fleckenstein
69959fe816
Fix #1142
2021-02-18 08:58:28 +01:00
epCode
18a8d011a2
Sprinting anim, MC-like Player anims, Swimming detection
2021-02-17 15:17:12 -08:00
epCode
0d8744d9a0
Fix player head node textures
2021-02-16 18:11:53 -08:00
Rocher Laurent
529f799cc2
Translate French - Small fixes
2021-02-16 22:30:26 +01:00
Elias Fleckenstein
b0c1aea881
Merge branch 'master' of https://git.minetest.land/Wuzzy/MineClone2
2021-02-15 16:44:18 +01:00
Elias Fleckenstein
e5caef3440
Fix Double chest model
2021-02-15 16:41:33 +01:00
kay27
3e584cdfb7
Merge pull request 'Update translate-fr' ( #1104 ) from lrocher/MineClone2:translate-fr into master
...
Reviewed-on: https://git.minetest.land/MineClone2/MineClone2/pulls/1104
2021-02-13 00:31:49 +00:00
Laurent Rocher
303d286603
Update French translation
2021-02-13 00:09:59 +01:00
kay27
cbc5299bff
Merge pull request 'Correct hoe repair material' ( #1097 ) from midgard/MineClone2:hoe_repair into master
...
Reviewed-on: https://git.minetest.land/MineClone2/MineClone2/pulls/1097
2021-02-12 21:34:53 +00: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
epCode
0bde0aabf6
Merge branch 'master' of https://git.minetest.land/MineClone2/MineClone2
2021-02-12 09:25:23 -08:00
epCode
a9fe8d58e5
Add bow aiming animations
2021-02-12 09:16:08 -08:00
Midgard
f27fbd866e
Correct hoe repair material
2021-02-12 17:13:58 +01:00
Elias Fleckenstein
b2e2120b9e
Fix shulkerbox model
2021-02-12 10:12:57 +01:00
MysticTempest
846b1d273d
Fix the enchanting table book entity spawning multiple times as reported in issue #1008 .
2021-02-11 19:25:54 -06:00