View Issue Details

IDProjectCategoryView StatusLast Update
0002064Industrial-Craft²crossmod-compatibility / submodules / APIpublic2016-12-27 19:36
Reporterfavilo Assigned ToChocohead  
PrioritynormalSeveritycrashReproducibilityalways
Status closedResolutionno change required 
PlatformLinuxOSUbuntuOS Version16.10
Fixed in VersionBuilds for MC 1.10.x 
Summary0002064: NoSuchMethodError: net.minecraft.world.biome.BiomeProvider.getBiomeGenerator
DescriptionNot sure what I'm doing wrong, whether I'm using incompatible versions of mcforge and ic2. But I'm attempting to develop a mod using some of the OreDictionary'd stuff from ic2, and I can't actually generate a map if I load ic2 when running.

[11:22:07] [Server thread/ERROR]: Encountered an unexpected exception
java.lang.NoSuchMethodError: net.minecraft.world.biome.BiomeProvider.getBiomeGenerator(Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/world/biome/Biome;)Lnet/minecraft/world/biome/Biome;
        at ic2.core.util.BiomeUtil.getOriginalBiome(BiomeUtil.java:13) ~[BiomeUtil.class:?]
        at ic2.core.Ic2WorldDecorator.genRubberTree(Ic2WorldDecorator.java:268) ~[Ic2WorldDecorator.class:?]
        at ic2.core.Ic2WorldDecorator.generate(Ic2WorldDecorator.java:235) ~[Ic2WorldDecorator.class:?]
        at net.minecraftforge.fml.common.registry.GameRegistry.generateWorld(GameRegistry.java:120) ~[GameRegistry.class:?]
        at net.minecraft.world.chunk.Chunk.populateChunk(Chunk.java:1070) ~[Chunk.class:?]
        at net.minecraft.world.chunk.Chunk.populateChunk(Chunk.java:1052) ~[Chunk.class:?]
        at net.minecraft.world.gen.ChunkProviderServer.provideChunk(ChunkProviderServer.java:160) ~[ChunkProviderServer.class:?]
        at net.minecraft.server.MinecraftServer.initialWorldChunkLoad(MinecraftServer.java:336) ~[MinecraftServer.class:?]
        at net.minecraft.server.integrated.IntegratedServer.loadAllWorlds(IntegratedServer.java:107) ~[IntegratedServer.class:?]
        at net.minecraft.server.integrated.IntegratedServer.startServer(IntegratedServer.java:124) ~[IntegratedServer.class:?]
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:496) [MinecraftServer.class:?]
        at java.lang.Thread.run(Thread.java:745) [?:1.8.0_45-internal]
[11:22:07] [Server thread/ERROR]: This crash report has been saved to: /home/klah/workspace-minecraft/minecraft/run/./crash-reports/crash-2016-12-23_11.22.07-server.txt
[11:22:07] [Server thread/INFO]: Stopping server
[11:22:07] [Server thread/INFO]: Saving players
[11:22:07] [Server thread/INFO]: Saving worlds
[11:22:07] [Server thread/INFO]: Saving chunks for level 'New World2'/Overworld
[11:22:07] [Server thread/INFO]: Saving chunks for level 'New World2'/Nether
[11:22:07] [Server thread/INFO]: Saving chunks for level 'New World2'/The End
[11:22:07] [Server thread/INFO] [FML]: Unloading dimension 0
[11:22:07] [Server thread/INFO] [FML]: Unloading dimension -1
[11:22:07] [Server thread/INFO] [FML]: Unloading dimension 1
[11:22:07] [Server thread/INFO] [FML]: Applying holder lookups
[11:22:07] [Server thread/INFO] [FML]: Holder lookups applied
[11:22:07] [Server thread/INFO] [FML]: The state engine was in incorrect state SERVER_STARTING and forced into state SERVER_STOPPED. Errors may have been discarded.
Steps To Reproduce./gradlew clean
./gradlew setupDecompServer
./gradlew runClient

Attempt to generate world.

Additional Informationminecraft_version=1.10.2
mcp_mappings=snapshot_20161111
forge_version=12.18.3.2185

waila_version=1.7.0-B3_1.9.4
jei_version=3.13.6.391
ic2_version=2.6.99-ex110
TagsNo tags attached.
Minecraft Version1.10.2

Activities

favilo

2016-12-23 19:27

reporter  

crash-2016-12-23_11.22.07-server.txt (2,959 bytes)   
---- Minecraft Crash Report ----
// Don't be sad. I'll do better next time, I promise!

Time: 12/23/16 11:22 AM
Description: Exception in server tick loop

java.lang.NoSuchMethodError: net.minecraft.world.biome.BiomeProvider.getBiomeGenerator(Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/world/biome/Biome;)Lnet/minecraft/world/biome/Biome;
	at ic2.core.util.BiomeUtil.getOriginalBiome(BiomeUtil.java:13)
	at ic2.core.Ic2WorldDecorator.genRubberTree(Ic2WorldDecorator.java:268)
	at ic2.core.Ic2WorldDecorator.generate(Ic2WorldDecorator.java:235)
	at net.minecraftforge.fml.common.registry.GameRegistry.generateWorld(GameRegistry.java:120)
	at net.minecraft.world.chunk.Chunk.populateChunk(Chunk.java:1070)
	at net.minecraft.world.chunk.Chunk.populateChunk(Chunk.java:1052)
	at net.minecraft.world.gen.ChunkProviderServer.provideChunk(ChunkProviderServer.java:160)
	at net.minecraft.server.MinecraftServer.initialWorldChunkLoad(MinecraftServer.java:336)
	at net.minecraft.server.integrated.IntegratedServer.loadAllWorlds(IntegratedServer.java:107)
	at net.minecraft.server.integrated.IntegratedServer.startServer(IntegratedServer.java:124)
	at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:496)
	at java.lang.Thread.run(Thread.java:745)


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

-- System Details --
Details:
	Minecraft Version: 1.10.2
	Operating System: Linux (amd64) version 3.19.0-59-generic
	Java Version: 1.8.0_45-internal, Oracle Corporation
	Java VM Version: OpenJDK 64-Bit Server VM (mixed mode), Oracle Corporation
	Memory: 833315840 bytes (794 MB) / 1402994688 bytes (1338 MB) up to 2794455040 bytes (2665 MB)
	JVM Flags: 0 total; 
	IntCache: cache: 0, tcache: 0, allocated: 13, tallocated: 95
	FML: MCP 9.32 Powered by Forge 12.18.3.2185 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
	UCHIJAA	mcp{9.19} [Minecraft Coder Pack] (minecraft.jar) 
	UCHIJAA	FML{8.0.99.99} [Forge Mod Loader] (forgeSrc-1.10.2-12.18.3.2185.jar) 
	UCHIJAA	Forge{12.18.3.2185} [Minecraft Forge] (forgeSrc-1.10.2-12.18.3.2185.jar) 
	UCHIJAA	JEI{3.13.6.391} [Just Enough Items] (jei_1.10.2-3.13.6.391.jar) 
	UCHIJAA	Waila{1.7.0} [Waila] (Waila-1.7.0-B3_1.9.4.jar) 
	UCHIJAA	IC2{2.6.99-ex110} [IndustrialCraft 2] (industrialcraft-2-2.6.99-ex110-dev.jar) 
	UCHIJAA	cosmerecraft-mod{1.10.2-1.0} [CosmereCraft] (CosmereCraft-1.10.2-1.0.jar) 
	Loaded coremods (and transformers): 
IC2core (industrialcraft-2-2.6.99-ex110-dev.jar)
  
	GL info: ~~ERROR~~ RuntimeException: No OpenGL context found in the current thread.
	Profiler Position: N/A (disabled)
	Player Count: 0 / 8; []
	Type: Integrated Server (map_client.txt)
	Is Modded: Definitely; Client brand changed to 'fml,forge'

favilo

2016-12-23 19:55

reporter   ~0004962

I've noticed that BiomeProviderSingle has the getBiomeGenerator() method, and it is an extension of that BiomeProvider class. Not sure if that helps. Also it is entirely possible that I am using the wrong mcp mappings or something weird like that.

Chocohead

2016-12-24 00:36

developer   ~0004964

IC2 is compiled against the snapshot_20160518 mappings, so you'll probably want to use one older than snapshot_20161111.

favilo

2016-12-27 18:45

reporter   ~0004982

Interesting. When I changed the mappings to snapshot_20160508 I got this warning:

This mapping 'snapshot_20160508' was designed for MC 1.9! Use at your own peril.

Chocohead

2016-12-27 19:36

developer   ~0004983

Yeah, it still all works fine though. It's the mappings Forge was using right up until the 1.11 port.

Issue History

Date Modified Username Field Change
2016-12-23 19:27 favilo New Issue
2016-12-23 19:27 favilo File Added: crash-2016-12-23_11.22.07-server.txt
2016-12-23 19:55 favilo Note Added: 0004962
2016-12-24 00:36 Chocohead Note Added: 0004964
2016-12-24 00:36 Chocohead Status new => closed
2016-12-24 00:36 Chocohead Assigned To => Chocohead
2016-12-24 00:36 Chocohead Resolution open => no change required
2016-12-24 00:36 Chocohead Fixed in Version => Builds for MC 1.10.x
2016-12-27 18:45 favilo Note Added: 0004982
2016-12-27 18:45 favilo Status closed => feedback
2016-12-27 18:45 favilo Resolution no change required => reopened
2016-12-27 19:36 Chocohead Note Added: 0004983
2016-12-27 19:36 Chocohead Status feedback => closed
2016-12-27 19:36 Chocohead Resolution reopened => no change required