I've just finished writing up a simple addon for NEI & MineFantasy compatibility. Note that at the moment, only recipes are established - I do plan to include shift-click support in the future, as I have more time to work on this addon.
If you have any issues, please post them in this thread, including a link to a Forge log file and a description of the problem.
Changelog 1.0.3 - Fixed compatibility with MineFantasy 1.8.5. Note that this build is no longer compatible with 1.8.3. 1.0.2 - Removed plugin's addition of Bronze bloom recipe in preparation for updated MineFantasy build that will include it there. Using 1.8.3 or earlier with this build will result in you not seeing the Bronze recipe in NEI - but it is still in game. 1.0.1 - Added compatibility with MineFantasy 1.8.1
Mod Packs
So long as your mod pack is not-for-profit (as far as I'm concerned, ad revenue counts as profit) and has permission to distribute both MineFantasy and NotEnoughItems, you are free to include this mod in your mod pack. I would like to hear about it, but that's not necessary.
I talked to AP before I even began work on the mod. I don't like stepping on other mod authors' toes with things like this. Installation is as simple as dropping the mod in the mods/ folder.
i removed all other mods and tried again (still with gulliver, of course) sorry i dont know how to use spoilers
---- Minecraft Crash Report ----
// Sorry
Time: 6/20/13 11:57 AM
Description: Unexpected error
java.lang.ExceptionInInitializerError
at net.minecraft.client.renderer.EntityRenderer.func_78480_b(EntityRenderer.java:1056)
at net.minecraft.client.Minecraft.func_71411_J(Minecraft.java:871)
at net.minecraft.client.Minecraft.run(Minecraft.java:760)
at java.lang.Thread.run(Thread.java:680)
Caused by: java.lang.RuntimeException: Duplicate stat id: "Unknown stat" and "achievement.drinkMe" at id 5285660
at net.minecraft.stats.StatBase.func_75971_g(SourceFile:32)
at net.minecraft.stats.Achievement.func_75985_c(SourceFile:51)
at gulliver.GulliverForged.<clinit>(GulliverForged.java:68)
... 4 more
A detailed walkthrough of the error, its code path and all known details is as follows:
---------------------------------------------------------------------------------------
-- System Details --
Details:
Minecraft Version: 1.5.2
Operating System: Mac OS X (x86_64) version 10.8
Java Version: 1.6.0_37, Apple Inc.
Java VM Version: Java HotSpot™ 64-Bit Server VM (mixed mode), Apple Inc.
Memory: 461848872 bytes (440 MB) / 534708224 bytes (509 MB) up to 1065025536 bytes (1015 MB)
JVM Flags: 3 total; -Xbootclasspath/a:/System/Library/PrivateFrameworks/JavaApplicationLauncher.framework/Resources/LauncherSupport.jar -Xms512M -Xmx1024M
AABB Pool Size: 0 (0 bytes; 0 MB) allocated, 0 (0 bytes; 0 MB) used
Suspicious classes: FML and Forge are installed
IntCache: cache: 0, tcache: 0, allocated: 0, tallocated: 0
FML: MCP v7.51 FML v5.2.19.723 Minecraft Forge 7.8.0.723 8 mods loaded, 8 mods active
mcp{7.44} [Minecraft Coder Pack] (minecraft.jar) Unloaded
FML{5.2.19.723} [Forge Mod Loader] (coremods) Unloaded
Forge{7.8.0.723} [Minecraft Forge] (coremods) Unloaded
CodeChickenCore{0.8.6.6} [CodeChicken Core] (coremods) Unloaded
NotEnoughItems{1.5.2.13} [Not Enough Items] (coremods) Unloaded
GulliverForged{0.13.6} [Gulliver Forged] (minecraft.jar) Unloaded
NEIMineFantasy{1.0} [NEI MineFantasy Plugin] (NEI_MineFantasy) Unloaded
MineFantasy{Alpha 1.8.3} [Mine Fantasy] ([1.5.2]MineFantasy 1.8.3_dev.jar) Unloaded
LWJGL: 2.4.2
OpenGL: Intel HD Graphics 4000 OpenGL Engine GL version 2.1 APPLE-8.0.51, Intel Inc.
Is Modded: Definitely; Client brand changed to 'fml,forge'
Type: Client (map_client.txt)
Texture Pack: Default
Profiler Position: N/A (disabled)
Vec3 Pool Size: ~~ERROR~~ NullPointerException: null
i removed all other mods and tried again (still with gulliver, of course) sorry i dont know how to use spoilers
---- Minecraft Crash Report ----
// Sorry
Time: 6/20/13 11:57 AM
Description: Unexpected error
java.lang.ExceptionInInitializerError
at net.minecraft.client.renderer.EntityRenderer.func_78480_b(EntityRenderer.java:1056)
at net.minecraft.client.Minecraft.func_71411_J(Minecraft.java:871)
at net.minecraft.client.Minecraft.run(Minecraft.java:760)
at java.lang.Thread.run(Thread.java:680)
Caused by: java.lang.RuntimeException: Duplicate stat id: "Unknown stat" and "achievement.drinkMe" at id 5285660
at net.minecraft.stats.StatBase.func_75971_g(SourceFile:32)
at net.minecraft.stats.Achievement.func_75985_c(SourceFile:51)
at gulliver.GulliverForged.<clinit>(GulliverForged.java:68)
... 4 more
A detailed walkthrough of the error, its code path and all known details is as follows:
---------------------------------------------------------------------------------------
-- System Details --
Details:
Minecraft Version: 1.5.2
Operating System: Mac OS X (x86_64) version 10.8
Java Version: 1.6.0_37, Apple Inc.
Java VM Version: Java HotSpot™ 64-Bit Server VM (mixed mode), Apple Inc.
Memory: 461848872 bytes (440 MB) / 534708224 bytes (509 MB) up to 1065025536 bytes (1015 MB)
JVM Flags: 3 total; -Xbootclasspath/a:/System/Library/PrivateFrameworks/JavaApplicationLauncher.framework/Resources/LauncherSupport.jar -Xms512M -Xmx1024M
AABB Pool Size: 0 (0 bytes; 0 MB) allocated, 0 (0 bytes; 0 MB) used
Suspicious classes: FML and Forge are installed
IntCache: cache: 0, tcache: 0, allocated: 0, tallocated: 0
FML: MCP v7.51 FML v5.2.19.723 Minecraft Forge 7.8.0.723 8 mods loaded, 8 mods active
mcp{7.44} [Minecraft Coder Pack] (minecraft.jar) Unloaded
FML{5.2.19.723} [Forge Mod Loader] (coremods) Unloaded
Forge{7.8.0.723} [Minecraft Forge] (coremods) Unloaded
CodeChickenCore{0.8.6.6} [CodeChicken Core] (coremods) Unloaded
NotEnoughItems{1.5.2.13} [Not Enough Items] (coremods) Unloaded
GulliverForged{0.13.6} [Gulliver Forged] (minecraft.jar) Unloaded
NEIMineFantasy{1.0} [NEI MineFantasy Plugin] (NEI_MineFantasy) Unloaded
MineFantasy{Alpha 1.8.3} [Mine Fantasy] ([1.5.2]MineFantasy 1.8.3_dev.jar) Unloaded
LWJGL: 2.4.2
OpenGL: Intel HD Graphics 4000 OpenGL Engine GL version 2.1 APPLE-8.0.51, Intel Inc.
Is Modded: Definitely; Client brand changed to 'fml,forge'
Type: Client (map_client.txt)
Texture Pack: Default
Profiler Position: N/A (disabled)
Vec3 Pool Size: ~~ERROR~~ NullPointerException: null
Just a guess, but is this addon reading a stat file (or instantiating a static StatFileWriter with new StatFileWriter) at load or @PreInit time?
Don't do that - calling the StatFileWriter constructor too soon will create empty "placeholders" for any custom stats/achievements that haven't had a chance to be added by their mods yet (since those mods haven't been loaded yet!) Then it'll crash when those mods try to register their Achievements at load or @PreInit time, as we see in the crash report.
If that's the case, hold off on doing anything with stat files or StatFileWriter until the @Init stage.
(Note that this crash will only happen at startup with users that already unlocked the custom achievement(s), so you won't see the crash just by installing one of those mods that add achievements and starting up Minecraft once.)
UncleMion: No, it isn't. In fact, this mod has neither an Init or PreInit - this mod literally does only two things:
1) It adds (in @PostInit) a recipe for Bronze to the MF Bloom, to fix an oversight I noticed within the test build of MineFantasy.
2) It registers (in @PostInit) recipe and usage handlers to NotEnoughItems.
Period. End of story. This plugin does nothing regarding stats, because there is no need for it.
Edit:
I would like to point out that Gulliver is a jar mod, and specifically states "Doesn't quite work with Smart Moving, Player API, More Player Models, and more!" and "works with [...] some Forges [...]" - I'm sorry, but I'm not going to put forth the time and effort it would take to find out why this mod is conflicting with something that makes base edits.
i removed all other mods and tried again (still with gulliver, of course) sorry i dont know how to use spoilers
---- Minecraft Crash Report ----
// Sorry
Time: 6/20/13 11:57 AM
Description: Unexpected error
java.lang.ExceptionInInitializerError
at net.minecraft.client.renderer.EntityRenderer.func_78480_b(EntityRenderer.java:1056)
at net.minecraft.client.Minecraft.func_71411_J(Minecraft.java:871)
at net.minecraft.client.Minecraft.run(Minecraft.java:760)
at java.lang.Thread.run(Thread.java:680)
Caused by: java.lang.RuntimeException: Duplicate stat id: "Unknown stat" and "achievement.drinkMe" at id 5285660
at net.minecraft.stats.StatBase.func_75971_g(SourceFile:32)
at net.minecraft.stats.Achievement.func_75985_c(SourceFile:51)
at gulliver.GulliverForged.<clinit>(GulliverForged.java:68)
... 4 more
A detailed walkthrough of the error, its code path and all known details is as follows:
---------------------------------------------------------------------------------------
-- System Details --
Details:
Minecraft Version: 1.5.2
Operating System: Mac OS X (x86_64) version 10.8
Java Version: 1.6.0_37, Apple Inc.
Java VM Version: Java HotSpot™ 64-Bit Server VM (mixed mode), Apple Inc.
Memory: 461848872 bytes (440 MB) / 534708224 bytes (509 MB) up to 1065025536 bytes (1015 MB)
JVM Flags: 3 total; -Xbootclasspath/a:/System/Library/PrivateFrameworks/JavaApplicationLauncher.framework/Resources/LauncherSupport.jar -Xms512M -Xmx1024M
AABB Pool Size: 0 (0 bytes; 0 MB) allocated, 0 (0 bytes; 0 MB) used
Suspicious classes: FML and Forge are installed
IntCache: cache: 0, tcache: 0, allocated: 0, tallocated: 0
FML: MCP v7.51 FML v5.2.19.723 Minecraft Forge 7.8.0.723 8 mods loaded, 8 mods active
mcp{7.44} [Minecraft Coder Pack] (minecraft.jar) Unloaded
FML{5.2.19.723} [Forge Mod Loader] (coremods) Unloaded
Forge{7.8.0.723} [Minecraft Forge] (coremods) Unloaded
CodeChickenCore{0.8.6.6} [CodeChicken Core] (coremods) Unloaded
NotEnoughItems{1.5.2.13} [Not Enough Items] (coremods) Unloaded
GulliverForged{0.13.6} [Gulliver Forged] (minecraft.jar) Unloaded
NEIMineFantasy{1.0} [NEI MineFantasy Plugin] (NEI_MineFantasy) Unloaded
MineFantasy{Alpha 1.8.3} [Mine Fantasy] ([1.5.2]MineFantasy 1.8.3_dev.jar) Unloaded
LWJGL: 2.4.2
OpenGL: Intel HD Graphics 4000 OpenGL Engine GL version 2.1 APPLE-8.0.51, Intel Inc.
Is Modded: Definitely; Client brand changed to 'fml,forge'
Type: Client (map_client.txt)
Texture Pack: Default
Profiler Position: N/A (disabled)
Vec3 Pool Size: ~~ERROR~~ NullPointerException: null
UncleMion: No, it isn't. In fact, this mod has neither an Init or PreInit - this mod literally does only two things:
1) It adds (in @PostInit) a recipe for Bronze to the MF Bloom, to fix an oversight I noticed within the test build of MineFantasy.
2) It registers (in @PostInit) recipe and usage handlers to NotEnoughItems.
Period. End of story. This plugin does nothing regarding stats, because there is no need for it.
Good to know. Actually, I just retested after grabbing the most recent versions of NEI, ChickenCore, & MineFantasy, and the Achievements crash went away thatguy3039, go update your Forge, NEI & MineFantasy and see if that fixes the problem.
EDIT: And Gulliver too, update to Gulliver Forged 0.13.7.
your custom bronze recipe is abit off, it's allowing copper to smelt directly into bronze.
I may have misjudged the way BloomRecipe works then, or it may be conflicting with the way you check for bronze & tin - here's the code i used for it (just grabs the first ore dictionary recipe for tin, copper and bronze and uses those):
ItemStack copper = OreDictionary.getOres("ingotCopper").get(0);
ItemStack tin = OreDictionary.getOres("ingotTin").get(0);
ItemStack bronze = OreDictionary.getOres("ingotBronze").get(0);
BloomRecipe bronzeRecipe = new BloomRecipe(copper, tin, bronze);
BloomRecipe.add(bronzeRecipe);
Edit:
I'll go ahead and remove my custom addition, and people will just have to use your wiki/information pages to figure out how to make bronze until you've fixed it up so that MineFantasy adds the bronze recipe to BloomRecipeHandler.
If you have any issues, please post them in this thread, including a link to a Forge log file and a description of the problem.
Requirements:
MineFantasy
NotEnoughItems
Download
https://dl.dropboxus...ntasy 1.0.1.zip
https://dl.dropboxus...ntasy 1.0.2.zip
https://dl.dropboxusercontent.com/u/29967996/NEI_MineFantasy 1.0.3.zip
Changelog
1.0.3 - Fixed compatibility with MineFantasy 1.8.5. Note that this build is no longer compatible with 1.8.3.
1.0.2 - Removed plugin's addition of Bronze bloom recipe in preparation for updated MineFantasy build that will include it there. Using 1.8.3 or earlier with this build will result in you not seeing the Bronze recipe in NEI - but it is still in game.
1.0.1 - Added compatibility with MineFantasy 1.8.1
Mod Packs
So long as your mod pack is not-for-profit (as far as I'm concerned, ad revenue counts as profit) and has permission to distribute both MineFantasy and NotEnoughItems, you are free to include this mod in your mod pack. I would like to hear about it, but that's not necessary.
Quick note: Currently doesn't work with MineFantasy 1.8.1 because of a change to the MF API. I'm gonna see what I can do to fix this.Fixed.
", palatino, serif">RUSTIC
", palatino, serif">RUSTIC
I talked to AP before I even began work on the mod. I don't like stepping on other mod authors' toes with things like this. Installation is as simple as dropping the mod in the mods/ folder.
This doesn't add achievement IDs, so your crash is related to something else.
Very much agreed, my main interest in writing it was that I didn't want to have to look it all up on the wiki every time I went to do something.
", palatino, serif">RUSTIC
---- Minecraft Crash Report ----
// Sorry
Time: 6/20/13 11:57 AM
Description: Unexpected error
java.lang.ExceptionInInitializerError
at net.minecraft.client.renderer.EntityRenderer.func_78480_b(EntityRenderer.java:1056)
at net.minecraft.client.Minecraft.func_71411_J(Minecraft.java:871)
at net.minecraft.client.Minecraft.run(Minecraft.java:760)
at java.lang.Thread.run(Thread.java:680)
Caused by: java.lang.RuntimeException: Duplicate stat id: "Unknown stat" and "achievement.drinkMe" at id 5285660
at net.minecraft.stats.StatBase.func_75971_g(SourceFile:32)
at net.minecraft.stats.Achievement.func_75985_c(SourceFile:51)
at gulliver.GulliverForged.<clinit>(GulliverForged.java:68)
... 4 more
A detailed walkthrough of the error, its code path and all known details is as follows:
---------------------------------------------------------------------------------------
-- System Details --
Details:
Minecraft Version: 1.5.2
Operating System: Mac OS X (x86_64) version 10.8
Java Version: 1.6.0_37, Apple Inc.
Java VM Version: Java HotSpot™ 64-Bit Server VM (mixed mode), Apple Inc.
Memory: 461848872 bytes (440 MB) / 534708224 bytes (509 MB) up to 1065025536 bytes (1015 MB)
JVM Flags: 3 total; -Xbootclasspath/a:/System/Library/PrivateFrameworks/JavaApplicationLauncher.framework/Resources/LauncherSupport.jar -Xms512M -Xmx1024M
AABB Pool Size: 0 (0 bytes; 0 MB) allocated, 0 (0 bytes; 0 MB) used
Suspicious classes: FML and Forge are installed
IntCache: cache: 0, tcache: 0, allocated: 0, tallocated: 0
FML: MCP v7.51 FML v5.2.19.723 Minecraft Forge 7.8.0.723 8 mods loaded, 8 mods active
mcp{7.44} [Minecraft Coder Pack] (minecraft.jar) Unloaded
FML{5.2.19.723} [Forge Mod Loader] (coremods) Unloaded
Forge{7.8.0.723} [Minecraft Forge] (coremods) Unloaded
CodeChickenCore{0.8.6.6} [CodeChicken Core] (coremods) Unloaded
NotEnoughItems{1.5.2.13} [Not Enough Items] (coremods) Unloaded
GulliverForged{0.13.6} [Gulliver Forged] (minecraft.jar) Unloaded
NEIMineFantasy{1.0} [NEI MineFantasy Plugin] (NEI_MineFantasy) Unloaded
MineFantasy{Alpha 1.8.3} [Mine Fantasy] ([1.5.2]MineFantasy 1.8.3_dev.jar) Unloaded
LWJGL: 2.4.2
OpenGL: Intel HD Graphics 4000 OpenGL Engine GL version 2.1 APPLE-8.0.51, Intel Inc.
Is Modded: Definitely; Client brand changed to 'fml,forge'
Type: Client (map_client.txt)
Texture Pack: Default
Profiler Position: N/A (disabled)
Vec3 Pool Size: ~~ERROR~~ NullPointerException: null
", palatino, serif">RUSTIC
Just a guess, but is this addon reading a stat file (or instantiating a static StatFileWriter with new StatFileWriter) at load or @PreInit time?
Don't do that - calling the StatFileWriter constructor too soon will create empty "placeholders" for any custom stats/achievements that haven't had a chance to be added by their mods yet (since those mods haven't been loaded yet!) Then it'll crash when those mods try to register their Achievements at load or @PreInit time, as we see in the crash report.
If that's the case, hold off on doing anything with stat files or StatFileWriter until the @Init stage.
(Note that this crash will only happen at startup with users that already unlocked the custom achievement(s), so you won't see the crash just by installing one of those mods that add achievements and starting up Minecraft once.)
1) It adds (in @PostInit) a recipe for Bronze to the MF Bloom, to fix an oversight I noticed within the test build of MineFantasy.
2) It registers (in @PostInit) recipe and usage handlers to NotEnoughItems.
Period. End of story. This plugin does nothing regarding stats, because there is no need for it.
Edit:
I would like to point out that Gulliver is a jar mod, and specifically states "Doesn't quite work with Smart Moving, Player API, More Player Models, and more!" and "works with [...] some Forges [...]" - I'm sorry, but I'm not going to put forth the time and effort it would take to find out why this mod is conflicting with something that makes base edits.
", palatino, serif">RUSTIC
Good to know. Actually, I just retested after grabbing the most recent versions of NEI, ChickenCore, & MineFantasy, and the Achievements crash went away thatguy3039, go update your Forge, NEI & MineFantasy and see if that fixes the problem.
EDIT: And Gulliver too, update to Gulliver Forged 0.13.7.
", palatino, serif">RUSTIC
Server Crash report:
I may have misjudged the way BloomRecipe works then, or it may be conflicting with the way you check for bronze & tin - here's the code i used for it (just grabs the first ore dictionary recipe for tin, copper and bronze and uses those):
Edit:
I'll go ahead and remove my custom addition, and people will just have to use your wiki/information pages to figure out how to make bronze until you've fixed it up so that MineFantasy adds the bronze recipe to BloomRecipeHandler.
...don't include it on the server-side. You don't need it server-side.
right now i was going to use