Immersive Engineering

Immersive Engineering

134M Downloads

[1.12.2] CraftTweaker Excavator mineralMix addOre and removeOre appears to be broken

Jandakast opened this issue ยท 6 comments

commented

Adding ores to mineralMix for the IE Excavator appears to be broken or maybe the documentation is wrong. You can add a mineralMix and it shows in game when you run the /ie mineral list command. When you find or set a chunk to the mineral and setup the excavator it increments the chunk depletion, but does not collect any of the ores that were added via addOre.

This was originally posted DarkPacks/SevTech-Ages#2008 but can be reproduced using the sample script from the CraftTweaker Documentation page and only IE/CraftTweaker/jei.

I have also tried to addOre and removeOre from an existing mineralMix but that does not appear to work either.

Forge: 2675
CraftTweaker: 4.1.8
IE: 12-81
jei: 4.9.1.172
mtlib: 3.0.4

Script: https://gist.github.com/Jandakast/76c83edc0964e3f1a4419cb2596d3e4e

CT Log: https://gist.github.com/Jandakast/bf61862df0f885a64031e082ccb720e2

IE Config: https://gist.github.com/Jandakast/e529854345447df3537b757293cb91f2

commented

Did you try reproducing this with only IE installed as SevTech makes a lot of changes.

commented

Yes, as I stated in my post

This was originally posted DarkPacks/SevTech-Ages#2008 but can be reproduced using the sample script from the CraftTweaker Documentation page and only IE/CraftTweaker/jei.

commented

^ That. I don't know who wrote the example on the CraftTweaker wiki, it is wrong just as @mindforger described. Put a comment here if it doesn't work after changing to oredict names.

commented

My bad, that part did not register.

commented

also the script seems a bit broken, you don't name the ores by their name, you name them by their ore registry name

one example

val CustomGravel = ore:CustomGravel;
CustomGravel.add(minecraft:gravel);
mods.immersiveengineering.Excavator.addMineral('Pyrit', 100, 0, "cobblestone","stone","CustomGravel","oreIron","oreSulfur","oreNickel","orePlatinum"] ,[50,30,5,8,6,1,0.1]);

this is how i added gravel to a vein

commented

Ok this appears to be working for ores by oreDict name. Thank you for the clarification.