WanionCane / BiggerCraftingTables

Adding more Crafting Tables!
https://minecraft.curseforge.com/projects/bigger-crafting-tables
Mozilla Public License 2.0
3 stars 3 forks source link

"Craft-Tweaker Compat." doesn't recognize some conditions #11

Closed ghost closed 4 years ago

ghost commented 5 years ago

For recipes in the "Big" crafting table [5x5] (and in presumably the other two tables as well), it seemingly fails to recognize conditions, transformations or variables.

I have this set of ZenScript code here:

import crafttweaker.item.IItemCondition;
import crafttweaker.item.IItemTransformer;

val TransformDiamondPick = <minecraft:diamond_pickaxe>.anyDamage().transformDamage(2);
val TransformIronPick = <minecraft:iron_pickaxe>.anyDamage().transformDamage(2);

mods.biggercraftingtables.Big.addShapeless(<minecraft:cobblestone>, [TransformIronPick, <translocators:diamond_nugget>, <minecraft:stone>]);
mods.biggercraftingtables.Big.addShapeless(<minecraft:gravel>, [TransformIronPick, <translocators:diamond_nugget>, <minecraft:cobblestone>]);
mods.biggercraftingtables.Big.addShapeless(<minecraft:sand>, [TransformIronPick, <translocators:diamond_nugget>, <minecraft:gravel>]);

mods.biggercraftingtables.Big.addShapeless(<minecraft:cobblestone>, [TransformDiamondPick, <translocators:diamond_nugget>, <minecraft:stone>]);
mods.biggercraftingtables.Big.addShapeless(<minecraft:gravel>, [TransformDiamondPick, <translocators:diamond_nugget>, <minecraft:cobblestone>]);
mods.biggercraftingtables.Big.addShapeless(<minecraft:sand>, [TransformDiamondPick, <translocators:diamond_nugget>, <minecraft:gravel>]);

Where TransformDiamondPick and TransformIronPick are being used as variables for a specific item (diamond pickaxe and iron pickaxe of any damage value can be used in the recipe, and when used in a recipe it will remain in the crafting slot [unless it breaks] and deduct two durability points) with pre established conditions/transformation applied to them. No errors are outputted in game and in the console logs no errors are outputted either, so the script is properly formatted.

However, I believe your mods CT Compat. isn't properly taking into account either variables, conditions, or transformations (could be one, two, or all three of them), yet the recipe(s) itself is properly loading as recipes are listed and functional with the diamond nugget and the stone/cobblestone/gravel/sand but it's missing the iron/diamond pickaxes.