Commit graph

87 commits

Author SHA1 Message Date
Kostinatyn Tsiupa
1da7bb0bdc hopper reimplementation
Reimplemented hoppers and all (blast_furnace, furnace, smoker, composters, double chaets, shulker_boxes, droppers, bookshelvs and brewing_stands) connected nodes
2023-11-27 14:33:01 +02:00
AFCMS
1065eb4d8c
Hooper formspec 2023-08-19 18:01:26 +02:00
AFCMS
54b119cffa
some things 2023-08-19 18:01:25 +02:00
anarquimico
c37aad26c3 Make hoppers push items to minecarts 2023-03-03 16:13:49 -06:00
kabou
92ee402971 Separate white dye from bone meal.
* Add craftitem for ":mcl_bone_meal:bone_meal" to mcl_dye (temporarily.)
* Add crafting recipe for bone meal.
* Add texture for white dye item.
* Merge craftitem registration for "mcl_dye:white" with generic dyes.
* Add crafting recipe for white dye.
* Add legacy conversion recipe.
* Update dyes table.
* Update translations.
* Update mcl_crimson and sweet berry on_rightclick handlers.
* Update composter output, both as freestanding and to hoppers.
* Update bone block crafting recipes.
* Update tropical fish, cod and salmon mob drops.
2022-12-29 03:08:50 +00:00
AFCMS
7a371dc846
Format file again 2022-12-10 22:38:08 +01:00
AFCMS
7deec7ae03
Refactor hopper -> composter ABMs 2022-12-10 22:38:08 +01:00
AFCMS
47eda5b69e
Only register hopper -> composter ABMs if composter mod is enabled 2022-12-10 22:38:07 +01:00
AFCMS
8d921c0671
Add some type annotations 2022-12-10 22:38:07 +01:00
AFCMS
804aa388b5
Some manual formatting 2022-12-10 22:38:07 +01:00
AFCMS
fcf9c35324
Use new vectors everywhere 2022-12-10 22:38:06 +01:00
AFCMS
9cc63ed716
Use table.concat for formspec generation 2022-12-10 22:38:06 +01:00
AFCMS
c49f000894
Fix formating 2022-12-10 22:38:06 +01:00
anarquimico
507f14c317 Modified function and ABM 2022-11-15 00:01:28 -03:00
cora
489ef43458 Don't transfer whole stacks 2022-11-14 04:07:41 +01:00
ancientmarinerdev
70a7fb9387 Hoppers now take from hopper minecarts 2022-11-14 04:07:41 +01:00
anarquimico
3ef8838a11 Fixed indentation. 2022-11-12 06:28:36 -03:00
anarquimico
cb721f37ce Fixed minor bug and removed TODO commentary 2022-11-10 21:11:32 -03:00
anarquimico
3072d44b66 Bugs fixed. 2022-11-08 19:18:35 -03:00
anarquimico
f61b072d39 Fixed compostable item comsumption. 2022-11-07 22:10:35 -03:00
anarquimico
91ef21c55b Integrate hoppers with composter 2022-11-06 17:49:32 -03:00
kabou
5431e206b0 Fix hopper breakage in get_item_group return value.
In commit 55009c257e 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 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