DarkPacks / SkyFactory-4

SkyFactory 4 offers a brand-new experience never before seen in the series. Full automation, tech, magic, and bacon resources! This iteration offers over 30+ world types so you can play the pack like never before!
https://minecraft.curseforge.com/projects/skyfactory-4/
133 stars 45 forks source link

Lithium Ion Battery pack Crafting recipe inconsistent #2317

Open moretor1 opened 2 months ago

moretor1 commented 2 months ago

Context

The "Basic" lithium ion power cell requires 4 elite plating, the advanced requires 4 advanced plating, the DU requires DU plating, and the elite requires 4 elite plating again The basic voltaic pile requires basic plating and the basic lith ion cell should as well ## Config/Script Details (if desired)
moretor1 commented 2 months ago

/* SkyFactory 4 NuclearCraft Recipe Script

This script handles the recipes for NuclearCraft.

*/ import crafttweaker.item.IItemStack; import crafttweaker.item.IIngredient;

import mods.zenstages.Utils;

import scripts.crafttweaker.craftingUtils;

/ Shaped Recipes / static shapedRecipes as IIngredient[][][][IItemStack] = {

: [ [ [, , ], [craftingUtils.getBucketIngredient(), null, craftingUtils.getBucketIngredient()], [, , ] ] ], _: [ [ [, , ], [, , ], [, , ] ] ]_ }; static namedShapedRecipes as IIngredient[][][][string][IItemStack] = { }; /* Mirrored Recipes */ static mirroredRecipes as IIngredient[][][][IItemStack] = { }; static namedMirroredRecipes as IIngredient[][][][string][IItemStack] = { }; /* Shapeless Recipes */ static shapelessRecipes as IIngredient[][][IItemStack] = { }; static namedShapelessRecipes as IIngredient[][][string][IItemStack] = { }; /* Recipe Removals */ static removeRecipes as IItemStack[] = [ ]; function init() { // Un-named recipes recipeUtil.process(shapedRecipes, false); recipeUtil.process(mirroredRecipes, true); recipeUtil.process(shapelessRecipes); // Named recipes recipeUtil.processNamed(namedShapedRecipes, false); recipeUtil.processNamed(namedMirroredRecipes, true); recipeUtil.processNamed(namedShapelessRecipes); recipeUtil.removeRecipes(removeRecipes); } I can't figure out how to get lithium cells to work
moretor1 commented 1 month ago

fixed it

: [ [ [, .withTag({maxTransfer: 400000, capacity: 8000000, energy: 0}), ], [.withTag({maxTransfer: 400000, capacity: 8000000, energy: 0}), , .withTag({maxTransfer: 400000, capacity: 8000000, energy: 0})], [, .withTag({maxTransfer: 400000, capacity: 8000000, energy: 0}), ] ] ]