Jump to content

Applied Energistics API help


SkylordJoel

Recommended Posts

Hi,

I am trying to create an alchemy based mod which interfaces with most of my favourite mods. I am trying to use Applied Energistics' quartz crystals. It says use ItemStack.copy . So I did this after my init:

Quote

ItemStack quartzStack = Materials.matQuartz.copy();
 

It shows no error, however when running the game it the console spits this out:

Quote

Nov 4, 2013 3:55:44 PM net.minecraft.launchwrapper.LogWrapper log
INFO: Using tweak class name cpw.mods.fml.common.launcher.FMLTweaker
2013-11-04 15:55:44 [iNFO] [ForgeModLoader] Forge Mod Loader version 6.2.62.871 for Minecraft 1.6.2 loading
2013-11-04 15:55:44 [iNFO] [ForgeModLoader] Java is Java HotSpot(TM) 64-Bit Server VM, version 1.6.0_65, running on Mac OS X:x86_64:10.9, installed at /System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home
2013-11-04 15:55:44 [iNFO] [ForgeModLoader] Managed to load a deobfuscated Minecraft name- we are in a deobfuscated environment. Skipping runtime deobfuscation
2013-11-04 15:55:44 [WARNING] [ForgeModLoader] The coremod codechicken.core.launch.CodeChickenCorePlugin does not have a MCVersion annotation, it may cause issues with this version of Minecraft
2013-11-04 15:55:46 [WARNING] [ForgeModLoader] The coremod codechicken.nei.asm.NEICorePlugin does not have a MCVersion annotation, it may cause issues with this version of Minecraft
2013-11-04 15:55:46 [iNFO] [sTDOUT] Loaded 39 rules from AccessTransformer config file fml_at.cfg
2013-11-04 15:55:46 [iNFO] [sTDOUT] Loaded 107 rules from AccessTransformer config file forge_at.cfg
2013-11-04 15:55:46 [iNFO] [sTDOUT] Loaded 39 rules from AccessTransformer config file fml_at.cfg
2013-11-04 15:55:47 [sEVERE] [ForgeModLoader] The binary patch set is missing. Either you are in a development environment, or things are not going to work!
2013-11-04 15:55:47 [iNFO] [sTDOUT] Adding AccessTransformer: nei_at.cfg
2013-11-04 15:55:47 [iNFO] [sTDOUT] Adding Accesstransformer map: temp.dat
2013-11-04 15:55:47 [iNFO] [sTDOUT] Loaded 53 rules from AccessTransformer config file temp.dat
2013-11-04 15:55:48 [iNFO] [ForgeModLoader] Launching wrapped minecraft
2013-11-04 15:55:49 [iNFO] [sTDOUT] Inserted super call into net.minecraft.client.gui.inventory.GuiInventory.updateScreen
2013-11-04 15:55:49 [iNFO] [sTDOUT] awv was overriden from NotEnoughItems 1.6.1.4.jar
2013-11-04 15:55:50 [iNFO] [Minecraft-Client] Setting user: Player772
2013-11-04 15:55:50 [iNFO] [Minecraft-Client] (Session ID is null)
2013-11-04 15:55:50 [iNFO] [sTDOUT] Generated BlockMobSpawner helper method.
2013-11-04 15:55:52 [iNFO] [Minecraft-Client] LWJGL Version: 2.9.0
2013-11-04 15:55:52 [iNFO] [Minecraft-Client] Reloading ResourceManager: Default
2013-11-04 15:55:53 [iNFO] [sTDOUT] 
2013-11-04 15:55:53 [iNFO] [sTDOUT] Starting up SoundSystem...
2013-11-04 15:55:53 [iNFO] [MinecraftForge] Attempting early MinecraftForge initialization
2013-11-04 15:55:53 [iNFO] [sTDOUT] MinecraftForge v9.10.1.871 Initialized
2013-11-04 15:55:53 [iNFO] [ForgeModLoader] MinecraftForge v9.10.1.871 Initialized
2013-11-04 15:55:53 [iNFO] [sTDOUT] Initializing LWJGL OpenAL
2013-11-04 15:55:53 [iNFO] [sTDOUT]     (The LWJGL binding of OpenAL.  For more information, see http://www.lwjgl.org)
2013-11-04 15:55:53 [iNFO] [sTDOUT] Replaced 101 ore recipies
2013-11-04 15:55:53 [iNFO] [sTDOUT] OpenAL initialized.
2013-11-04 15:55:53 [iNFO] [MinecraftForge] Completed early MinecraftForge initialization
2013-11-04 15:55:53 [iNFO] [ForgeModLoader] Reading custom logging properties from /Users/me/Desktop/mcp/AddedCompat v1.6.2/mcp/jars/config/logging.properties
2013-11-04 15:55:53 [OFF] [ForgeModLoader] Logging level for ForgeModLoader logging is set to ALL
2013-11-04 15:55:53 [iNFO] [sTDOUT] 
2013-11-04 15:55:53 [iNFO] [ForgeModLoader] Searching /Users/me/Desktop/mcp/AddedCompat v1.6.2/mcp/jars/mods for mods
2013-11-04 15:55:53 [iNFO] [ForgeModLoader] Also searching /Users/me/Desktop/mcp/AddedCompat v1.6.2/mcp/jars/mods/1.6.2 for mods
2013-11-04 15:55:55 [iNFO] [ForgeModLoader] Forge Mod Loader has identified 7 mods to load
2013-11-04 15:55:55 [iNFO] [mcp] Activating mod mcp
2013-11-04 15:55:55 [iNFO] [FML] Activating mod FML
2013-11-04 15:55:55 [iNFO] [Forge] Activating mod Forge
2013-11-04 15:55:55 [iNFO] [CodeChickenCore] Activating mod CodeChickenCore
2013-11-04 15:55:55 [iNFO] [NotEnoughItems] Activating mod NotEnoughItems
2013-11-04 15:55:55 [iNFO] [AddedCompat] Activating mod AddedCompat
2013-11-04 15:55:55 [iNFO] [iC2] Activating mod IC2
2013-11-04 15:55:55 [WARNING] [Forge Mod Loader] Mod Forge Mod Loader is missing a pack.mcmeta file, things may not work well
2013-11-04 15:55:55 [WARNING] [Minecraft Forge] Mod Minecraft Forge is missing a pack.mcmeta file, things may not work well
2013-11-04 15:55:55 [WARNING] [Not Enough Items] Mod Not Enough Items is missing a pack.mcmeta file, things may not work well
2013-11-04 15:55:55 [WARNING] [Added Compat Mod] Mod Added Compat Mod is missing a pack.mcmeta file, things may not work well
2013-11-04 15:55:55 [iNFO] [Minecraft-Client] Reloading ResourceManager: Default, FMLFileResourcePack:Forge Mod Loader, FMLFileResourcePack:Minecraft Forge, FMLFileResourcePack:Not Enough Items, FMLFileResourcePack:Added Compat Mod, FMLFileResourcePack:IndustrialCraft 2
2013-11-04 15:55:55 [iNFO] [sTDOUT] 
2013-11-04 15:55:55 [iNFO] [sTDOUT] SoundSystem shutting down...
2013-11-04 15:55:56 [iNFO] [sTDOUT]     Author: Paul Lamb, www.paulscode.com
2013-11-04 15:55:56 [iNFO] [sTDOUT] 
2013-11-04 15:55:56 [iNFO] [sTDOUT] 
2013-11-04 15:55:56 [iNFO] [sTDOUT] Starting up SoundSystem...
2013-11-04 15:55:56 [iNFO] [ForgeModLoader] FML has found a non-mod file CodeChickenLib-dev-1.6.2-1.0.0.24.jar in your mods directory. It will now be injected into your classpath. This could severe stability issues, it should be removed if possible.
2013-11-04 15:55:56 [iNFO] [ForgeModLoader] Registering Forge Packet Handler
2013-11-04 15:55:56 [iNFO] [ForgeModLoader] Succeeded registering Forge Packet Handler
2013-11-04 15:55:56 [iNFO] [sTDOUT] Initializing LWJGL OpenAL
2013-11-04 15:55:56 [iNFO] [sTDOUT]     (The LWJGL binding of OpenAL.  For more information, see http://www.lwjgl.org)
2013-11-04 15:55:56 [iNFO] [sTDOUT] OpenAL initialized.
2013-11-04 15:55:56 [iNFO] [sTDOUT] 
2013-11-04 15:55:56 [iNFO] [ForgeModLoader] Configured a dormant chunk cache size of 0
2013-11-04 15:55:56 [iNFO] [iC2] Starting initialization
2013-11-04 15:55:56 [iNFO] [iC2] Loaded library ejml-0.23.jar
2013-11-04 15:55:56 [iNFO] [iC2] Config loaded from /Users/me/Desktop/mcp/AddedCompat v1.6.2/mcp/jars/./config/IC2.cfg
2013-11-04 15:55:56 [iNFO] [iC2] Using 32 audio sources.
2013-11-04 15:55:58 [iNFO] [iC2] Finished initialization after 1317 ms
2013-11-04 15:55:59 [iNFO] [sTDOUT] Removing TMI Uninstaller
2013-11-04 15:55:59 [iNFO] [sTDOUT] Deleting Dir: /Users/me/Desktop/mcp/AddedCompat v1.6.2/mcp/eclipse/Minecraft/bin/net/minecraft/client/TMIUninstaller
2013-11-04 15:55:59 [sEVERE] [ForgeModLoader] Fatal errors were detected during the transition from INITIALIZATION to POSTINITIALIZATION. Loading cannot continue
2013-11-04 15:55:59 [sEVERE] [ForgeModLoader] 
mcp{8.04} [Minecraft Coder Pack] (minecraft.jar) Unloaded->Constructed->Pre-initialized->Initialized
FML{6.2.62.871} [Forge Mod Loader] (bin) Unloaded->Constructed->Pre-initialized->Initialized
Forge{9.10.1.871} [Minecraft Forge] (bin) Unloaded->Constructed->Pre-initialized->Initialized
CodeChickenCore{0.9.0.5} [CodeChicken Core] (minecraft.jar) Unloaded->Constructed->Pre-initialized->Initialized
NotEnoughItems{1.6.1.4} [Not Enough Items] (NotEnoughItems 1.6.1.4.jar) Unloaded->Constructed->Pre-initialized->Initialized
IC2{2.0.239-experimental} [industrialCraft 2] (industrialcraft-2-dev-deobf_2.0.239-experimental.jar) Unloaded->Constructed->Pre-initialized->Initialized
AddedCompat{Alpha 0.1} [Added Compat Mod] (bin) Unloaded->Constructed->Pre-initialized->Errored
2013-11-04 15:55:59 [sEVERE] [ForgeModLoader] The following problems were captured during this phase
2013-11-04 15:55:59 [sEVERE] [ForgeModLoader] Caught exception from AddedCompat
java.lang.NullPointerException
at addedcompat.common.AddedCompat.craftingRecipes(AddedCompat.java:132)
at addedcompat.common.AddedCompat.load(AddedCompat.java:110)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at cpw.mods.fml.common.FMLModContainer.handleModStateEvent(FMLModContainer.java:540)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at com.google.common.eventbus.EventHandler.handleEvent(EventHandler.java:74)
at com.google.common.eventbus.SynchronizedEventHandler.handleEvent(SynchronizedEventHandler.java:45)
at com.google.common.eventbus.EventBus.dispatch(EventBus.java:313)
at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:296)
at com.google.common.eventbus.EventBus.post(EventBus.java:267)
at cpw.mods.fml.common.LoadController.sendEventToModContainer(LoadController.java:194)
at cpw.mods.fml.common.LoadController.propogateStateMessage(LoadController.java:174)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at com.google.common.eventbus.EventHandler.handleEvent(EventHandler.java:74)
at com.google.common.eventbus.SynchronizedEventHandler.handleEvent(SynchronizedEventHandler.java:45)
at com.google.common.eventbus.EventBus.dispatch(EventBus.java:313)
at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:296)
at com.google.common.eventbus.EventBus.post(EventBus.java:267)
at cpw.mods.fml.common.LoadController.distributeStateMessage(LoadController.java:105)
at cpw.mods.fml.common.Loader.initializeMods(Loader.java:696)
at cpw.mods.fml.client.FMLClientHandler.finishMinecraftLoading(FMLClientHandler.java:231)
at net.minecraft.client.Minecraft.startGame(Minecraft.java:507)
at net.minecraft.client.Minecraft.run(Minecraft.java:806)
at net.minecraft.client.main.Main.main(Main.java:93)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at net.minecraft.launchwrapper.Launch.launch(Launch.java:57)
at net.minecraft.launchwrapper.Launch.main(Launch.java:18)
2013-11-04 15:55:59 [iNFO] [sTDOUT] ---- Minecraft Crash Report ----
2013-11-04 15:55:59 [iNFO] [sTDOUT] // You're mean.
2013-11-04 15:55:59 [iNFO] [sTDOUT] 
2013-11-04 15:55:59 [iNFO] [sTDOUT] Time: 11/4/13 3:55 PM
2013-11-04 15:55:59 [iNFO] [sTDOUT] Description: Initializing game
2013-11-04 15:55:59 [iNFO] [sTDOUT] 
2013-11-04 15:55:59 [iNFO] [sTDOUT] java.lang.NullPointerException
2013-11-04 15:55:59 [iNFO] [sTDOUT] 	at addedcompat.common.AddedCompat.craftingRecipes(AddedCompat.java:132)
2013-11-04 15:55:59 [iNFO] [sTDOUT] 	at addedcompat.common.AddedCompat.load(AddedCompat.java:110)
2013-11-04 15:55:59 [iNFO] [sTDOUT] 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
2013-11-04 15:55:59 [iNFO] [sTDOUT] 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
2013-11-04 15:55:59 [iNFO] [sTDOUT] 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
2013-11-04 15:55:59 [iNFO] [sTDOUT] 	at java.lang.reflect.Method.invoke(Method.java:597)
2013-11-04 15:55:59 [iNFO] [sTDOUT] 	at cpw.mods.fml.common.FMLModContainer.handleModStateEvent(FMLModContainer.java:540)
2013-11-04 15:55:59 [iNFO] [sTDOUT] 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
2013-11-04 15:55:59 [iNFO] [sTDOUT] 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
2013-11-04 15:55:59 [iNFO] [sTDOUT] 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
2013-11-04 15:55:59 [iNFO] [sTDOUT] 	at java.lang.reflect.Method.invoke(Method.java:597)
2013-11-04 15:55:59 [iNFO] [sTDOUT] 	at com.google.common.eventbus.EventHandler.handleEvent(EventHandler.java:74)
2013-11-04 15:55:59 [iNFO] [sTDOUT] 	at com.google.common.eventbus.SynchronizedEventHandler.handleEvent(SynchronizedEventHandler.java:45)
2013-11-04 15:55:59 [iNFO] [sTDOUT] 	at com.google.common.eventbus.EventBus.dispatch(EventBus.java:313)
2013-11-04 15:55:59 [iNFO] [sTDOUT] 	at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:296)
2013-11-04 15:55:59 [iNFO] [sTDOUT] 	at com.google.common.eventbus.EventBus.post(EventBus.java:267)
2013-11-04 15:55:59 [iNFO] [sTDOUT] 	at cpw.mods.fml.common.LoadController.sendEventToModContainer(LoadController.java:194)
2013-11-04 15:55:59 [iNFO] [sTDOUT] 	at cpw.mods.fml.common.LoadController.propogateStateMessage(LoadController.java:174)
2013-11-04 15:55:59 [iNFO] [sTDOUT] 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
2013-11-04 15:55:59 [iNFO] [sTDOUT] 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
2013-11-04 15:55:59 [iNFO] [sTDOUT] 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
2013-11-04 15:55:59 [iNFO] [sTDOUT] 	at java.lang.reflect.Method.invoke(Method.java:597)
2013-11-04 15:55:59 [iNFO] [sTDOUT] 	at com.google.common.eventbus.EventHandler.handleEvent(EventHandler.java:74)
2013-11-04 15:55:59 [iNFO] [sTDOUT] 	at com.google.common.eventbus.SynchronizedEventHandler.handleEvent(SynchronizedEventHandler.java:45)
2013-11-04 15:55:59 [iNFO] [sTDOUT] 	at com.google.common.eventbus.EventBus.dispatch(EventBus.java:313)
2013-11-04 15:55:59 [iNFO] [sTDOUT] 	at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:296)
2013-11-04 15:55:59 [iNFO] [sTDOUT] 	at com.google.common.eventbus.EventBus.post(EventBus.java:267)
2013-11-04 15:55:59 [iNFO] [sTDOUT] 	at cpw.mods.fml.common.LoadController.distributeStateMessage(LoadController.java:105)
2013-11-04 15:55:59 [iNFO] [sTDOUT] 	at cpw.mods.fml.common.Loader.initializeMods(Loader.java:696)
2013-11-04 15:55:59 [iNFO] [sTDOUT] 	at cpw.mods.fml.client.FMLClientHandler.finishMinecraftLoading(FMLClientHandler.java:231)
2013-11-04 15:55:59 [iNFO] [sTDOUT] 	at net.minecraft.client.Minecraft.startGame(Minecraft.java:507)
2013-11-04 15:55:59 [iNFO] [sTDOUT] 	at net.minecraft.client.Minecraft.run(Minecraft.java:806)
2013-11-04 15:55:59 [iNFO] [sTDOUT] 	at net.minecraft.client.main.Main.main(Main.java:93)
2013-11-04 15:55:59 [iNFO] [sTDOUT] 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
2013-11-04 15:55:59 [iNFO] [sTDOUT] 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
2013-11-04 15:55:59 [iNFO] [sTDOUT] 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
2013-11-04 15:55:59 [iNFO] [sTDOUT] 	at java.lang.reflect.Method.invoke(Method.java:597)
2013-11-04 15:55:59 [iNFO] [sTDOUT] 	at net.minecraft.launchwrapper.Launch.launch(Launch.java:57)
2013-11-04 15:55:59 [iNFO] [sTDOUT] 	at net.minecraft.launchwrapper.Launch.main(Launch.java:18)
2013-11-04 15:55:59 [iNFO] [sTDOUT] 
2013-11-04 15:55:59 [iNFO] [sTDOUT] 
2013-11-04 15:55:59 [iNFO] [sTDOUT] A detailed walkthrough of the error, its code path and all known details is as follows:
2013-11-04 15:55:59 [iNFO] [sTDOUT] ---------------------------------------------------------------------------------------
2013-11-04 15:55:59 [iNFO] [sTDOUT] 
2013-11-04 15:55:59 [iNFO] [sTDOUT] -- Head --
2013-11-04 15:55:59 [iNFO] [sTDOUT] Stacktrace:
2013-11-04 15:55:59 [iNFO] [sTDOUT] 	at addedcompat.common.AddedCompat.craftingRecipes(AddedCompat.java:132)
2013-11-04 15:55:59 [iNFO] [sTDOUT] 	at addedcompat.common.AddedCompat.load(AddedCompat.java:110)
2013-11-04 15:55:59 [iNFO] [sTDOUT] 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
2013-11-04 15:55:59 [iNFO] [sTDOUT] 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
2013-11-04 15:55:59 [iNFO] [sTDOUT] 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
2013-11-04 15:55:59 [iNFO] [sTDOUT] 	at java.lang.reflect.Method.invoke(Method.java:597)
2013-11-04 15:55:59 [iNFO] [sTDOUT] 	at cpw.mods.fml.common.FMLModContainer.handleModStateEvent(FMLModContainer.java:540)
2013-11-04 15:55:59 [iNFO] [sTDOUT] 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
2013-11-04 15:55:59 [iNFO] [sTDOUT] 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
2013-11-04 15:55:59 [iNFO] [sTDOUT] 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
2013-11-04 15:55:59 [iNFO] [sTDOUT] 	at java.lang.reflect.Method.invoke(Method.java:597)
2013-11-04 15:55:59 [iNFO] [sTDOUT] 	at com.google.common.eventbus.EventHandler.handleEvent(EventHandler.java:74)
2013-11-04 15:55:59 [iNFO] [sTDOUT] 	at com.google.common.eventbus.SynchronizedEventHandler.handleEvent(SynchronizedEventHandler.java:45)
2013-11-04 15:55:59 [iNFO] [sTDOUT] 	at com.google.common.eventbus.EventBus.dispatch(EventBus.java:313)
2013-11-04 15:55:59 [iNFO] [sTDOUT] 	at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:296)
2013-11-04 15:55:59 [iNFO] [sTDOUT] 	at com.google.common.eventbus.EventBus.post(EventBus.java:267)
2013-11-04 15:55:59 [iNFO] [sTDOUT] 	at cpw.mods.fml.common.LoadController.sendEventToModContainer(LoadController.java:194)
2013-11-04 15:55:59 [iNFO] [sTDOUT] 	at cpw.mods.fml.common.LoadController.propogateStateMessage(LoadController.java:174)
2013-11-04 15:55:59 [iNFO] [sTDOUT] 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
2013-11-04 15:55:59 [iNFO] [sTDOUT] 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
2013-11-04 15:55:59 [iNFO] [sTDOUT] 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
2013-11-04 15:55:59 [iNFO] [sTDOUT] 	at java.lang.reflect.Method.invoke(Method.java:597)
2013-11-04 15:55:59 [iNFO] [sTDOUT] 	at com.google.common.eventbus.EventHandler.handleEvent(EventHandler.java:74)
2013-11-04 15:55:59 [iNFO] [sTDOUT] 	at com.google.common.eventbus.SynchronizedEventHandler.handleEvent(SynchronizedEventHandler.java:45)
2013-11-04 15:55:59 [iNFO] [sTDOUT] 	at com.google.common.eventbus.EventBus.dispatch(EventBus.java:313)
2013-11-04 15:55:59 [iNFO] [sTDOUT] 	at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:296)
2013-11-04 15:55:59 [iNFO] [sTDOUT] 	at com.google.common.eventbus.EventBus.post(EventBus.java:267)
2013-11-04 15:55:59 [iNFO] [sTDOUT] 	at cpw.mods.fml.common.LoadController.distributeStateMessage(LoadController.java:105)
2013-11-04 15:55:59 [iNFO] [sTDOUT] 	at cpw.mods.fml.common.Loader.initializeMods(Loader.java:696)
2013-11-04 15:55:59 [iNFO] [sTDOUT] 	at cpw.mods.fml.client.FMLClientHandler.finishMinecraftLoading(FMLClientHandler.java:231)
2013-11-04 15:55:59 [iNFO] [sTDOUT] 	at net.minecraft.client.Minecraft.startGame(Minecraft.java:507)
2013-11-04 15:55:59 [iNFO] [sTDOUT] 
2013-11-04 15:55:59 [iNFO] [sTDOUT] -- Initialization --
2013-11-04 15:55:59 [iNFO] [sTDOUT] Details:
2013-11-04 15:55:59 [iNFO] [sTDOUT] Stacktrace:
2013-11-04 15:55:59 [iNFO] [sTDOUT] 	at net.minecraft.client.Minecraft.run(Minecraft.java:806)
2013-11-04 15:55:59 [iNFO] [sTDOUT] 	at net.minecraft.client.main.Main.main(Main.java:93)
2013-11-04 15:55:59 [iNFO] [sTDOUT] 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
2013-11-04 15:55:59 [iNFO] [sTDOUT] 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
2013-11-04 15:55:59 [iNFO] [sTDOUT] 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
2013-11-04 15:55:59 [iNFO] [sTDOUT] 	at java.lang.reflect.Method.invoke(Method.java:597)
2013-11-04 15:55:59 [iNFO] [sTDOUT] 	at net.minecraft.launchwrapper.Launch.launch(Launch.java:57)
2013-11-04 15:55:59 [iNFO] [sTDOUT] 	at net.minecraft.launchwrapper.Launch.main(Launch.java:18)
2013-11-04 15:55:59 [iNFO] [sTDOUT] 
2013-11-04 15:55:59 [iNFO] [sTDOUT] -- System Details --
2013-11-04 15:55:59 [iNFO] [sTDOUT] Details:
2013-11-04 15:55:59 [iNFO] [sTDOUT] 	Minecraft Version: 1.6.2
2013-11-04 15:55:59 [iNFO] [sTDOUT] 	Operating System: Mac OS X (x86_64) version 10.9
2013-11-04 15:55:59 [iNFO] [sTDOUT] 	Java Version: 1.6.0_65, Apple Inc.
2013-11-04 15:55:59 [iNFO] [sTDOUT] 	Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Apple Inc.
2013-11-04 15:55:59 [iNFO] [sTDOUT] 	Memory: 898671216 bytes (857 MB) / 1065025536 bytes (1015 MB) up to 1065025536 bytes (1015 MB)
2013-11-04 15:55:59 [iNFO] [sTDOUT] 	JVM Flags: 3 total; -Xincgc -Xmx1024M -Xms1024M
2013-11-04 15:55:59 [iNFO] [sTDOUT] 	AABB Pool Size: 0 (0 bytes; 0 MB) allocated, 0 (0 bytes; 0 MB) used
2013-11-04 15:55:59 [iNFO] [sTDOUT] 	Suspicious classes: FML and Forge are installed
2013-11-04 15:55:59 [iNFO] [sTDOUT] 	IntCache: cache: 0, tcache: 0, allocated: 0, tallocated: 0
2013-11-04 15:55:59 [iNFO] [sTDOUT] 	FML: MCP v8.04 FML v6.2.62.871 Minecraft Forge 9.10.1.871 7 mods loaded, 7 mods active
2013-11-04 15:55:59 [iNFO] [sTDOUT] 	mcp{8.04} [Minecraft Coder Pack] (minecraft.jar) Unloaded->Constructed->Pre-initialized->Initialized
2013-11-04 15:55:59 [iNFO] [sTDOUT] 	FML{6.2.62.871} [Forge Mod Loader] (bin) Unloaded->Constructed->Pre-initialized->Initialized
2013-11-04 15:55:59 [iNFO] [sTDOUT] 	Forge{9.10.1.871} [Minecraft Forge] (bin) Unloaded->Constructed->Pre-initialized->Initialized
2013-11-04 15:55:59 [iNFO] [sTDOUT] 	CodeChickenCore{0.9.0.5} [CodeChicken Core] (minecraft.jar) Unloaded->Constructed->Pre-initialized->Initialized
2013-11-04 15:55:59 [iNFO] [sTDOUT] 	NotEnoughItems{1.6.1.4} [Not Enough Items] (NotEnoughItems 1.6.1.4.jar) Unloaded->Constructed->Pre-initialized->Initialized
2013-11-04 15:55:59 [iNFO] [sTDOUT] 	IC2{2.0.239-experimental} [industrialCraft 2] (industrialcraft-2-dev-deobf_2.0.239-experimental.jar) Unloaded->Constructed->Pre-initialized->Initialized
2013-11-04 15:55:59 [iNFO] [sTDOUT] 	AddedCompat{Alpha 0.1} [Added Compat Mod] (bin) Unloaded->Constructed->Pre-initialized->Errored
2013-11-04 15:55:59 [iNFO] [sTDOUT] 	Launched Version: 1.6
2013-11-04 15:55:59 [iNFO] [sTDOUT] 	LWJGL: 2.9.0
2013-11-04 15:55:59 [iNFO] [sTDOUT] 	OpenGL: Intel HD Graphics 4000 OpenGL Engine GL version 2.1 INTEL-8.18.26, Intel Inc.
2013-11-04 15:55:59 [iNFO] [sTDOUT] 	Is Modded: Definitely; Client brand changed to 'fml,forge'
2013-11-04 15:55:59 [iNFO] [sTDOUT] 	Type: Client (map_client.txt)
2013-11-04 15:55:59 [iNFO] [sTDOUT] 	Resource Pack: Default
2013-11-04 15:55:59 [iNFO] [sTDOUT] 	Current Language: English (US)
2013-11-04 15:55:59 [iNFO] [sTDOUT] 	Profiler Position: N/A (disabled)
2013-11-04 15:55:59 [iNFO] [sTDOUT] 	Vec3 Pool Size: ~~ERROR~~ NullPointerException: null
2013-11-04 15:55:59 [iNFO] [sTDOUT] #@!@# Game crashed! Crash report saved to: #@!@# /Users/me/Desktop/mcp/AddedCompat v1.6.2/mcp/jars/./crash-reports/crash-2013-11-04_15.55.59-client.txt
AL lib: (EE) alc_cleanup: 1 device not closed
 

 

Thanks!

Edited by SkylordJoel
Link to comment
Share on other sites

[ForgeModLoader] Caught exception from AddedCompat:

java.lang.NullPointerException

 

You have a NPE.  That is, you're trying to copy a stack that doesn't exist yet.

Apparently I'm a complete and utter jerk and come to this forum just like to make fun of people, be confrontational, and make your personal life miserable.  If you think this is the case, JUST REPORT ME.  Otherwise you're just going to get reported when you reply to my posts and point it out, because odds are, I was trying to be nice.

 

Exception: If you do not understand Java, I WILL NOT HELP YOU and your thread will get locked.

 

DO NOT PM ME WITH PROBLEMS. No help will be given.

Link to comment
Share on other sites

I have. It just doesn't work.

 

Have you set your mod to Load After Applied Energistics?

The log file you posted has your mod loading first.

Apparently I'm a complete and utter jerk and come to this forum just like to make fun of people, be confrontational, and make your personal life miserable.  If you think this is the case, JUST REPORT ME.  Otherwise you're just going to get reported when you reply to my posts and point it out, because odds are, I was trying to be nice.

 

Exception: If you do not understand Java, I WILL NOT HELP YOU and your thread will get locked.

 

DO NOT PM ME WITH PROBLEMS. No help will be given.

Link to comment
Share on other sites

To prevent other people from getting the same crash when they try to play your mod without having AE installed you can do AE specific things when Loader.isModLoaded("AEModID") equals true. However when you rely on AE you should add AE as a dependancy like mentioned by Chibill.

Author of PneumaticCraft, MineChess, Minesweeper Mod and Sokoban Mod. Visit www.minemaarten.com to take a look at them.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Announcements



  • Recently Browsing

    • No registered users viewing this page.
  • Posts

    • I am not using hardcoded recipes, I'm using Vanilla's already existing code for leather armor dying. (via extending and implementing DyeableArmorItem / DyeableLeatherItem respectively) I have actually figured out that it's something to do with registering item colors to the ItemColors instance, but I'm trying to figure out where exactly in my mod's code I would be placing a call to the required event handler. Unfortunately the tutorial is criminally undescriptive. The most I've found is that it has to be done during client initialization. I'm currently trying to do the necessary setup via hijacking the item registry since trying to modify the item classes directly (via using SubscribeEvent in the item's constructor didn't work. Class so far: // mrrp mrow - mcmod item painter v1.0 - catzrule ch package catzadvitems.init; import net.minecraft.client.color.item.ItemColors; import net.minecraft.world.item.Item; import net.minecraftforge.registries.ObjectHolder; import net.minecraftforge.fml.event.lifecycle.FMLClientSetupEvent; import net.minecraftforge.fml.common.Mod; import net.minecraftforge.eventbus.api.SubscribeEvent; import net.minecraftforge.client.event.ColorHandlerEvent; import catzadvitems.item.DyeableWoolArmorItem; @Mod.EventBusSubscriber(bus = Mod.EventBusSubscriber.Bus.MOD) public class Painter { @ObjectHolder("cai:dyeable_wool_chestplate") public static final Item W_CHEST = null; @ObjectHolder("cai:dyeable_wool_leggings") public static final Item W_LEGS = null; @ObjectHolder("cai:dyeable_wool_boots") public static final Item W_SOCKS = null; public Painter() { // left blank, idk if forge throws a fit if constructors are missing, not taking the chance of it happening. } @SubscribeEvent public static void init(FMLClientSetupEvent event) { new Painter(); } @Mod.EventBusSubscriber private static class ForgeBusEvents { @SubscribeEvent public static void registerItemColors(ColorHandlerEvent.Item event) { ItemColors col = event.getItemColors(); col.register(DyeableUnderArmorItem::getItemDyedColor, W_CHEST, W_LEGS, W_SOCKS); //placeholder for other dye-able items here later.. } } } (for those wondering, i couldn't think of a creative wool helmet name)
    • nvm found out it was because i had create h and not f
    • Maybe there's something happening in the 'leather armor + dye' recipe itself that would be updating the held item texture?
    • @SubscribeEvent public static void onRenderPlayer(RenderPlayerEvent.Pre e) { e.setCanceled(true); model.renderToBuffer(e.getPoseStack(), pBuffer, e.getPackedLight(), 0f, 0f, 0f, 0f, 0f); //ToaPlayerRenderer.render(); } Since getting the render method from a separate class is proving to be bit of a brick wall for me (but seems to be the solution in older versions of minecraft/forge) I've decided to try and pursue using the renderToBuffer method directly from the model itself. I've tried this route before but can't figure out what variables to feed it for the vertexConsumer and still can't seem to figure it out; if this is even a path to pursue.  The vanilla model files do not include any form of render methods, and seem to be fully constructed from their layer definitions? Their renderer files seem to take their layers which are used by the render method in the vanilla MobRenderer class. But for modded entities we @Override this function and don't have to feed the method variables because of that? I assume that the render method in the extended renderer takes the layer definitions from the renderer classes which take those from the model files. Or maybe instead of trying to use a render method I should be calling the super from the renderer like   new ToaPlayerRenderer(context, false); Except I'm not sure what I would provide for context? There's a context method in the vanilla EntityRendererProvider class which doesn't look especially helpful. I've been trying something like <e.getEntity(), model<e.getEntity()>> since that generally seems to be what is provided to the renderers for context, but I don't know if it's THE context I'm looking for? Especially since the method being called doesn't want to take this or variations of this.   In short; I feel like I'm super super close but I have to be missing something obvious? Maybe this insane inane ramble post will provide some insight into this puzzle?
  • Topics

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.