Jump to content

BiomeGen, adding in custom vines (vines on themself work) error


Recommended Posts

Posted

Now i also got a problem with my custom biome while it only adds a couple of vines, which i tested and they worked fine.

I've got the following:

 

The error shows a lot of "server" stuff while i dont actually go to the server, so it's kinda strange to me.

I have tried looking up others with the same sort of error but i couldnt find a fix for mine, because most of them were server related.

All i know is that theres something wrong about my biome generating but i can't seem to figure out why, please respond asap thanks.

 

the error

 

 

---- Minecraft Crash Report ----

// Oh - I know what I did wrong!

 

Time: 14-4-13 22:54

Description: Exception generating new chunk

 

java.lang.NullPointerException

at net.minecraft.world.gen.layer.GenLayerBiome.getInts(GenLayerBiome.java:44)

at net.minecraft.world.gen.layer.GenLayerZoom.getInts(GenLayerZoom.java:21)

at net.minecraft.world.gen.layer.GenLayerZoom.getInts(GenLayerZoom.java:21)

at net.minecraft.world.gen.layer.GenLayerHills.getInts(GenLayerHills.java:19)

at net.minecraft.world.gen.layer.GenLayerZoom.getInts(GenLayerZoom.java:21)

at net.minecraft.world.gen.layer.GenLayerAddIsland.getInts(GenLayerAddIsland.java:23)

at net.minecraft.world.gen.layer.GenLayerZoom.getInts(GenLayerZoom.java:21)

at net.minecraft.world.gen.layer.GenLayerShore.getInts(GenLayerShore.java:19)

at net.minecraft.world.gen.layer.GenLayerSwampRivers.getInts(GenLayerSwampRivers.java:19)

at net.minecraft.world.gen.layer.GenLayerZoom.getInts(GenLayerZoom.java:21)

at net.minecraft.world.gen.layer.GenLayerZoom.getInts(GenLayerZoom.java:21)

at net.minecraft.world.gen.layer.GenLayerSmooth.getInts(GenLayerSmooth.java:21)

at net.minecraft.world.gen.layer.GenLayerRiverMix.getInts(GenLayerRiverMix.java:34)

at net.minecraft.world.biome.WorldChunkManager.getBiomesForGeneration(WorldChunkManager.java:150)

at net.minecraft.world.gen.ChunkProviderGenerate.generateTerrain(ChunkProviderGenerate.java:146)

at net.minecraft.world.gen.ChunkProviderGenerate.provideChunk(ChunkProviderGenerate.java:324)

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

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

at net.minecraft.server.integrated.IntegratedServer.loadAllWorlds(IntegratedServer.java:88)

at net.minecraft.server.integrated.IntegratedServer.startServer(IntegratedServer.java:105)

at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:429)

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

 

 

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

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

 

-- Head --

Stacktrace:

at net.minecraft.world.gen.layer.GenLayerBiome.getInts(GenLayerBiome.java:44)

at net.minecraft.world.gen.layer.GenLayerZoom.getInts(GenLayerZoom.java:21)

at net.minecraft.world.gen.layer.GenLayerZoom.getInts(GenLayerZoom.java:21)

at net.minecraft.world.gen.layer.GenLayerHills.getInts(GenLayerHills.java:19)

at net.minecraft.world.gen.layer.GenLayerZoom.getInts(GenLayerZoom.java:21)

at net.minecraft.world.gen.layer.GenLayerAddIsland.getInts(GenLayerAddIsland.java:23)

at net.minecraft.world.gen.layer.GenLayerZoom.getInts(GenLayerZoom.java:21)

at net.minecraft.world.gen.layer.GenLayerShore.getInts(GenLayerShore.java:19)

at net.minecraft.world.gen.layer.GenLayerSwampRivers.getInts(GenLayerSwampRivers.java:19)

at net.minecraft.world.gen.layer.GenLayerZoom.getInts(GenLayerZoom.java:21)

at net.minecraft.world.gen.layer.GenLayerZoom.getInts(GenLayerZoom.java:21)

at net.minecraft.world.gen.layer.GenLayerSmooth.getInts(GenLayerSmooth.java:21)

at net.minecraft.world.gen.layer.GenLayerRiverMix.getInts(GenLayerRiverMix.java:34)

at net.minecraft.world.biome.WorldChunkManager.getBiomesForGeneration(WorldChunkManager.java:150)

at net.minecraft.world.gen.ChunkProviderGenerate.generateTerrain(ChunkProviderGenerate.java:146)

at net.minecraft.world.gen.ChunkProviderGenerate.provideChunk(ChunkProviderGenerate.java:324)

 

-- Chunk to be generated --

Details:

Location: 1,-28

Position hash: -120259084287

Generator: RandomLevelSource

Stacktrace:

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

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

at net.minecraft.server.integrated.IntegratedServer.loadAllWorlds(IntegratedServer.java:88)

at net.minecraft.server.integrated.IntegratedServer.startServer(IntegratedServer.java:105)

at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:429)

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

 

-- System Details --

Details:

Minecraft Version: 1.5.1

Operating System: Windows 7 (x86) version 6.1

Java Version: 1.7.0_17, Oracle Corporation

Java VM Version: Java HotSpot™ Client VM (mixed mode), Oracle Corporation

Memory: 982433264 bytes (936 MB) / 1060372480 bytes (1011 MB) up to 1060372480 bytes (1011 MB)

JVM Flags: 3 total; -Xincgc -Xmx1024M -Xms1024M

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

Suspicious classes: FML and Forge are installed

IntCache: cache: 0, tcache: 46, allocated: 1, tallocated: 15

FML: MCP v7.44 FML v5.1.8.611 Minecraft Forge 7.7.1.611 4 mods loaded, 4 mods active

mcp [Minecraft Coder Pack] (minecraft.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available

FML [Forge Mod Loader] (coremods) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available

Forge [Minecraft Forge] (coremods) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available

mod_Ores [mod_Ores] (bin) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available

Profiler Position: N/A (disabled)

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

Player Count: 0 / 8; []

Type: Integrated Server (map_client.txt)

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

 

 

 

And my BiomeGen classfile

 

 

 

 

package Mod_Ores;
import net.minecraft.block.Block;
import net.minecraft.entity.passive.EntityWolf;
import net.minecraft.world.World;
import net.minecraft.world.biome.BiomeGenBase;
import net.minecraft.world.biome.SpawnListEntry;
public class BiomeGenSoulForest extends BiomeGenBase
{
protected BiomeGenSoulForest(int par1)
{
     super(par1);
     //this.topBlock = (byte)Block.grass.blockID;
     //this.fillerBlock = (byte)Block.grass.blockID;
    
     spawnableCreatureList.add(new SpawnListEntry(EntityWolf.class, 5, 4, 4));
     theBiomeDecorator.treesPerChunk = 10;
     theBiomeDecorator.grassPerChunk = 2;
     theBiomeDecorator.baneberryvineperchunk= 1;
     theBiomeDecorator.blackberryvineperchunk= 2;
     theBiomeDecorator.blueberryvineperchunk= 2;
     theBiomeDecorator.cranberryvineperchunk= 3;
     theBiomeDecorator.raspberryvineperchunk= 1;
     theBiomeDecorator.razzberryvineperchunk= 2;
     theBiomeDecorator.strawberryvineperchunk= 4;
     theBiomeDecorator.flowersPerChunk = 30;
     theBiomeDecorator.grapetreeperchunk = 3;
     temperature = 1.5F;
}
}

 

 

 

 

added this to the BiomeGenDecorator file

 

 

 

public int baneberryvineperchunk;
public int blackberryvineperchunk;
public int blueberryvineperchunk;
public int cranberryvineperchunk;
public int raspberryvineperchunk;
public int razzberryvineperchunk;
public int strawberryvineperchunk;
public int grapetreeperchunk;
//and inside the public biomedecorator
     this.baneberryvineperchunk = 0;
     this.blackberryvineperchunk = 0;
     this.blueberryvineperchunk = 0;
     this.cranberryvineperchunk = 0;
     this.raspberryvineperchunk = 0;
     this.razzberryvineperchunk = 0;
     this.strawberryvineperchunk = 0;

 

 

 

 

Last but not least, my mod_Ores file

its really big so i only paste in the important bits

 

above public void() :

 

 

public static BiomeGenBase SoulForest;

 

 

 

under public void() :

 

 

 

biomes();


//Biomes
SoulForest = (new BiomeGenSoulForest(23).setBiomeName("SoulForest").setMinMaxHeight(0.0F, 0.7F));

public void biomes()
{
     GameRegistry.addBiome(SoulForest);
}

 

 

 

I hope that this is enough for you to understand , i just hope that you know what the error is causing.

 

Oh it also says something about :

 

 

[ForgeModLoader] The ForgeModLoader state engine has become corrupted. Probably, a state was missed by and invalid modification to a base classForgeModLoader depends on. This is a critical error and not recoverable. Investigate any modifications to base classes outside ofForgeModLoader, especially Optifine, to see if there are fixes available.

 

 

 

what to do with that?

Thanks,

 

---SOLVED--- sorry to have bothered the forums, but i figured why it didnt work ---SOLVED---

 

the fix:

 

 

 

SoulForest = (new BiomeGenSoulForest(23).setBiomeName("SoulForest").setMinMaxHeight(0.0F, 0.7F));

biomes();

public void biomes()
{
     GameRegistry.addBiome(SoulForest);
}

 

 

Guest
This topic is now closed to further replies.

Announcements



  • Recently Browsing

    • No registered users viewing this page.
  • Posts

    • I bestow up to thee, for thy contributions to my enjoyment of this game, my kindest regards, and most heartfelt blessings. May both sides of your pillow be cold tonight. 
    • I wasn't excepting this to be seen this fast and left the post marinating for a while, but thank you for such a quick reply! Regarding what the console shows me when the server fails to boot, you can find those logs on this pastebin link here. From what I could gather, the issue here is with the mod Night Lights. Should I remove this mod, I get the same issue with Rings of Ascension, and lastly with Oh The Biomes We've Gone. When I remove these three mods, the issue goes away, but since the world was generated with the biome mod, I would rather not part ways with it. Thank you for taking some time to read my extensive description, hope the link with the logs helps!
    • Please see https://forums.minecraftforge.net/topic/125488-rules-and-frequently-asked-questions-faq/ for information on how to post your log correctly.
    • Hello!  The detailed description of how you got to where you are is certainly valuable.  But, at the end of the day (well, any time of the day actually), it is going to be the actual logs that going to provide the necessary details to hopefully solve your startup issue. Part of me wonders if you have installed a client-only mod on a dedicated server.  But I may very well be wrong, and it will be the logs that will tell that story.
    • Hello there! I didn't quite know where to go regarding this, but ended up deciding to post it here. I have been running a forge server with around 200 mods for me and some friends to play on casually, but have recently started to get an issue when booting the server. This all started after I decided to add some new mods to the server. Like usual, I add a mod, test run the server for any issues, and if all is well, I'll add a next one and so on until I have added all that I wanted to. After doing so, in all test runs, it all seemed to work just fine. However, the next day, after trying to boot the server, I kept getting an error regarding java.lang.NullPointerException, towards one of the mods I had recently added. So far so good, I removed the mod that was causing the issue, started up the server again, and here in when things took a turn for the worse. I received another java.lang.NullPointerException null error that wouldn't allow me to boot the server, but this time with a mod that wasn't part of the new ones I had recently added. I found this weird, but nonetheless, I removed it thinking it might be causing some conflicts with some of the new ones. Afterwards, booting the server again proved to be impossible, as it gave me another java.lang.NullPointerException null error with the 3rd mod I had ever installed on the server! This mod was there since the start, it added some biomes and had been just fine so far. This turn of events made me remove all the newer mods I had recently added in hopes to fix this whole ordeal, but alas, to no avail. Same error, with that same biome mod that had been there since day one. Reluctantly, I removed the biome mod, booted the server, and voila! The server was running, although without a major mod that had always been there to begin with. As I do not wish to part ways with this mod, specially since it had been working so far without any issues, I tried to bring everything back to how it was before I added those new mods, but kept on getting the same java.lang.NullPointerException null error for the biome mod. Even adding the newer mods won't cause me this error, with exception of the one that started it all, which I find quite odd since the mods I had been using without any issues are now giving me the same error the newer one that started it all gave me. Now, I have checked that everything is up to date regarding the mods, forge (forge-1.20.1-47.3.12) and java. The modpack runs perfectly fine when I start Minecraft itself, and play singleplayer, or even when I open a LAN world, everything works. Everything aside from the server. From what I could gather, this java.lang.NullPointerException null error would point to a missing value of sorts, for an item perhaps, within the mod that is causing the error, but aside from removing the whole mod, I lack the knowledge on how to fix this. With this in mind, if anyone would be so kind as to shine some light into this situation, with a way to fix all this blunder, I would be most grateful!
  • Topics

×
×
  • Create New...

Important Information

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