marcel0ll / CustomItems

The most simple way to add your custom items to minecraft
https://marcel0ll.github.io/CustomItems/
20 stars 19 forks source link

Fluids give errors if used in Mine/Modtweaker functions #18

Closed Yulife closed 9 years ago

Yulife commented 9 years ago

When I generated a list of unlocalized names of fluids with /mt liquids the Minetweaker log gave me this unlocalized name. However, when I used the unlocalized name in a Modtweaker script that goes like this "mods.tconstruct.Smeltery.addMelting(Steamcraft:steamcraftOre:1, * 288, 400, Steamcraft:steamcraftOre:1);" it gives me a giant error.

I am running the latest Forge, Minetweaker and CustomItems.

EDIT: Changing the name of the fluid to "MoltenZinc" in the json fixed it, however, it is not a good workaround. The localized name have no backspace which is rather weird.

marcel0ll commented 9 years ago

I am not very familiar with liquids in MT. If you could, please send me the configs needed to this error, so I can test it more easily

Yulife commented 9 years ago

JSON Minetweaker script Minetweaker log My suggestion is that you remove the backspace from the unlocalized name every time a fluid is created. However, I am not a coder so it may not be so easy :P

marcel0ll commented 9 years ago

I made a small change to how fluids are named. It should be fixed.