Commit Graph

66 Commits

Author SHA1 Message Date
kabou
5431e206b0 Fix hopper breakage in get_item_group return value.
In commit 55009c257e253c49dacf017e4bd56bc36aca2e10 that added vectors to
mcl_composters, mcl_hoppers was accidentally patched with a unrelated
change, updating it to get_item_group().  This mostly works, but in one
particular case the semantics of the return value differs.  Instead of
returning 'nil' it returns '0'.  That altered the evaluation of an if
condition, breaking the abm that sucks in items.

This commit fixes the conditional by explicitly comparing  '~= 0'.
2022-02-24 03:18:25 +01:00
kabou
55009c257e Use new vectors
* Use vector.new instead of xyz table.
2022-02-19 21:18:01 +01:00
Elias Fleckenstein
e4feb233e0
Fix hopper dupe 2021-12-09 18:20:24 +01:00
Elias Fleckenstein
b0aceae73d
Fix reference dupe glitches 2021-11-19 15:22:40 +01:00
AFCMS
a896d7f5e4 replace deprecated "current_name" by "context" for inventory location 2021-06-12 00:09:39 +02:00
AFCMS
cd33d406b2 fix many codestyle issues (functions, strings, modpaths) 2021-05-29 16:12:33 +02:00
Elias Fleckenstein
d8d4cb5def Revert color changes to GUI.
The Minecraft colorset (net.minecraft.util.text.TextFormatting) is only used for chat and tooltips.
This partically reverts 84819bf9f5164ab208b7be1e94d142906359a1af.
2021-04-19 14:44:20 +02:00
AFCMS
a602f64ea5 fix many warnings 2021-04-15 23:41:34 +02:00
AFCMS
84819bf9f5 MAKE EVERY SINGLE MOD USE PROPER COLORS!!! 2021-03-30 00:01:29 +02:00
AFCMS
8f30e223e2 I hate reverting something xD 2021-03-16 17:39:06 +01:00
Elias Åström
6315490b14 Update the rest of the blast resistance values
The values have been updated according to this list:

https://minecraft.gamepedia.com/Module:Blast_resistance_values
2020-04-19 13:08:36 +02:00
Wuzzy
6ce3278dd4 Fix missing variable check in hcl_hoppers 2020-03-29 16:05:30 +02:00
Wuzzy
e9f259881f Add LBMs to update to new node formspecs of 0.60.0 2020-03-29 14:35:01 +02:00
Wuzzy
7243a25fe6 Generate item slot images on the fly 2020-03-24 18:48:14 +01:00
Wuzzy
5a03ce6dac Remove pointless content ID loading in mcl_hoppers 2020-03-14 07:17:46 +01:00
Wuzzy
070e928bf0 Merge branch 'tt' 2020-03-10 18:21:32 +01:00
Wuzzy
03ad3cca29 Major default formspec style update
- Uses formspec_prepend to set e.g. button style
- Make all formspecs use the MCL2 style consistently
2020-03-10 05:01:49 +01:00
Wuzzy
ba74546d48 Add extended tooltips 2020-02-19 04:54:17 +01:00
Wuzzy
1a02ccd36f Add more node groups 2019-12-13 10:20:08 +01:00
Wuzzy
e09a72ed59 Tweak item appearance of internal items 2019-12-09 22:32:40 +01:00
Wuzzy
7471836c2d Fix side hopper not collecting non-fuel items 2019-12-09 08:51:25 +01:00
Wuzzy
9cef74c03b Replace GUI image texts with translatable labels 2019-03-16 05:21:27 +01:00
Wuzzy
77ab44217a German transl.: mcl_fishing to mcl_maps + fixes 2019-03-15 06:12:03 +01:00
Wuzzy
47c817d75a New translation system, part 8: Items, part 4 2019-03-08 00:22:28 +01:00
Wuzzy
a84f7935fa Revert "Utilize formspec prepend"
This reverts commit ea0c2e9568dcb9d63f777ac62307af65c9a47603.
2019-03-07 12:42:08 +01:00
Wuzzy
ea0c2e9568 Utilize formspec prepend 2019-03-06 06:35:24 +01:00
Wuzzy
312b17a958 Check protection for most nodes 2019-02-08 21:59:01 +01:00
Wuzzy
e789801662 Replace getpos() with get_pos() 2019-02-01 06:33:07 +01:00
Wuzzy
7196485294 Remove sunlight propagation for various nodes 2018-01-28 20:21:02 +01:00
Wuzzy
254a3093eb Fix inconsistent hopper texture 2018-01-22 18:06:12 +01:00
Wuzzy
e4ab20509f Clean up the redstone rules 2018-01-12 01:37:32 +01:00
Wuzzy
990a9a8b46 Update on_place callbacks when placing hopper 2018-01-10 16:57:57 +01:00
Wuzzy
8b15e41b12 Set hopper redstone rules 2018-01-10 16:35:26 +01:00
Wuzzy
bf5e4f0788 Allow to disable hoppers with redstone power 2018-01-10 16:18:42 +01:00
Wuzzy
320567e1f2 Add basic screwdriver support 2017-12-05 14:09:39 +01:00
Wuzzy
ab0de78151 More accurate hopper selection box 2017-11-23 00:41:26 +01:00
Wuzzy
e5a34367c9 Use new Minetest settings API syntax for most mods 2017-08-09 16:17:00 +02:00
Wuzzy
5d5355867c Hoppers: Don't suck from fuel and dst at once 2017-08-04 03:42:24 +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
3b1c0765d6 Add double container move logic into mcl_util 2017-08-03 23:23:33 +02:00
Wuzzy
2416af7fac Add new container groups for large chests 2017-08-03 22:22:17 +02:00
Wuzzy
ee38a7af9d Rename mod: bucket to mcl_buckets 2017-08-03 16:36:55 +02:00
Wuzzy
d50645d417 Thinner hopper spout 2017-07-08 19:10:41 +02:00
Wuzzy
0c04a958c3 Don't extend side hopper spout out of node borders 2017-07-08 18:56:15 +02:00
Wuzzy
38cf151806 Fix many crashes when placing item on unknown node 2017-06-29 13:02:53 +02:00
Wuzzy
7ecae53502 Fix furnace not cooking when hopper inserts item 2017-06-12 22:51:17 +02:00
Wuzzy
91b2fee45d Fix hoppers placing >1 lava buckets into furnace 2017-06-12 19:06:33 +02:00
Wuzzy
da3205837b Add label to all ABMs 2017-05-15 00:45:54 +02:00
Wuzzy
7708642412 Hoppers don't block any light 2017-03-20 20:06:24 +01:00