Project Red - Exploration

Project Red - Exploration

27M Downloads

Screwdriver for the Core Creative Tab Icon....

Mithrandnar opened this issue ยท 1 comments

commented

And one more.....
It works fine from the dev environment, but after compiling, re-obfuscating, and packing the jars, Minecraft won't load with ProjectRed installed. It seems to be because it's looking for the ItemScrewdriver class that is in the ProjectRedIntegration jar while loading the ProjectRedCore jar.

Since the Core jar is loaded before the others, it can't find it.

In case you want it, here's the relevant section of the ForegModLoader log.

http://pastebin.com/sqrgHthG

Yes I have a lot of other mods in this one, since I was testing live, not dev, but it's pretty clear that it's not an incompatibility.

:p

As a test I changed the Icon for the Core tab in Creative to itemDrawPlate by changing

public static CreativeTabs tabCore = new CreativeTabs("core") {
@OverRide
public ItemStack getIconItemStack() {
return new ItemStack(ProjectRedIntegration.itemScrewdriver);
}
}

to

public static CreativeTabs tabCore = new CreativeTabs("core") {
@OverRide
public ItemStack getIconItemStack() {
return new ItemStack(ProjectRedCore.itemDrawPlate);
}
}

recompiled, re-obfuscated, etc. and it loaded fine.

Seems to me the options are to either change the icon for the Core Creative Tab to an item already in the Core jar, or move the ItemScrewdriver.class to the Core jar.

commented

fixed via 549dc8f