Applied Energistics 2

Applied Energistics 2

137M Downloads

Autocrafting with a custom MineTweaker-Recipe causes Nullpointer Exception

TheVanoq opened this issue ยท 3 comments

commented

I added a new recipe to craft processors in the crafting grid without the use of inscribers. Automating it using the "Crafting Unit" and "Molecular Assembler" causes this problem:

http://minetweaker3.powerofbytes.com/forum/viewtopic.php?f=8&t=168

Minecraft: 1.7.10
Forge: 10.13.4.1614-1.7.10
AE2: rv2-stable-10

Any hopes of fixing this in the 1.7.10 version?

commented

No issue with that in rv3.beta6

This script is perfectly functional:

val circuitCalculation = <appliedenergistics2:item.ItemMultiMaterial:16>;
val piston = <minecraft:piston>;
val pressCalculation = <appliedenergistics2:item.ItemMultiMaterial:13>;
val pureCertus = <appliedenergistics2:item.ItemMultiMaterial:10>;
//Make the Pressed Raw Material.
recipes.addShaped(circuitCalculation * 1, [
    [null, piston.reuse(), null],
    [null, pureCertus, null],
    [null, pressCalculation.reuse(), null]
]);

Now, instead of MT script, use AE2 native custom recipes instead, to save on need to synchronize client-side recipes on server join.

commented

I'd advise you to upgrade to rv3.beta6 as it has been more stable than rv2 or even rv1.

Custom Recipes: http://ae-mod.info/Custom-Recipes/
There is also an important README: config/AppliedEnergistics2/recipes/README.html

commented

Thanks. I just upgraded to the latest version and I'm creating a custom recipe for what I want to do. Sadly, it doesn't seem to work right. Would you mind pointing me in the right direction? I'm obviously doing something wrong and the README didn't help yet.

The recipe: http://pastebin.com/raw/PaAFS6Q1

And the exceptions: http://pastebin.com/raw/qmEGYi1Y

// Edit: Removing the first import line doesn't help. It still crashes.