Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Item Transformers don't work in Extended Crafting Tables #23

Open
Atricos opened this issue Feb 7, 2022 · 0 comments
Open

Item Transformers don't work in Extended Crafting Tables #23

Atricos opened this issue Feb 7, 2022 · 0 comments
Labels
bug Something isn't working

Comments

@Atricos
Copy link

Atricos commented Feb 7, 2022

Mod version: 1.6.1 (I'm aware that 1.7.0 is out, but the changelog doesn't mention anything like this)

Description: CraftTweaker adds some useful features called "Item Transformers" that can be applied in any regular 3x3 craft. (https://docs.blamejared.com/1.12/en/Vanilla/Items/Item_Transformers)

For example, .noReturn() makes it so items that have durability or Buckets that would otherwise stay in the crafting window get fully consumed.

I have also tried .reuse() and .transformDamage(), but neither seems to work.

Example script:
(This is from Divine Journey 2)

mods.extendedcrafting.TableCrafting.addShaped(<mysticalagriculture:master_infusion_crystal>,
[[null,null,null,null,<alchemistry:ingot:45>,null,null,null,null],
[null,null,null,<alchemistry:ingot:45>,<alchemistry:ingot:45>,<alchemistry:ingot:45>,null,null,null],
[null,null,<alchemistry:ingot:45>,<contenttweaker:zysc_baach_sheet>,<contenttweaker:zysc_baach_sheet>,<contenttweaker:zysc_baach_sheet>,<alchemistry:ingot:45>,null,null],
[null,<alchemistry:ingot:45>,<contenttweaker:zysc_baach_sheet>,<matc:supremiumcrystal>.noReturn(),<mysticalagradditions:insanium:2>,<matc:supremiumcrystal>.noReturn(),<contenttweaker:zysc_baach_sheet>,<alchemistry:ingot:45>,null],
[null,<alchemistry:ingot:45>,<contenttweaker:zysc_baach_sheet>,<alchemistry:atomizer>,<mysticalagradditions:storage:1>,<alchemistry:liquifier>,<contenttweaker:zysc_baach_sheet>,<alchemistry:ingot:45>,null],
[null,<alchemistry:ingot:45>,<contenttweaker:zysc_baach_sheet>,<matc:supremiumcrystal>.noReturn(),<mysticalagradditions:insanium:2>,<matc:supremiumcrystal>.noReturn(),<contenttweaker:zysc_baach_sheet>,<alchemistry:ingot:45>,null],
[null,null,<alchemistry:ingot:45>,<contenttweaker:zysc_baach_sheet>,<contenttweaker:zysc_baach_sheet>,<contenttweaker:zysc_baach_sheet>,<alchemistry:ingot:45>,null,null],
[null,null,null,<alchemistry:ingot:45>,<alchemistry:ingot:45>,<alchemistry:ingot:45>,null,null,null],
[null,null,null,null,<alchemistry:ingot:45>,null,null,null,null]]);

I would expect the <matc:supremiumcrystal> items to get used up due to .noReturn(), but they don't - they stay in the crafting table (or take 1 durability damage, if the config is set up so that they don't have infinite durability).

@Exaxxion Exaxxion added the bug Something isn't working label Feb 7, 2022
NotMyWing pushed a commit that referenced this issue Jun 4, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants