Commit graph

5963 commits

Author SHA1 Message Date
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
Elias Åström
503b3a8149 Fix some nodes not being diggable
Previously some nodes like "mcl_flowers:double_grass_top" would be
undiggable.  This was because they did not define _mcl_hardness and it
was not defaulted to 0 in all parts of _mcl_autogroup.
2021-03-18 11:34:26 +01:00
Elias Åström
5b5a254b1a Fix tool uses not being set in _mcl_autogroups 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
fa86d4e5eb Change comments for mcl_autogroup 2021-03-18 11:34:20 +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
AFCMS
558fa57cc6 Solve quartz not generating in the nether 2021-03-18 09:48:18 +01:00
epCode
61ef6ebc03 Remove skeleton horse from immediate game 2021-03-17 22:54:04 +00:00
epCode
e52d58d15a Remove skeleton horse texture for copyright reasons
see #1322
2021-03-17 22:50:22 +00:00
epCode
6b1ce182d3 Make players able to shoot themselves 2021-03-17 13:47:02 -07:00
AFCMS
5df668f6af fix mcl_buckets extra_check #1320 2021-03-17 16:56:46 +01:00
AFCMS
ae18ca7602 fix wrong value in walkover 2021-03-17 10:48:59 +01:00
Elias Åström
5c3bb22036 Merge branch 'master' of https://git.minetest.land/MineClone2/MineClone2 2021-03-17 09:12:23 +01:00
Elias Åström
7441f0269b Use get_node_light for sunlight in 5.3
Avoids servers running 5.3 crashing.
2021-03-17 09:12:02 +01:00
ZeDique la Ruleta
6c49c46697 Chests now open 90 degrees, regardless
- Removed 'block' check with chests, they will always open 90 degrees regardless of what's behind them
2021-03-16 23:10:34 -04:00
epCode
b82da05590 Fix #1277 2021-03-16 19:18:07 -07:00
epCode
86f2d639f9 Make arrows remove after a longer period 2021-03-16 16:01:47 -07:00
Elias Åström
0805431231 Fix #1293 2021-03-16 23:51:20 +01:00
epCode
33c589369f Make arrows stick into players. 2021-03-16 15:22:36 -07:00
AFCMS
6645c4cb30 Really 2021-03-16 17:43:32 +01:00
AFCMS
8f30e223e2 I hate reverting something xD 2021-03-16 17:39:06 +01:00
AFCMS
5d17a6b699 fix SO MANY pairs/ipairs 2021-03-16 17:35:46 +01:00
AFCMS
f35f80d79a fix walkover 2021-03-16 17:31:29 +01:00
Code-Sploit
834dfcf9af Change Max Empty bucket stack back to 16 but keep Lava and Water max_stack. Reason: Wrong research 2021-03-16 13:05:19 +00:00
Code-Sploit
f06a56d7c4 Set max_stack of Lava, Water and Emtpy buckets to 1 2021-03-16 12:54:33 +00:00
AFCMS
77167e901d Merge branch 'master' of https://git.minetest.land/MineClone2/MineClone2 2021-03-16 11:22:56 +01:00
AFCMS
2da8be9f78 optimise walkover part2 2021-03-16 11:22:13 +01:00
AFCMS
71bb18cd76 walkover optimisation part1 2021-03-16 11:07:17 +01:00
kay27
cad23bd851 Prevent accessing uninitialized mcl_weather from mcl_burning 2021-03-16 14:05:38 +04:00
AFCMS
c1da231f9d Merge branch 'master' of https://git.minetest.land/MineClone2/MineClone2 2021-03-15 09:37:54 +01:00
AFCMS
731d42196a fixes in mcl_cocoas 2021-03-15 09:02:45 +01:00
iliekprogrammar
c30e9e511d Fix inconsistent setting for cached smoke pdef 2021-03-15 10:09:56 +08:00
iliekprogrammar
8519730ee4 Further tweak fire particles.
Highlights:
- Reduce amount of smoke significantly
- Reduced smoke size
- Rarer chance of smoke rising up to 8 blocks
- Better smoke colors
2021-03-15 10:04:47 +08:00
AFCMS
bd9713ab50 fix double calling setting in hudbars globalstep 2021-03-15 01:33:28 +01:00
AFCMS
4b2c963222 performances improvement for mcl_explosions 2021-03-15 01:20:22 +01:00
iliekprogrammar
440dd5700d Merge branch 'master' into fire_particle 2021-03-15 00:17:15 +00:00
epCode
39c357672c Add cammera zoom effect while drawing bow 2021-03-14 17:13:23 -07:00
AFCMS
fe6b7cb89b improve mcl_fire
cache functions used in ABM/globalsteps
remove depends.txt
2021-03-15 01:10:33 +01:00
AFCMS
c8a7ca729e remove depends.txt in mcl_cake 2021-03-15 00:42:34 +01:00
AFCMS
5098932b98 remove depends.txt and description.txt in mclx_core 2021-03-15 00:40:08 +01:00
AFCMS
671de95357 improve performances of controls 2021-03-15 00:35:58 +01:00
AFCMS
2dcaf8fdcb improve performances of mcl_playerplus
really noticeable gain with caching  global functions
2021-03-15 00:32:19 +01:00
AFCMS
9eda34b0ff performance improvement in lightning
cache global functions used in globalstep
2021-03-15 00:12:59 +01:00
AFCMS
9d19c3db4b Update init.lua 2021-03-14 23:53:56 +01:00
AFCMS
bb9df764c4 performances improvement in mcl_void_damage
cache global functions
2021-03-14 23:52:04 +01:00
AFCMS
e069962c48 quick fix 2021-03-14 21:59:14 +01:00
iliekprogrammar
09f97584bc Merge branch 'master' into fire_particle 2021-03-14 19:30:04 +00:00
iliekprogrammar
b23495b9c1 Implement new fire particles 2021-03-15 02:57:13 +08:00
iliekprogrammar
1b00346790 Add breaking sounds. 2021-03-14 20:47:31 +08:00
iliekprogrammar
7ce6485717 Allow portals to break only in creative and to be pointed. 2021-03-14 20:10:12 +08:00
kay27
53bfda827a Merge pull request 'Allow water & lava buckets dispensed break nether portals.' (#1302) from iliekprogrammar/MineClone2:portal into master
Reviewed-on: https://git.minetest.land/MineClone2/MineClone2/pulls/1302
2021-03-14 08:31:54 +00:00
Code-Sploit
08f522ffff Fix arrows being pointable 2021-03-14 06:24:34 +00:00
iliekprogrammar
7a5aa54035 Allow water & lava buckets dispensed break nether portals. 2021-03-14 12:10:54 +08:00
epCode
dd7facfc03 Remove Zombie horse from immediate game 2021-03-13 23:19:28 +00:00
epCode
1bdf141198 Delete Zombie horse for copyright reasons 2021-03-13 23:17:50 +00:00
epCode
975efb2288 Fix #1136 2021-03-13 10:35:36 -08:00
Elias Åström
69e38debe5 Revert "Slightly tweak minecarts to be more MC-like"
This reverts commit 8af76f835d.
2021-03-13 12:30:33 +01:00
AFCMS
68df2c447a Merge branch 'master' of https://git.minetest.land/MineClone2/MineClone2 2021-03-13 11:13:36 +01:00
AFCMS
3ef10cfb30 add API for mcl_crafting_table and cache functions for better performances 2021-03-13 11:12:26 +01:00
epCode
8115575f20 Fix problem with power enchantment 2021-03-12 16:07:57 -08:00
epCode
46be7c0388 Fix arrow mesh being backwards 2021-03-12 15:56:40 -08:00
epCode
90a0858495 Make new arrow mesh work with tipped arrows 2021-03-12 15:36:43 -08:00
epCode
1d65daa2c9 Fix arrow mesh 2021-03-12 15:17:14 -08:00
epCode
9419db6d35 Fix wrong experation time 2021-03-12 15:02:53 -08:00
epCode
40471399cb Fixes for arrows 2021-03-12 14:45:22 -08:00
AFCMS
a84b70bde6 move buckets registering to separate file 2021-03-12 20:05:47 +01:00
AFCMS
36cc040c41 Merge branch 'master' of https://git.minetest.land/MineClone2/MineClone2 2021-03-12 19:56:22 +01:00
AFCMS
752f74e554 remix mcl_buckets API to be more self documented 2021-03-12 19:56:15 +01:00
Elias Fleckenstein
75c2787583 Merge branch 'master' of https://git.minetest.land/Wuzzy/MineClone2 2021-03-12 15:50:32 +01:00
Elias Fleckenstein
88372778c9 Fix another anvil weirdness and dupe glitch 2021-03-12 15:50:05 +01:00
AFCMS
6c3d4524a0 Add backward compatibility for mcl_jukeboxes 2021-03-12 15:36:24 +01:00
Elias Fleckenstein
0a5b1e75d0 Fix anvil duplication glitch 2021-03-12 15:30:27 +01:00
AFCMS
ad87169120 fix warnings 2021-03-12 10:03:57 +01:00
AFCMS
81167b4431 Merge branch 'master' of https://git.minetest.land/MineClone2/MineClone2 2021-03-12 10:02:03 +01:00
epCode
cb10a5508b Make mob damage more red (MC-like) 2021-03-11 19:40:36 -08:00
epCode
eeb1f88e08 Fix invisibility to be more MC-like 2021-03-11 19:14:23 -08:00
epCode
360070bb6a Fix player eye height above head 2021-03-11 15:56:09 -08:00
AFCMS
06e8e972cc add help text to mcl_farming 2021-03-12 00:48:53 +01:00
AFCMS
8c87014a01 fix fern texture 2021-03-12 00:47:34 +01:00
AFCMS
fb8b0e877e Add API documentation for mcl_jukeboxe 2021-03-12 00:24:34 +01:00
AFCMS
bed3dd87ad Add API for mcl_jukebox 2021-03-12 00:10:50 +01:00
AFCMS
1a60d08a37 mcl_farming make plantlist copy global and mcl_jukebox cleanup
Sorry, I forgot to commit between the 2 features :-(
2021-03-11 23:39:26 +01:00
epCode
19337489f6 Fix crash with mcl_flowers 2021-03-11 14:31:36 -08:00
AFCMS
6fd6717302 cleanup 2021-03-11 23:09:53 +01:00
AFCMS
787d997e51 fix warnings in mcl_explosion 2021-03-11 23:08:51 +01:00
AFCMS
3b7b055e2c add saplings to mcl_flowerpots 2021-03-11 22:42:42 +01:00
AFCMS
d37d6fe07f fix textures 2021-03-11 22:18:39 +01:00
AFCMS
7b5d67cdbe add flowerpots API 2021-03-11 22:13:43 +01:00
AFCMS
134005180c add global table of registered flowers (to be used with mcl_flowerpots and other mods) 2021-03-11 17:49:16 +00:00
AFCMS
20e0aed58a fix typos 2021-03-11 17:43:55 +00:00
AFCMS
21ddae3dc1 Add API documentation for mcl_flowers 2021-03-11 17:43:09 +00:00
AFCMS
5124a97add move flowers registering to separate file 2021-03-11 17:36:02 +00:00
AFCMS
31eff23ce8 move flowers registering to separate file (WIP) 2021-03-11 17:34:15 +00:00
AFCMS
9a910e033b Add basic API to register flowers (#53) 2021-03-11 17:31:29 +00:00
epCode
d12009538e Better mob_mount animations (riding) 2021-03-10 12:27:42 -08:00
AFCMS
d3a2faefe2 Partialy fix #1232 2021-03-08 09:56:43 +00:00
kay27
6e6809f360 Make books in chest loot deterministic, ref. https://git.minetest.land/MineClone2/MineClone2/issues/1254 and https://git.minetest.land/MineClone2/MineClone2/issues/1060 2021-03-08 04:14:03 +04:00
kay27
15fa1e5b7a Fix https://git.minetest.land/MineClone2/MineClone2/issues/1060 - attempt number 3 2021-03-08 03:05:43 +04:00
AFCMS
bddc4a3ac7 make village tool experimental 2021-03-07 17:07:55 +01:00
AFCMS
a6bceb08ee Merge branch 'master' of https://git.minetest.land/MineClone2/MineClone2 into mcl-wip-refactoring 2021-03-07 17:06:12 +01:00
kay27
8ed28adf7c Quick attempt to consider https://github.com/minetest/minetest/issues/5900#issuecomment-306071900 and fix https://git.minetest.land/MineClone2/MineClone2/issues/1212#issuecomment-16139 2021-03-07 06:31:43 +04:00
kay27
66febf158a Speedify dungeons a little and fix chest places (linear, not square) 2021-03-07 06:00:49 +04:00
kay27
45c0c576f7 Implement /spawnstruct dungeon 2021-03-07 03:49:34 +04:00
AFCMS
3635b848d5 add API for mcl_wip 2021-03-07 00:42:34 +01:00
kay27
f3fb80200d Revert "Fix XP bar overflow if trying to go over XP limit", please see https://git.minetest.land/MineClone2/MineClone2/issues/1261
This reverts commit f6f2037e6a.
2021-03-06 23:07:16 +04:00
AFCMS
b0c57beacd rename non mc commands - add a setting to disable renaming and alias 2021-03-05 17:04:49 +01:00
AFCMS
e3eb8c7ac8 add /playsound command 2021-03-05 16:37:56 +01:00
AFCMS
1f1f9f54a2 Merge branch 'master' of https://git.minetest.land/MineClone2/MineClone2 into commands-refactoring-1 2021-03-05 10:23:40 +01:00
AFCMS
b1ab79b857 fix last command 2021-03-05 10:22:52 +01:00
Elias Fleckenstein
2125c51c9c Fix mcl_util.get_color 2021-03-05 10:20:19 +01:00
AFCMS
d71e296602 fix crash 2021-03-05 09:58:47 +01:00
AFCMS
71353ac934 Merge branch 'master' of https://git.minetest.land/MineClone2/MineClone2 into commands-refactoring-1 2021-03-05 09:50:07 +01:00
AFCMS
0e8b5c403a give a lua file for each command 2021-03-05 09:47:48 +01:00
Elias Fleckenstein
09671b7ac9 Add simple color validator / parser 2021-03-05 09:37:27 +01:00
Elias Fleckenstein
31441a02e5 Add CSM sprinting with double tap forward 2021-03-05 09:26:13 +01:00
AFCMS
68d8eb4c9c make /seed like mc 2021-03-05 09:08:46 +01:00
Elias Fleckenstein
d57db0444f Use mod.conf in all mods, part 1 2021-03-04 15:22:14 +01:00
Elias Fleckenstein
713f933a99 Merge branch 'master' of https://git.minetest.land/Wuzzy/MineClone2 2021-03-04 10:26:27 +01:00
Elias Fleckenstein
ee084f33a7 Add mcl_colors 2021-03-04 10:26:17 +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
kay27
8af76f835d Slightly tweak minecarts to be more MC-like 2021-03-01 01:43:00 +04:00
Elias Åström
53041a0d62 Add setting to bypass protection in mcl_explosions 2021-02-28 16:06:48 +01:00
Code-Sploit
83ade6fadd Merge branch 'master' into master 2021-02-28 14:04:10 +00:00
Code-Sploit
6ab0e0fa86 Do some calculating 2021-02-28 14:02:48 +00:00
kay27
05a3b4e60c Wrap https://github.com/minetest/minetest/issues/10995 around, thanks @SmallJoker 2021-02-28 16:35:21 +04:00
epCode
9f66238aaa Transform mcl_meshhand_female.b3d to correct rotation 2021-02-27 11:36:18 -08:00
kay27
6f2f427777 fix a typo 2021-02-27 23:31:01 +04:00
kay27
abc0bb9e8e Fix dir_to_rotation() 2021-02-27 23:20:57 +04:00
kay27
21e6c5ad1f Fix https://git.minetest.land/MineClone2/MineClone2/issues/1216 2021-02-27 22:44:34 +04:00
kay27
bf81bb7f07 Translatable archievement chat messages 2021-02-27 22:16:29 +04:00
Code-Sploit
99b5dff849 Fix another bug 2021-02-27 16:13:05 +00:00
Code-Sploit
de9d838642 Fix a bug and improve some things
Bugs:
1) When player is in liquid and takes off his/her boots, he/her still has increased speed.

Improve:
1) Check for liquid group instead of node names
2021-02-27 16:10:11 +00:00
Code-Sploit
828c1110b1 Implement Depth Strider enchantment 2021-02-27 15:37:25 +00:00
Code-Sploit
578709c93e Add Depth Strider enchantment 2021-02-27 15:35:59 +00:00
Elias Fleckenstein
e5263d854e Localize player_vel_yaw 2021-02-27 15:10:25 +01:00
Elias Fleckenstein
a923b61ac8 Merge branch 'master' of https://git.minetest.land/MineClone2/MineClone2 2021-02-27 15:07:18 +01:00
Elias Fleckenstein
5a0b7bc131 Fix usages of player:get_velocity(), closes #1203 2021-02-27 15:07:10 +01:00
Elias Fleckenstein
68ac84da83 Proper archievement chat messages 2021-02-27 14:51:50 +01:00
Elias Fleckenstein
311e1b74a3 Merge pull request 'Fix French translations' (#1211) from pitchum/MineClone2:master into master
Reviewed-on: https://git.minetest.land/MineClone2/MineClone2/pulls/1211
2021-02-27 13:44:32 +00:00
Elias Fleckenstein
ba1e42a638 Remove debug chat_send_all xD 2021-02-27 14:42:39 +01:00
Elias Fleckenstein
8d5b2ff714 Make boats less annoying on ice 2021-02-27 14:38:53 +01:00
pitchum
d0e789daf2 More fixes in French translations 2021-02-27 13:43:57 +01:00
pitchum
b0f389eb9f Fix French translations for 'Achievement gotten' 2021-02-27 12:15:33 +01:00
pitchum
390f877230 Fix French translations 2021-02-27 10:35:46 +01:00
kay27
2ce5c5415a Fix village initialization: https://git.minetest.land/MineClone2/MineClone2/issues/1206 https://git.minetest.land/MineClone2/MineClone2/issues/1207 https://git.minetest.land/MineClone2/MineClone2/issues/1209 2021-02-27 03:33:51 +04:00
epCode
2b513aa592 Change mcl_meshand depending on skin metadata 2021-02-26 15:01:30 -08:00
kay27
3a2300382b Translate mcl_enchanting to Russian 2021-02-27 01:48:22 +04:00
Elias Fleckenstein
d859d94a63 Merge pull request 'Fix #1204' (#1208) from AFCMS/MineClone2:afcms-patch-1 into master
Reviewed-on: https://git.minetest.land/MineClone2/MineClone2/pulls/1208
2021-02-26 16:26:46 +00:00
AFCMS
41e715ef39 Fix #1204 2021-02-26 15:57:44 +00:00
Elias Fleckenstein
37ef792c9d Fix #1192 2021-02-26 09:38:02 +01:00
Elias Fleckenstein
524b3343bd Fix #1200 2021-02-26 09:19:11 +01:00
MysticTempest
2ace4ccc68 Fix endermen teleporting in the rain in the end per issue #1169. 2021-02-25 21:48:37 -06:00
epCode
73616453a4 Fix #1188 2021-02-25 19:01:22 -08:00
kay27
c1880d26c8 Fix awards logging 2021-02-26 02:58:53 +04:00
kay27
23a023d87d Fix https://git.minetest.land/MineClone2/MineClone2/issues/183 2021-02-26 02:56:46 +04:00
kay27
0e37188ad1 Fix https://git.minetest.land/MineClone2/MineClone2/issues/1108 2021-02-26 02:48:22 +04:00
epCode
3406342ed0 remove unessesary Message every time skin is changed 2021-02-25 13:38:02 -08:00
epCode
8f2a588059 Fix #1156 2021-02-25 12:27:14 -08:00
kay27
44d3f25767 Leave minecart by Pressing Sneak, https://git.minetest.land/MineClone2/MineClone2/issues/567 2021-02-26 00:26:27 +04:00
epCode
fb5f86d829 Fix #1196 2021-02-25 12:07:25 -08:00
epCode
8c1444a1a8 Fix Swim toggling 2021-02-25 12:06:24 -08:00
Elias Fleckenstein
d4401a6c3e Simplify 3D wielded nodes (improves performance + possibly fixes a crash) 2021-02-25 17:35:44 +01:00
kay27
a5168721b1 Fix https://git.minetest.land/MineClone2/MineClone2/issues/1186 2021-02-25 17:36:42 +04:00
Elias Fleckenstein
1274884a9e Merge branch 'master' of https://git.minetest.land/Wuzzy/MineClone2 2021-02-25 13:59:38 +01:00
Elias Fleckenstein
f04a5a4cc9 Prevent Ender dragon and Wither from despawning 2021-02-25 12:48:17 +01:00
kay27
e23ad6cabf Merge pull request 'Add setting to disable ores generation' (#1174) from AFCMS/MineClone2:master into master
Reviewed-on: https://git.minetest.land/MineClone2/MineClone2/pulls/1174
2021-02-25 10:04:13 +00:00
Elias Fleckenstein
360436cf19 Fix #1183 2021-02-25 10:24:26 +01:00
Elias Fleckenstein
51ace85d4e Enable 3D player preview by default now that MT 5.4 is released 2021-02-25 09:52:08 +01:00
epCode
fbb79635eb Fix player body rotation glitch 2021-02-24 17:11:00 -08:00
kay27
3ceb2b0a4d Fix https://git.minetest.land/MineClone2/MineClone2/issues/1160 2021-02-25 03:30:34 +04:00
epCode
c1c3dbfaec Fix #1184 2021-02-24 15:21:05 -08:00
epCode
d1fd3cc827 Add 3D wieldveiw for non-item objects 2021-02-24 13:20:31 -08:00
kay27
54cd5007ed Try to wrap https://github.com/minetest/minetest/issues/10995 by cancelling redefinition of minetest.place_schematic 2021-02-25 01:03:41 +04: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
0c3ab5843d Make boats go super fast on ice and slightly faster on land 2021-02-24 10:38:49 +01:00
Elias Fleckenstein
0d2950228a Implement #1057 2021-02-24 09:31:27 +01:00
Elias Fleckenstein
6780031454 Fix #1181 2021-02-24 08:33:35 +01:00
epCode
4334339ba3 Fix player head bone in while attached 2021-02-23 14:18:52 -08: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
epCode
9caf6f2904 Add more MC-like player body bone positioning 2021-02-22 18:48:09 -08:00
AFCMS
f0348d99d9 Use setting to generate Quartz ore 2021-02-22 19:12:33 +00:00
kay27
47db5c5917 Make mcl_loot/get_random_slots() deterministic 2021-02-22 21:58:35 +04:00
Elias Fleckenstein
eb62db441b Merge pull request 'Rewrite all deathmessages so they are more minecraft like.' (#1147) from Code-Sploit/MineClone2_deathmessages_rewrite:master into master
Reviewed-on: https://git.minetest.land/MineClone2/MineClone2/pulls/1147
2021-02-22 13:06:53 +00:00
Code-Sploit
89a048e335 Fix another typo 2021-02-22 13:03:32 +00:00
AFCMS
0e6177ee1f Add setting to dissable ores generation #874 2021-02-22 12:33:28 +00:00
Elias Fleckenstein
2d0612fa81 Make boats regenerate health and shake when damaged 2021-02-22 12:43:29 +01:00
Elias Fleckenstein
86dc33c12f Fix #1150 2021-02-22 11:08:57 +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
a86d3fa22c Merge branch 'master' of https://git.minetest.land/Wuzzy/MineClone2 2021-02-22 10:41:47 +01:00
Elias Fleckenstein
152d49ef20 Fix #1167 2021-02-22 10:41:44 +01:00
kay27
0ba7e4fc4d Fix Runtime error: attempt to index a nil value (api.lua:399 <- is_node_dangerous <- is_at_cliff_or_danger <- on_step_old <- void_damage:16) 2021-02-22 13:40:40 +04:00
epCode
512765a37d Make use_texture_alpha an mobs_mc.entity setting 2021-02-21 17:10:04 -08:00
kay27
89e55e9065 Add sub-map generators queue, fix https://git.minetest.land/MineClone2/MineClone2/issues/993 and https://git.minetest.land/MineClone2/MineClone2/issues/1060 2021-02-22 03:15:32 +04:00
epCode
d8b5620115 Make head block detection more stable 2021-02-21 04:11:20 +00:00
epCode
38cb2fdeec Fix swimming crash (sorry) 2021-02-20 19:19:59 -08:00
epCode
98f6e05cdc Make swimming a bit smoother 2021-02-20 16:21:09 -08:00
Code-Sploit
8135110fd4 Fix typo on line 97 2021-02-20 17:41:09 +00: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
ecb70aaf55 Make player head anim while attached more flexible 2021-02-19 14:07:36 -08:00
epCode
af89b95316 Remove unessesary code in slime+magma_cube.lua 2021-02-19 13:25:53 -08:00
epCode
393bc195fb Enable alpha for mobs 2021-02-19 13:11:18 -08:00
epCode
d29c045ad8 Fix sneak_mine glitch 2021-02-19 09:19:18 -08:00
Code-Sploit
f5d2a32e6b Change some deathmessages 2021-02-19 13:52:24 +00:00
Code-Sploit
84bfa87fdf Fix some other typo's 2021-02-19 12:12:46 +00:00
Code-Sploit
c4633db21d Fix some typo's 2021-02-19 06:43:50 +00:00
Code-Sploit
ae7c4d7a8b Rewrite all deathmessages 2021-02-18 17:59:44 +00:00
AFCMS
fa0ea94433 replace pairs() by ipairs() in mcl_bow 2021-02-18 15:35:52 +00:00
AFCMS
4c3954959c replace pairs() by ipairs() in mcl_player 2021-02-18 15:32:15 +00:00
AFCMS
25653e6178 replace pairs() by ipairs() in mcl_playerinfo 2021-02-18 15:31:13 +00:00
AFCMS
0531aae687 replace pairs() by ipairs() in mcl_playerplus 2021-02-18 15:27:50 +00:00
AFCMS
35d55376a9 replace pairs() by ipairs() (3) 2021-02-18 15:26:09 +00:00
AFCMS
63d1661e08 replace pairs() by ipairs() (2) 2021-02-18 15:25:30 +00:00
AFCMS
9819b713c9 replace pairs() by ipairs() 2021-02-18 15:24:03 +00:00
AFCMS
2e2d0b49ea performance fix in mcl_skins 2021-02-18 15:07:37 +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
100e37183d Update noise_params to the minetest 5.4 convention 2021-02-18 11:54:51 +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
eddef41e6b Fix #1132 2021-02-18 09:41:06 +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
a49e144911 Localize a couple variables 2021-02-17 02:51:33 +00:00
epCode
0d8744d9a0 Fix player head node textures 2021-02-16 18:11:53 -08:00
epCode
c238fd9ba7 Set swiming detection to "node_feet" 2021-02-16 14:18:06 -08:00
kay27
0e026c187e Merge pull request 'Translate French - Small fixes' (#1133) from lrocher/MineClone2:translate-fr into master
Reviewed-on: https://git.minetest.land/MineClone2/MineClone2/pulls/1133
2021-02-16 22:11:37 +00:00
Rocher Laurent
529f799cc2 Translate French - Small fixes 2021-02-16 22:30:26 +01:00
Elias Åström
5972322639 Remove backward compatible names in explosion info
Appears like they were not used anywhere.
2021-02-16 21:36:37 +01:00
Elias Åström
d5ea06bb47 Fix center of bounding box calculation 2021-02-16 21:33:26 +01:00
epCode
24c14e7f15 Fix bow having weird hand placements while hitting and loading 2021-02-16 20:13:12 +00:00
Elias Fleckenstein
98b00898a5 Merge pull request 'Make player wield switch instant' (#1129) from Code-Sploit/MineClone2:master into master
Reviewed-on: https://git.minetest.land/MineClone2/MineClone2/pulls/1129
2021-02-16 12:40:55 +00:00
Code-Sploit
9cbfaf012e Make player wield switch instant 2021-02-16 12:34:26 +00:00
Elias Fleckenstein
ef41b54387 Remove shulker shell and emerald to gold temporary crafting recipes 2021-02-16 09:57:38 +01:00
Elias Fleckenstein
574ced80a3 Give charged creeper an explosion strength of 6 2021-02-16 09:55:36 +01:00
Elias Fleckenstein
47d9c23c7a Merge branch 'master' of https://git.minetest.land/Wuzzy/MineClone2 2021-02-16 09:52:43 +01:00
epCode
3b775c38cd Fix wrong numbers (Swaped)
My bad
2021-02-15 23:46:27 +00:00
epCode
164aad4ff9 Fix player glitches when standing by the water
Instead of making the player collisionbox smaller from the ground, I made it smaller from the top.
2021-02-15 16:59:24 +00: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
epCode
52c36d45da Remove Buggy Crawling for Fixing 2021-02-14 11:18:46 -08:00
epCode
ba86cf1d8b Impliment crawling 2021-02-13 16:09:00 -08:00
epCode
903a29f949 Add charged creeper 2021-02-12 16:48:46 -08: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
Elias Fleckenstein
778ddd555f Move mending code to add_experience function 2021-02-12 09:20:32 +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
MysticTempest
0ec64189dc Partial creeper explode distance fix, and fix to stop punching mobs into the air. 2021-02-11 17:27:55 -06:00
epCode
d7cfe54eb4 Give the player some eyes 2021-02-11 12:20:39 -08:00
Elias Fleckenstein
6ebafe7735 Merge branch 'master' of https://git.minetest.land/Wuzzy/MineClone2 2021-02-11 15:19:19 +01:00
Elias Fleckenstein
7932f4e470 Disable 3D player preview by default 2021-02-10 18:30:58 +01:00
kay27
a73f5dabbd Cleanup 2021-02-10 15:36:32 +00:00
kay27
1d792a650f Speedup placing villages 2/2 (update mcl_villages through Gitea, as direct push doesn't work) 2021-02-10 13:07:32 +00:00
kay27
3b196da12f Speedup placing villages 1/2 (update mcl_tools through Gitea, as direct push doesn't work) 2021-02-10 13:04:49 +00:00
Elias Fleckenstein
735bfc88c4 Fix chests entities spawning multible times 2021-02-10 09:20:46 +01:00
kay27
ba9ad48114 Protect paintings, fix https://git.minetest.land/MineClone2/MineClone2/issues/1080 2021-02-09 23:34:04 +00:00
epCode
cf95239fe5 Replace mcl_armor_character.b3d
Fix the player bone positioning while not swiming
2021-02-09 21:23:35 +00:00
epCode
7e2e96672b Remove mcl_armor_character.b3d 2021-02-09 21:22:28 +00:00
epCode
b749de4ced replace mcl_armor_character.blend 2021-02-09 21:21:51 +00:00
epCode
0fe02b5a69 Replace mcl_armor_character.blend 2021-02-09 21:20:43 +00:00
epCode
6a3a0362a3 Fix player looking up while on water and attached 2021-02-09 19:00:54 +00:00
Elias Fleckenstein
484ffc924a Merge branch 'master' of https://git.minetest.land/Wuzzy/MineClone2 2021-02-09 18:19:18 +01:00
MysticTempest
dc9ca16321 Enable villager spawning. 2021-02-09 06:06:19 -06:00
Elias Fleckenstein
b36db2044f 3D Player preview in inventory 2021-02-08 20:13:08 +01:00
kay27
bd1e4187a0 Fix https://git.minetest.land/MineClone2/MineClone2/issues/1079 by epCode 2021-02-08 11:48:31 +04:00
epCode
29d43b9709 Fix player head with wrong pitch while swiming 2021-02-06 18:18:19 -08:00
epCode
c5169e48a1 Merge branch 'master' of https://git.minetest.land/epCode/MineClone2 2021-02-06 17:50:27 -08:00
epCode
38f70561c5 Swiming coment 2021-02-06 17:44:30 -08:00
epCode
adbfd6b55d Merge branch 'master' of https://git.minetest.land/epCode/MineClone2 2021-02-06 17:40:24 -08:00
epCode
df8bdfbc36 Animations for swiming 2021-02-06 17:40:07 -08:00
kay27
84289a3a11 Tiny code cleanup and potentially bugfix after latest mergings 2021-02-07 02:56:00 +04:00
epCode
b5353c060f Merge branch 'master' into master 2021-02-06 19:35:13 +00:00
Elias Fleckenstein
88ed1aaa87 Merge branch 'master' of https://git.minetest.land/Wuzzy/MineClone2 2021-02-06 20:04:09 +01:00
HimbeerserverDE
fbb5f7464c Merge branch 'master' of https://git.minetest.land/Wuzzy/MineClone2 2021-02-06 17:50:15 +01:00
epCode
282af37555 Add some sneaking commentary 2021-02-05 19:44:41 -08:00
epCode
1868f31673 Merge branch 'master' of https://git.minetest.land/epCode/MineClone2 2021-02-05 16:40:14 -08:00
epCode
729c60cd4b Nametag vanishes when sneaking 2021-02-05 16:39:50 -08:00
epCode
6f8d728035 Merge pull request 'master' (#6) from MineClone2/MineClone2:master into master
Reviewed-on: https://git.minetest.land/epCode/MineClone2/pulls/6
2021-02-06 00:10:00 +00:00
kay27
696ae8e6fe Merge pull request 'Fix Mobs not taking knockback on the Y-axis' (#1061) from Code-Sploit/MineClone2:master into master
Reviewed-on: https://git.minetest.land/MineClone2/MineClone2/pulls/1061
2021-02-05 21:41:38 +00:00
kay27
fa3e37c604 A mob does not drop XP unless it dies within 5 s of an attack registered as a player hit, https://git.minetest.land/MineClone2/MineClone2/issues/1021#issuecomment-13894 2021-02-05 16:34:49 +04:00
Code-Sploit
95b0a27213 Fix Mobs not taking knockback on the Y-axis 2021-02-05 10:36:48 +00:00
epCode
403c174722 Merge branch 'master' of https://git.minetest.land/epCode/MineClone2 2021-02-03 17:14:06 -08:00
epCode
37baf5e69a Fix sneak/R.click bugs. 2021-02-03 17:12:28 -08:00
epCode
f37096cb4b Merge branch 'master' of https://git.minetest.land/epCode/MineClone2 2021-02-03 17:05:48 -08:00
epCode
cf837247a7 Fix sneak/R.click bugs. 2021-02-03 16:59:58 -08:00
epCode
bd98529945 Fix sneak/R.click bugs 2021-02-03 16:29:33 -08:00
kay27
13a9dbed3e Fix https://git.minetest.land/MineClone2/MineClone2/issues/1052 (stop searching trees after 10+ attempts) 2021-02-04 03:41:43 +04:00
Elias Fleckenstein
18dd3ac9bd Add 'ice' group 2021-02-03 17:08:04 +01:00
kay27
9492f276fc Make mcl_spawn compatible with flat mapgen with superflat MCL2 option (but better to have some trees still) 2021-02-03 16:08:00 +04:00
kay27
e8f8d4cb1e Better fix spawn point search (follow-up 32cf25dc17) 2021-02-03 04:22:02 +04:00
kay27
32cf25dc17 Fix spawn point search 2021-02-03 03:53:47 +04:00
epCode
e0ad09900c Merge pull request 'master' (#5) from MineClone2/MineClone2:master into master
Reviewed-on: https://git.minetest.land/epCode/MineClone2/pulls/5
2021-02-02 22:19:58 +00:00
MysticTempest
e716ebd911 Make enderman grief less frequently, enable pseudobiome villages by default, and disable natural village generation in singlenode. 2021-02-01 15:45:22 -06:00
HimbeerserverDE
ee6d8451d2 Flame arrows ignite TNT 2021-02-01 08:15:28 +01:00
Elias Fleckenstein
b5d92f3078 Fix warning in mcl_beds 2021-01-31 14:04:11 +01:00
Elias Fleckenstein
9956e267aa Allow for 2 drivers in a boat 2021-01-31 12:54:40 +01:00
HimbeerserverDE
a654db7684 Merge branch 'master' of https://git.minetest.land/Wuzzy/MineClone2 2021-01-30 19:35:32 +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
kay27
30b4b9661c Villages cleanup 2021-01-29 23:03:39 +04:00
Elias Fleckenstein
b61ae6a61f Merge branch 'master' of https://git.minetest.land/Wuzzy/MineClone2 2021-01-29 19:43:24 +01:00
MysticTempest
2fe5ac8569 Add experimental, pseudobiome-based village variation. 2021-01-28 23:59:01 -06:00
Elias Fleckenstein
65219d34a2 Animated shulkerboxes 2021-01-28 20:53:57 +01:00
HimbeerserverDE
8ae233ba36 Merge branch 'master' of https://git.minetest.land/Wuzzy/MineClone2 2021-01-28 20:16:32 +01:00
HimbeerserverDE
000dd3cbc9 Only burning arrows set objects on fire 2021-01-28 20:16:26 +01:00
kay27
9a668204cb Remove inter-village distance check 2021-01-28 23:12:16 +04:00
Elias Fleckenstein
e66d66caf9 Fix #399 2021-01-28 19:02:44 +01:00
Elias Fleckenstein
4fe944445b Merge branch 'master' of https://git.minetest.land/Wuzzy/MineClone2 2021-01-28 17:45:04 +01:00
Elias Fleckenstein
89ce072621 Sneak to dismount when in boat 2021-01-28 17:44:55 +01:00
kay27
5e65307819 Fix https://git.minetest.land/Wuzzy/MineClone2/issues/897 2021-01-28 17:55:33 +04:00
kay27
f20f9f9a88 Log weather changes according to https://git.minetest.land/Wuzzy/MineClone2/issues/897 2021-01-28 11:47:51 +04:00
MysticTempest
ff38a44454 Give 'mcl_villages' the proper loot table, fix blacksmith shop catching fire/missing chest, add butcher shop, remove chest from large_houses, and remove screenshots. 2021-01-28 01:24:43 -06:00
kay27
ff2cd808d5 Fix https://git.minetest.land/Wuzzy/MineClone2/issues/1022 2021-01-28 03:17:11 +04:00
kay27
1f18c2438c Minor weather code clean up, ref. https://git.minetest.land/Wuzzy/MineClone2/issues/897 2021-01-28 02:03:49 +04:00
HimbeerserverDE
a3ccb54376 Merge branch 'master' of https://git.minetest.land/Wuzzy/MineClone2 2021-01-27 20:13:16 +01:00
HimbeerserverDE
00df587bf7 Add flame enchantment 2021-01-27 20:11:02 +01:00
Elias Fleckenstein
dbd6ebd4b5 Fix #1014 2021-01-27 19:21:28 +01:00
Elias Fleckenstein
85f3fb7ea1 Fix #1005 2021-01-27 16:42:49 +01:00
Elias Fleckenstein
248272a128 Fix #1018 2021-01-27 16:01:04 +01:00
Elias Fleckenstein
5ede42bbe7 Fix #1020 2021-01-27 15:46:10 +01:00
Elias Fleckenstein
db3a31c2c4 Simplify chest animations 2021-01-27 15:45:23 +01:00
kay27
7210dfcc1c Make mobs only drop XP orbs when they're killed by hit, attempt to fix https://git.minetest.land/Wuzzy/MineClone2/issues/978 2021-01-27 16:12:34 +04:00
MysticTempest
0c23406531 Add mcl_villages; with support for seed-based, and multithreaded village generation by kay27. 2021-01-27 02:56:53 -06:00
MysticTempest
9feee980f8 Add help text for enchanting table. 2021-01-27 01:41:23 -06:00
Elias Fleckenstein
97594c89fb Fix #968 2021-01-26 18:51:18 +01:00
Elias Fleckenstein
e05576b3f3 Don't despawn villagers 2021-01-26 18:40:16 +01:00
Elias Fleckenstein
e9f9d96eb1 Fix #1012 2021-01-26 17:42:45 +01:00
Elias Åström
948438bd1c Add max_blast_resistance to mcl_explosions.explode
If the option is specified, then the explosion will treat all
non-indestructible nodes as having a blast resistance of no more than
the value of the option.
2021-01-26 17:04:22 +01:00
Elias Åström
34274486c7 Add griefing option to mcl_explosions.explode
When set to false explosions will only affect entities and not destroy
nodes.
2021-01-26 17:04:22 +01:00
Elias Åström
e3d2284485 Refactor some stuff in mcl_explosions 2021-01-26 17:04:22 +01:00
Elias Åström
4a07b0607f Improve API of mcl_explosions.explode
Replace the 'no_sound' and 'no_particle' options in the 'info' parameter
with 'sound' and 'particles'.  But also has backwards compatability for
the old parameter names.
2021-01-26 17:04:22 +01:00
Elias Åström
c907df9669 Tiny code style cleanup in mcl_explosions 2021-01-26 17:04:22 +01:00
Elias Åström
5ecb56452e Fix creeper explosions only doing 1/2 heart damage
The solution was to move the creeper explosions to originate from the
center of the creepers collisionbox and not its entity position.
2021-01-26 17:04:22 +01:00
MysticTempest
41bd803185 Add support for mcimported worlds by clearing out singlenode mapgen, and adding a toggleable fix for converted double_plants. 2021-01-26 17:04:22 +01:00
MysticTempest
d571d62863 Fix crash in 'mcl_spawn' in v6,flat,singlenode mapgens; and fix mobs despawning when attacking/following players. 2021-01-26 17:04:22 +01:00
Elias Fleckenstein
0022c9902b Merge branch 'master' of https://git.minetest.land/Wuzzy/MineClone2 2021-01-25 16:33:41 +01:00
MysticTempest
c1c5ed4869 Fix crash in 'mcl_spawn' in v6,flat,singlenode mapgens; and fix mobs despawning when attacking/following players. 2021-01-24 17:47:28 -06:00
Elias Fleckenstein
a514b97880 Make cleric sell experience bottle 2021-01-24 19:55:33 +01:00
Elias Fleckenstein
467683a7f9 Add experience bottle 2021-01-24 19:46:39 +01:00
Elias Fleckenstein
76bd139f1b Rise mob spawning distance to 24 (Closes #982) 2021-01-24 19:07:56 +01:00
Elias Fleckenstein
4a3916236c Make WIP items appear in crafguide (Closes #998) 2021-01-24 19:03:52 +01:00
Elias Fleckenstein
9ce8c95f8c Fix bed not dropping when top part is dug 2021-01-24 18:54:17 +01:00
Elias Fleckenstein
745b7063a5 Move bed messages to HUD; Fix #1000 2021-01-24 18:40:29 +01:00
Elias Fleckenstein
fdfcf9ca70 Fix #1001 2021-01-24 16:29:24 +01:00
Elias Fleckenstein
eb01c8e9f8 Give boats HP (Closes #991) 2021-01-24 16:27:04 +01:00
Elias Fleckenstein
73d6533aff Merge branch 'master' of https://git.minetest.land/Wuzzy/MineClone2 2021-01-23 16:19:50 +01:00
Elias Fleckenstein
f9a82aab05 Implement curing zombie villagers 2021-01-23 15:40:12 +01:00
kay27
94840ec2ef Fix black chests, https://git.minetest.land/Wuzzy/MineClone2/issues/995 2021-01-23 00:43:46 +04:00
Elias Fleckenstein
b7c3096364 Spawn villager zombies like in Minecraft 2021-01-22 20:31:58 +01:00
Elias Fleckenstein
4a4a834bf8 Generate Enchanted golden apples in chests 2021-01-22 19:45:18 +01:00
Elias Fleckenstein
291991c745 Merge branch 'master' of https://git.minetest.land/Wuzzy/MineClone2 2021-01-22 19:08:11 +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
kay27
c9294a4d8a Fix https://git.minetest.land/Wuzzy/MineClone2/issues/996 Coordinate exploit in signs and chests, sent by @cora 2021-01-22 21:42:37 +04:00
kay27
2e898b3113 Decrease player burn time in Creative mode 2021-01-22 20:03:55 +04:00
MysticTempest
689e6edac2 Make 'mcl_burning' support other texture packs. 2021-01-22 03:07:21 -06:00
kay27
c4dce1df25 Fix already created End portals 2021-01-21 18:35:04 +04:00
kay27
a41e0628e5 Fix https://git.minetest.land/Wuzzy/MineClone2/issues/994 Crash in mcl_mobs 2021-01-21 12:36:33 +04:00
Elias Fleckenstein
b6aabfc853 Fix #992 2021-01-20 16:20:45 +01:00
Elias Fleckenstein
0e0628bcc5 Merge branch 'master' of https://git.minetest.land/Wuzzy/MineClone2 2021-01-20 16:14:30 +01:00
Elias Fleckenstein
3d7e89811d Fix #990 2021-01-20 16:14:23 +01:00
kay27
1a2c500873 Restore missing 'died formspec' after player exploded being in the bed 2021-01-20 01:46:52 +04:00
Elias Fleckenstein
02305c914d Merge branch 'enchanted_books_creative' 2021-01-18 20:08:37 +01:00
Elias Fleckenstein
9cc3b5ccda Merge branch 'master' of https://git.minetest.land/Wuzzy/MineClone2 2021-01-18 19:55:59 +01:00
Elias Fleckenstein
09ab1482b5 Merge branch 'animated_chests' 2021-01-18 19:55:48 +01:00
kay27
81c27363a3 Add limitations to respawn search algorithm to make it work faster 2021-01-17 22:07:02 +04:00
Elias Fleckenstein
427ac03a4d Fix #951 2021-01-17 13:21:09 +01:00
Elias Fleckenstein
bb0e5af6d0 Fix crash when attempting to create grass path with efficiency shovel 2021-01-17 12:39:11 +01:00
Elias Fleckenstein
4b61b3b4e5 #986 2021-01-17 12:29:25 +01:00
Elias Fleckenstein
6e6f994a43 Make dragon breath use the dragon breath texture 2021-01-17 12:07:49 +01:00
Elias Fleckenstein
fa9d4402c7 Fix doors dropping duplicate when blown up 2021-01-17 12:00:00 +01:00
Elias Fleckenstein
b54b6c4c97 Fix #987 2021-01-17 10:41:13 +01:00
kay27
5b44eeb611 Teach observer to detect TNT in realtime mode, fix crash in mcl_spawn on restart server in less than 30s in new world 2021-01-17 02:48:36 +04:00
kay27
5400cdba35 Fix blowing up a bed makes it drop twice, https://git.minetest.land/Wuzzy/MineClone2/issues/985 2021-01-16 22:50:29 +04:00
kay27
fe33f172d4 Add player-friendly respawn place search algorithm, fix https://git.minetest.land/Wuzzy/MineClone2/issues/515 https://git.minetest.land/Wuzzy/MineClone2/issues/972 https://git.minetest.land/Wuzzy/MineClone2/issues/981 2021-01-16 18:51:30 +04:00
Elias Fleckenstein
15dd969adf Merge branch 'master' of https://git.minetest.land/Wuzzy/MineClone2 2021-01-15 17:40:57 +01:00
Elias Fleckenstein
50e90e8c23 Fix #983 2021-01-14 20:00:10 +01:00
Elias Fleckenstein
b338d36d63 Remove the /burn command 2021-01-12 09:19:18 +00:00
Elias Fleckenstein
1f05d8f876 Knockback enchantment working on mobs 2021-01-11 16:38:05 +01:00
Elias Fleckenstein
c4c3fc1c8c Fix Fire Aspect 2021-01-10 14:16:00 +01:00
Elias Fleckenstein
a9bdb7b509 Fix #969 2021-01-08 14:55:02 +01:00
Elias Fleckenstein
20ab04dfc0 Fix #976 2021-01-08 14:43:49 +01:00
Elias Fleckenstein
7a1e6246d6 Remove wield_image from all shovels 2021-01-08 14:40:02 +01:00
kay27
eef5f2cc5b Revert 2be8a550dc according to https://git.minetest.land/Wuzzy/MineClone2/issues/973 2021-01-08 14:36:50 +01:00
kay27
fd4ce3c688 Scale mcl_farming_pumpkin_face_preview.png 32x64 to 16x32 according to https://git.minetest.land/Wuzzy/MineClone2/issues/974 2021-01-08 14:30:11 +01:00
Elias Fleckenstein
5ce1fd6821 Rise XP collection distance 2021-01-07 14:42:19 +01:00
Elias Fleckenstein
2f1a918667 Fix thorns incompabilities 2021-01-06 19:41:11 +01:00
Elias Fleckenstein
9a31252c5d Fix sharpness and bane of arthopods being compatible 2021-01-06 19:04:04 +01:00
Elias Fleckenstein
7bcc8c1534 Fix #863 2021-01-06 14:50:49 +01:00
Elias Fleckenstein
7d4688b70c Fix enchanted items showing up in craftguide 2021-01-06 14:17:27 +01:00
Elias Fleckenstein
2be8a550dc Merge branch 'itemframe' 2021-01-06 14:05:09 +01:00
Elias Fleckenstein
aee607800e Merge branch 'large_chest_put' 2021-01-06 14:03:54 +01:00
Elias Fleckenstein
a49e3c9068 Fix #703 2021-01-06 13:39:19 +01:00
Elias Fleckenstein
b616ce734f Fix mobs taking damage from fire and lava even if they shouldn't 2021-01-06 13:31:51 +01:00
Elias Fleckenstein
f68a75f184 Fix #750 2021-01-06 13:28:58 +01:00
Elias Fleckenstein
3787b95e0f Fix #700 2021-01-06 13:01:27 +01:00
Elias Fleckenstein
034174390d Fix #801 2021-01-06 12:48:39 +01:00
Elias Fleckenstein
08a8b155d7 Fix #906 and #902 2021-01-06 12:43:09 +01:00
Elias Fleckenstein
3a02e90c3a Fix mobs jumping against walls again and again due to a typo 2021-01-06 12:14:20 +01:00
Elias Fleckenstein
f2c978c892 Fix #885 2021-01-06 12:04:02 +01:00
Elias Fleckenstein
fd5f3a8df7 Mobs can't jump while already in air 2021-01-06 11:47:50 +01:00
kay27
bdd0123c77 keep mobs from disappearance 2021-01-06 11:25:56 +01:00
Elias Fleckenstein
52ed7f668e Small mob shoot raycast improvement 2021-01-06 11:18:18 +01:00
Elias Fleckenstein
bc15c9c22d Fix #965 2021-01-06 10:36:57 +01:00
kay27
faa944193a try to fix https://git.minetest.land/Wuzzy/MineClone2/issues/963 2021-01-05 20:45:56 +01:00
Elias Fleckenstein
823ff7e22e Fix #955 2021-01-05 20:36:50 +01:00
Elias Fleckenstein
059629c51f Fix wrong mob spawning distance from player 2021-01-05 20:29:10 +01:00
Elias Fleckenstein
cd1b8e9d2f Fix #962 2021-01-05 20:12:50 +01:00
Elias Fleckenstein
c405242fa2 Fix #801 2021-01-05 19:52:57 +01:00
Elias Fleckenstein
8b92d795d2 Fix #960 2021-01-05 18:05:20 +01:00
Elias Fleckenstein
5899c2059f Fix #860 2021-01-05 18:02:41 +01:00
Elias Fleckenstein
6f49a3d535 Fix #788 2021-01-05 17:52:27 +01:00
Elias Fleckenstein
e7721b91a0 Fix #959 2021-01-05 17:35:06 +01:00
Elias Fleckenstein
7bdce54048 Give credit for the enchanting sounds (Closes #921) 2021-01-05 17:27:38 +01:00
Elias Fleckenstein
8ef14dd81f Fix #872 2021-01-05 17:23:24 +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
d88b548ddb Fix #917 2021-01-05 15:08:18 +01:00
Elias Fleckenstein
fcc485a8e3 Fix #904 2021-01-05 14:40:54 +01:00
Elias Fleckenstein
a0ffe92587 Merge branch 'master' into itemframe 2021-01-05 14:27:08 +01:00
Elias Fleckenstein
139a4d94d0 Merge branch 'master' into enchanted_books_creative 2021-01-05 14:25:56 +01:00
Elias Fleckenstein
90f1fde8c8 Merge branch 'master' into animated_chests 2021-01-05 14:25:20 +01:00
Elias Fleckenstein
49c70560a5 Fix #946 2021-01-05 14:13:33 +01:00
Elias Fleckenstein
37f256648b Fix enchanting book animation being weird sometimes 2021-01-05 12:40:29 +01:00
Elias Fleckenstein
ebc2ec9f72 Add missing enchanting sound 2021-01-05 12:37:15 +01:00
kay27
6fcf1cf09f Make catching XP orbs easier 2021-01-05 12:21:01 +01:00
kay27
4d54766590 quick fix of https://git.minetest.land/Wuzzy/MineClone2/issues/954 2021-01-05 12:15:43 +01:00
kay27
c2a14e2eae Make glyph particles more close to MC and visible only for players in radius 15 2021-01-05 12:13:36 +01:00
Elias Fleckenstein
dc5ff37449 Fix #954 2021-01-04 20:44:35 +01:00
Elias Fleckenstein
b0b23b7532 Call on_rightclick when clicking a node with fishing rod 2021-01-04 20:23:14 +01:00
Elias Fleckenstein
cfc86bcf3d Fix #952 and other occurences of get_player_velocity 2021-01-04 18:06:31 +01:00
Elias Fleckenstein
796c80b2d1 Merge branch 'fixes' into enchanted_books_creative 2021-01-04 17:59:41 +01:00
Elias Fleckenstein
0a482cc0cf Merge branch 'fixes' into itemframe 2021-01-04 17:58:54 +01:00
Elias Fleckenstein
a7c42306a7 Merge branch 'fixes' into animated_chests 2021-01-04 17:58:42 +01:00
Elias Fleckenstein
aea051fe37 Proper fire aspect damage 2021-01-04 17:53:49 +01:00
Elias Fleckenstein
378dca593e Always create chest entities 2021-01-04 17:16:48 +01:00
Elias Fleckenstein
17ff0c9be5 No static_save for chest entities 2021-01-04 17:14:51 +01:00
Elias Fleckenstein
de810cee81 Fix chest migration in general 2021-01-04 17:10:07 +01:00
Elias Fleckenstein
e26a644df0 Fix ender chest migration 2021-01-04 17:02:36 +01:00
Elias Fleckenstein
6d16c2e348 Merge branch 'fixes' into animated_chests 2021-01-04 16:50:03 +01:00
Elias Fleckenstein
ac54e3caf3 Fix despawning once and for all (hopefully) 2021-01-04 16:40:18 +01:00
Elias Fleckenstein
a4d7bd03e1 Change itemframe entity drawtype from wielditem to item 2021-01-04 16:19:14 +01:00
Elias Fleckenstein
7d1ce8bc07 Merge remote-tracking branch 'origin/master' into enchanted_books_creative 2021-01-04 14:23:39 +01:00
Elias Fleckenstein
9dc0d103a1 Merge branch 'fixes' into animated_chests 2021-01-04 14:22:27 +01:00
Elias Fleckenstein
507f2d872b Fix #949 2021-01-04 14:21:28 +01:00
Elias Fleckenstein
269ebc2718 Fix Silk Touch drop of Top Snow 2021-01-04 13:34:57 +01:00
Elias Fleckenstein
f86cf37ac9 Fix zombies sometimes just disappearing when dieing to fire 2021-01-04 13:30:30 +01:00
Elias Fleckenstein
5939baee52 Enchanted books in creative inventory 2021-01-04 13:02:55 +01:00
Elias Fleckenstein
cfa6937df4 Merge branch 'master' of https://git.minetest.land/Wuzzy/MineClone2 into burning_objects 2021-01-04 11:45:06 +01:00
Elias Fleckenstein
ce4e86549b Enderchest Support 2021-01-04 11:26:07 +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
41a364b319 Crack texture is now displayed 2021-01-03 20:08:53 +01:00
Elias Fleckenstein
0cfb60a826 Fix #941 2021-01-03 19:20:23 +01:00
Elias Fleckenstein
84cd8195c6 Fix invalid migration of small chests 2021-01-03 19:05:07 +01:00
Elias Fleckenstein
2d9ec679c0 Fix floating chest entity 2021-01-03 18:55:41 +01:00
Elias Fleckenstein
978aa38196 Trapped chests support 2021-01-03 18:52:24 +01:00
Elias Fleckenstein
5ce8c229db Merge branch 'burning_objects' into animated_chests 2021-01-03 18:25:40 +01:00
Elias Fleckenstein
10d6ca4107 Change max_hear_distance of fire sound and tweak fire entity size 2021-01-03 18:22:33 +01:00
Elias Fleckenstein
ae59f9fd3c Inventory + Screwdriver support 2021-01-03 18:16:12 +01:00
Elias Fleckenstein
54f7d76298 Merge branch 'master' of https://git.minetest.land/Wuzzy/MineClone2 2021-01-03 15:34:49 +01:00
Elias Fleckenstein
02777b1f65 Fix mcl_craftguide completely 2021-01-03 15:25:06 +01:00
Elias Fleckenstein
1fda78667f Properly merge mcl_craftguide 2021-01-03 15:23:29 +01:00
Elias Fleckenstein
6b2416b211 Merge branch 'master' of https://git.minetest.land/Wuzzy/MineClone2 into fixes 2021-01-03 15:17:08 +01:00
Elias Fleckenstein
9e97331bdc Fix mobs despawning while close to player 2021-01-03 15:10:50 +01:00
Elias Fleckenstein
0fe1707c2f Remove spaces 2021-01-03 14:32:31 +01:00
Elias Fleckenstein
6cc029a6e4 Fix #931 2021-01-03 14:26:05 +01:00
Wuzzy
4c2f3f2b7c Fix possible crash in mcl_craftguide 2021-01-03 14:22:19 +01:00
Elias Fleckenstein
ea938237d5 Animated Chests 2021-01-03 14:21:35 +01:00
kay27
30379c823c Clean up some spaces in code after merging https://git.minetest.land/EliasFleckenstein03/MineClone2 2021-01-03 00:42:07 +04:00
Elias Fleckenstein
c2521885ff Remove extinguish sound 2021-01-02 14:03:50 +01:00
Elias Fleckenstein
7d45055a59 Remove minetest.env in mcl_mobs API 2021-01-02 12:45:23 +01:00
Elias Fleckenstein
081ae7fbff Make undead mobs burn in sunlight instead of dealing damage directly 2021-01-02 12:43:50 +01:00
Elias Fleckenstein
8ba8f62527 Document fire_resistant and fire_damage_resistant 2021-01-02 12:34:02 +01:00
Elias Fleckenstein
7d805ff789 Fix duplicate bookshelf positions 2021-01-02 12:28:38 +01:00
Elias Fleckenstein
64e510a730 Better bookshelf counting 2021-01-02 12:21:35 +01:00
Elias Fleckenstein
ab079d0c9b Fix missing enchantability of golden shovel 2021-01-02 12:11:16 +01:00
Elias Fleckenstein
939a73dd77 Remove Licenses from mcl_burning and mcl_enchanting 2021-01-02 11:18:18 +01:00
Elias Fleckenstein
883056bbc2 Fix #16 2021-01-02 11:15:32 +01:00
Elias Fleckenstein
84708c3870 Merge branch 'master' of https://git.minetest.land/Wuzzy/MineClone2 2021-01-02 10:58:02 +01:00
Elias Fleckenstein
2bc5a281f5 Player damage texture modifier 2021-01-02 10:57:33 +01:00
Elias Fleckenstein
fbd4a3a516 Fix burning sound keeping playing 2021-01-02 10:56:40 +01:00
kay27
d42ee00290 Fix piston owner metadata storage 2021-01-02 02:54:41 +04:00
Elias Fleckenstein
212e895c1a Fire Aspect for Mobs 2021-01-01 19:59:34 +01:00
Elias Fleckenstein
2932837951 Fix mobs always dropping cooked loot 2021-01-01 19:52:34 +01:00
Elias Fleckenstein
92bf864807 Fire Aspect 2021-01-01 19:51:31 +01:00
Elias Fleckenstein
071ba77bb0 mcl_burning fully working 2021-01-01 19:25:47 +01:00
Elias Fleckenstein
a6eed5c5b3 Rework system 2020-12-29 22:08:38 +01:00
Wuzzy
e8573189d8 Fix XP bar overflow after enchant 2020-12-28 15:32:24 +01:00
kay27
5385a3f202 Fix piston protection check 2020-12-27 17:11:22 +04:00
Elias Fleckenstein
758a3470f3 Fire resistance potion working 2020-12-24 17:55:33 +01:00
Elias Fleckenstein
7545e29f58 Burning objects 2020-12-24 17:48:40 +01:00
Elias Fleckenstein
b017fd7405 Looting actually works now 2020-12-23 19:01:49 +01:00
Elias Fleckenstein
da7240d6c1 looting 2020-12-23 17:41:42 +01:00
Elias Fleckenstein
a7ff5be28b Luck of the Sea 2020-12-23 15:18:20 +01:00
MysticTempest
38f89fc963 Fix concrete powder mechanics. 2020-12-23 06:23:55 -06:00
Elias Fleckenstein
8f62a3fe0c Enchanted book loot in desert temple 2020-12-23 12:25:18 +01:00
MysticTempest
b56ae38939 Make lava/fire wait 2 seconds before destroying items to allow chance for pickup, fix dogs following when sitting, and add some rotation so mobs don't idle at cliffs. 2020-12-22 08:29:24 -06:00
Elias Fleckenstein
6ba3fc869c Make villagers sell enchanted stuff 2020-12-22 12:00:04 +01:00
Elias Fleckenstein
3161668d26 Color tweaks 2020-12-22 10:42:22 +01:00
Elias Fleckenstein
e152e346ea Improve XP bar position 2020-12-21 18:27:58 +01:00
Elias Fleckenstein
213f62ac06 Fix translations 2020-12-21 18:00:35 +01:00
Elias Fleckenstein
ef9a54872e Merge branch 'master' of https://git.minetest.land/Wuzzy/MineClone2 2020-12-21 17:58:39 +01:00
Elias Fleckenstein
5fe64ff6f1 Better XP bar 2020-12-21 17:02:39 +01:00
Elias Fleckenstein
a4d9d22bb0 Mending 2020-12-21 15:12:24 +01:00
Elias Fleckenstein
fdbfd4c654 Mineshaft Loot 2020-12-21 13:57:09 +01:00
Wuzzy
b0dc0ecc9c Fix possible nil crashes in mcl_jukebox 2020-12-21 13:13:01 +01:00
epCode
f62a003163 More Minecraft-like breathing animation 2020-12-20 16:20:04 -08:00
epCode
a228899fc9 Update mcl_player character model 2020-12-20 15:52:26 -08:00
epCode
2b2e0914d4 Added arm pitch control 2020-12-20 14:42:45 -08:00
epCode
c5412dd2a7 Added arm control bone 2020-12-20 14:42:21 -08:00
epCode
12564b573b Fine tune player sneaking animations 2020-12-20 14:12:33 -08:00
epCode
76e7b8f637 Player animation tweaks 2020-12-20 14:12:03 -08:00
Elias Fleckenstein
d820c35937 Fishing & Mineshaft loot 2020-12-20 17:33:24 +01:00
Elias Fleckenstein
b91b587876 Fix Lure 2020-12-20 16:32:04 +01:00
Wuzzy
fd53198c9a No enchant for shears 2020-12-19 16:29:55 +01:00
Wuzzy
39a0fdd24c No enchant 4 flint&steel,pumpkin,head,screwdriver 2020-12-19 16:26:12 +01:00
Wuzzy
821af93675 Translate mcl_experience,mcl_enchanting to de 2020-12-19 16:07:34 +01:00
Wuzzy
e22b766ffa Remove enchanted compass (caused a crash) 2020-12-19 15:32:32 +01:00
Elias Fleckenstein
6eeeb83c0d Let enderdragon drop Xp 2020-12-19 15:00:15 +01:00
Elias Fleckenstein
4f18f77db0 Drop xp for empty furnaces too 2020-12-19 13:02:13 +01:00
Elias Fleckenstein
753be59d95 Fixed crash 2020-12-19 11:53:59 +01:00
Wuzzy
1f124476f2 Remove NC enchanting sound 2020-12-19 11:45:41 +01:00
epCode
eee88adcd1 Merge branch 'wielditem' of https://git.minetest.land/epCode/MineClone2 into wielditem 2020-12-18 16:44:32 -08:00
epCode
2e2b22dc15 Player properties for sneaking 2020-12-18 16:43:42 -08:00