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

I get this error when i use the test function in eclipse. I would find the error my self but i dont know where to look. The error log doesnt point exactly to any point in my code.

 

2012-10-28 21:24:00 [sEVERE] [ForgeModLoader] Fatal errors were detected during the transition from INITIALIZATION to POSTINITIALIZATION. Loading cannot continue

2012-10-28 21:24:00 [iNFO] [sTDERR] java.lang.NullPointerException

2012-10-28 21:24:00 [iNFO] [sTDERR] at cpw.mods.fml.common.LoadController.printModStates(LoadController.java:194)

2012-10-28 21:24:00 [iNFO] [sTDERR] at cpw.mods.fml.common.LoadController.transition(LoadController.java:96)

2012-10-28 21:24:00 [iNFO] [sTDERR] at cpw.mods.fml.common.Loader.initializeMods(Loader.java:652)

2012-10-28 21:24:00 [iNFO] [sTDERR] at cpw.mods.fml.client.FMLClientHandler.finishMinecraftLoading(FMLClientHandler.java:197)

2012-10-28 21:24:00 [iNFO] [sTDERR] at net.minecraft.client.Minecraft.startGame(Minecraft.java:465)

2012-10-28 21:24:00 [iNFO] [sTDERR] at net.minecraft.client.Minecraft.run(Minecraft.java:752)

2012-10-28 21:24:00 [iNFO] [sTDERR] at java.lang.Thread.run(Unknown Source)

 

2012-10-29 18:02:54 [iNFO] [ForgeModLoader] Forge Mod Loader version 4.2.4.420 for Minecraft 1.4.2 loading
2012-10-29 18:02:54 [FINEST] [ForgeModLoader] All core mods are successfully located
2012-10-29 18:02:54 [FINEST] [ForgeModLoader] Discovering coremods
2012-10-29 18:02:54 [FINEST] [ForgeModLoader] Found library file argo-2.25.jar present and correct in lib dir

2012-10-29 18:02:54 [FINEST] [ForgeModLoader] Found library file guava-12.0.1.jar present and correct in lib dir

2012-10-29 18:02:54 [FINEST] [ForgeModLoader] Found library file asm-all-4.0.jar present and correct in lib dir

2012-10-29 18:02:55 [FINEST] [ForgeModLoader] Running coremod plugins
2012-10-29 18:02:55 [FINEST] [ForgeModLoader] Running coremod plugin FMLCorePlugin
2012-10-29 18:02:55 [FINEST] [ForgeModLoader] Coremod plugin FMLCorePlugin run successfully
2012-10-29 18:02:55 [FINEST] [ForgeModLoader] Running coremod plugin FMLForgePlugin
2012-10-29 18:02:55 [FINEST] [ForgeModLoader] Coremod plugin FMLForgePlugin run successfully
2012-10-29 18:02:55 [FINEST] [ForgeModLoader] Validating minecraft
2012-10-29 18:02:55 [FINEST] [ForgeModLoader] Minecraft validated, launching...
2012-10-29 18:03:03 [iNFO] [sTDOUT] 27 achievements
2012-10-29 18:03:04 [iNFO] [sTDOUT] 208 recipes
2012-10-29 18:03:06 [iNFO] [sTDOUT] Setting user: Player265, -
2012-10-29 18:03:06 [iNFO] [sTDERR] Client asked for parameter: server
2012-10-29 18:03:06 [iNFO] [sTDOUT] LWJGL Version: 2.4.2
2012-10-29 18:03:17 [iNFO] [ForgeModLoader] Attempting early MinecraftForge initialization
2012-10-29 18:03:17 [iNFO] [sTDOUT] MinecraftForge v6.0.1.337 Initialized
2012-10-29 18:03:17 [iNFO] [ForgeModLoader] MinecraftForge v6.0.1.337 Initialized
2012-10-29 18:03:17 [iNFO] [ForgeModLoader] Completed early MinecraftForge initialization
2012-10-29 18:03:18 [FINE] [ForgeModLoader] Building injected Mod Containers [cpw.mods.fml.common.FMLDummyContainer, net.minecraftforge.common.ForgeDummyContainer]
2012-10-29 18:03:18 [FINE] [ForgeModLoader] Attempting to load mods contained in the minecraft jar file and associated classes
2012-10-29 18:03:18 [FINE] [ForgeModLoader] Found a minecraft related directory at C:\Users\DarkDestry\Desktop\Java code 2\MCP\eclipse\Minecraft\bin, examining for mod candidates
2012-10-29 18:03:19 [FINE] [ForgeModLoader] Skipping known library file C:\Users\DarkDestry\Desktop\Java code 2\MCP\jars\bin\jinput.jar
2012-10-29 18:03:19 [FINE] [ForgeModLoader] Skipping known library file C:\Users\DarkDestry\Desktop\Java code 2\MCP\jars\bin\lwjgl_util.jar
2012-10-29 18:03:19 [FINE] [ForgeModLoader] Skipping known library file C:\Users\DarkDestry\Desktop\Java code 2\MCP\jars\bin\lwjgl.jar
2012-10-29 18:03:19 [FINE] [ForgeModLoader] Found a minecraft related file at C:\Users\DarkDestry\Desktop\Java code 2\MCP\jars\bin\minecraft.jar, examining for mod candidates
2012-10-29 18:03:19 [FINE] [ForgeModLoader] Skipping known library file C:\Users\DarkDestry\Desktop\Java code 2\MCP\lib\argo-2.25.jar
2012-10-29 18:03:19 [FINE] [ForgeModLoader] Skipping known library file C:\Users\DarkDestry\Desktop\Java code 2\MCP\lib\asm-all-4.0.jar
2012-10-29 18:03:19 [FINE] [ForgeModLoader] Skipping known library file C:\Users\DarkDestry\Desktop\Java code 2\MCP\lib\guava-12.0.1.jar
2012-10-29 18:03:19 [FINE] [ForgeModLoader] Skipping known library file C:\Users\DarkDestry\Desktop\Java code 2\MCP\jars\lib\argo-2.25.jar
2012-10-29 18:03:19 [FINE] [ForgeModLoader] Skipping known library file C:\Users\DarkDestry\Desktop\Java code 2\MCP\jars\lib\guava-12.0.1.jar
2012-10-29 18:03:19 [FINE] [ForgeModLoader] Skipping known library file C:\Users\DarkDestry\Desktop\Java code 2\MCP\jars\lib\asm-all-4.0.jar
2012-10-29 18:03:19 [FINE] [ForgeModLoader] Minecraft jar mods loaded successfully
2012-10-29 18:03:19 [iNFO] [ForgeModLoader] Searching C:\Users\DarkDestry\Desktop\Java code 2\MCP\jars\mods for mods
2012-10-29 18:03:19 [FINE] [ForgeModLoader] Examining directory bin for potential mods
2012-10-29 18:03:19 [FINE] [ForgeModLoader] No mcmod.info file found in directory bin
2012-10-29 18:03:19 [FINEST] [ForgeModLoader] Recursing into package cpw
2012-10-29 18:03:19 [FINEST] [ForgeModLoader] Recursing into package cpw.mods
2012-10-29 18:03:19 [FINEST] [ForgeModLoader] Recursing into package cpw.mods.fml
2012-10-29 18:03:19 [FINEST] [ForgeModLoader] Recursing into package cpw.mods.fml.client
2012-10-29 18:03:19 [FINEST] [ForgeModLoader] Recursing into package cpw.mods.fml.client.modloader
2012-10-29 18:03:19 [FINEST] [ForgeModLoader] Recursing into package cpw.mods.fml.client.registry
2012-10-29 18:03:19 [FINEST] [ForgeModLoader] Recursing into package cpw.mods.fml.common
2012-10-29 18:03:19 [FINEST] [ForgeModLoader] Recursing into package cpw.mods.fml.common.asm
2012-10-29 18:03:20 [FINEST] [ForgeModLoader] Recursing into package cpw.mods.fml.common.asm.transformers
2012-10-29 18:03:20 [FINEST] [ForgeModLoader] Recursing into package cpw.mods.fml.common.discovery
2012-10-29 18:03:20 [FINEST] [ForgeModLoader] Recursing into package cpw.mods.fml.common.discovery.asm
2012-10-29 18:03:20 [FINEST] [ForgeModLoader] Recursing into package cpw.mods.fml.common.event
2012-10-29 18:03:20 [FINEST] [ForgeModLoader] Recursing into package cpw.mods.fml.common.functions
2012-10-29 18:03:20 [FINEST] [ForgeModLoader] Recursing into package cpw.mods.fml.common.modloader
2012-10-29 18:03:20 [FINEST] [ForgeModLoader] Recursing into package cpw.mods.fml.common.network
2012-10-29 18:03:21 [FINEST] [ForgeModLoader] Recursing into package cpw.mods.fml.common.registry
2012-10-29 18:03:21 [FINEST] [ForgeModLoader] Recursing into package cpw.mods.fml.common.toposort
2012-10-29 18:03:21 [FINEST] [ForgeModLoader] Recursing into package cpw.mods.fml.common.versioning
2012-10-29 18:03:21 [FINEST] [ForgeModLoader] Recursing into package cpw.mods.fml.relauncher
2012-10-29 18:03:21 [FINEST] [ForgeModLoader] Recursing into package cpw.mods.fml.server
2012-10-29 18:03:21 [FINEST] [ForgeModLoader] Recursing into package darkdestry
2012-10-29 18:03:21 [FINEST] [ForgeModLoader] Recursing into package darkdestry.client
2012-10-29 18:03:21 [FINEST] [ForgeModLoader] Recursing into package darkdestry.common
2012-10-29 18:03:21 [FINEST] [ForgeModLoader] Recursing into package darkdestry.experiment
2012-10-29 18:03:22 [FINE] [ForgeModLoader] Identified an FMLMod type mod darkdestry.experiment.experiment
2012-10-29 18:03:22 [FINEST] [ForgeModLoader] Parsed dependency info : [] [] []
2012-10-29 18:03:22 [FINEST] [ForgeModLoader] Recursing into package ibxm
2012-10-29 18:03:22 [FINEST] [ForgeModLoader] Recursing into package net
2012-10-29 18:03:22 [FINEST] [ForgeModLoader] Recursing into package net.minecraft
2012-10-29 18:03:22 [FINEST] [ForgeModLoader] Recursing into package net.minecraft.client
2012-10-29 18:03:22 [FINEST] [ForgeModLoader] Recursing into package net.minecraft.server
2012-10-29 18:03:22 [FINEST] [ForgeModLoader] Recursing into package net.minecraft.src
2012-10-29 18:03:46 [FINEST] [ForgeModLoader] Recursing into package net.minecraftforge
2012-10-29 18:03:46 [FINEST] [ForgeModLoader] Recursing into package net.minecraftforge.classloading
2012-10-29 18:03:46 [FINEST] [ForgeModLoader] Recursing into package net.minecraftforge.client
2012-10-29 18:03:46 [FINEST] [ForgeModLoader] Recursing into package net.minecraftforge.client.event
2012-10-29 18:03:46 [FINEST] [ForgeModLoader] Recursing into package net.minecraftforge.client.event.sound
2012-10-29 18:03:46 [FINEST] [ForgeModLoader] Recursing into package net.minecraftforge.common
2012-10-29 18:03:47 [FINEST] [ForgeModLoader] Recursing into package net.minecraftforge.event
2012-10-29 18:03:47 [FINEST] [ForgeModLoader] Recursing into package net.minecraftforge.event.entity
2012-10-29 18:03:47 [FINEST] [ForgeModLoader] Recursing into package net.minecraftforge.event.entity.item
2012-10-29 18:03:47 [FINEST] [ForgeModLoader] Recursing into package net.minecraftforge.event.entity.living
2012-10-29 18:03:47 [FINEST] [ForgeModLoader] Recursing into package net.minecraftforge.event.entity.minecart
2012-10-29 18:03:47 [FINEST] [ForgeModLoader] Recursing into package net.minecraftforge.event.entity.player
2012-10-29 18:03:47 [FINEST] [ForgeModLoader] Recursing into package net.minecraftforge.event.world
2012-10-29 18:03:47 [FINEST] [ForgeModLoader] Recursing into package net.minecraftforge.oredict
2012-10-29 18:03:47 [FINEST] [ForgeModLoader] Recursing into package net.minecraftforge.transformers
2012-10-29 18:03:47 [FINEST] [ForgeModLoader] Recursing into package org
2012-10-29 18:03:47 [FINEST] [ForgeModLoader] Recursing into package org.bouncycastle
2012-10-29 18:03:47 [FINEST] [ForgeModLoader] Recursing into package org.bouncycastle.asn1
2012-10-29 18:03:47 [FINEST] [ForgeModLoader] Recursing into package org.bouncycastle.asn1.bc
2012-10-29 18:03:47 [FINEST] [ForgeModLoader] Recursing into package org.bouncycastle.asn1.pkcs
2012-10-29 18:03:47 [FINEST] [ForgeModLoader] Recursing into package org.bouncycastle.crypto
2012-10-29 18:03:48 [FINEST] [ForgeModLoader] Recursing into package org.bouncycastle.crypto.engines
2012-10-29 18:03:48 [FINEST] [ForgeModLoader] Recursing into package org.bouncycastle.crypto.io
2012-10-29 18:03:48 [FINEST] [ForgeModLoader] Recursing into package org.bouncycastle.crypto.modes
2012-10-29 18:03:48 [FINEST] [ForgeModLoader] Recursing into package org.bouncycastle.crypto.params
2012-10-29 18:03:48 [FINEST] [ForgeModLoader] Recursing into package org.bouncycastle.jcajce
2012-10-29 18:03:48 [FINEST] [ForgeModLoader] Recursing into package org.bouncycastle.jcajce.provider
2012-10-29 18:03:48 [FINEST] [ForgeModLoader] Recursing into package org.bouncycastle.jcajce.provider.config
2012-10-29 18:03:48 [FINEST] [ForgeModLoader] Recursing into package org.bouncycastle.jcajce.provider.util
2012-10-29 18:03:48 [FINEST] [ForgeModLoader] Recursing into package org.bouncycastle.jce
2012-10-29 18:03:48 [FINEST] [ForgeModLoader] Recursing into package org.bouncycastle.jce.provider
2012-10-29 18:03:48 [FINEST] [ForgeModLoader] Recursing into package org.bouncycastle.util
2012-10-29 18:03:48 [FINEST] [ForgeModLoader] Recursing into package paulscode
2012-10-29 18:03:48 [FINEST] [ForgeModLoader] Recursing into package paulscode.sound
2012-10-29 18:03:48 [FINEST] [ForgeModLoader] Recursing into package paulscode.sound.codecs
2012-10-29 18:03:48 [FINE] [ForgeModLoader] Examining file minecraft.jar for potential mods
2012-10-29 18:03:48 [FINE] [ForgeModLoader] The mod container minecraft.jar appears to be missing an mcmod.info file
2012-10-29 18:03:51 [iNFO] [ForgeModLoader] Forge Mod Loader has identified 4 mods to load
2012-10-29 18:03:51 [FINE] [ForgeModLoader] Received a system property request ''
2012-10-29 18:03:51 [FINE] [ForgeModLoader] System property request managing the state of 0 mods
2012-10-29 18:03:51 [FINE] [ForgeModLoader] After merging, found state information for 0 mods
2012-10-29 18:03:51 [FINE] [ForgeModLoader] Activating mod mcp
2012-10-29 18:03:51 [FINE] [ForgeModLoader] Activating mod FML
2012-10-29 18:03:51 [FINE] [ForgeModLoader] Activating mod Forge
2012-10-29 18:03:51 [FINE] [ForgeModLoader] Enabling mod DarkDestry_Experiment
2012-10-29 18:03:51 [FINE] [ForgeModLoader] Activating mod DarkDestry_Experiment
2012-10-29 18:03:51 [FINE] [ForgeModLoader] Verifying mod requirements are satisfied
2012-10-29 18:03:51 [FINE] [ForgeModLoader] All mod requirements are satisfied
2012-10-29 18:03:51 [FINE] [ForgeModLoader] Sorting mods into an ordered list
2012-10-29 18:03:51 [FINE] [ForgeModLoader] Mod sorting completed successfully
2012-10-29 18:03:51 [FINE] [ForgeModLoader] Mod sorting data:
2012-10-29 18:03:51 [FINE] [ForgeModLoader] 	DarkDestry_Experiment(Experiment:1.0.0): bin ()
2012-10-29 18:03:51 [FINER] [ForgeModLoader] Sending event FMLConstructionEvent to mod mcp
2012-10-29 18:03:51 [FINER] [ForgeModLoader] Sent event FMLConstructionEvent to mod mcp
2012-10-29 18:03:51 [FINER] [ForgeModLoader] Sending event FMLConstructionEvent to mod FML
2012-10-29 18:03:51 [FINER] [ForgeModLoader] Sent event FMLConstructionEvent to mod FML
2012-10-29 18:03:51 [FINER] [ForgeModLoader] Sending event FMLConstructionEvent to mod Forge
2012-10-29 18:03:51 [FINER] [ForgeModLoader] Sent event FMLConstructionEvent to mod Forge
2012-10-29 18:03:51 [FINER] [ForgeModLoader] Sending event FMLConstructionEvent to mod DarkDestry_Experiment
2012-10-29 18:03:51 [FINEST] [ForgeModLoader] Testing mod DarkDestry_Experiment to verify it accepts its own version in a remote connection
2012-10-29 18:03:51 [FINEST] [ForgeModLoader] The mod DarkDestry_Experiment accepts its own version (1.0.0)
2012-10-29 18:03:51 [FINE] [ForgeModLoader] Attempting to inject @SidedProxy classes into DarkDestry_Experiment
2012-10-29 18:03:51 [FINER] [ForgeModLoader] Sent event FMLConstructionEvent to mod DarkDestry_Experiment
2012-10-29 18:03:51 [FINER] [ForgeModLoader] Sending event FMLPreInitializationEvent to mod mcp
2012-10-29 18:03:51 [FINER] [ForgeModLoader] Sent event FMLPreInitializationEvent to mod mcp
2012-10-29 18:03:51 [FINER] [ForgeModLoader] Sending event FMLPreInitializationEvent to mod FML
2012-10-29 18:03:51 [FINER] [ForgeModLoader] Sent event FMLPreInitializationEvent to mod FML
2012-10-29 18:03:51 [FINER] [ForgeModLoader] Sending event FMLPreInitializationEvent to mod Forge
2012-10-29 18:03:51 [iNFO] [ForgeModLoader] Configured a dormant chunk cache size of 0
2012-10-29 18:03:51 [FINER] [ForgeModLoader] Sent event FMLPreInitializationEvent to mod Forge
2012-10-29 18:03:51 [FINER] [ForgeModLoader] Sending event FMLPreInitializationEvent to mod DarkDestry_Experiment
2012-10-29 18:03:51 [FINER] [ForgeModLoader] Sent event FMLPreInitializationEvent to mod DarkDestry_Experiment
2012-10-29 18:03:53 [iNFO] [sTDOUT] Starting up SoundSystem...
2012-10-29 18:03:53 [iNFO] [sTDOUT] Initializing LWJGL OpenAL
2012-10-29 18:03:53 [iNFO] [sTDOUT]     (The LWJGL binding of OpenAL.  For more information, see http://www.lwjgl.org)
2012-10-29 18:03:54 [iNFO] [sTDOUT] OpenAL initialized.
2012-10-29 18:03:55 [FINER] [ForgeModLoader] Sending event FMLInitializationEvent to mod mcp
2012-10-29 18:03:55 [FINER] [ForgeModLoader] Sent event FMLInitializationEvent to mod mcp
2012-10-29 18:03:55 [FINER] [ForgeModLoader] Sending event FMLInitializationEvent to mod FML
2012-10-29 18:03:55 [FINER] [ForgeModLoader] Sent event FMLInitializationEvent to mod FML
2012-10-29 18:03:55 [FINER] [ForgeModLoader] Sending event FMLInitializationEvent to mod Forge
2012-10-29 18:03:55 [FINER] [ForgeModLoader] Sent event FMLInitializationEvent to mod Forge
2012-10-29 18:03:55 [FINER] [ForgeModLoader] Sending event FMLInitializationEvent to mod DarkDestry_Experiment
2012-10-29 18:03:55 [FINER] [ForgeModLoader] Sent event FMLInitializationEvent to mod DarkDestry_Experiment
2012-10-29 18:03:55 [sEVERE] [ForgeModLoader] Fatal errors were detected during the transition from INITIALIZATION to POSTINITIALIZATION. Loading cannot continue
2012-10-29 18:03:55 [iNFO] [sTDERR] java.lang.NullPointerException
2012-10-29 18:03:55 [iNFO] [sTDERR] 	at cpw.mods.fml.common.LoadController.printModStates(LoadController.java:194)
2012-10-29 18:03:55 [iNFO] [sTDERR] 	at cpw.mods.fml.common.LoadController.transition(LoadController.java:96)
2012-10-29 18:03:55 [iNFO] [sTDERR] 	at cpw.mods.fml.common.Loader.initializeMods(Loader.java:652)
2012-10-29 18:03:55 [iNFO] [sTDERR] 	at cpw.mods.fml.client.FMLClientHandler.finishMinecraftLoading(FMLClientHandler.java:197)
2012-10-29 18:03:55 [iNFO] [sTDERR] 	at net.minecraft.client.Minecraft.startGame(Minecraft.java:465)
2012-10-29 18:03:55 [iNFO] [sTDERR] 	at net.minecraft.client.Minecraft.run(Minecraft.java:752)
2012-10-29 18:03:55 [iNFO] [sTDERR] 	at java.lang.Thread.run(Unknown Source)
2012-10-29 18:13:18 [iNFO] [sTDERR] Someone is closing me!

 

Main File

 

package darkdestry.experiment;

import net.minecraft.src.Block;
import net.minecraft.src.Item;
import net.minecraft.src.ItemStack;
import cpw.mods.fml.common.Mod;
import cpw.mods.fml.common.Mod.Init;
import cpw.mods.fml.common.SidedProxy;
import cpw.mods.fml.common.event.FMLInitializationEvent;
import cpw.mods.fml.common.network.NetworkMod;
import cpw.mods.fml.common.registry.GameRegistry;
import cpw.mods.fml.common.registry.LanguageRegistry;
import darkdestry.common.CommonProxydarkdestry;

@Mod(modid = "DarkDestry_Experiment", name = "Experiment", version = "1.0.0")
@NetworkMod(clientSideRequired = true, serverSideRequired = false)
public class experiment 
{
public static Block DenseStone;
public static Block DenseCobblestone;
public static Item DenseStoneShard;
public static Item AntiMatter;

//Block Texture render
@SidedProxy(clientSide = "darkdestry.client.ClientProxydarkdestry", serverSide = "darkdestry.common.CommonProxydarkdestry")
public static CommonProxydarkdestry proxy;

//Main Chunk
@Init
public void load(FMLInitializationEvent event)
{
	GameRegistry.addRecipe(new ItemStack(darkdestry.experiment.experiment.DenseCobblestone), new Object[]
			{
				"YYY",
				"YXY",
				"YYY",
				'X', Block.stone, 'Y', Item.bucketLava
			});
	GameRegistry.addRecipe(new ItemStack(darkdestry.experiment.experiment.DenseStone), new Object[]
			{
				"XXX",
				"XXX",
				"XXX",
				'X', darkdestry.experiment.experiment.DenseStoneShard
			});
	GameRegistry.addSmelting(darkdestry.experiment.experiment.DenseCobblestone.blockID, new ItemStack(darkdestry.experiment.experiment.DenseStoneShard), 0.2F);
	GameRegistry.addSmelting(darkdestry.experiment.experiment.DenseStone.blockID, new ItemStack(darkdestry.experiment.experiment.AntiMatter), 0.5F);

	DenseStoneShard = new ItemStoneShardDense(1400).setItemName("DenseStoneShard").setIconIndex(1);
	AntiMatter = new ItemNonMatter(1401).setItemName("AntiMatter").setIconIndex(2);

	DenseStone = new BlockStoneDense(1500,0).setBlockName("DenseStone").setStepSound(Block.soundStoneFootstep).setHardness(7F).setResistance(10F);
	DenseCobblestone = new BlockDenseCobble(1501,1).setBlockName("DenseCobblestone").setStepSound(Block.soundStoneFootstep).setHardness(9F).setResistance(10F);

	GameRegistry.registerBlock(DenseStone);
	GameRegistry.registerBlock(DenseCobblestone);

	LanguageRegistry.addName(DenseStoneShard, "Dense Stoneshard");
	LanguageRegistry.addName(DenseCobblestone, "Dense Cobblestone");
	LanguageRegistry.addName(DenseStone, "Dense Stone");
}

}

Try deleting files out of the config/ directory that eclipse is using.  I ran into this after adding/removing a number of mods in my hoarding environment... not quite sure what causes it, but once I cleared out my config directory, it went away..

I'm fixing the stupid villagers.  http://www.minecraftforum.net/topic/1588460-

  • Author

By config i suppose you are referring to the conf folder in MCP directory? and what am i supposed to be looking at or deleting.

  • Author

if you are refering to an equivalent of the config folder it would be MCP\jars\config so when i open it only shows a file "ForgeChunkLoading.cfg" which i deleted and same error occured.

You need to post your logs, and before you say there arnt any, there are.

I do Forge for free, however the servers to run it arn't free, so anything is appreciated.
Consider supporting the team on Patreon

  • Author

what kind of log do you want like where can i get it. This is copied off the console log and minecraft screen.

<mcp folder>/jars/ForgeModLoader-client-0.log

Protip: try and find answers yourself before asking on the forum.

It's pretty likely that there is an answer.

 

Was I helpful? Give me a thank you!

 

 

width=635 height=903http://bit.ly/HZ03zy[/img]

 

 

Tired of waiting for mods to port to bukkit?

use BukkitForge! (now with a working version of WorldEdit!)

It might be a problem with your mod (DarkDestry_Experiment). I'd guess that the error occurs in the Init function. If you can't find it yourself, can we see your @Mod file?

Protip: try and find answers yourself before asking on the forum.

It's pretty likely that there is an answer.

 

Was I helpful? Give me a thank you!

 

 

width=635 height=903http://bit.ly/HZ03zy[/img]

 

 

Tired of waiting for mods to port to bukkit?

use BukkitForge! (now with a working version of WorldEdit!)

  • Author

Added to 1st post. Eclipse didnt specify errors

 

Edit: I tested it before so i can surmise it is nothing to do with @init. This only showed up when i added my 1st Item aka the Dense Stone Shard.

 

Edit 2: Oh Mighty Forge Code God Lex, Bless me with your Expertise!

I won't pretend that this will work or that I have tested it, because I haven't. I just rewrote and rearranged your main file to follow a top down flow of instantiation and use. Might need some changes before it would compile but you shouldn't be accessing things that haven't been instantiated with this, at least.

 

package darkdestry.experiment;

import net.minecraft.src.Block;
import net.minecraft.src.Item;
import net.minecraft.src.ItemStack;
import cpw.mods.fml.common.Mod;
import cpw.mods.fml.common.Mod.Init;
import cpw.mods.fml.common.SidedProxy;
import cpw.mods.fml.common.event.FMLInitializationEvent;
import cpw.mods.fml.common.network.NetworkMod;
import cpw.mods.fml.common.registry.GameRegistry;
import cpw.mods.fml.common.registry.LanguageRegistry;
import darkdestry.common.CommonProxydarkdestry;

@Mod(modid = "DarkDestry_Experiment", name = "Experiment", version = "1.0.0")
@NetworkMod(clientSideRequired = true, serverSideRequired = false)
public class experiment {
public static Block denseStone;
public static Block denseCobblestone;
public static Item denseStoneShard;
public static Item antiMatter;

// Block Texture render
@SidedProxy(clientSide = "darkdestry.client.ClientProxydarkdestry", serverSide = "darkdestry.common.CommonProxydarkdestry")
public static CommonProxydarkdestry proxy;

// Main Chunk
@Init
public void load(FMLInitializationEvent event) {
	denseStone = new BlockStoneDense(1500, 0).setBlockName("DenseStone").setStepSound(Block.soundStoneFootstep).setHardness(7F).setResistance(10F);
	denseCobblestone = new BlockDenseCobble(1501, 1).setBlockName("DenseCobblestone").setStepSound(Block.soundStoneFootstep).setHardness(9F).setResistance(10F);
	denseStoneShard = new ItemStoneShardDense(1400).setItemName("DenseStoneShard").setIconIndex(1);
	antiMatter = new ItemNonMatter(1401).setItemName("AntiMatter").setIconIndex(2);

	ItemStack denseCobblestoneStack = new ItemStack(denseStone);
	ItemStack denseStoneStack = new ItemStack(denseCobblestone);
	ItemStack denseStoneShardStack = new ItemStack(denseStoneShard);
	ItemStack antiMatterStack = new ItemStack(antiMatter);

	GameRegistry.addRecipe(denseCobblestoneStack, "SSS", "SLS", "SSS", 'S', Block.stone, 'L', Item.bucketLava);
	GameRegistry.addRecipe(denseStoneStack, "SSS", "SSS", "SSS", 'S', denseStoneShardStack);

	GameRegistry.addSmelting(denseCobblestone.blockID, denseStoneShardStack, 0.2F);
	GameRegistry.addSmelting(denseStone.blockID, antiMatterStack, 0.5F);

	GameRegistry.registerBlock(denseStone);
	GameRegistry.registerBlock(denseCobblestone);

	LanguageRegistry.addName(denseStoneShard, "Dense Stoneshard");
	LanguageRegistry.addName(denseCobblestone, "Dense Cobblestone");
	LanguageRegistry.addName(denseStone, "Dense Stone");
}

}

 

I'm only guessing here.

I looked at your code and saw that your order of doing things was a little weird. It read like this;

 

Register Recipe
Register Recipe

Register Smelting
Register Smelting

Define Item
Define Item
Define Item
Define Item

Register Block
Register Block

Register Item Name
Register Item Name
Register Item Name

 

So I reordered things to read like this:

 

Define Item
Define Item
Define Item
Define Item

Define ItemStack
Define ItemStack
Define ItemStack
Define ItemStack

Register Recipe
Register Recipe

Register Smelting
Register Smelting

Register Block
Register Block

Register Item Name
Register Item Name
Register Item Name

 

This adheres to a more structured, easily readable order of operations, assuring that things you will be using in the code are properly defined and exist.

 

I also simplified your recipes a tiny bit and added some ItemStack variables for legibility.

 

I think the main issue was that when you were creating your recipes (first thing you did, smelting in particular) you were using Blocks that didn't have their info set yet. BlockIDs for one.

 

I'm not 100% certain if that was the issue or not, but it's what I noticed first and foremost. Glad that everything ended up working out.

 

You probably already noticed, but I also left out defining "AntiMatter" in the language registry. I wasn't sure what you wanted to do with that, but make sure you register that as well. (-;

  • Author

i wanted to make a extremely dense fuel one that last longer than a lava bucket. I noticed that you didnt use the full name of the item you merely just stated the item in the itemstack Is it that if under the same file no full classification of the item is needed??? Eg full name as in darkdestry.experiment.experiment.stoneDense while you just stated stoneDense in the itemstack. Therefore if i wanted to refer to that item in another class which do i type in ? A final question is i cant figure how to make a Item Texture sheet can you teach me ??? All tutorials on the net very vague not very informative.

Similar to what is done in the Item.java file you make some public static variables you can access.

 

They're already public static variables;

 

public static Block denseStone;
public static Block denseCobblestone;
public static Item denseStoneShard;
public static Item antiMatter;

 

Which I declared like this:

 

denseStone = new BlockStoneDense(1500, 0).setBlockName("DenseStone").setStepSound(Block.soundStoneFootstep).setHardness(7F).setResistance(10F);
denseCobblestone = new BlockDenseCobble(1501, 1).setBlockName("DenseCobblestone").setStepSound(Block.soundStoneFootstep).setHardness(9F).setResistance(10F);
denseStoneShard = new ItemStoneShardDense(1400).setItemName("DenseStoneShard").setIconIndex(1);
antiMatter = new ItemNonMatter(1401).setItemName("AntiMatter").setIconIndex(2);

 

So when you need to access those blocks in the current file, you should be able to use:

 

denseStone
denseCobblestone
denseStoneShard
antiMatter

 

And when you need to access those blocks in another file, you should be able to use the below if the file is in the same package as your "experiment.java" file:

 

experiment.denseStone
experiment.denseCobblestone
experiment.denseStoneShard
experiment.antiMatter

 

If you're accessing it from a different package, you need to import your experiment file, then you can use them the same way.

 

It might also help to change your experiment file name or package name to something else. darkdestry.experiment.experiment.* is confusing.

 

To make an item texture sheet, you need a 256x256 png file that you load in your ClientRegistry.java;

 

public void registerRenderers() {
    MinecraftForgeClient.preloadTexture("path/to/the/texture/file.png");
}

 

Then to set the item to use that texture, add this function to the Item's class:

 

public String getTextureFile () {
    return "path/to/the/texture/file.png";
}

 

The tutorial I used to figure this out was the basic tutorial found here.

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.