Posted August 5, 201312 yr Hello. This is the second time that I have gotten this error report. It seems to happen whenever I try to add world generation. Even when I take all the mods affiliated with world generation out of the build path, it still happens. Here is the error: Aug 5, 2013 11:32:55 AM net.minecraft.launchwrapper.LogWrapper log INFO: Using tweak class name cpw.mods.fml.common.launcher.FMLTweaker 2013-08-05 11:32:55 [iNFO] [ForgeModLoader] Forge Mod Loader version 6.2.35.804 for Minecraft 1.6.2 loading 2013-08-05 11:32:55 [iNFO] [ForgeModLoader] Java is Java HotSpot(TM) 64-Bit Server VM, version 1.6.0_51, running on Mac OS X:x86_64:10.8.4, installed at /System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home 2013-08-05 11:32:55 [iNFO] [ForgeModLoader] Managed to load a deobfuscated Minecraft name- we are in a deobfuscated environment. Skipping runtime deobfuscation 2013-08-05 11:32:55 [iNFO] [sTDOUT] Loaded 39 rules from AccessTransformer config file fml_at.cfg 2013-08-05 11:32:55 [iNFO] [sTDOUT] Loaded 107 rules from AccessTransformer config file forge_at.cfg 2013-08-05 11:32:56 [sEVERE] [ForgeModLoader] The binary patch set is missing. Either you are in a development environment, or things are not going to work! 2013-08-05 11:32:56 [iNFO] [ForgeModLoader] Launching wrapped minecraft 2013-08-05 11:32:58 [iNFO] [Minecraft-Client] Setting user: Player896 2013-08-05 11:32:58 [iNFO] [Minecraft-Client] (Session ID is null) 2013-08-05 11:32:59 [iNFO] [Minecraft-Client] LWJGL Version: 2.9.0 2013-08-05 11:33:00 [iNFO] [Minecraft-Client] Reloading ResourceManager: Default 2013-08-05 11:33:01 [iNFO] [sTDOUT] 2013-08-05 11:33:01 [iNFO] [sTDOUT] Starting up SoundSystem... 2013-08-05 11:33:01 [iNFO] [sTDOUT] Initializing LWJGL OpenAL 2013-08-05 11:33:01 [iNFO] [sTDOUT] (The LWJGL binding of OpenAL. For more information, see http://www.lwjgl.org) 2013-08-05 11:33:01 [iNFO] [MinecraftForge] Attempting early MinecraftForge initialization 2013-08-05 11:33:01 [iNFO] [sTDOUT] MinecraftForge v9.10.0.804 Initialized 2013-08-05 11:33:01 [iNFO] [ForgeModLoader] MinecraftForge v9.10.0.804 Initialized 2013-08-05 11:33:01 [iNFO] [sTDOUT] Replaced 101 ore recipies 2013-08-05 11:33:02 [iNFO] [MinecraftForge] Completed early MinecraftForge initialization 2013-08-05 11:33:02 [iNFO] [ForgeModLoader] Reading custom logging properties from /Users/Buck/Desktop/Coding/Java/Mod Making/Forge 1.6.2/forge/mcp/jars/config/logging.properties 2013-08-05 11:33:02 [OFF] [ForgeModLoader] Logging level for ForgeModLoader logging is set to ALL 2013-08-05 11:33:02 [iNFO] [ForgeModLoader] Searching /Users/Buck/Desktop/Coding/Java/Mod Making/Forge 1.6.2/forge/mcp/jars/mods for mods 2013-08-05 11:33:02 [iNFO] [sTDOUT] OpenAL initialized. 2013-08-05 11:33:02 [iNFO] [sTDOUT] 2013-08-05 11:33:05 [iNFO] [ForgeModLoader] Forge Mod Loader has identified 5 mods to load 2013-08-05 11:33:05 [iNFO] [mcp] Activating mod mcp 2013-08-05 11:33:05 [iNFO] [FML] Activating mod FML 2013-08-05 11:33:05 [iNFO] [Forge] Activating mod Forge 2013-08-05 11:33:05 [iNFO] [GlacierIce] Activating mod GlacierIce 2013-08-05 11:33:05 [iNFO] [TutorialMod] Activating mod TutorialMod 2013-08-05 11:33:05 [WARNING] [Glacier Ice] Mod Glacier Ice is missing a pack.mcmeta file, things may not work well 2013-08-05 11:33:05 [WARNING] [Tutorial Mod] Mod Tutorial Mod is missing a pack.mcmeta file, things may not work well 2013-08-05 11:33:05 [iNFO] [Minecraft-Client] Reloading ResourceManager: Default, FMLFileResourcePack:Glacier Ice, FMLFileResourcePack:Tutorial Mod 2013-08-05 11:33:06 [iNFO] [sTDOUT] 2013-08-05 11:33:06 [iNFO] [sTDOUT] SoundSystem shutting down... 2013-08-05 11:33:06 [iNFO] [sTDOUT] Author: Paul Lamb, www.paulscode.com 2013-08-05 11:33:06 [iNFO] [sTDOUT] 2013-08-05 11:33:06 [iNFO] [sTDOUT] 2013-08-05 11:33:06 [iNFO] [sTDOUT] Starting up SoundSystem... 2013-08-05 11:33:06 [iNFO] [ForgeModLoader] Registering Forge Packet Handler 2013-08-05 11:33:06 [iNFO] [ForgeModLoader] Succeeded registering Forge Packet Handler 2013-08-05 11:33:06 [iNFO] [sTDOUT] Initializing LWJGL OpenAL 2013-08-05 11:33:06 [iNFO] [sTDOUT] (The LWJGL binding of OpenAL. For more information, see http://www.lwjgl.org) 2013-08-05 11:33:06 [iNFO] [sTDOUT] OpenAL initialized. 2013-08-05 11:33:06 [iNFO] [ForgeModLoader] Configured a dormant chunk cache size of 0 2013-08-05 11:33:06 [iNFO] [sTDOUT] 2013-08-05 11:33:06 [sEVERE] [Minecraft-Client] Using missing texture, unable to load: glacierice:textures/blocks/BlueGlacierIce.png 2013-08-05 11:33:07 [sEVERE] [Minecraft-Client] Using missing texture, unable to load: glacierice:textures/blocks/GreenGlacierIce.png 2013-08-05 11:33:07 [sEVERE] [Minecraft-Client] Using missing texture, unable to load: tutorialmod:textures/items/Lime.png 2013-08-05 11:33:07 [iNFO] [sTDOUT] [Glacier Ice] Glacier Biome enabled. 2013-08-05 11:33:07 [iNFO] [ForgeModLoader] Forge Mod Loader has successfully loaded 5 mods 2013-08-05 11:33:07 [WARNING] [Glacier Ice] Mod Glacier Ice is missing a pack.mcmeta file, things may not work well 2013-08-05 11:33:07 [WARNING] [Tutorial Mod] Mod Tutorial Mod is missing a pack.mcmeta file, things may not work well 2013-08-05 11:33:07 [iNFO] [Minecraft-Client] Reloading ResourceManager: Default, FMLFileResourcePack:Glacier Ice, FMLFileResourcePack:Tutorial Mod 2013-08-05 11:33:07 [sEVERE] [Minecraft-Client] Using missing texture, unable to load: tutorialmod:textures/items/Lime.png 2013-08-05 11:33:07 [sEVERE] [Minecraft-Client] Using missing texture, unable to load: glacierice:textures/blocks/BlueGlacierIce.png 2013-08-05 11:33:07 [sEVERE] [Minecraft-Client] Using missing texture, unable to load: glacierice:textures/blocks/GreenGlacierIce.png 2013-08-05 11:33:08 [iNFO] [sTDOUT] 2013-08-05 11:33:08 [iNFO] [sTDOUT] SoundSystem shutting down... 2013-08-05 11:33:08 [iNFO] [sTDOUT] Author: Paul Lamb, www.paulscode.com 2013-08-05 11:33:08 [iNFO] [sTDOUT] 2013-08-05 11:33:08 [iNFO] [sTDOUT] 2013-08-05 11:33:08 [iNFO] [sTDOUT] Starting up SoundSystem... 2013-08-05 11:33:08 [sEVERE] [Minecraft-Client] ########## GL ERROR ########## 2013-08-05 11:33:08 [sEVERE] [Minecraft-Client] @ Post startup 2013-08-05 11:33:08 [sEVERE] [Minecraft-Client] 1281: Invalid value 2013-08-05 11:33:08 [iNFO] [sTDOUT] Initializing LWJGL OpenAL 2013-08-05 11:33:08 [iNFO] [sTDOUT] (The LWJGL binding of OpenAL. For more information, see http://www.lwjgl.org) 2013-08-05 11:33:08 [iNFO] [sTDOUT] OpenAL initialized. 2013-08-05 11:33:08 [iNFO] [sTDOUT] 2013-08-05 11:33:09 [sEVERE] [Minecraft-Client] Realms: Invalid session id 2013-08-05 11:33:15 [iNFO] [Minecraft-Server] Starting integrated minecraft server version 1.6.2 2013-08-05 11:33:15 [iNFO] [Minecraft-Server] Generating keypair 2013-08-05 11:33:16 [iNFO] [Minecraft-Server] Converting map! 2013-08-05 11:33:16 [iNFO] [Minecraft-Server] Scanning folders... 2013-08-05 11:33:16 [iNFO] [Minecraft-Server] Total conversion count is 0 2013-08-05 11:33:16 [iNFO] [ForgeModLoader] Loading dimension 0 (New World) (net.minecraft.server.integrated.IntegratedServer@13110f31) 2013-08-05 11:33:16 [iNFO] [ForgeModLoader] Loading dimension 1 (New World) (net.minecraft.server.integrated.IntegratedServer@13110f31) 2013-08-05 11:33:16 [iNFO] [ForgeModLoader] Loading dimension -1 (New World) (net.minecraft.server.integrated.IntegratedServer@13110f31) 2013-08-05 11:33:16 [iNFO] [Minecraft-Server] Preparing start region for level 0 2013-08-05 11:33:17 [iNFO] [Minecraft-Server] Preparing spawn area: 8% 2013-08-05 11:33:18 [iNFO] [Minecraft-Server] Preparing spawn area: 18% 2013-08-05 11:33:19 [iNFO] [sTDERR] java.lang.NullPointerException 2013-08-05 11:33:19 [iNFO] [sTDERR] at net.minecraft.world.World.getTopSolidOrLiquidBlock(World.java:2004) 2013-08-05 11:33:19 [iNFO] [sTDERR] at net.minecraft.world.biome.BiomeDecorator.decorate(BiomeDecorator.java:219) 2013-08-05 11:33:19 [iNFO] [sTDERR] at net.minecraft.world.biome.BiomeDecorator.decorate(BiomeDecorator.java:196) 2013-08-05 11:33:19 [iNFO] [sTDERR] at net.minecraft.world.biome.BiomeGenBase.decorate(BiomeGenBase.java:366) 2013-08-05 11:33:19 [iNFO] [sTDERR] at net.minecraft.world.gen.ChunkProviderGenerate.populate(ChunkProviderGenerate.java:573) 2013-08-05 11:33:19 [iNFO] [sTDERR] at net.minecraft.world.gen.ChunkProviderServer.populate(ChunkProviderServer.java:258) 2013-08-05 11:33:19 [iNFO] [sTDERR] at net.minecraft.world.chunk.Chunk.populateChunk(Chunk.java:1249) 2013-08-05 11:33:19 [iNFO] [sTDERR] at net.minecraft.world.gen.ChunkProviderServer.loadChunk(ChunkProviderServer.java:153) 2013-08-05 11:33:19 [iNFO] [sTDERR] at net.minecraft.server.MinecraftServer.initialWorldChunkLoad(MinecraftServer.java:292) 2013-08-05 11:33:19 [iNFO] [sTDERR] at net.minecraft.server.integrated.IntegratedServer.loadAllWorlds(IntegratedServer.java:90) 2013-08-05 11:33:19 [iNFO] [sTDERR] at net.minecraft.server.integrated.IntegratedServer.startServer(IntegratedServer.java:107) 2013-08-05 11:33:19 [iNFO] [sTDERR] at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:443) 2013-08-05 11:33:19 [iNFO] [sTDERR] at net.minecraft.server.ThreadMinecraftServer.run(ThreadMinecraftServer.java:16) 2013-08-05 11:33:19 [sEVERE] [Minecraft-Server] Encountered an unexpected exception NullPointerException java.lang.NullPointerException at net.minecraft.world.World.getTopSolidOrLiquidBlock(World.java:2004) at net.minecraft.world.biome.BiomeDecorator.decorate(BiomeDecorator.java:219) at net.minecraft.world.biome.BiomeDecorator.decorate(BiomeDecorator.java:196) at net.minecraft.world.biome.BiomeGenBase.decorate(BiomeGenBase.java:366) at net.minecraft.world.gen.ChunkProviderGenerate.populate(ChunkProviderGenerate.java:573) at net.minecraft.world.gen.ChunkProviderServer.populate(ChunkProviderServer.java:258) 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-05 11:33:19 [sEVERE] [Minecraft-Server] This crash report has been saved to: /Users/Buck/Desktop/Coding/Java/Mod Making/Forge 1.6.2/forge/mcp/jars/./crash-reports/crash-2013-08-05_11.33.19-server.txt 2013-08-05 11:33:19 [iNFO] [Minecraft-Server] Stopping server 2013-08-05 11:33:19 [iNFO] [Minecraft-Server] Saving players 2013-08-05 11:33:19 [iNFO] [Minecraft-Server] Saving worlds 2013-08-05 11:33:19 [iNFO] [Minecraft-Server] Saving chunks for level 'New World'/Overworld 2013-08-05 11:33:19 [iNFO] [Minecraft-Server] Saving chunks for level 'New World'/Nether 2013-08-05 11:33:19 [iNFO] [Minecraft-Server] Saving chunks for level 'New World'/The End 2013-08-05 11:33:21 [iNFO] [ForgeModLoader] Unloading dimension 0 2013-08-05 11:33:21 [iNFO] [ForgeModLoader] Unloading dimension -1 2013-08-05 11:33:21 [iNFO] [ForgeModLoader] Unloading dimension 1 2013-08-05 11:33:21 [iNFO] [ForgeModLoader] The state engine was in incorrect state SERVER_STARTING and forced into state SERVER_STOPPED. Errors may have been discarded. 2013-08-05 11:33:29 [iNFO] [Minecraft-Server] Stopping server 2013-08-05 11:33:29 [iNFO] [Minecraft-Server] Saving players 2013-08-05 11:33:29 [iNFO] [Minecraft-Server] Saving worlds AL lib: (EE) alc_cleanup: 1 device not closed WorldGenGrapeTree.java: package fisherman77.zeuscraft.common.worldgen; import java.util.Random; import cpw.mods.fml.common.IWorldGenerator; import fisherman77.zeuscraft.common.Zeuscraft; import fisherman77.zeuscraft.common.blocks.BlockGrapeSapling; import net.minecraft.block.Block; import net.minecraft.block.BlockSapling; import net.minecraft.util.Direction; import net.minecraft.world.World; import net.minecraft.world.biome.BiomeGenBase; import net.minecraft.world.chunk.IChunkProvider; import net.minecraft.world.gen.feature.WorldGenMinable; import net.minecraft.world.gen.feature.WorldGenerator; import net.minecraftforge.common.ForgeDirection; public class WorldGenGrapeTree extends WorldGenerator implements IWorldGenerator { /** The minimum height of a generated tree. */ private final int minTreeHeight; /** True if this tree should grow Vines. */ private final boolean vinesGrow; /** The metadata value of the wood to use in tree generation. */ private final int metaWood; /** The metadata value of the leaves to use in tree generation. */ private final int metaLeaves; public WorldGenGrapeTree(boolean par1) { this(par1, 3, 0, 0, false); } public WorldGenGrapeTree(boolean par1, int par2, int par3, int par4, boolean par5) { super(par1); this.minTreeHeight = par2; this.metaWood = par3; this.metaLeaves = par4; this.vinesGrow = par5; } public boolean generate(World par1World, Random par2Random, int par3, int par4, int par5) { int l = par2Random.nextInt(3) + this.minTreeHeight; boolean flag = true; if (par4 >= 1 && par4 + l + 1 <= 256) { int i1; byte b0; int j1; int k1; for (i1 = par4; i1 <= par4 + 1 + l; ++i1) { b0 = 1; if (i1 == par4) { b0 = 0; } if (i1 >= par4 + 1 + l - 2) { b0 = 2; } for (int l1 = par3 - b0; l1 <= par3 + b0 && flag; ++l1) { for (j1 = par5 - b0; j1 <= par5 + b0 && flag; ++j1) { if (i1 >= 0 && i1 < 256) { k1 = par1World.getBlockId(l1, i1 -1, j1); /** Custom grass block **/ Block block = Block.grass; if (k1 != 0 && !block.isLeaves(par1World, l1, i1, j1) /** Custom grass block **/ && k1 != Block.grass.blockID && k1 != Block.dirt.blockID && !block.isWood(par1World, l1, i1, j1)) { flag = false; } } else { flag = false; } } } } if (!flag) { return false; } else { i1 = par1World.getBlockId(par3, par4 - 1, par5); /** Custom grass block **/ Block soil = Block.grass; /** Custom Sapling block **/ boolean isSoil = (soil != null && soil.canSustainPlant(par1World, par3, par4 - 1, par5, ForgeDirection.UP, (BlockGrapeSapling)Zeuscraft.GrapeSapling)); if (isSoil && par4 < 256 - l - 1) { soil.onPlantGrow(par1World, par3, par4 - 1, par5, par3, par4, par5); b0 = 3; byte b1 = 0; int i2; int j2; int k2; for (j1 = par4 - b0 + l; j1 <= par4 + l; ++j1) { k1 = j1 - (par4 + l); i2 = b1 + 1 - k1 / 2; for (j2 = par3 - i2; j2 <= par3 + i2; ++j2) { k2 = j2 - par3; for (int l2 = par5 - i2; l2 <= par5 + i2; ++l2) { int i3 = l2 - par5; if (Math.abs(k2) != i2 || Math.abs(i3) != i2 || par2Random.nextInt(2) != 0 && k1 != 0) { int j3 = par1World.getBlockId(j2, j1, l2); Block block = Block.blocksList[j3]; if (block == null || block.canBeReplacedByLeaves(par1World, j2, j1, l2)) { /** Custom leaf block **/ this.setBlockAndMetadata(par1World, j2, j1, l2, Zeuscraft.GrapeLeaves.blockID, this.metaLeaves); } } } } } for (j1 = 0; j1 < l; ++j1) { k1 = par1World.getBlockId(par3, par4 + j1, par5); Block block = Block.blocksList[k1]; if (k1 == 0 || block == null || block.isLeaves(par1World, par3, par4 + j1, par5)) { /** Custom Log block **/ this.setBlockAndMetadata(par1World, par3, par4 + j1, par5, Zeuscraft.GrapeLog.blockID, this.metaWood); } } if (par2Random.nextInt(5) == 0 && l > 5) { for (j1 = 0; j1 < 2; ++j1) { for (k1 = 0; k1 < 4; ++k1) { if (par2Random.nextInt(4 - j1) == 0) { i2 = par2Random.nextInt(3); this.setBlockAndMetadata(par1World, par3 + Direction.offsetX[Direction.rotateOpposite[k1]], par4 + l - 5 + j1, par5 + Direction.offsetZ[Direction.rotateOpposite[k1]], Block.cocoaPlant.blockID, i2 << 2 | k1); } } } } } return true; } } return flag; } @Override public void generate(Random random, int chunkX, int chunkZ, World world, IChunkProvider chunkGenerator, IChunkProvider chunkProvider) { String s = world.getBiomeGenForCoords(chunkX + 8, chunkZ + .biomeName; if (s.startsWith("Forest")) { for(int i = 0; i < 10; i++) { int xCoord = chunkX + random.nextInt(16); int yCoord = random.nextInt(16); int zCoord = chunkZ + random.nextInt(16); /** Custom WorldGenTutorialTree block **/ (new WorldGenGrapeTree(false, 9, 0, 0, false)).generate(world, random, xCoord, yCoord, zCoord); } } } }
August 5, 201312 yr for(int i = 0; i < 10; i++) { int xCoord = chunkX + random.nextInt(16); int yCoord = random.nextInt(16); int zCoord = chunkZ + random.nextInt(16); /** Custom WorldGenTutorialTree block **/ (new WorldGenGrapeTree(false, 9, 0, 0, false)).generate(world, random, xCoord, yCoord, zCoord); } Well first, you are creating 10 instances of your class within the class. And your "grape tree", should it spawn at the lava level ? underground ?
August 5, 201312 yr Author for(int i = 0; i < 10; i++) { int xCoord = chunkX + random.nextInt(16); int yCoord = random.nextInt(16); int zCoord = chunkZ + random.nextInt(16); /** Custom WorldGenTutorialTree block **/ (new WorldGenGrapeTree(false, 9, 0, 0, false)).generate(world, random, xCoord, yCoord, zCoord); } Well first, you are creating 10 instances of your class within the class. And your "grape tree", should it spawn at the lava level ? underground ? So then, should I raise the y coordinates to 256 to where I end up with something like this instead? int yCoord = random.nextInt(256); EDIT: Thank you, that helped. Now I'm getting an error with a different part of the code where I'm trying to make sure that the block below is dirt: Error: Aug 5, 2013 2:07:36 PM net.minecraft.launchwrapper.LogWrapper log INFO: Using tweak class name cpw.mods.fml.common.launcher.FMLTweaker 2013-08-05 14:07:37 [iNFO] [ForgeModLoader] Forge Mod Loader version 6.2.35.804 for Minecraft 1.6.2 loading 2013-08-05 14:07:37 [iNFO] [ForgeModLoader] Java is Java HotSpot(TM) 64-Bit Server VM, version 1.6.0_51, running on Mac OS X:x86_64:10.8.4, installed at /System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home 2013-08-05 14:07:37 [iNFO] [ForgeModLoader] Managed to load a deobfuscated Minecraft name- we are in a deobfuscated environment. Skipping runtime deobfuscation 2013-08-05 14:07:38 [iNFO] [sTDOUT] Loaded 39 rules from AccessTransformer config file fml_at.cfg 2013-08-05 14:07:38 [iNFO] [sTDOUT] Loaded 107 rules from AccessTransformer config file forge_at.cfg 2013-08-05 14:07:39 [sEVERE] [ForgeModLoader] The binary patch set is missing. Either you are in a development environment, or things are not going to work! 2013-08-05 14:07:40 [iNFO] [ForgeModLoader] Launching wrapped minecraft 2013-08-05 14:07:43 [iNFO] [Minecraft-Client] Setting user: Player209 2013-08-05 14:07:44 [iNFO] [Minecraft-Client] (Session ID is null) 2013-08-05 14:07:46 [iNFO] [Minecraft-Client] LWJGL Version: 2.9.0 2013-08-05 14:07:48 [iNFO] [Minecraft-Client] Reloading ResourceManager: Default 2013-08-05 14:07:49 [iNFO] [sTDOUT] 2013-08-05 14:07:49 [iNFO] [sTDOUT] Starting up SoundSystem... 2013-08-05 14:07:49 [iNFO] [sTDOUT] Initializing LWJGL OpenAL 2013-08-05 14:07:49 [iNFO] [sTDOUT] (The LWJGL binding of OpenAL. For more information, see http://www.lwjgl.org) 2013-08-05 14:07:50 [iNFO] [MinecraftForge] Attempting early MinecraftForge initialization 2013-08-05 14:07:50 [iNFO] [sTDOUT] MinecraftForge v9.10.0.804 Initialized 2013-08-05 14:07:50 [iNFO] [ForgeModLoader] MinecraftForge v9.10.0.804 Initialized 2013-08-05 14:07:51 [iNFO] [sTDOUT] Replaced 101 ore recipies 2013-08-05 14:07:51 [iNFO] [sTDOUT] OpenAL initialized. 2013-08-05 14:07:51 [iNFO] [MinecraftForge] Completed early MinecraftForge initialization 2013-08-05 14:07:51 [iNFO] [sTDOUT] 2013-08-05 14:07:51 [iNFO] [ForgeModLoader] Reading custom logging properties from /Users/Buck/Desktop/Coding/Java/Mod Making/Forge 1.6.2/forge/mcp/jars/config/logging.properties 2013-08-05 14:07:51 [OFF] [ForgeModLoader] Logging level for ForgeModLoader logging is set to ALL 2013-08-05 14:07:51 [iNFO] [ForgeModLoader] Searching /Users/Buck/Desktop/Coding/Java/Mod Making/Forge 1.6.2/forge/mcp/jars/mods for mods 2013-08-05 14:07:55 [iNFO] [ForgeModLoader] Forge Mod Loader has identified 6 mods to load 2013-08-05 14:07:55 [iNFO] [mcp] Activating mod mcp 2013-08-05 14:07:55 [iNFO] [FML] Activating mod FML 2013-08-05 14:07:55 [iNFO] [Forge] Activating mod Forge 2013-08-05 14:07:55 [iNFO] [GlacierIce] Activating mod GlacierIce 2013-08-05 14:07:55 [iNFO] [TutorialMod] Activating mod TutorialMod 2013-08-05 14:07:55 [iNFO] [Zeuscraft] Activating mod Zeuscraft 2013-08-05 14:07:55 [WARNING] [Glacier Ice] Mod Glacier Ice is missing a pack.mcmeta file, things may not work well 2013-08-05 14:07:55 [WARNING] [Tutorial Mod] Mod Tutorial Mod is missing a pack.mcmeta file, things may not work well 2013-08-05 14:07:55 [WARNING] [Zeuscraft] Mod Zeuscraft is missing a pack.mcmeta file, things may not work well 2013-08-05 14:07:55 [iNFO] [Minecraft-Client] Reloading ResourceManager: Default, FMLFileResourcePack:Glacier Ice, FMLFileResourcePack:Tutorial Mod, FMLFileResourcePack:Zeuscraft 2013-08-05 14:07:55 [iNFO] [sTDOUT] 2013-08-05 14:07:55 [iNFO] [sTDOUT] SoundSystem shutting down... 2013-08-05 14:07:56 [iNFO] [sTDOUT] Author: Paul Lamb, www.paulscode.com 2013-08-05 14:07:56 [iNFO] [sTDOUT] 2013-08-05 14:07:56 [iNFO] [sTDOUT] 2013-08-05 14:07:56 [iNFO] [sTDOUT] Starting up SoundSystem... 2013-08-05 14:07:56 [iNFO] [ForgeModLoader] Registering Forge Packet Handler 2013-08-05 14:07:56 [iNFO] [ForgeModLoader] Succeeded registering Forge Packet Handler 2013-08-05 14:07:56 [iNFO] [sTDOUT] Initializing LWJGL OpenAL 2013-08-05 14:07:56 [iNFO] [sTDOUT] (The LWJGL binding of OpenAL. For more information, see http://www.lwjgl.org) 2013-08-05 14:07:56 [iNFO] [sTDOUT] OpenAL initialized. 2013-08-05 14:07:56 [iNFO] [ForgeModLoader] Configured a dormant chunk cache size of 0 2013-08-05 14:07:56 [iNFO] [sTDOUT] 2013-08-05 14:07:57 [sEVERE] [Minecraft-Client] Using missing texture, unable to load: glacierice:textures/blocks/BlueGlacierIce.png 2013-08-05 14:07:57 [sEVERE] [Minecraft-Client] Using missing texture, unable to load: zeuscraft:textures/blocks/AltarSide.png 2013-08-05 14:07:57 [sEVERE] [Minecraft-Client] Using missing texture, unable to load: zeuscraft:textures/blocks/Marble.png 2013-08-05 14:07:57 [sEVERE] [Minecraft-Client] Using missing texture, unable to load: zeuscraft:textures/blocks/GrapeSapling.png 2013-08-05 14:07:57 [sEVERE] [Minecraft-Client] Using missing texture, unable to load: glacierice:textures/blocks/GreenGlacierIce.png 2013-08-05 14:07:57 [sEVERE] [Minecraft-Client] Using missing texture, unable to load: zeuscraft:textures/blocks/AltarTopBottom.png 2013-08-05 14:07:57 [sEVERE] [Minecraft-Client] Using missing texture, unable to load: zeuscraft:textures/blocks/GrapeWoodTop.png 2013-08-05 14:07:57 [sEVERE] [Minecraft-Client] Using missing texture, unable to load: zeuscraft:textures/blocks/GrapeWoodSide.png 2013-08-05 14:07:57 [sEVERE] [Minecraft-Client] Using missing texture, unable to load: zeuscraft:textures/blocks/GrapeLeaves.png 2013-08-05 14:07:57 [sEVERE] [Minecraft-Client] Using missing texture, unable to load: zeuscraft:textures/blocks/MarbleSmooth.png 2013-08-05 14:07:57 [sEVERE] [Minecraft-Client] Using missing texture, unable to load: zeuscraft:textures/items/Scepter.png 2013-08-05 14:07:57 [sEVERE] [Minecraft-Client] Using missing texture, unable to load: tutorialmod:textures/items/Lime.png 2013-08-05 14:07:57 [sEVERE] [Minecraft-Client] Using missing texture, unable to load: zeuscraft:textures/items/PearlWater.png 2013-08-05 14:07:57 [sEVERE] [Minecraft-Client] Using missing texture, unable to load: zeuscraft:textures/items/PearlThunder.png 2013-08-05 14:07:57 [sEVERE] [Minecraft-Client] Using missing texture, unable to load: zeuscraft:textures/items/Grapes.png 2013-08-05 14:07:57 [sEVERE] [Minecraft-Client] Using missing texture, unable to load: zeuscraft:textures/items/Wine.png 2013-08-05 14:07:57 [sEVERE] [Minecraft-Client] Using missing texture, unable to load: zeuscraft:textures/items/Goblet.png 2013-08-05 14:07:57 [sEVERE] [Minecraft-Client] Using missing texture, unable to load: zeuscraft:textures/items/PearlNether.png 2013-08-05 14:07:57 [sEVERE] [Minecraft-Client] Using missing texture, unable to load: zeuscraft:textures/items/ReedPipes.png 2013-08-05 14:07:57 [sEVERE] [Minecraft-Client] Using missing texture, unable to load: zeuscraft:textures/items/Thunderbolt.png 2013-08-05 14:07:57 [sEVERE] [Minecraft-Client] Using missing texture, unable to load: zeuscraft:textures/items/Trident.png 2013-08-05 14:07:57 [iNFO] [sTDOUT] [Glacier Ice] Glacier Biome enabled. 2013-08-05 14:07:58 [iNFO] [ForgeModLoader] Forge Mod Loader has successfully loaded 6 mods 2013-08-05 14:07:58 [WARNING] [Glacier Ice] Mod Glacier Ice is missing a pack.mcmeta file, things may not work well 2013-08-05 14:07:58 [WARNING] [Tutorial Mod] Mod Tutorial Mod is missing a pack.mcmeta file, things may not work well 2013-08-05 14:07:58 [WARNING] [Zeuscraft] Mod Zeuscraft is missing a pack.mcmeta file, things may not work well 2013-08-05 14:07:58 [iNFO] [Minecraft-Client] Reloading ResourceManager: Default, FMLFileResourcePack:Glacier Ice, FMLFileResourcePack:Tutorial Mod, FMLFileResourcePack:Zeuscraft 2013-08-05 14:07:58 [sEVERE] [Minecraft-Client] Using missing texture, unable to load: zeuscraft:textures/items/Scepter.png 2013-08-05 14:07:58 [sEVERE] [Minecraft-Client] Using missing texture, unable to load: tutorialmod:textures/items/Lime.png 2013-08-05 14:07:58 [sEVERE] [Minecraft-Client] Using missing texture, unable to load: zeuscraft:textures/items/PearlWater.png 2013-08-05 14:07:58 [sEVERE] [Minecraft-Client] Using missing texture, unable to load: zeuscraft:textures/items/PearlThunder.png 2013-08-05 14:07:58 [sEVERE] [Minecraft-Client] Using missing texture, unable to load: zeuscraft:textures/items/Grapes.png 2013-08-05 14:07:58 [sEVERE] [Minecraft-Client] Using missing texture, unable to load: zeuscraft:textures/items/Wine.png 2013-08-05 14:07:58 [sEVERE] [Minecraft-Client] Using missing texture, unable to load: zeuscraft:textures/items/Goblet.png 2013-08-05 14:07:58 [sEVERE] [Minecraft-Client] Using missing texture, unable to load: zeuscraft:textures/items/PearlNether.png 2013-08-05 14:07:58 [sEVERE] [Minecraft-Client] Using missing texture, unable to load: zeuscraft:textures/items/ReedPipes.png 2013-08-05 14:07:58 [sEVERE] [Minecraft-Client] Using missing texture, unable to load: zeuscraft:textures/items/Thunderbolt.png 2013-08-05 14:07:58 [sEVERE] [Minecraft-Client] Using missing texture, unable to load: zeuscraft:textures/items/Trident.png 2013-08-05 14:07:58 [sEVERE] [Minecraft-Client] Using missing texture, unable to load: glacierice:textures/blocks/BlueGlacierIce.png 2013-08-05 14:07:58 [sEVERE] [Minecraft-Client] Using missing texture, unable to load: zeuscraft:textures/blocks/AltarSide.png 2013-08-05 14:07:58 [sEVERE] [Minecraft-Client] Using missing texture, unable to load: zeuscraft:textures/blocks/Marble.png 2013-08-05 14:07:58 [sEVERE] [Minecraft-Client] Using missing texture, unable to load: zeuscraft:textures/blocks/GrapeSapling.png 2013-08-05 14:07:58 [sEVERE] [Minecraft-Client] Using missing texture, unable to load: glacierice:textures/blocks/GreenGlacierIce.png 2013-08-05 14:07:58 [sEVERE] [Minecraft-Client] Using missing texture, unable to load: zeuscraft:textures/blocks/AltarTopBottom.png 2013-08-05 14:07:58 [sEVERE] [Minecraft-Client] Using missing texture, unable to load: zeuscraft:textures/blocks/GrapeWoodTop.png 2013-08-05 14:07:58 [sEVERE] [Minecraft-Client] Using missing texture, unable to load: zeuscraft:textures/blocks/GrapeWoodSide.png 2013-08-05 14:07:58 [sEVERE] [Minecraft-Client] Using missing texture, unable to load: zeuscraft:textures/blocks/GrapeLeaves.png 2013-08-05 14:07:58 [sEVERE] [Minecraft-Client] Using missing texture, unable to load: zeuscraft:textures/blocks/MarbleSmooth.png 2013-08-05 14:07:58 [iNFO] [sTDOUT] 2013-08-05 14:07:58 [iNFO] [sTDOUT] SoundSystem shutting down... 2013-08-05 14:07:58 [iNFO] [sTDOUT] Author: Paul Lamb, www.paulscode.com 2013-08-05 14:07:58 [iNFO] [sTDOUT] 2013-08-05 14:07:58 [iNFO] [sTDOUT] 2013-08-05 14:07:58 [iNFO] [sTDOUT] Starting up SoundSystem... 2013-08-05 14:07:58 [sEVERE] [Minecraft-Client] ########## GL ERROR ########## 2013-08-05 14:07:58 [sEVERE] [Minecraft-Client] @ Post startup 2013-08-05 14:07:58 [sEVERE] [Minecraft-Client] 1281: Invalid value 2013-08-05 14:07:58 [iNFO] [sTDOUT] Initializing LWJGL OpenAL 2013-08-05 14:07:58 [iNFO] [sTDOUT] (The LWJGL binding of OpenAL. For more information, see http://www.lwjgl.org) 2013-08-05 14:07:58 [iNFO] [sTDOUT] OpenAL initialized. 2013-08-05 14:07:59 [iNFO] [sTDOUT] 2013-08-05 14:08:01 [sEVERE] [Minecraft-Client] Realms: Invalid session id 2013-08-05 14:08:11 [iNFO] [Minecraft-Server] Starting integrated minecraft server version 1.6.2 2013-08-05 14:08:11 [iNFO] [Minecraft-Server] Generating keypair 2013-08-05 14:08:11 [iNFO] [Minecraft-Server] Converting map! 2013-08-05 14:08:11 [iNFO] [Minecraft-Server] Scanning folders... 2013-08-05 14:08:11 [iNFO] [Minecraft-Server] Total conversion count is 0 2013-08-05 14:08:11 [iNFO] [ForgeModLoader] Loading dimension 0 (New World) (net.minecraft.server.integrated.IntegratedServer@cdfa65c) 2013-08-05 14:08:11 [iNFO] [ForgeModLoader] Loading dimension 1 (New World) (net.minecraft.server.integrated.IntegratedServer@cdfa65c) 2013-08-05 14:08:11 [iNFO] [ForgeModLoader] Loading dimension -1 (New World) (net.minecraft.server.integrated.IntegratedServer@cdfa65c) 2013-08-05 14:08:11 [iNFO] [Minecraft-Server] Preparing start region for level 0 2013-08-05 14:08:12 [iNFO] [sTDERR] net.minecraft.util.ReportedException: Exception getting block type in world 2013-08-05 14:08:12 [iNFO] [sTDERR] at net.minecraft.world.World.getBlockId(World.java:421) 2013-08-05 14:08:12 [iNFO] [sTDERR] at fisherman77.zeuscraft.common.worldgen.WorldGenGrapeTree.generate(WorldGenGrapeTree.java:66) 2013-08-05 14:08:12 [iNFO] [sTDERR] at fisherman77.zeuscraft.common.worldgen.WorldGenGrapeTree.generate(WorldGenGrapeTree.java:175) 2013-08-05 14:08:12 [iNFO] [sTDERR] at cpw.mods.fml.common.registry.GameRegistry.generateWorld(GameRegistry.java:102) 2013-08-05 14:08:12 [iNFO] [sTDERR] at net.minecraft.world.gen.ChunkProviderServer.populate(ChunkProviderServer.java:259) 2013-08-05 14:08:12 [iNFO] [sTDERR] at net.minecraft.world.chunk.Chunk.populateChunk(Chunk.java:1249) 2013-08-05 14:08:12 [iNFO] [sTDERR] at net.minecraft.world.gen.ChunkProviderServer.loadChunk(ChunkProviderServer.java:153) 2013-08-05 14:08:12 [iNFO] [sTDERR] at net.minecraft.server.MinecraftServer.initialWorldChunkLoad(MinecraftServer.java:292) 2013-08-05 14:08:12 [iNFO] [sTDERR] at net.minecraft.server.integrated.IntegratedServer.loadAllWorlds(IntegratedServer.java:90) 2013-08-05 14:08:12 [iNFO] [sTDERR] at net.minecraft.server.integrated.IntegratedServer.startServer(IntegratedServer.java:107) 2013-08-05 14:08:12 [iNFO] [sTDERR] at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:443) 2013-08-05 14:08:12 [iNFO] [sTDERR] at net.minecraft.server.ThreadMinecraftServer.run(ThreadMinecraftServer.java:16) 2013-08-05 14:08:12 [iNFO] [sTDERR] Caused by: java.lang.NullPointerException 2013-08-05 14:08:12 [iNFO] [sTDERR] at net.minecraft.world.World.getTopSolidOrLiquidBlock(World.java:2004) 2013-08-05 14:08:12 [iNFO] [sTDERR] at net.minecraft.world.biome.BiomeDecorator.decorate(BiomeDecorator.java:219) 2013-08-05 14:08:12 [iNFO] [sTDERR] at net.minecraft.world.biome.BiomeDecorator.decorate(BiomeDecorator.java:196) 2013-08-05 14:08:12 [iNFO] [sTDERR] at net.minecraft.world.biome.BiomeGenBase.decorate(BiomeGenBase.java:366) 2013-08-05 14:08:12 [iNFO] [sTDERR] at net.minecraft.world.gen.ChunkProviderGenerate.populate(ChunkProviderGenerate.java:573) 2013-08-05 14:08:12 [iNFO] [sTDERR] at net.minecraft.world.gen.ChunkProviderServer.populate(ChunkProviderServer.java:258) 2013-08-05 14:08:12 [iNFO] [sTDERR] at net.minecraft.world.chunk.Chunk.populateChunk(Chunk.java:1249) 2013-08-05 14:08:12 [iNFO] [sTDERR] at net.minecraft.world.gen.ChunkProviderServer.loadChunk(ChunkProviderServer.java:153) 2013-08-05 14:08:12 [iNFO] [sTDERR] at net.minecraft.world.gen.ChunkProviderServer.provideChunk(ChunkProviderServer.java:166) 2013-08-05 14:08:12 [iNFO] [sTDERR] at net.minecraft.world.World.getChunkFromChunkCoords(World.java:527) 2013-08-05 14:08:12 [iNFO] [sTDERR] at net.minecraft.world.World.getBlockId(World.java:412) 2013-08-05 14:08:12 [iNFO] [sTDERR] ... 11 more 2013-08-05 14:08:12 [sEVERE] [Minecraft-Server] Encountered an unexpected exception ReportedException net.minecraft.util.ReportedException: Exception getting block type in world at net.minecraft.world.World.getBlockId(World.java:421) at fisherman77.zeuscraft.common.worldgen.WorldGenGrapeTree.generate(WorldGenGrapeTree.java:66) at fisherman77.zeuscraft.common.worldgen.WorldGenGrapeTree.generate(WorldGenGrapeTree.java:175) 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) Caused by: java.lang.NullPointerException at net.minecraft.world.World.getTopSolidOrLiquidBlock(World.java:2004) at net.minecraft.world.biome.BiomeDecorator.decorate(BiomeDecorator.java:219) at net.minecraft.world.biome.BiomeDecorator.decorate(BiomeDecorator.java:196) at net.minecraft.world.biome.BiomeGenBase.decorate(BiomeGenBase.java:366) at net.minecraft.world.gen.ChunkProviderGenerate.populate(ChunkProviderGenerate.java:573) at net.minecraft.world.gen.ChunkProviderServer.populate(ChunkProviderServer.java:258) at net.minecraft.world.chunk.Chunk.populateChunk(Chunk.java:1249) at net.minecraft.world.gen.ChunkProviderServer.loadChunk(ChunkProviderServer.java:153) at net.minecraft.world.gen.ChunkProviderServer.provideChunk(ChunkProviderServer.java:166) at net.minecraft.world.World.getChunkFromChunkCoords(World.java:527) at net.minecraft.world.World.getBlockId(World.java:412) ... 11 more 2013-08-05 14:08:12 [sEVERE] [Minecraft-Server] This crash report has been saved to: /Users/Buck/Desktop/Coding/Java/Mod Making/Forge 1.6.2/forge/mcp/jars/./crash-reports/crash-2013-08-05_14.08.12-server.txt 2013-08-05 14:08:12 [iNFO] [Minecraft-Server] Stopping server 2013-08-05 14:08:12 [iNFO] [Minecraft-Server] Saving players 2013-08-05 14:08:12 [iNFO] [Minecraft-Server] Saving worlds 2013-08-05 14:08:12 [iNFO] [Minecraft-Server] Saving chunks for level 'New World'/Overworld 2013-08-05 14:08:12 [iNFO] [Minecraft-Server] Saving chunks for level 'New World'/Nether 2013-08-05 14:08:12 [iNFO] [Minecraft-Server] Saving chunks for level 'New World'/The End 2013-08-05 14:08:12 [iNFO] [ForgeModLoader] Unloading dimension 0 2013-08-05 14:08:12 [iNFO] [ForgeModLoader] Unloading dimension -1 2013-08-05 14:08:12 [iNFO] [ForgeModLoader] Unloading dimension 1 2013-08-05 14:08:12 [iNFO] [ForgeModLoader] The state engine was in incorrect state SERVER_STARTING and forced into state SERVER_STOPPED. Errors may have been discarded. 2013-08-05 14:08:19 [iNFO] [Minecraft-Server] Stopping server 2013-08-05 14:08:19 [iNFO] [Minecraft-Server] Saving players 2013-08-05 14:08:19 [iNFO] [Minecraft-Server] Saving worlds AL lib: (EE) alc_cleanup: 1 device not closed The troubled lines: Line 66: k1 = par1World.getBlockId(l1, i1 -1, j1); Line 175: (new WorldGenGrapeTree(false, 9, 0, 0, false)).generate(world, random, xCoord, yCoord, zCoord); Entire code available in first post.
August 5, 201312 yr No actually, I would go with this: int xCoord, yCoord, zCoord; for(int i = 0; i < 10; i++) { xCoord = chunkX + random.nextInt(16); yCoord = 50 + random.nextInt(206);//try generate between 50 and 256 zCoord = chunkZ + random.nextInt(16); if(generate(world, random, xCoord, yCoord, zCoord)) break; }
August 5, 201312 yr i1 is equal to 0, thus at (l1, i1 -1, j1) you are in the void and can't get a block id.
August 5, 201312 yr It should already be fixed by the code I gave you. Anyway, you can change your check in the previous line with: if(i1>0 &&....)
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.