Commit Graph

76 Commits

Author SHA1 Message Date
kay27 c3e208dbb0 #375 Speed up hopper ABMs 2022-07-19 23:42:57 +03:00
kay27 ee5d45152d #375 Use single ABM for all hopper logic, fix hopper model, clean up hopper code 2022-07-19 18:01:36 +03:00
kay27 e80f95710d #375 Better detect hopper touches 2022-07-19 04:42:30 +03:00
kay27 3d656522f2 #375 Make hoppers suck in items above again 2022-07-19 04:29:27 +03:00
wallabra b8f89e5569
Add missing local definition of var downpos 2022-06-23 18:23:29 -03:00
wallabra f3cc8f0f8a
Fix get_item_group crash in mcl_hoppers 2022-06-23 14:29:36 -03:00
wallabra d57097baef
Fix syntax error with hopper check 2022-06-20 20:37:15 -03:00
wallabra 54e9477f37
Fix hopper downpos priority check 2022-06-20 17:05:18 -03:00
wallabra 024904eadd
Use get_item_group accessor in hopper code 2022-02-19 12:45:11 -03:00
wallabra 2c8194bd6d
Slight reorder to prevent race condition in hopper item collection 2022-02-17 21:34:01 -03:00
wallabra 0c6da14e1f
Set _removed to true in item entities sucked by hoppers
This double-check might just prevent future commits from triggering regressions
allowing hoppers to duplicate items.
2022-02-17 21:32:55 -03:00
wallabra eee07f56b5
Make sideways hoppers try pushing down before sideways
This is consistent with its behaviour in Minecraft.
2022-02-17 17:40:10 -03:00
Lizzy Fleckenstein e4feb233e0
Fix hopper dupe 2021-12-09 18:20:24 +01:00
Lizzy 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
Lizzy 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 84819bf9f5.
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 ea0c2e9568.
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