The custom machine upgrade created by Crafttweaker is invalid
xiakkto opened this issue ยท 4 comments
Do you declare the slot as an upgrade slot ?
You should do that by adding "variant": "custommachinery:upgrade"
inside the item component json.
Also, +30% recipe duration mean the recipe will be 30% slower, not faster.
ok there is indeed an issue with CT integration for upgrade, if you don't specify a "chance" (4th argument of any of the mulInput
, mulOutput
, addInput
or addOutput
method) it use 0 by default, which mean the upgrade modifier is never applied.
I will fix that quickly, as a temporary solution you can set the chance yourself by using for example :
.mulInput(<requirementtype:custommachinery:speed>, 0.2, "", 1)
Note that the "target" (3rd parameter) is needed to specify the "chance" (4th parameter) as that how CT works.