Jump to content
View in the app

A better way to browse. Learn more.

Forge Forums

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Featured Replies

Posted

It black screens right after the mojang logo and i cant find out whats happening

 

here is the error report mcp gave me

 

 

 

2012-09-18 19:10:14 [iNFO] [ForgeModLoader] Forge Mod Loader version 3.0.196.366 for Minecraft client:1.3.2, server:1.3.2 loading

2012-09-18 19:10:19 [iNFO] [sTDOUT] 27 achievements

2012-09-18 19:10:19 [iNFO] [sTDOUT] 195 recipes

2012-09-18 19:10:20 [iNFO] [sTDOUT] Setting user: Player828, -

2012-09-18 19:10:20 [iNFO] [sTDERR] Client asked for parameter: server

2012-09-18 19:10:20 [iNFO] [sTDOUT] LWJGL Version: 2.4.2

2012-09-18 19:10:23 [iNFO] [ForgeModLoader] Attempting early MinecraftForge initialization

2012-09-18 19:10:23 [iNFO] [ForgeModLoader] Completed early MinecraftForge initialization

2012-09-18 19:10:24 [iNFO] [ForgeModLoader] Searching C:\Documents and Settings\Nathan1\Desktop\Gordocraft(Files)\mcp72\jars\mods for mods

2012-09-18 19:10:34 [iNFO] [ForgeModLoader] Forge Mod Loader has identified 3 mods to load

2012-09-18 19:10:34 [sEVERE] [ForgeModLoader] The mod OmniaCraft appears to have an invalid method annotation PreInit. This annotation can only apply to methods with argument types [class cpw.mods.fml.common.event.FMLPreInitializationEvent] -it will not be called

2012-09-18 19:10:34 [iNFO] [sTDERR] Exception in thread "Minecraft main thread" java.lang.ExceptionInInitializerError

2012-09-18 19:10:34 [iNFO] [sTDERR] at java.lang.Class.forName0(Native Method)

2012-09-18 19:10:34 [iNFO] [sTDERR] at java.lang.Class.forName(Unknown Source)

2012-09-18 19:10:34 [iNFO] [sTDERR] at cpw.mods.fml.common.ProxyInjector.inject(ProxyInjector.java:51)

2012-09-18 19:10:34 [iNFO] [sTDERR] at cpw.mods.fml.common.FMLModContainer.constructMod(FMLModContainer.java:348)

2012-09-18 19:10:34 [iNFO] [sTDERR] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

2012-09-18 19:10:34 [iNFO] [sTDERR] at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)

2012-09-18 19:10:34 [iNFO] [sTDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)

2012-09-18 19:10:34 [iNFO] [sTDERR] at java.lang.reflect.Method.invoke(Unknown Source)

2012-09-18 19:10:34 [iNFO] [sTDERR] at com.google.common.eventbus.EventHandler.handleEvent(EventHandler.java:69)

2012-09-18 19:10:34 [iNFO] [sTDERR] at com.google.common.eventbus.SynchronizedEventHandler.handleEvent(SynchronizedEventHandler.java:45)

2012-09-18 19:10:34 [iNFO] [sTDERR] at com.google.common.eventbus.EventBus.dispatch(EventBus.java:317)

2012-09-18 19:10:34 [iNFO] [sTDERR] at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:300)

2012-09-18 19:10:34 [iNFO] [sTDERR] at com.google.common.eventbus.EventBus.post(EventBus.java:268)

2012-09-18 19:10:34 [iNFO] [sTDERR] at cpw.mods.fml.common.LoadController.propogateStateMessage(LoadController.java:124)

2012-09-18 19:10:34 [iNFO] [sTDERR] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

2012-09-18 19:10:34 [iNFO] [sTDERR] at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)

2012-09-18 19:10:34 [iNFO] [sTDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)

2012-09-18 19:10:34 [iNFO] [sTDERR] at java.lang.reflect.Method.invoke(Unknown Source)

2012-09-18 19:10:34 [iNFO] [sTDERR] at com.google.common.eventbus.EventHandler.handleEvent(EventHandler.java:69)

2012-09-18 19:10:34 [iNFO] [sTDERR] at com.google.common.eventbus.SynchronizedEventHandler.handleEvent(SynchronizedEventHandler.java:45)

2012-09-18 19:10:34 [iNFO] [sTDERR] at com.google.common.eventbus.EventBus.dispatch(EventBus.java:317)

2012-09-18 19:10:34 [iNFO] [sTDERR] at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:300)

2012-09-18 19:10:34 [iNFO] [sTDERR] at com.google.common.eventbus.EventBus.post(EventBus.java:268)

2012-09-18 19:10:34 [iNFO] [sTDERR] at cpw.mods.fml.common.LoadController.distributeStateMessage(LoadController.java:81)

2012-09-18 19:10:34 [iNFO] [sTDERR] at cpw.mods.fml.common.Loader.loadMods(Loader.java:458)

2012-09-18 19:10:34 [iNFO] [sTDERR] at cpw.mods.fml.client.FMLClientHandler.beginMinecraftLoading(FMLClientHandler.java:144)

2012-09-18 19:10:34 [iNFO] [sTDERR] at net.minecraft.client.Minecraft.startGame(Minecraft.java:405)

2012-09-18 19:10:34 [iNFO] [sTDERR] at net.minecraft.client.Minecraft.run(Minecraft.java:737)

2012-09-18 19:10:34 [iNFO] [sTDERR] at java.lang.Thread.run(Unknown Source)

2012-09-18 19:10:34 [iNFO] [sTDERR] Caused by: java.lang.NullPointerException

2012-09-18 19:10:34 [iNFO] [sTDERR] at OmniaCraft.CommonProxy.<clinit>(CommonProxy.java:19)

2012-09-18 19:10:34 [iNFO] [sTDERR] ... 29 more

2012-09-18 19:59:35 [iNFO] [sTDERR] Someone is closing me!

 

 

 

The method you are using needs to take an argument, which is a FMLPreInitializationEvent. Maybe you should add that to your method...

  • Author

heres the code for the base file...i see nothing wrong with it and ive tried it before and it worked

 

 

package OmniaCraft;

 

import cpw.mods.fml.common.Mod;

import cpw.mods.fml.common.Mod.Init;

import cpw.mods.fml.common.Mod.PostInit;

import cpw.mods.fml.common.Mod.PreInit;

import cpw.mods.fml.common.SidedProxy;

import cpw.mods.fml.common.event.FMLInitializationEvent;

import cpw.mods.fml.common.event.FMLPostInitializationEvent;

import cpw.mods.fml.common.event.FMLPreInitializationEvent;

import cpw.mods.fml.common.network.NetworkMod;

 

@Mod(modid = "OmniaCraft" ,name = "OmniaCraft", version = "0.0.01")

@NetworkMod(clientSideRequired = true, serverSideRequired = false, versionBounds = "[0.0.01]")

 

public class BaseOmniaCraft

{

    @SidedProxy

    (clientSide = "OmniaCraft.ClientProxy", serverSide = "OmniaCraft.CommonProxy")

 

    public static CommonProxy proxy;

   

 

    public class OmniaCraft

    {

         

    }

   

    @Init

    public void LoadFrom(FMLInitializationEvent event)

    {

            proxy.registerRenderInformation();

            ClientProxy.registerRenderInformation();

    }

 

    @PreInit

    public void PreLoad(FMLPreInitializationEvent event)

    {

         

    }     

   

    @PostInit

    public void PostLoad(FMLPostInitializationEvent event)

    {

   

    }

   

}

 

 

 

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...

Important Information

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

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.