Jump to content

World Generation error


Alix_The_Alicorn

Recommended Posts

Here is my error in eclipse.

 

2013-08-03 20:43:20 [iNFO] [ForgeModLoader] The state engine was in incorrect state SERVER_STARTING and forced into state SERVER_STOPPED. Errors may have been discarded.

 

Here is my main class:

 

package jason.test;

import net.minecraft.block.Block;
import net.minecraft.block.material.Material;
import net.minecraft.item.Item;
import net.minecraft.item.ItemStack;
import net.minecraftforge.common.MinecraftForge;
import cpw.mods.fml.common.Mod;
import cpw.mods.fml.common.Mod.EventHandler;
import cpw.mods.fml.common.Mod.Instance;
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;
import cpw.mods.fml.common.registry.GameRegistry;
import cpw.mods.fml.common.registry.LanguageRegistry;
import net.minecraftforge.common.Configuration;

@Mod(modid="Test", name="Test", version="pre1a")
@NetworkMod(clientSideRequired=true, serverSideRequired=false)
public class Test {
        
        
        @Instance("Test")
        public static Test instance;

        public static int TestOreBlockID;
        public static int TestIngotItemID;
        public static int ChiselItemID;
        
        public final static Item testIngot = new TestIngot(TestIngotItemID);
        public final static Block testOre = new TestOre(TestOreBlockID, Material.rock);
        public final static Item chisel = new Chisel(ChiselItemID);
        
        @SidedProxy(clientSide="jason.test.client.ClientProxy",
                        serverSide="jason.test.CommonProxy")
        public static CommonProxy proxy;
        
        @EventHandler
        public void preInit(FMLPreInitializationEvent event) {
        	Configuration config = new Configuration(event.getSuggestedConfigurationFile());
    		
    		config.load();
    		
    		TestOreBlockID = config.getBlock("TestOre", 501).getInt();
    		TestIngotItemID = config.getItem("TestIngot", 5001).getInt();
    		ChiselItemID = config.getItem("Chisel", 5002).getInt();
    		
    		config.save();
        }
        
        @EventHandler
        public void load(FMLInitializationEvent event) {
                LanguageRegistry.addName(testIngot, "Test Ingot");
                LanguageRegistry.addName(testOre, "Test Ore");
                LanguageRegistry.addName(chisel, "Chisel");
                MinecraftForge.setBlockHarvestLevel(testOre, "pickaxe", 3);
                GameRegistry.registerBlock(testOre, "testOre");
                ItemStack testIngot = new ItemStack(TestIngotItemID, 1, 0);
                ItemStack diamondPickaxe = new ItemStack(278, 1, 0);
                ItemStack diamond = new ItemStack(Item.diamond);
                ItemStack chisel = new ItemStack(ChiselItemID, 1, 0);
                ItemStack stick = new ItemStack(Item.stick.itemID, 1, 0);
                GameRegistry.registerWorldGenerator(new TestOreWorldGen());
                GameRegistry.addShapelessRecipe(diamond, testIngot, chisel);
                GameRegistry.addSmelting(TestOreBlockID, testIngot, 300);
                GameRegistry.addRecipe(chisel, "  x", " y ", "y  ", 'x', testIngot, 'y', stick);
        }
        
        @EventHandler
        public void postInit(FMLPostInitializationEvent event) {
                // Stub Method
        }
}

 

And here is my Ore world gen class

 

package jason.test;

import java.util.Random;

import net.minecraft.world.World;
import net.minecraft.world.chunk.IChunkProvider;
import net.minecraft.world.gen.feature.WorldGenMinable;
import cpw.mods.fml.common.IWorldGenerator;
import net.minecraft.block.Block;
import jason.test.TestOre;

public class TestOreWorldGen implements IWorldGenerator {

@Override
public void generate(Random random, int chunkX, int chunkZ, World world,
		IChunkProvider chunkGenerator, IChunkProvider chunkProvider) {
switch(world.provider.dimensionId){
case -1:
	generateNether(world, random, chunkX * 16, chunkZ * 16);
	break;
case 0:
	generateSurface(world, random, chunkX * 16, chunkZ * 16);
	break;
case 1:
	generateEnd(world, random, chunkX * 16, chunkZ * 16);
	break;
	}

}

private void generateEnd(World world, Random random, int i, int j) {}
private void generateSurface(World world, Random random, int i, int j) {
	for(int k = 0; k < 10; k++) {
		int TestOreXCoord = i + random.nextInt(16);
		int TestOreYCoord = random.nextInt(64);
		int TestOreZCoord = j + random.nextInt(16);

		(new WorldGenMinable(jason.test.Test.TestOreBlockID, 13)).generate(world, random, TestOreXCoord, TestOreYCoord, TestOreZCoord);
	}
}
private void generateNether(World world, Random random, int i, int j) {}

}

Link to comment
Share on other sites

Full log out of eclipse

 

Aug 03, 2013 8:42:37 PM net.minecraft.launchwrapper.LogWrapper log
INFO: Using tweak class name cpw.mods.fml.common.launcher.FMLTweaker
2013-08-03 20:42:37 [iNFO] [ForgeModLoader] Forge Mod Loader version 6.2.35.804 for Minecraft 1.6.2 loading
2013-08-03 20:42:37 [iNFO] [ForgeModLoader] Java is Java HotSpot(TM) 64-Bit Server VM, version 1.7.0_13, running on Mac OS X:x86_64:10.9, installed at /Library/Java/JavaVirtualMachines/jdk1.7.0_13.jdk/Contents/Home/jre
2013-08-03 20:42:37 [iNFO] [ForgeModLoader] Managed to load a deobfuscated Minecraft name- we are in a deobfuscated environment. Skipping runtime deobfuscation
2013-08-03 20:42:37 [WARNING] [ForgeModLoader] The coremod codechicken.core.launch.CodeChickenCorePlugin does not have a MCVersion annotation, it may cause issues with this version of Minecraft
2013-08-03 20:42:39 [WARNING] [ForgeModLoader] The coremod codechicken.nei.asm.NEICorePlugin does not have a MCVersion annotation, it may cause issues with this version of Minecraft
2013-08-03 20:42:39 [iNFO] [sTDOUT] Loaded 39 rules from AccessTransformer config file fml_at.cfg
2013-08-03 20:42:40 [iNFO] [sTDOUT] Loaded 107 rules from AccessTransformer config file forge_at.cfg
2013-08-03 20:42:40 [iNFO] [sTDOUT] Loaded 39 rules from AccessTransformer config file fml_at.cfg
2013-08-03 20:42:41 [sEVERE] [ForgeModLoader] The binary patch set is missing. Either you are in a development environment, or things are not going to work!
2013-08-03 20:42:41 [iNFO] [sTDOUT] Adding AccessTransformer: nei_at.cfg
2013-08-03 20:42:41 [iNFO] [sTDOUT] Adding Accesstransformer map: temp.dat
2013-08-03 20:42:41 [iNFO] [sTDOUT] Loaded 53 rules from AccessTransformer config file temp.dat
2013-08-03 20:42:42 [iNFO] [ForgeModLoader] Launching wrapped minecraft
2013-08-03 20:42:44 [iNFO] [sTDOUT] Inserted super call into net.minecraft.client.gui.inventory.GuiInventory.updateScreen
2013-08-03 20:42:44 [iNFO] [sTDOUT] awv was overriden from NotEnoughItems 1.6.0.6.jar
2013-08-03 20:42:44 [iNFO] [Minecraft-Client] Setting user: Player446
2013-08-03 20:42:44 [iNFO] [Minecraft-Client] (Session ID is null)
2013-08-03 20:42:45 [iNFO] [sTDOUT] Generated BlockMobSpawner helper method.
2013-08-03 20:42:47 [iNFO] [sTDOUT] Completely ignored arguments: [--username:jmanpenilla, --password:{LOL_NOPE}]
2013-08-03 20:42:47 [iNFO] [Minecraft-Client] LWJGL Version: 2.9.0
2013-08-03 20:42:48 [iNFO] [Minecraft-Client] Reloading ResourceManager: Default
2013-08-03 20:42:48 [iNFO] [sTDOUT] 
2013-08-03 20:42:48 [iNFO] [sTDOUT] Starting up SoundSystem...
2013-08-03 20:42:49 [iNFO] [sTDOUT] Initializing LWJGL OpenAL
2013-08-03 20:42:49 [iNFO] [sTDOUT]     (The LWJGL binding of OpenAL.  For more information, see http://www.lwjgl.org)
2013-08-03 20:42:49 [iNFO] [MinecraftForge] Attempting early MinecraftForge initialization
2013-08-03 20:42:49 [iNFO] [sTDOUT] MinecraftForge v9.10.0.804 Initialized
2013-08-03 20:42:49 [iNFO] [ForgeModLoader] MinecraftForge v9.10.0.804 Initialized
2013-08-03 20:42:49 [iNFO] [sTDOUT] OpenAL initialized.
2013-08-03 20:42:49 [iNFO] [sTDOUT] 
2013-08-03 20:42:49 [iNFO] [sTDOUT] Replaced 101 ore recipies
2013-08-03 20:42:49 [iNFO] [MinecraftForge] Completed early MinecraftForge initialization
2013-08-03 20:42:49 [iNFO] [ForgeModLoader] Reading custom logging properties from /Users/jason/Desktop/mcdev/1.6.2/mcp/jars/config/logging.properties
2013-08-03 20:42:49 [OFF] [ForgeModLoader] Logging level for ForgeModLoader logging is set to ALL
2013-08-03 20:42:50 [iNFO] [ForgeModLoader] Searching /Users/jason/Desktop/mcdev/1.6.2/mcp/jars/mods for mods
2013-08-03 20:42:50 [iNFO] [ForgeModLoader] Also searching /Users/jason/Desktop/mcdev/1.6.2/mcp/jars/mods/1.6.2 for mods
2013-08-03 20:42:53 [iNFO] [ForgeModLoader] Forge Mod Loader has identified 6 mods to load
2013-08-03 20:42:53 [iNFO] [mcp] Activating mod mcp
2013-08-03 20:42:53 [iNFO] [FML] Activating mod FML
2013-08-03 20:42:53 [iNFO] [Forge] Activating mod Forge
2013-08-03 20:42:53 [iNFO] [CodeChickenCore] Activating mod CodeChickenCore
2013-08-03 20:42:53 [iNFO] [NotEnoughItems] Activating mod NotEnoughItems
2013-08-03 20:42:53 [iNFO] [Test] Activating mod Test
2013-08-03 20:42:53 [WARNING] [Not Enough Items] Mod Not Enough Items is missing a pack.mcmeta file, things may not work well
2013-08-03 20:42:53 [WARNING] [Test] Mod Test is missing a pack.mcmeta file, things may not work well
2013-08-03 20:42:53 [iNFO] [Minecraft-Client] Reloading ResourceManager: Default, FMLFileResourcePack:Not Enough Items, FMLFileResourcePack:Test
2013-08-03 20:42:53 [iNFO] [sTDOUT] 
2013-08-03 20:42:53 [iNFO] [sTDOUT] SoundSystem shutting down...
2013-08-03 20:42:54 [iNFO] [sTDOUT]     Author: Paul Lamb, www.paulscode.com
2013-08-03 20:42:54 [iNFO] [sTDOUT] 
2013-08-03 20:42:54 [iNFO] [sTDOUT] 
2013-08-03 20:42:54 [iNFO] [sTDOUT] Starting up SoundSystem...
2013-08-03 20:42:54 [iNFO] [ForgeModLoader] FML has found a non-mod file CodeChickenCore 0.9.0.2.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-08-03 20:42:54 [iNFO] [ForgeModLoader] FML has found a non-mod file NotEnoughItems 1.6.0.6.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-08-03 20:42:54 [iNFO] [ForgeModLoader] FML has found a non-mod file CodeChickenLib-dev-1.6.2-1.0.0.11.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-08-03 20:42:54 [iNFO] [ForgeModLoader] Registering Forge Packet Handler
2013-08-03 20:42:54 [iNFO] [sTDOUT] Initializing LWJGL OpenAL
2013-08-03 20:42:54 [iNFO] [ForgeModLoader] Succeeded registering Forge Packet Handler
2013-08-03 20:42:54 [iNFO] [sTDOUT]     (The LWJGL binding of OpenAL.  For more information, see http://www.lwjgl.org)
2013-08-03 20:42:54 [iNFO] [sTDOUT] OpenAL initialized.
2013-08-03 20:42:54 [iNFO] [sTDOUT] CONFLICT @ 0 item slot already occupied by net.minecraft.item.ItemSpade@18ac6680 while adding jason.test.TestIngot@5e7d6a27
2013-08-03 20:42:54 [iNFO] [fml.ItemTracker] The mod Test is overwriting existing item at 256 (net.minecraft.item.ItemSpade from Minecraft) with jason.test.TestIngot
2013-08-03 20:42:54 [iNFO] [sTDOUT] CONFLICT @ 0 item slot already occupied by jason.test.TestIngot@5e7d6a27 while adding jason.test.Chisel@1725972c
2013-08-03 20:42:54 [iNFO] [fml.ItemTracker] The mod Test is overwriting existing item at 256 (jason.test.TestIngot from Test) with jason.test.Chisel
2013-08-03 20:42:54 [iNFO] [ForgeModLoader] Configured a dormant chunk cache size of 0
2013-08-03 20:42:54 [iNFO] [sTDOUT] 
2013-08-03 20:42:55 [iNFO] [sTDOUT] Removing TMI Uninstaller
2013-08-03 20:42:55 [iNFO] [sTDOUT] Deleting Dir: /Users/jason/Desktop/mcdev/1.6.2/mcp/eclipse/Minecraft/bin/net/minecraft/client/TMIUninstaller
2013-08-03 20:42:55 [iNFO] [ForgeModLoader] Forge Mod Loader has successfully loaded 6 mods
2013-08-03 20:42:56 [WARNING] [Not Enough Items] Mod Not Enough Items is missing a pack.mcmeta file, things may not work well
2013-08-03 20:42:56 [WARNING] [Test] Mod Test is missing a pack.mcmeta file, things may not work well
2013-08-03 20:42:56 [iNFO] [Minecraft-Client] Reloading ResourceManager: Default, FMLFileResourcePack:Not Enough Items, FMLFileResourcePack:Test
2013-08-03 20:42:56 [iNFO] [sTDOUT] 
2013-08-03 20:42:56 [iNFO] [sTDOUT] SoundSystem shutting down...
2013-08-03 20:42:56 [iNFO] [sTDOUT]     Author: Paul Lamb, www.paulscode.com
2013-08-03 20:42:56 [iNFO] [sTDOUT] 
2013-08-03 20:42:56 [iNFO] [sTDOUT] 
2013-08-03 20:42:56 [iNFO] [sTDOUT] Starting up SoundSystem...
2013-08-03 20:42:56 [sEVERE] [Minecraft-Client] ########## GL ERROR ##########
2013-08-03 20:42:56 [sEVERE] [Minecraft-Client] @ Post startup
2013-08-03 20:42:56 [sEVERE] [Minecraft-Client] 1281: Invalid value
2013-08-03 20:42:56 [iNFO] [sTDOUT] Initializing LWJGL OpenAL
2013-08-03 20:42:56 [iNFO] [sTDOUT]     (The LWJGL binding of OpenAL.  For more information, see http://www.lwjgl.org)
2013-08-03 20:42:56 [iNFO] [sTDOUT] OpenAL initialized.
2013-08-03 20:42:57 [iNFO] [sTDOUT] 
2013-08-03 20:42:57 [sEVERE] [Minecraft-Client] Realms: Invalid session id
2013-08-03 20:43:03 [iNFO] [sTDOUT] Deleting level test6
2013-08-03 20:43:03 [iNFO] [sTDOUT] Attempt 1...
2013-08-03 20:43:03 [iNFO] [sTDOUT] Deleting /Users/jason/Desktop/mcdev/1.6.2/mcp/jars/./saves/test6/data
2013-08-03 20:43:03 [iNFO] [sTDOUT] Deleting /Users/jason/Desktop/mcdev/1.6.2/mcp/jars/./saves/test6/DIM-1
2013-08-03 20:43:03 [iNFO] [sTDOUT] Deleting /Users/jason/Desktop/mcdev/1.6.2/mcp/jars/./saves/test6/DIM-1/data
2013-08-03 20:43:03 [iNFO] [sTDOUT] Deleting /Users/jason/Desktop/mcdev/1.6.2/mcp/jars/./saves/test6/DIM1
2013-08-03 20:43:03 [iNFO] [sTDOUT] Deleting /Users/jason/Desktop/mcdev/1.6.2/mcp/jars/./saves/test6/DIM1/data
2013-08-03 20:43:03 [iNFO] [sTDOUT] Deleting /Users/jason/Desktop/mcdev/1.6.2/mcp/jars/./saves/test6/level.dat
2013-08-03 20:43:03 [iNFO] [sTDOUT] Deleting /Users/jason/Desktop/mcdev/1.6.2/mcp/jars/./saves/test6/level.dat_mcr
2013-08-03 20:43:03 [iNFO] [sTDOUT] Deleting /Users/jason/Desktop/mcdev/1.6.2/mcp/jars/./saves/test6/NEI.dat
2013-08-03 20:43:03 [iNFO] [sTDOUT] Deleting /Users/jason/Desktop/mcdev/1.6.2/mcp/jars/./saves/test6/players
2013-08-03 20:43:03 [iNFO] [sTDOUT] Deleting /Users/jason/Desktop/mcdev/1.6.2/mcp/jars/./saves/test6/region
2013-08-03 20:43:03 [iNFO] [sTDOUT] Deleting /Users/jason/Desktop/mcdev/1.6.2/mcp/jars/./saves/test6/region/r.-1.-1.mca
2013-08-03 20:43:03 [iNFO] [sTDOUT] Deleting /Users/jason/Desktop/mcdev/1.6.2/mcp/jars/./saves/test6/region/r.-1.0.mca
2013-08-03 20:43:03 [iNFO] [sTDOUT] Deleting /Users/jason/Desktop/mcdev/1.6.2/mcp/jars/./saves/test6/region/r.0.-1.mca
2013-08-03 20:43:03 [iNFO] [sTDOUT] Deleting /Users/jason/Desktop/mcdev/1.6.2/mcp/jars/./saves/test6/region/r.0.0.mca
2013-08-03 20:43:03 [iNFO] [sTDOUT] Deleting /Users/jason/Desktop/mcdev/1.6.2/mcp/jars/./saves/test6/session.lock
2013-08-03 20:43:19 [iNFO] [Minecraft-Server] Starting integrated minecraft server version 1.6.2
2013-08-03 20:43:19 [iNFO] [Minecraft-Server] Generating keypair
2013-08-03 20:43:19 [iNFO] [Minecraft-Server] Converting map!
2013-08-03 20:43:19 [iNFO] [Minecraft-Server] Scanning folders...
2013-08-03 20:43:19 [iNFO] [Minecraft-Server] Total conversion count is 0
2013-08-03 20:43:20 [iNFO] [ForgeModLoader] Loading dimension 0 (test7) (net.minecraft.server.integrated.IntegratedServer@525fda68)
2013-08-03 20:43:20 [iNFO] [ForgeModLoader] Loading dimension 1 (test7) (net.minecraft.server.integrated.IntegratedServer@525fda68)
2013-08-03 20:43:20 [iNFO] [ForgeModLoader] Loading dimension -1 (test7) (net.minecraft.server.integrated.IntegratedServer@525fda68)
2013-08-03 20:43:20 [iNFO] [Minecraft-Server] Preparing start region for level 0
2013-08-03 20:43:20 [iNFO] [sTDERR] java.lang.NullPointerException
2013-08-03 20:43:20 [iNFO] [sTDERR] 	at net.minecraft.world.chunk.Chunk.setBlockIDWithMetadata(Chunk.java:754)
2013-08-03 20:43:20 [iNFO] [sTDERR] 	at net.minecraft.world.World.setBlock(World.java:557)
2013-08-03 20:43:20 [iNFO] [sTDERR] 	at net.minecraft.world.gen.feature.WorldGenMinable.generate(WorldGenMinable.java:80)
2013-08-03 20:43:20 [iNFO] [sTDERR] 	at jason.test.TestOreWorldGen.generateSurface(TestOreWorldGen.java:38)
2013-08-03 20:43:20 [iNFO] [sTDERR] 	at jason.test.TestOreWorldGen.generate(TestOreWorldGen.java:22)
2013-08-03 20:43:20 [iNFO] [sTDERR] 	at cpw.mods.fml.common.registry.GameRegistry.generateWorld(GameRegistry.java:102)
2013-08-03 20:43:20 [iNFO] [sTDERR] 	at net.minecraft.world.gen.ChunkProviderServer.populate(ChunkProviderServer.java:259)
2013-08-03 20:43:20 [iNFO] [sTDERR] 	at net.minecraft.world.chunk.Chunk.populateChunk(Chunk.java:1249)
2013-08-03 20:43:20 [iNFO] [sTDERR] 	at net.minecraft.world.gen.ChunkProviderServer.loadChunk(ChunkProviderServer.java:153)
2013-08-03 20:43:20 [iNFO] [sTDERR] 	at net.minecraft.server.MinecraftServer.initialWorldChunkLoad(MinecraftServer.java:292)
2013-08-03 20:43:20 [iNFO] [sTDERR] 	at net.minecraft.server.integrated.IntegratedServer.loadAllWorlds(IntegratedServer.java:90)
2013-08-03 20:43:20 [iNFO] [sTDERR] 	at net.minecraft.server.integrated.IntegratedServer.startServer(IntegratedServer.java:107)
2013-08-03 20:43:20 [iNFO] [sTDERR] 	at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:443)
2013-08-03 20:43:20 [iNFO] [sTDERR] 	at net.minecraft.server.ThreadMinecraftServer.run(ThreadMinecraftServer.java:16)
2013-08-03 20:43:20 [sEVERE] [Minecraft-Server] Encountered an unexpected exception NullPointerException
java.lang.NullPointerException
at net.minecraft.world.chunk.Chunk.setBlockIDWithMetadata(Chunk.java:754)
at net.minecraft.world.World.setBlock(World.java:557)
at net.minecraft.world.gen.feature.WorldGenMinable.generate(WorldGenMinable.java:80)
at jason.test.TestOreWorldGen.generateSurface(TestOreWorldGen.java:38)
at jason.test.TestOreWorldGen.generate(TestOreWorldGen.java:22)
at cpw.mods.fml.common.registry.GameRegistry.generateWorld(GameRegistry.java:102)
at net.minecraft.world.gen.ChunkProviderServer.populate(ChunkProviderServer.java:259)
at net.minecraft.world.chunk.Chunk.populateChunk(Chunk.java:1249)
at net.minecraft.world.gen.ChunkProviderServer.loadChunk(ChunkProviderServer.java:153)
at net.minecraft.server.MinecraftServer.initialWorldChunkLoad(MinecraftServer.java:292)
at net.minecraft.server.integrated.IntegratedServer.loadAllWorlds(IntegratedServer.java:90)
at net.minecraft.server.integrated.IntegratedServer.startServer(IntegratedServer.java:107)
at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:443)
at net.minecraft.server.ThreadMinecraftServer.run(ThreadMinecraftServer.java:16)
2013-08-03 20:43:20 [sEVERE] [Minecraft-Server] This crash report has been saved to: /Users/jason/Desktop/mcdev/1.6.2/mcp/jars/./crash-reports/crash-2013-08-03_20.43.20-server.txt
2013-08-03 20:43:20 [iNFO] [Minecraft-Server] Stopping server
2013-08-03 20:43:20 [iNFO] [Minecraft-Server] Saving players
2013-08-03 20:43:20 [iNFO] [Minecraft-Server] Saving worlds
2013-08-03 20:43:20 [iNFO] [Minecraft-Server] Saving chunks for level 'test7'/Overworld
2013-08-03 20:43:20 [iNFO] [Minecraft-Server] Saving chunks for level 'test7'/Nether
2013-08-03 20:43:20 [iNFO] [Minecraft-Server] Saving chunks for level 'test7'/The End
2013-08-03 20:43:20 [iNFO] [ForgeModLoader] Unloading dimension 0
2013-08-03 20:43:20 [iNFO] [ForgeModLoader] Unloading dimension -1
2013-08-03 20:43:20 [iNFO] [ForgeModLoader] Unloading dimension 1
2013-08-03 20:43:20 [iNFO] [ForgeModLoader] The state engine was in incorrect state SERVER_STARTING and forced into state SERVER_STOPPED. Errors may have been discarded.
2013-08-03 20:43:43 [iNFO] [Minecraft-Server] Stopping server
2013-08-03 20:43:43 [iNFO] [Minecraft-Server] Saving players
2013-08-03 20:43:43 [iNFO] [Minecraft-Server] Saving worlds
AL lib: (EE) alc_cleanup: 1 device not closed

 

I had to force quit the "Launch" application (minecraft) cause it was stuck on generating the world. No better result if I use a pre generated world.

Link to comment
Share on other sites

2013-08-03 20:43:20 [iNFO] [sTDERR] java.lang.NullPointerException

2013-08-03 20:43:20 [iNFO] [sTDERR] at jason.test.TestOreWorldGen.generate(TestOreWorldGen.java:22)

 

Check line 22 in the TestOreWorldGen class. You need to put a (variable == null) or (variable != null) check in there to make sure the variable is never null.

 

If you'd like a little more detailed help, can you post that class?

Link to comment
Share on other sites

I would recommend that you read more into java, null and such problems are quite common but usually easy to fix once you master the basics!

So if you master them before modding, you will save A LOT of time! ;)

If you guys dont get it.. then well ya.. try harder...

Link to comment
Share on other sites

that would work for minecraft modding, thats just basic java Alix :)

If it's not working for you it's probably because you need it to be non-null in order to do what you want!

 

I don't mean to be rude, this is all intended to help you:

please learn some more basic programming, it will benefit you GREATLY! :D

If you need tips on where to start check out http://docs.oracle.com/javase/tutorial/ and

http://see.stanford.edu/see/lecturelist.aspx?coll=824a47e1-135f-4508-a5aa-866adcae1111

If you guys dont get it.. then well ya.. try harder...

Link to comment
Share on other sites

well it should work as in not crash if you check for != null as in if (worldProvider != null) that shouldnt crash it.

if it still gives an Null pointer exception you have a different problem.

 

But if the problem is that nothing gets generate then I can understand the issue a bit better :P

If you guys dont get it.. then well ya.. try harder...

Link to comment
Share on other sites

if it still gives an NPE look at the line the NPE is thrown at, if it's not clear why it's null set a break point and check it out :)

 

If both those fails, share the updated code and let us have a look ;)

But try the above first ^^

If you guys dont get it.. then well ya.. try harder...

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

    • 🎰 Mainkan Slot Online dengan Hanya 5 Ribu Via Dana, Proses Cepat! 🎰 Buka pintu ke dunia hiburan tanpa batas di UANG69 Slot Online! Bersiaplah untuk merasakan sensasi kemenangan di ujung jari Anda dengan taruhan serendah 5 ribu rupiah saja, melalui metode pembayaran yang mudah via Dana! ⚡ Proses Cepat, Nikmati Keuntungan dalam Sekejap ⚡ Bergabunglah dengan komunitas slot paling dinamis dan terpanas, dengan puluhan permainan slot yang menakjubkan, serta kesempatan untuk memenangkan jackpot besar! Rasakan gemerlapnya Las Vegas langsung dari kenyamanan rumah Anda sendiri. 🔥 Keunggulan UANG69 Slot Online: 🔥 ✅ Taruhan Serendah 5 Ribu Rupiah ✅ Metode Pembayaran Mudah via Dana ✅ Proses Cepat, Penarikan Lancar ✅ Puluhan Permainan Slot Terbaik ✅ Jackpot Besar Menanti untuk Dimenangkan Bergabunglah dengan UANG69 hari ini dan jadilah bagian dari petualangan slot yang tak terlupakan. Nikmati keseruan, kemenangan, dan hiburan di ujung jari Anda! Jangan lewatkan kesempatan ini, bergabunglah sekarang dan mulailah memenangkan hadiah besar! 💰💎🎉
    • Hello, I am trying to play Minecraft (premium version) with the All Of Create mod from CurseForge. When I launch it from the Minecraft launcher I get an error "The game has stopped working" Error code: 1. I tried to create a modpack, without mods, and launch it (in case there was any incompatibility) but it doesn't work either.... Error with mod: https://paste.ee/p/zzvJY I hope someone can help me. Thanks in advance.
    • Jika Anda mencari maxwin secepat kilat, maka Slot Kilat77 adalah tempatnya! Dengan koleksi slot terbaik yang dirancang untuk memberikan kemenangan instan, setiap putaran di Slot Kilat77 adalah kesempatan untuk memenangkan hadiah besar dalam sekejap. Bergabunglah sekarang dan rasakan sensasi kemenangan kilat di setiap gulungan. Jadi, jangan ragu lagi, mari bergabung dan raih maxwin secepat kilat hanya di Slot Kilat77!
    • Jos77 adalah pilihan terbaik untuk meraih maxwin hari ini! Dengan koleksi permainan slot terbaik dan peluang kemenangan yang tinggi, setiap putaran di Jos77 adalah kesempatan untuk memenangkan hadiah besar. Bergabunglah sekarang dan rasakan sensasi kemenangan yang luar biasa di setiap gulungan. Jadi, jangan lewatkan kesempatan untuk menjadi pemenang hari ini di Jos77 Mulailah petualangan slot Anda sekarang di Jos77 dan temukan sendiri mengapa kami adalah pilihan utama para pencari maxwin. Dengan grafis yang memukau, fitur bonus yang menggiurkan, dan dukungan pelanggan yang luar biasa, kami siap membawa pengalaman bermain Anda ke level berikutnya. Tidak peduli apakah Anda seorang pemula atau ahli slot, Jos77 menyediakan lingkungan yang ramah dan menyenangkan bagi semua pemain. Jadi, bersiaplah untuk meraih maxwin dan nikmati kesuksesan Anda di Jos77 hari ini!  
    • BARBAR77 adalah destinasi utama bagi para pecinta slot online yang mencari sensasi paling barbar! Dengan koleksi slot paling mengagumkan dan peluang kemenangan yang tinggi, BARBAR77 menawarkan pengalaman bermain yang tidak akan Anda temukan di tempat lain. Bergabunglah dengan komunitas kami dan rasakan kegembiraan dari kemenangan yang mengagumkan di setiap putaran. Jadi, siapkan diri Anda untuk petualangan slot yang paling barbar di BARBAR77!
  • Topics

×
×
  • Create New...

Important Information

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