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

  • Author

Okay I set the java home to jdk BUT it is still coming up with the same error. I made a new path variable to set it

  • Author

No what I mean is I set the java home to the JDK files and the variable is called Path and the path is this "C:\Program Files\Java\jdk1.8.0_31\bin"

  • Author

Now I cant run it to get into mc it says: this selection cannot be launched, and there are no recent launches

  • Author

I did that but then it crashed heres the report:

 

---- Minecraft Crash Report ----

// I blame Dinnerbone.

 

Time: 23/07/15 15:08

Description: Initializing game

 

java.lang.NullPointerException: Initializing game

at Morpheus420.StormMastery.StormMastery.preInit(StormMastery.java:78)

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)

at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

at java.lang.reflect.Method.invoke(Method.java:483)

at cpw.mods.fml.common.FMLModContainer.handleModStateEvent(FMLModContainer.java:513)

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)

at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

at java.lang.reflect.Method.invoke(Method.java:483)

at com.google.common.eventbus.EventSubscriber.handleEvent(EventSubscriber.java:74)

at com.google.common.eventbus.SynchronizedEventSubscriber.handleEvent(SynchronizedEventSubscriber.java:47)

at com.google.common.eventbus.EventBus.dispatch(EventBus.java:322)

at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:304)

at com.google.common.eventbus.EventBus.post(EventBus.java:275)

at cpw.mods.fml.common.LoadController.sendEventToModContainer(LoadController.java:208)

at cpw.mods.fml.common.LoadController.propogateStateMessage(LoadController.java:187)

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)

at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

at java.lang.reflect.Method.invoke(Method.java:483)

at com.google.common.eventbus.EventSubscriber.handleEvent(EventSubscriber.java:74)

at com.google.common.eventbus.SynchronizedEventSubscriber.handleEvent(SynchronizedEventSubscriber.java:47)

at com.google.common.eventbus.EventBus.dispatch(EventBus.java:322)

at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:304)

at com.google.common.eventbus.EventBus.post(EventBus.java:275)

at cpw.mods.fml.common.LoadController.distributeStateMessage(LoadController.java:118)

at cpw.mods.fml.common.Loader.preinitializeMods(Loader.java:513)

at cpw.mods.fml.client.FMLClientHandler.beginMinecraftLoading(FMLClientHandler.java:239)

at net.minecraft.client.Minecraft.startGame(Minecraft.java:522)

at net.minecraft.client.Minecraft.run(Minecraft.java:931)

at net.minecraft.client.main.Main.main(Main.java:164)

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)

at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

at java.lang.reflect.Method.invoke(Method.java:483)

at net.minecraft.launchwrapper.Launch.launch(Launch.java:135)

at net.minecraft.launchwrapper.Launch.main(Launch.java:28)

at net.minecraftforge.gradle.GradleStartCommon.launch(Unknown Source)

at GradleStart.main(Unknown Source)

 

 

A detailed walkthrough of the error, its code path and all known details is as follows:

---------------------------------------------------------------------------------------

 

-- Head --

Stacktrace:

at Morpheus420.StormMastery.StormMastery.preInit(StormMastery.java:78)

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)

at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

at java.lang.reflect.Method.invoke(Method.java:483)

at cpw.mods.fml.common.FMLModContainer.handleModStateEvent(FMLModContainer.java:513)

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)

at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

at java.lang.reflect.Method.invoke(Method.java:483)

at com.google.common.eventbus.EventSubscriber.handleEvent(EventSubscriber.java:74)

at com.google.common.eventbus.SynchronizedEventSubscriber.handleEvent(SynchronizedEventSubscriber.java:47)

at com.google.common.eventbus.EventBus.dispatch(EventBus.java:322)

at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:304)

at com.google.common.eventbus.EventBus.post(EventBus.java:275)

at cpw.mods.fml.common.LoadController.sendEventToModContainer(LoadController.java:208)

at cpw.mods.fml.common.LoadController.propogateStateMessage(LoadController.java:187)

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)

at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

at java.lang.reflect.Method.invoke(Method.java:483)

at com.google.common.eventbus.EventSubscriber.handleEvent(EventSubscriber.java:74)

at com.google.common.eventbus.SynchronizedEventSubscriber.handleEvent(SynchronizedEventSubscriber.java:47)

at com.google.common.eventbus.EventBus.dispatch(EventBus.java:322)

at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:304)

at com.google.common.eventbus.EventBus.post(EventBus.java:275)

at cpw.mods.fml.common.LoadController.distributeStateMessage(LoadController.java:118)

at cpw.mods.fml.common.Loader.preinitializeMods(Loader.java:513)

at cpw.mods.fml.client.FMLClientHandler.beginMinecraftLoading(FMLClientHandler.java:239)

at net.minecraft.client.Minecraft.startGame(Minecraft.java:522)

 

-- Initialization --

Details:

Stacktrace:

at net.minecraft.client.Minecraft.run(Minecraft.java:931)

at net.minecraft.client.main.Main.main(Main.java:164)

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)

at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

at java.lang.reflect.Method.invoke(Method.java:483)

at net.minecraft.launchwrapper.Launch.launch(Launch.java:135)

at net.minecraft.launchwrapper.Launch.main(Launch.java:28)

at net.minecraftforge.gradle.GradleStartCommon.launch(Unknown Source)

at GradleStart.main(Unknown Source)

 

-- System Details --

Details:

Minecraft Version: 1.7.10

Operating System: Windows 8.1 (amd64) version 6.3

Java Version: 1.8.0_31, Oracle Corporation

Java VM Version: Java HotSpot 64-Bit Server VM (mixed mode), Oracle Corporation

Memory: 215187672 bytes (205 MB) / 382730240 bytes (365 MB) up to 1881145344 bytes (1794 MB)

JVM Flags: 0 total;

AABB Pool Size: 0 (0 bytes; 0 MB) allocated, 0 (0 bytes; 0 MB) used

IntCache: cache: 0, tcache: 0, allocated: 0, tallocated: 0

FML: MCP v9.05 FML v7.10.85.1291 Minecraft Forge 10.13.2.1291 4 mods loaded, 4 mods active

mcp{9.05} [Minecraft Coder Pack] (minecraft.jar) Unloaded->Constructed->Pre-initialized

FML{7.10.85.1291} [Forge Mod Loader] (forgeSrc-1.7.10-10.13.2.1291.jar) Unloaded->Constructed->Pre-initialized

Forge{10.13.2.1291} [Minecraft Forge] (forgeSrc-1.7.10-10.13.2.1291.jar) Unloaded->Constructed->Pre-initialized

al{1.0} [Alchimia] (bin) Unloaded->Constructed->Errored

Launched Version: 1.7.10

LWJGL: 2.9.1

OpenGL: GeForce GTX 750/PCIe/SSE2 GL version 4.5.0 NVIDIA 353.30, NVIDIA Corporation

GL Caps: Using GL 1.3 multitexturing.

Using framebuffer objects because OpenGL 3.0 is supported and separate blending is supported.

Anisotropic filtering is supported and maximum anisotropy is 16.

Shaders are available because OpenGL 2.1 is supported.

 

Is Modded: Definitely; Client brand changed to 'fml,forge'

Type: Client (map_client.txt)

Resource Packs: []

Current Language: English (US)

Profiler Position: N/A (disabled)

Vec3 Pool Size: 0 (0 bytes; 0 MB) allocated, 0 (0 bytes; 0 MB) used

Anisotropic Filtering: Off (1)

  • Author

here:

 

package Morpheus420.StormMastery;

 

 

 

 

import net.minecraft.block.Block;

import net.minecraft.block.material.Material;

import net.minecraft.creativetab.CreativeTabs;

import net.minecraft.init.Blocks;

import net.minecraft.init.Items;

import net.minecraft.item.Item;

import net.minecraft.item.ItemFood;

import net.minecraft.item.ItemStack;

import cpw.mods.fml.common.Mod;

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

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.registry.GameRegistry;

 

@Mod(modid = "al", name = "Alchimia", version = "1.0")

public class StormMastery {

 

 

public static Item itemHandofdeath;

public static Item itemAgilityrune;

public static Item itemManaStone;

public static Item itemdruidicstavecore;

public static Item itemEagleamulet;

public static Item itemJasmine;

public static Item itemCharredJasmine;

public static Block blockSau;

public static Item Alchemistspickaxe;

public static Item Alchemistsaxe;

public static Item AlchemistsSword;

public static Item AlchemistsHoe;

 

 

 

 

@EventHandler

public void preInit(FMLPreInitializationEvent event) {

//Item/Block init and registering

//Config handling

 

 

 

 

 

 

itemHandofdeath =  new itemHandofdeath().setUnlocalizedName("itemHandofdeath").setTextureName("al:").setCreativeTab(tabAlchimia);;

 

itemdruidicstavecore =  new itemdruidicstavecore ().setUnlocalizedName("itemdruidicstavecore").setTextureName("al:druidicstavecore").setCreativeTab(tabAlchimia);;

 

itemAgilityrune =  new itemAgilityrune ().setUnlocalizedName("itemAgilityrune").setTextureName("al:").setCreativeTab(tabAlchimia);;

 

itemManaStone =  new itemManaStone ().setUnlocalizedName("itemManaStone").setTextureName("al:").setCreativeTab(tabAlchimia);;

 

itemEagleamulet =  new itemEagleamulet ().setUnlocalizedName("itemEagleamulet").setTextureName("al:Eagleamulet").setCreativeTab(tabAlchimia);;

 

blockSau = new blockSau(Material.leaves).setBlockName("blockSau").setBlockTextureName("al:blockSau");

 

itemJasmine = new ItemFood(2, 0.5F, false).setUnlocalizedName("itemJasmine").setTextureName("al:itemJasmine").setCreativeTab(tabAlchimia);

// X * 0.5= 10 Hunger

 

itemCharredJasmine = new ItemFood(1, 0.2F, false).setUnlocalizedName("itemCharredJasmine").setTextureName("al:itemCharredJasmine");;

GameRegistry.addSmelting(itemJasmine, new ItemStack (itemCharredJasmine), 0.2F);

 

 

 

 

 

 

 

// X * 0.5= 101 Hunger

 

GameRegistry.registerItem(AlchemistsSword, AlchemistsSword.getUnlocalizedName().substring(5));

GameRegistry.registerItem(Alchemistspickaxe, Alchemistspickaxe.getUnlocalizedName().substring(5));

GameRegistry.registerItem(itemCharredJasmine, itemCharredJasmine.getUnlocalizedName().substring(5));

GameRegistry.registerItem(itemJasmine, itemJasmine.getUnlocalizedName().substring(5));

GameRegistry.registerBlock(blockSau, blockSau.getUnlocalizedName().substring(5));

GameRegistry.registerItem(itemEagleamulet, itemEagleamulet.getUnlocalizedName().substring(5));

GameRegistry.registerItem(itemManaStone, itemManaStone.getUnlocalizedName().substring(5));

    GameRegistry.registerItem(itemAgilityrune, itemAgilityrune.getUnlocalizedName().substring(5));

        GameRegistry.registerItem(itemdruidicstavecore, itemdruidicstavecore.getUnlocalizedName().substring(5));

    GameRegistry.registerItem(itemHandofdeath, itemHandofdeath.getUnlocalizedName().substring(5));}

       

 

 

 

 

 

 

 

 

 

 

   

    @EventHandler

    public void init(FMLInitializationEvent event) {

    //Proxy, TileEntity, entity, GUI and Packet registering

    GameRegistry.addRecipe(new ItemStack(itemEagleamulet), new Object[]{"FSF", "SDS","FSF",'F',Items.feather,'S', Blocks.stone,'D',Items.diamond , });

    GameRegistry.addRecipe(new ItemStack(blockSau), new Object[]{"ORO","RRR","ORO",'O',Blocks.obsidian,'R', Blocks.redstone_block});

   

   

   

    }

    @EventHandler

    public void postInit(FMLPostInitializationEvent event) {

 

}

   

    public static CreativeTabs tabAlchimia = new CreativeTabs("tabAlchimia"){

    @Override

    public Item getTabIconItem(){

    return new ItemStack(itemJasmine).getItem();

   

    }

    };

Guest
This topic is now closed to further replies.

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.