ModTweaker

ModTweaker

88M Downloads

Trouble with removeMelting

3DLudi opened this issue ยท 21 comments

commented

Issue Description:

Personal mod pack and I am OCD about similar ores from different mods. Currently I am trying to consolidate Immersive Engineering and COFH metals in the Tinkers Smeltery. Both mods contain ingots/ nuggets/ etc for copper, aluminum, silver, lead, and nickel. It seems removeMelting does not do anything but I am having trouble figuring out why. No error. Just does not work.

What happens:

Script:
mods.tconstruct.Smeltery.removeMelting( <immersiveengineering:storage:0> );

Note: immersiveengineering:storage:0 = Immersive Engineering copper block

1> Right click Thermal Foundation copper block for uses in JEI.
2> Switch tab to Tinkers Smelting
This tab shows the Immersive Engineering copper block melting in the smeltery for 1296mb liquid copper @ 542 deg.

What you expected to happen:

To have the Immersive Engineering copper block removed from the smeltery

Affected Versions (Do not use "latest"):

  • Minecraft: 1.10.2
  • Forge: 12.18.3.2316
  • Crafttweaker: 3.0.26
  • ModTweaker: 2.0.11, 2.0.12, 2.0.13 (did not test lower than 2.0.11)
  • MTLib: 1.0.3
  • COFH Core: 4.1.8.12
  • CodeChickenLib - 2.5.9.267
  • ImmersiveEngineering: 0.10-61
  • JEI: 3.14.7.419
  • Mantle: 1.1.5
  • TConstruct: 2.6.5
  • ThermalFoundation: 2.1.3.5

If some combination of Crafttweaker/ ModTweaker/ MTLib works as expected I would be happy to switch.

commented

Minetweaker Log, and a picture of the Copper Block in question heating up to melt in the smeltery please.

commented

Have you tried UniDict? There is another one also of the similar name, it is under ic2 addons on curse, but not dependant on IC2.

commented

Also, a copy of the script please.

commented

Script (it is in the original post also)
https://pastebin.com/VtrcLx7c

I have not yet tried UniDict no. I am assuming it would be too complicate to automate with a mod. Just as an example copper ingots (all kinds) work in IE Arc Reactor but it makes IE copper dust. I am doubtful UniDict would change it to make TE copper dust instead. Could be wrong. Will look at it... Thanks

commented

Are you sure you're smelting the correct block? Lats I checked, copper wasn't blue...

commented

LOL...
I couldn't agree more. Blame Immersive Engineering.
https://imagebin.ca/v/3RZ21G2fVB4a

commented

Can you give me the /mt hand output of the block please

commented

<immersiveengineering:storage>
Is in <ore:blockCopper>

commented

UniDict is a beast !
Still needs some cleaning up in JEI (and a few machine recipes) but this is a much better starting point than scratch. Just to note: It looks like UniDict cleaned up the original issue also. JEI only shows TE copper block for smeltery and it looks like IE copper block does not work anymore.

commented

Yeah, i am doing the same thing in my pack, and that mod has taken my unification script from i er 4k lines down to under 1k.

commented

Just finished copper @ 50 lines =)

JEI looks great without all the oredict entries for the ores/ingots etc that you cant get -- because I disabled them hah. Only glitchyness now is with the Thermal machines. I am guessing they look at the oredict and then save it internally (dang you mr lemming!).

Any chance we could get a reload() command for COFH that would have them rescan the oredict? =)

commented

Sadly right now no. COFH uses imc which at the moment unless you can make your own mod to send them you are out of luck.

I got around that issue by just serting everything to the COFH output myself.

commented

Argh! Sigh...
You can close this issue if you like. It is becoming apparent that attempting to consolidate all of the ores from IE and COFH is simply too time consuming. I have more than one whole page of script just for copper! So I have decided that IE has got to go :(

commented

Oh yeah OK. That was not an issue. All the COFH machines output COFH materials which is what I wanted in the first place. Not trying to fix that. Trying to fix the COFH machines from displaying invalid materials in JEI like Immersive Copper Ore in the Redstone Furnace. Already disabled the ore in the configs and removed it from oredict but COFH still shows it in JEI for the Furnace even though it will not accept it anymore. Annoying.

commented

Look in the unidict configs about leaving one type

commented

Found it =) and it worked woo.
That cut down my config file by about a quarter. And it worked better.
One ingot to rule them all (muahah). Thanks so much for the tips! Its perfect now. Every machine I have tested only has the material I want -- and only one entry. Makes me all emo inside.

commented

Male sure you either modify the loot tables to remove other ingots, or add a shapless recipe to convert them, or a way to grind them into dust.

And ypur welcome.

commented

I got around that issue by just serting everything to the COFH output myself.

Umm huh? (LOL). I guess I do not know what that is or how to do it. Got a tut or something I could look at? If I would need to make my own mod then NM; not a coder... =)

commented

Easy. Set your scripts aside, and launch the game. See what the output for each ore is in the thermal foundation machines is, and make it so all other mods output the same.

commented

1.10.2 isn't supported anymore / Issue has been fixed in 1.12