Posts by jstorey97

    hey great mod been playing it a while but its incompatible with the new IC2 experimental versions #49-67 ive tested.

    Display Spoiler

    I believe Its due to a rename in the IC2 api of dense copper plates.. A simple re-write as far as im aware is to change, in the ic2.java:

    Code
    public static ItemStack getItem(String name,int amount){
    		return Items.getItem(name).copy().splitStack(amount);
    	}

    to

    Code
    public static ItemStack getItem(String name,int amount){
    		if(Items.getItem(name) != null)return Items.getItem(name).copy().splitStack(amount);
    	}


    I havent tested it yet but i believe it should work.

    Im going to set up a 1.6.2 enviorment and do a test. :)

    For some reason my code does not seem to work on launch..

    The Code:

    Quote

    GregTech_API.addCentrifugeRecipe( new ItemStack(GTOres_Items.DustItem, 1, 0), 1, GregTech_API.getGregTechItem(1, 2, 241), GregTech_API.getGregTechItem(1, 1, 12), GregTech_API.getGregTechItem(1, 1, 22), GT_ModHandler.getIC2Item("airCell", 1), 100);


    The Error:

    Display Spoiler

    java.lang.NullPointerException
    at net.minecraft.item.ItemStack.<init>(ItemStack.java:77)
    at GTOres.Handlers.GTOres_RecipeHandler.init(GTOres_RecipeHandler.java:14)
    at GTOres.GTOres_Core.load(GTOres_Core.java:66)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    at java.lang.reflect.Method.invoke(Unknown Source)
    at cpw.mods.fml.common.FMLModContainer.handleModStateEvent(FMLModContainer.java:494)
    at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    at java.lang.reflect.Method.invoke(Unknown Source)
    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:314)
    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.propogateStateMessage(LoadController.java:165)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    at java.lang.reflect.Method.invoke(Unknown Source)
    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:314)
    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:98)
    at cpw.mods.fml.common.Loader.initializeMods(Loader.java:690)
    at cpw.mods.fml.client.FMLClientHandler.finishMinecraftLoading(FMLClientHandler.java:206)
    at net.minecraft.client.Minecraft.startGame(Minecraft.java:448)
    at net.minecraft.client.MinecraftAppletImpl.startGame(MinecraftAppletImpl.java:44)
    at net.minecraft.client.Minecraft.run(Minecraft.java:733) at java.lang.Thread.run(Unknown Source)

    Any ideas/solutions appreciated?</init>