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

    • Reach Out To Rapid Digital: What sapp Info: +1 41 4 80 7 14 85 Email INFO: rap iddi gita lrecov ery @ exe cs. com Hello, my name is Jayson, and I’m 35 years old from the United Kingdom. My family and I recently endured an incredibly challenging experience that I wouldn’t wish on anyone. We became victims of a cryptocurrency investment fraud scheme that saw us lose a staggering $807,000 in USDT and Bitcoins. The fraudsters had created a convincing facade, and we were lured into investing, only to discover later that the platform was a complete scam. We were left devastated, not just financially, but emotionally, as we had trusted these people and believed in the legitimacy of the investment. After the initial shock wore off, we desperately searched for ways to recover the lost funds. It seemed like an impossible task, and we felt as though there was no hope. That’s when, by sheer luck, we stumbled across a post about Rapid Digital Recovery, a cryptocurrency and funds recovery organization with a proven track record in cybersecurity and fraud recovery. We decided to reach out to them, and from the first interaction, we were impressed with their professionalism and transparency. They explained the recovery process in detail and reassured us that they had the skills and expertise to track down the perpetrators and recover our funds. This gave us a renewed sense of hope, something we hadn’t felt in months. What truly stood out during our experience with Rapid Digital Recovery was their dedication to the recovery process. The team went above and beyond, using sophisticated tracking tools and cyber forensics to gather critical information. Within a matter of weeks, they had successfully located the funds and traced the scam back to the fraudsters responsible. They worked with the authorities to ensure the criminals were held accountable for their actions. To our relief, the team at Rapid Digital Recovery was able to recover every single penny we had lost. The funds were returned in full, and the sense of closure we felt was invaluable. We couldn’t have imagined such a positive outcome in the early stages of our recovery journey, and we are deeply grateful for the work they did. If you ever find yourself in a similar situation, I highly recommend contacting Rapid Digital Recovery. Their expertise, transparency, and dedication to their clients make them the go-to choice for anyone seeking to recover lost cryptocurrency or funds. They truly gave us back our financial future.  
    • This is my first time modding anything, so maybe just skill issue. I'm using Forge 54.0.12 and Temurin 21.0.5+11-LTS I wanted to create a custom keybind and to check whether it works I'd like to send a chat message. I tried using Minecraft.getInstance().player.sendSystemMessage(Component.literal("test")); but IntelliJ couldnt resolve sendSystemMessage(...). Since I saw people using it in earlier versions, I tried the same thing with 1.20.6(- 50.1.0), where it works fine, now I can't figure out if this is intentional and whether there are other options for sending chat messages. On that note, is there more documentation than https://docs.minecraftforge.net/en/1.21.x/? It seems very incomplete compared to something like the Oracle Java docs
    • Hi, i'm having this error and I wanna fix it. we try: -Reload drivers -Eliminate .minecraft -Eliminate Java -Restart launcher -Verify if minecraft is using gpu -Mods  in .minecraft is empty -Install the latest and recomended version of forge idk what i have to do, help me pls. the lastest log is: https://mclo.gs/WAMao8x  
    • Read the FAQ, Rule #2. (https://forums.minecraftforge.net/topic/125488-rules-and-frequently-asked-questions-faq/)  
    • The link to your log does not work, it says it is forbidden, Error, this is a private paste or is pending moderation.
  • Topics

×
×
  • Create New...

Important Information

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