Dysth / Generations

The place to report bugs and submit suggestions to the Minecraft mod Generations!
6 stars 1 forks source link

The game crash when loading the world #227

Closed GargulaX closed 2 years ago

GargulaX commented 3 years ago

What is the bug? The game fails in new areas of the world.

What are the steps to reproduce the bug? When I advance to areas of the world not yet spawned, the game crashes.

What version of Pixelmon and Forge are you on? Pixelmon 8.5.1 and Forge 1.12.2-14.23.5.2854

Please provide any screenshots or crash reports if needed. ---- Minecraft Crash Report ----

WARNING: coremods are present: EarlyLoadPlugin (PixelmonGenerations-1.12.2-8.5.1.jar) Contact their authors BEFORE contacting forge

// I bet Cylons wouldn't have this problem.

Time: 8/13/21 6:20 PM Description: Exception ticking world

java.lang.NullPointerException: Exception ticking world at com.pixelmongenerations.common.world.gen.feature.WorldGenPokemonGrass.generate(WorldGenPokemonGrass.java:42) at net.minecraftforge.fml.common.registry.GameRegistry.generateWorld(GameRegistry.java:167) at net.minecraft.world.chunk.Chunk.func_186034_a(Chunk.java:1020) at net.minecraft.world.chunk.Chunk.func_186030_a(Chunk.java:985) at net.minecraft.world.gen.ChunkProviderServer.func_186025_d(ChunkProviderServer.java:157) at net.minecraft.server.management.PlayerChunkMapEntry.func_187268_a(PlayerChunkMapEntry.java:126) at net.minecraft.server.management.PlayerChunkMap.func_72693_b(PlayerChunkMap.java:226) at net.minecraft.world.WorldServer.func_72835_b(WorldServer.java:227) at net.minecraft.server.MinecraftServer.func_71190_q(MinecraftServer.java:756) at net.minecraft.server.MinecraftServer.func_71217_p(MinecraftServer.java:668) at net.minecraft.server.integrated.IntegratedServer.func_71217_p(IntegratedServer.java:279) at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:526) at java.lang.Thread.run(Unknown Source)

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

-- Head -- Thread: Server thread Stacktrace: at com.pixelmongenerations.common.world.gen.feature.WorldGenPokemonGrass.generate(WorldGenPokemonGrass.java:42) at net.minecraftforge.fml.common.registry.GameRegistry.generateWorld(GameRegistry.java:167) at net.minecraft.world.chunk.Chunk.func_186034_a(Chunk.java:1020) at net.minecraft.world.chunk.Chunk.func_186030_a(Chunk.java:985) at net.minecraft.world.gen.ChunkProviderServer.func_186025_d(ChunkProviderServer.java:157) at net.minecraft.server.management.PlayerChunkMapEntry.func_187268_a(PlayerChunkMapEntry.java:126) at net.minecraft.server.management.PlayerChunkMap.func_72693_b(PlayerChunkMap.java:226) at net.minecraft.world.WorldServer.func_72835_b(WorldServer.java:227)

-- Affected level -- Details: Level name: GX22 All players: 1 total; [EntityPlayerMP['GargulaX'/895, l='GX22', x=-2742.10, y=142.28, z=-3457.18]] Chunk stats: ServerChunkCache: 1827 Drop: 0 Level seed: 4046992504465267636 Level generator: ID 00 - default, ver 1. Features enabled: true Level generator options: Level spawn location: World: (252,64,232), Chunk: (at 12,4,8 in 15,14; contains blocks 240,0,224 to 255,255,239), Region: (0,0; contains chunks 0,0 to 31,31, blocks 0,0,0 to 511,255,511) Level time: 160320568 game time, 145689920 day time Level dimension: 0 Level storage version: 0x04ABD - Anvil Level weather: Rain time: 39115 (now: false), thunder time: 130503 (now: false) Level game mode: Game mode: survival (ID 0). Hardcore: false. Cheats: true Stacktrace: at net.minecraft.server.MinecraftServer.func_71190_q(MinecraftServer.java:756) at net.minecraft.server.MinecraftServer.func_71217_p(MinecraftServer.java:668) at net.minecraft.server.integrated.IntegratedServer.func_71217_p(IntegratedServer.java:279) at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:526) at java.lang.Thread.run(Unknown Source)

-- System Details -- Details: Minecraft Version: 1.12.2 Operating System: Windows 10 (amd64) version 10.0 Java Version: 1.8.0_231, Oracle Corporation Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Oracle Corporation Memory: 2317437744 bytes (2210 MB) / 3991404544 bytes (3806 MB) up to 3991404544 bytes (3806 MB) JVM Flags: 3 total; -Xmx4096M -Xms4096M -XX:HeapDumpPath=MojangTricksIntelDriversForPerformance_javaw.exe_minecraft.exe.heapdump IntCache: cache: 0, tcache: 0, allocated: 13, tallocated: 95 FML: MCP 9.42 Powered by Forge 14.23.5.2854 Optifine OptiFine_1.12.2_HD_U_G5 7 mods loaded, 7 mods active States: 'U' = Unloaded 'L' = Loaded 'C' = Constructed 'H' = Pre-initialized 'I' = Initialized 'J' = Post-initialized 'A' = Available 'D' = Disabled 'E' = Errored

| State  | ID              | Version      | Source                                        | Signature                                |
|:------ |:--------------- |:------------ |:--------------------------------------------- |:---------------------------------------- |
| LCHIJA | minecraft       | 1.12.2       | minecraft.jar                                 | None                                     |
| LCHIJA | mcp             | 9.42         | minecraft.jar                                 | None                                     |
| LCHIJA | aearlymodloader | 8.5.1        | minecraft.jar                                 | None                                     |
| LCHIJA | FML             | 8.0.99.99    | forge-1.12.2-14.23.5.2854.jar                 | e3c3d50c7c986df74c645c0ac54639741c90a557 |
| LCHIJA | forge           | 14.23.5.2854 | forge-1.12.2-14.23.5.2854.jar                 | e3c3d50c7c986df74c645c0ac54639741c90a557 |
| LCHIJA | biomesoplenty   | 7.0.1.2444   | BiomesOPlenty-1.12.2-7.0.1.2444-universal.jar | None                                     |
| LCHIJA | pixelmon        | 8.5.1        | PixelmonGenerations-1.12.2-8.5.1.jar          | None                                     |

Loaded coremods (and transformers): 

EarlyLoadPlugin (PixelmonGenerations-1.12.2-8.5.1.jar) com.pixelmongenerations.core.plugin.PixelmonTransformer Profiler Position: N/A (disabled) Player Count: 1 / 8; [EntityPlayerMP['GargulaX'/895, l='GX22', x=-2742.10, y=142.28, z=-3457.18]] Type: Integrated Server (map_client.txt) Is Modded: Definitely; Client brand changed to 'fml,forge' OptiFine Version: OptiFine_1.12.2_HD_U_G5 OptiFine Build: 20210124-142939 Render Distance Chunks: 16 Mipmaps: 4 Anisotropic Filtering: 1 Antialiasing: 0 Multitexture: false Shaders: null OpenGlVersion: 4.6.0 NVIDIA 471.68 OpenGlRenderer: NVIDIA GeForce GTX 1070/PCIe/SSE2 OpenGlVendor: NVIDIA Corporation CpuCount: 8

GargulaX commented 2 years ago

After 1 month of waiting, I figured out how to solve it myself (if it depended on someone here or on pixelmon generation discord, the problem would probably be ignored, as it is until now).

Solution: Go to the file pixelmon.hocon file on C:\Users\UserName\AppData\Roaming.minecraft\config and modify the line "generatePokeGass=true" changing "true" for "false".

I hope they don't delete the post so that others with the same problem can also solve it.