Commit Graph

29 Commits

Author SHA1 Message Date
the-real-herowl cb4396d424 Fix stonecutter warnings (#4315)
This fixes faulty fallthrough mechanisms attempting to register the same recipe more than once in some cases. This fixes the warning spam when entering a world, while keeping the warnings for mods that misuse the Stonecutter API.

Reviewed-on: VoxeLibre/VoxeLibre#4315
Co-authored-by: the-real-herowl <wiktor_t-i@proton.me>
Co-committed-by: the-real-herowl <wiktor_t-i@proton.me>
2024-05-24 10:31:27 +00:00
Wbjitscool 07eb70e9be Update mods/ITEMS/mcl_stonecutter/init.lua 2023-12-13 02:39:25 +00:00
the-real-herowl 8fd988da11 Increased cut copper recipe output 2023-11-25 23:52:04 +00:00
the-real-herowl f1c5f0ca1c Fixed duplication bug 2023-11-25 23:52:04 +00:00
the-real-herowl bb48e47488 Made stonecutter player metadata consistent 2023-11-25 23:52:04 +00:00
the-real-herowl a6025b751a Uneven crafts support
-taking part of the resulting stack now produces well-defined results
-stonecutter won't allow amount undivisible by recipe count anymore
2023-11-25 23:52:04 +00:00
the-real-herowl af2f58248f Added the ability to stonecut up to full stack 2023-11-25 23:52:04 +00:00
AFCMS 4836418cf6 Rework Stonecutter 2023-11-25 23:52:04 +00:00
the-real-herowl 19cea45c17 Stonecutter fixes and improvements
-improved stonecutter API, making it more robust
-fixed a dupe bug
2023-11-25 23:52:04 +00:00
the-real-herowl b252e577ec Implement recipe registering API 2023-11-25 23:52:04 +00:00
Chris Page 12568a6749 use on_destruct instead of after dig node 2023-11-25 23:52:04 +00:00
Chris Page 40fb043de2 Add stage so smooth items can't be reverted 2023-11-25 23:52:04 +00:00
Chris Page 5dda3033a5 Prevent input from being a selectable option 2023-11-25 23:52:04 +00:00
Chris Page 524c9c1bcc Dupe glitch fizes and remove item label 2023-11-25 23:52:04 +00:00
Chris Page a9f26fb354 use item groups to determine the cuttable items 2023-11-25 23:52:04 +00:00
Chris Page 01d43bb33a Remove unused meta on drop items 2023-11-25 23:52:04 +00:00
Chris Page ca37ce5744 Remove hardcoded one element array 2023-11-25 23:52:04 +00:00
Chris Page 5f0ad98dae Use node group for items that can be used in the stonecutter 2023-11-25 23:52:04 +00:00
Chris Page 0e60231c2e Only reset output if input is empty 2023-11-25 23:52:04 +00:00
Chris Page 7fcc2e3be3 Minor output fixes 2023-11-25 23:52:04 +00:00
Chris Page 356045b3e3 Add comments and drop items when destroyed 2023-11-25 23:52:04 +00:00
Chris Page 07d2759ae4 Check if item is a slab or not 2023-11-25 23:52:04 +00:00
Chris Page 9da07af370 Check if item can be made into stairs, slabs and walls 2023-11-25 23:52:04 +00:00
Chris Page 47990eec2b begin adding check if item canbe cut 2023-11-25 23:52:04 +00:00
Chris Page 7523727521 take output from stonecutter 2023-11-25 23:52:04 +00:00
Chris Page 2af08c3188 clear formspec on taking input item 2023-11-25 23:52:04 +00:00
Chris Page 45532ebe6d Add gui to list craft recipes for some stones 2023-11-25 23:52:04 +00:00
PrairieAstronomer a34c9172c4 Fixed light levelwarnings and texture alpha warnings in stonecutter, campfires, and beacon 2022-08-07 21:38:40 +00:00
PrairieAstronomer d9a25552d8 Stone Cutter
Adds the stonecutter block.
2022-07-08 00:09:39 +00:00