Commit graph

37 commits

Author SHA1 Message Date
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
5193730652 Truncate groupcaps_hash to 8 Base64 digits 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
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
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 Åström
174a3a2968 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 14:13:30 +01:00
Wuzzy
c106a62979 Use minetest.is_creative_enabled 2020-07-10 16:45:40 +02:00
Wuzzy
c5e4ec5e27 Use ephemeral sounds 2020-04-07 00:55:45 +02:00
Wuzzy
fbba40fe5c Fix item container transfer destroying item metadata 2019-04-05 15:30:32 +02:00
Wuzzy
bae1fa072c Remove dead code 2018-05-12 22:53:21 +02:00
Wuzzy
e38f19b5f3 Comparator now detects jukebox as container 2018-05-12 22:48:49 +02:00
Wuzzy
1ce9ab22bf Turn jukebox into a container (part 1) 2018-05-12 21:50:56 +02:00
Wuzzy
b0c87f74fe Move world-related functions to mcl_worlds 2017-11-24 03:10:02 +01:00
Wuzzy
a9d95dea23 Use hardware coloring for tallgrass and friends 2017-11-16 03:13:19 +01:00
Wuzzy
6b2c06934a Autom. make grass/fern dry if placed on dry grass 2017-11-15 01:29:17 +01:00
Wuzzy
0ff6cb2837 Fix broken compass and clocks 2017-08-22 18:58:53 +02:00
Wuzzy
fe31afc119 Disable weather in Nether and End and Void 2017-08-22 18:32:05 +02:00
Wuzzy
860155e5c1 Set proper realm boundaries 2017-08-16 15:29:05 +02:00
Wuzzy
e5a34367c9 Use new Minetest settings API syntax for most mods 2017-08-09 16:17:00 +02:00
Wuzzy
4e45d66678 Implement item transfer from large src container 2017-08-04 03:34:28 +02:00
Wuzzy
d0b1e261ea Move more shulker box checks in mcl_hoppers to mcl_util 2017-08-04 03:00:33 +02:00
Wuzzy
8388235600 Simplify mcl_util.move_item_container 2017-08-04 02:19:47 +02:00
Wuzzy
fb261454df Item container transfer: Optional source_list 2017-08-04 01:58:31 +02:00
Wuzzy
a29091e23c Move double chest neighbor function to mcl_util 2017-08-03 23:27:22 +02:00
Wuzzy
3b1c0765d6 Add double container move logic into mcl_util 2017-08-03 23:23:33 +02:00
Wuzzy
38cf151806 Fix many crashes when placing item on unknown node 2017-06-29 13:02:53 +02:00
Wuzzy
823c20bd1b Fix some global variable warnings 2017-06-10 17:52:21 +02:00
Wuzzy
2a747e828a Refactor flower on_place function 2017-06-09 20:20:29 +02:00
Wuzzy
b7f50d9028 Restrict flower place to dirt/grassblock and light 2017-06-09 19:18:23 +02:00
Wuzzy
8e2d601f85 Prevent placing most plants on mycelium 2017-05-14 01:45:57 +02:00
Wuzzy
2495676e54 Rename mapgen variables 2017-03-04 23:00:23 +01:00
Wuzzy
19150ddddb Add helper functions to convert to/from MC layer 2017-03-04 22:45:08 +01:00
Wuzzy
2e7ce77985 mcl_util.is_in_void 2017-02-21 16:38:28 +01:00
Wuzzy
649fca5aff Add mcl_util.is_fuel 2017-02-21 03:00:48 +01:00
Wuzzy
d8f423ac07 Allow to put fuels into furnace with hoppers 2017-02-21 02:09:34 +01:00
Wuzzy
40783d2ca6 Fix crash w/ mcl_util group-less item move 2017-02-20 16:30:07 +01:00
Wuzzy
3696ee3761 Organize mods into modpacks for better overview 2017-02-16 01:45:21 +01:00
Renamed from mods/mcl_util/init.lua (Browse further)