Jump to content

[1.6.4] [UNSOLVED] Biome will crash game


delemberen12

Recommended Posts

Crsah report:

 

 

2014-05-05 21:30:26 [iNFO] [sTDERR] java.lang.NullPointerException

2014-05-05 21:30:26 [iNFO] [sTDERR] at net.minecraft.world.World.getTopSolidOrLiquidBlock(World.java:2009)

2014-05-05 21:30:26 [iNFO] [sTDERR] at net.minecraft.world.biome.BiomeDecorator.decorate(BiomeDecorator.java:227)

2014-05-05 21:30:26 [iNFO] [sTDERR] at net.minecraft.world.biome.BiomeDecorator.decorate(BiomeDecorator.java:196)

2014-05-05 21:30:26 [iNFO] [sTDERR] at net.minecraft.world.biome.BiomeGenBase.decorate(BiomeGenBase.java:371)

2014-05-05 21:30:26 [iNFO] [sTDERR] at net.minecraft.world.gen.ChunkProviderGenerate.populate(ChunkProviderGenerate.java:573)

2014-05-05 21:30:26 [iNFO] [sTDERR] at net.minecraft.world.gen.ChunkProviderServer.populate(ChunkProviderServer.java:258)

2014-05-05 21:30:26 [iNFO] [sTDERR] at net.minecraft.world.chunk.Chunk.populateChunk(Chunk.java:1253)

2014-05-05 21:30:26 [iNFO] [sTDERR] at net.minecraft.world.gen.ChunkProviderServer.loadChunk(ChunkProviderServer.java:153)

2014-05-05 21:30:26 [iNFO] [sTDERR] at net.minecraft.server.MinecraftServer.initialWorldChunkLoad(MinecraftServer.java:294)

2014-05-05 21:30:26 [iNFO] [sTDERR] at net.minecraft.server.integrated.IntegratedServer.loadAllWorlds(IntegratedServer.java:90)

2014-05-05 21:30:26 [iNFO] [sTDERR] at net.minecraft.server.integrated.IntegratedServer.startServer(IntegratedServer.java:107)

2014-05-05 21:30:26 [iNFO] [sTDERR] at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:445)

2014-05-05 21:30:26 [iNFO] [sTDERR] at net.minecraft.server.ThreadMinecraftServer.run(ThreadMinecraftServer.java:583)

2014-05-05 21:30:26 [sEVERE] [Minecraft-Server] Encountered an unexpected exception NullPointerException

java.lang.NullPointerException

at net.minecraft.world.World.getTopSolidOrLiquidBlock(World.java:2009)

at net.minecraft.world.biome.BiomeDecorator.decorate(BiomeDecorator.java:227)

at net.minecraft.world.biome.BiomeDecorator.decorate(BiomeDecorator.java:196)

at net.minecraft.world.biome.BiomeGenBase.decorate(BiomeGenBase.java:371)

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:1253)

at net.minecraft.world.gen.ChunkProviderServer.loadChunk(ChunkProviderServer.java:153)

at net.minecraft.server.MinecraftServer.initialWorldChunkLoad(MinecraftServer.java:294)

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:445)

at net.minecraft.server.ThreadMinecraftServer.run(ThreadMinecraftServer.java:583)

2014-05-05 21:30:26 [sEVERE] [Minecraft-Server] This crash report has been saved to: C:\Users\JERRY\Desktop\forge-1.6.4-9.11.1.964-src\eclipse\.\crash-reports\crash-2014-05-05_21.30.26-server.txt

2014-05-05 21:30:26 [iNFO] [Minecraft-Server] Stopping server

2014-05-05 21:30:26 [iNFO] [Minecraft-Server] Saving players

2014-05-05 21:30:26 [iNFO] [Minecraft-Server] Saving worlds

2014-05-05 21:30:26 [iNFO] [Minecraft-Server] Saving chunks for level 'New World'/Overworld

2014-05-05 21:30:26 [iNFO] [Minecraft-Server] Saving chunks for level 'New World'/Nether

2014-05-05 21:30:26 [iNFO] [Minecraft-Server] Saving chunks for level 'New World'/The End

2014-05-05 21:30:26 [iNFO] [ForgeModLoader] Unloading dimension 0

2014-05-05 21:30:26 [iNFO] [ForgeModLoader] Unloading dimension -1

2014-05-05 21:30:26 [iNFO] [ForgeModLoader] Unloading dimension 1

2014-05-05 21:30:26 [iNFO] [ForgeModLoader] The state engine was in incorrect state SERVER_STARTING and forced into state SERVER_STOPPED. Errors may have been discarded.

2014-05-05 21:30:27 [iNFO] [sTDOUT] ---- Minecraft Crash Report ----

2014-05-05 21:30:27 [iNFO] [sTDOUT] // Daisy, daisy...

2014-05-05 21:30:27 [iNFO] [sTDOUT]

2014-05-05 21:30:27 [iNFO] [sTDOUT] Time: 5/5/14 9:30 PM

2014-05-05 21:30:27 [iNFO] [sTDOUT] Description: Exception in server tick loop

2014-05-05 21:30:27 [iNFO] [sTDOUT]

2014-05-05 21:30:27 [iNFO] [sTDOUT] java.lang.NullPointerException

2014-05-05 21:30:27 [iNFO] [sTDOUT] at net.minecraft.world.World.getTopSolidOrLiquidBlock(World.java:2009)

2014-05-05 21:30:27 [iNFO] [sTDOUT] at net.minecraft.world.biome.BiomeDecorator.decorate(BiomeDecorator.java:227)

2014-05-05 21:30:27 [iNFO] [sTDOUT] at net.minecraft.world.biome.BiomeDecorator.decorate(BiomeDecorator.java:196)

2014-05-05 21:30:27 [iNFO] [sTDOUT] at net.minecraft.world.biome.BiomeGenBase.decorate(BiomeGenBase.java:371)

2014-05-05 21:30:27 [iNFO] [sTDOUT] at net.minecraft.world.gen.ChunkProviderGenerate.populate(ChunkProviderGenerate.java:573)

2014-05-05 21:30:27 [iNFO] [sTDOUT] at net.minecraft.world.gen.ChunkProviderServer.populate(ChunkProviderServer.java:258)

2014-05-05 21:30:27 [iNFO] [sTDOUT] at net.minecraft.world.chunk.Chunk.populateChunk(Chunk.java:1253)

2014-05-05 21:30:27 [iNFO] [sTDOUT] at net.minecraft.world.gen.ChunkProviderServer.loadChunk(ChunkProviderServer.java:153)

2014-05-05 21:30:27 [iNFO] [sTDOUT] at net.minecraft.server.MinecraftServer.initialWorldChunkLoad(MinecraftServer.java:294)

2014-05-05 21:30:27 [iNFO] [sTDOUT] at net.minecraft.server.integrated.IntegratedServer.loadAllWorlds(IntegratedServer.java:90)

2014-05-05 21:30:27 [iNFO] [sTDOUT] at net.minecraft.server.integrated.IntegratedServer.startServer(IntegratedServer.java:107)

2014-05-05 21:30:27 [iNFO] [sTDOUT] at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:445)

2014-05-05 21:30:27 [iNFO] [sTDOUT] at net.minecraft.server.ThreadMinecraftServer.run(ThreadMinecraftServer.java:583)

2014-05-05 21:30:27 [iNFO] [sTDOUT]

2014-05-05 21:30:27 [iNFO] [sTDOUT]

2014-05-05 21:30:27 [iNFO] [sTDOUT] A detailed walkthrough of the error, its code path and all known details is as follows:

2014-05-05 21:30:27 [iNFO] [sTDOUT] ---------------------------------------------------------------------------------------

2014-05-05 21:30:27 [iNFO] [sTDOUT]

2014-05-05 21:30:27 [iNFO] [sTDOUT] -- System Details --

2014-05-05 21:30:27 [iNFO] [sTDOUT] Details:

2014-05-05 21:30:27 [iNFO] [sTDOUT] Minecraft Version: 1.6.4

2014-05-05 21:30:27 [iNFO] [sTDOUT] Operating System: Windows 7 (x86) version 6.1

2014-05-05 21:30:27 [iNFO] [sTDOUT] Java Version: 1.7.0_51, Oracle Corporation

2014-05-05 21:30:27 [iNFO] [sTDOUT] Java VM Version: Java HotSpot Client VM (mixed mode), Oracle Corporation

2014-05-05 21:30:27 [iNFO] [sTDOUT] Memory: 946837008 bytes (902 MB) / 1060372480 bytes (1011 MB) up to 1060372480 bytes (1011 MB)

2014-05-05 21:30:27 [iNFO] [sTDOUT] JVM Flags: 3 total; -Xincgc -Xmx1024M -Xms1024M

2014-05-05 21:30:27 [iNFO] [sTDOUT] AABB Pool Size: 0 (0 bytes; 0 MB) allocated, 0 (0 bytes; 0 MB) used

2014-05-05 21:30:27 [iNFO] [sTDOUT] Suspicious classes: FML and Forge are installed

2014-05-05 21:30:27 [iNFO] [sTDOUT] IntCache: cache: 13, tcache: 0, allocated: 3, tallocated: 63

2014-05-05 21:30:27 [iNFO] [sTDOUT] FML: MCP v8.11 FML v6.99.19.964 Minecraft Forge 9.11.1.964 4 mods loaded, 4 mods active

2014-05-05 21:30:27 [iNFO] [sTDOUT] mcp{8.09} [Minecraft Coder Pack] (minecraft.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available

2014-05-05 21:30:27 [iNFO] [sTDOUT] FML{6.99.19.964} [Forge Mod Loader] (forge-1.6.4-9.11.1.964-mcp.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available

2014-05-05 21:30:27 [iNFO] [sTDOUT] Forge{9.11.1.964} [Minecraft Forge] (forge-1.6.4-9.11.1.964-mcp.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available

2014-05-05 21:30:27 [iNFO] [sTDOUT] HeavenRockMod{1.6.4} [HeavenRock Mod] (bin) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available

2014-05-05 21:30:27 [iNFO] [sTDOUT] Profiler Position: N/A (disabled)

2014-05-05 21:30:27 [iNFO] [sTDOUT] Vec3 Pool Size: 0 (0 bytes; 0 MB) allocated, 0 (0 bytes; 0 MB) used

2014-05-05 21:30:27 [iNFO] [sTDOUT] Player Count: 0 / 8; []

2014-05-05 21:30:27 [iNFO] [sTDOUT] Type: Integrated Server (map_client.txt)

2014-05-05 21:30:27 [iNFO] [sTDOUT] Is Modded: Definitely; Client brand changed to 'fml,forge'

2014-05-05 21:30:27 [iNFO] [sTDOUT] #@!@# Game crashed! Crash report saved to: #@!@# .\crash-reports\crash-2014-05-05_21.30.26-server.txt

2014-05-05 21:30:27 [iNFO] [Minecraft-Server] Stopping server

2014-05-05 21:30:27 [iNFO] [Minecraft-Server] Saving players

2014-05-05 21:30:27 [iNFO] [Minecraft-Server] Saving worlds

AL lib: (EE) alc_cleanup: 1 device not closed

 

Developer of MechanicalCraft.

 

Sadly not available to public yet :(

Link to comment
Share on other sites

Maybe you would changed the Top Block to unregistered block...

please show your code related with your biome.

I. Stellarium for Minecraft: Configurable Universe for Minecraft! (WIP)

II. Stellar Sky, Better Star Rendering&Sky Utility mod, had separated from Stellarium.

Link to comment
Share on other sites

Maybe you would changed the Top Block to unregistered block...

please show your code related with your biome.

 

Main Class:

 

 

package hrm.core;

 

import hrm.biome.BiomePossessed;

import hrm.block.BlockPossessedDirt;

import hrm.block.BlockPossessedGrass;

import hrm.block.solid.BlockHeavenRockSolid;

import hrm.item.ItemHeavenRockIngot;

import net.minecraft.block.Block;

import net.minecraft.block.material.Material;

import net.minecraft.creativetab.CreativeTabs;

import net.minecraft.item.Item;

import net.minecraft.world.biome.BiomeGenBase;

import cpw.mods.fml.common.Mod;

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

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;

 

/**

* Modification registry

*/

 

@Mod(modid ="HeavenRockMod", name ="HeavenRock Mod", version ="1.6.4")

@NetworkMod(clientSideRequired = true, serverSideRequired = false)

 

 

/**

*  Defining the thing your making

*/

public class BaseMod {

 

public static final String modid = "heavenrockmod";

@SidedProxy(clientSide = "hrm.core.ClientProxy", serverSide = "hrm.core.CommonProxy")

public static CommonProxy proxy;

 

//CreativeTabs

public static CreativeTabs tabHRM1 = new CreativeTabHRM1(CreativeTabs.getNextID(), "tabHRM1");

 

//Blocks

public static Block blockHeavenRockSolid;

public static Block blockPossessedGrass;

public static Block blockPossessedDirt;

 

//Biomes

public static BiomeGenBase PossessedBiome;

 

//Items

public static Item itemHeavenRockIngot;

 

 

 

@EventHandler

public void load(FMLInitializationEvent e) {

/**

* Registry for stuff

*/

proxy.registerRenderInformation();

 

//Blocks

blockHeavenRockSolid = new BlockHeavenRockSolid(1500, Material.rock).setUnlocalizedName("HeavenRockSolid");

blockPossessedGrass = new BlockPossessedGrass(1502, Material.grass).setUnlocalizedName("PossessedGrass");

blockPossessedDirt = new BlockPossessedDirt(1503, Material.grass).setUnlocalizedName("PossessedDirt");

 

registerBlock(blockHeavenRockSolid, "Block of HeavenRock");

registerBlock(blockPossessedGrass, "Possessed Grass");

registerBlock(blockPossessedDirt, "Possessed Dirt");

 

//Biomes

PossessedBiome = new BiomePossessed(40).setBiomeName("PossessedBiome").setMinMaxHeight(0.1F, 1F);

GameRegistry.addBiome(PossessedBiome);

 

//Items

itemHeavenRockIngot = new ItemHeavenRockIngot(1501).setUnlocalizedName("HeavenRockIngot");

 

registerItem(itemHeavenRockIngot, "HeavenRock Ingot");

}

 

public void registerBlock(Block block, String name) {

GameRegistry.registerBlock(block, block.getUnlocalizedName());

LanguageRegistry.addName(block, name);

}

 

public void registerItem(Item item, String name) {

GameRegistry.registerItem(item, item.getUnlocalizedName());

LanguageRegistry.addName(item, name);

}

 

}

 

 

 

Biome Class:

 

package hrm.biome;

 

import hrm.core.BaseMod;

import net.minecraft.world.biome.BiomeGenBase;

 

public class BiomePossessed extends BiomeGenBase {

 

public BiomePossessed(int par1) {

super(par1);

topBlock = (byte)BaseMod.blockPossessedGrass.blockID;

fillerBlock = (byte)BaseMod.blockPossessedDirt.blockID;

 

}

 

}

 

 

 

Developer of MechanicalCraft.

 

Sadly not available to public yet :(

Link to comment
Share on other sites

-Use FMLPreInitializationEvent

-Use Configuration#getTerrainBlock() to get free block id for terrain/biome blocks (they need to be cast to byte, which kinda breaks with your current default id)

 

Where do I put Configuration#getTerrainBlock() ?

Developer of MechanicalCraft.

 

Sadly not available to public yet :(

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



×
×
  • Create New...

Important Information

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