Jump to content

Game crashes when you load a world


theMusicalGamer

Recommended Posts

I'm trying to add a dimension in my mod, and whenever I load a world, it crashes.

 

Error:

 

net.minecraft.util.ReportedException: Exception getting block type in world

at net.minecraft.world.World.(World.java:311) ~[World.class:?]

at net.minecraft.world.WorldServer.(WorldServer.java:102) ~[WorldServer.class:?]

at net.minecraft.world.WorldServerMulti.(WorldServerMulti.java:14) ~[WorldServerMulti.class:?]

at net.minecraft.server.integrated.IntegratedServer.loadAllWorlds(IntegratedServer.java:66) ~[integratedServer.class:?]

at net.minecraft.server.integrated.IntegratedServer.startServer(IntegratedServer.java:96) ~[integratedServer.class:?]

at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:445) [MinecraftServer.class:?]

at net.minecraft.server.MinecraftServer$2.run(MinecraftServer.java:752)

 

 

Code

https://github.com/theMusicalGamer/doctorWhoMod

 

Any help is appreciated; I've never seen anything like this.

Thanks!

Link to comment
Share on other sites

Yeah. I just looked through my files again and I found the full log.

 

 

[14:23:24] [server thread/ERROR]: Encountered an unexpected exception

net.minecraft.util.ReportedException: Exception getting block type in world

at net.minecraft.world.World.<init>(World.java:311) ~[World.class:?]

at net.minecraft.world.WorldServer.<init>(WorldServer.java:102) ~[WorldServer.class:?]

at net.minecraft.world.WorldServerMulti.<init>(WorldServerMulti.java:14) ~[WorldServerMulti.class:?]

at net.minecraft.server.integrated.IntegratedServer.loadAllWorlds(IntegratedServer.java:66) ~[integratedServer.class:?]

at net.minecraft.server.integrated.IntegratedServer.startServer(IntegratedServer.java:96) ~[integratedServer.class:?]

at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:445) [MinecraftServer.class:?]

at net.minecraft.server.MinecraftServer$2.run(MinecraftServer.java:752) [MinecraftServer$2.class:?]

Caused by: java.lang.NullPointerException

at net.minecraft.world.gen.ChunkProviderServer.originalLoadChunk(ChunkProviderServer.java:207) ~[ChunkProviderServer.class:?]

at net.minecraft.world.gen.ChunkProviderServer.loadChunk(ChunkProviderServer.java:149) ~[ChunkProviderServer.class:?]

at net.minecraft.world.gen.ChunkProviderServer.loadChunk(ChunkProviderServer.java:119) ~[ChunkProviderServer.class:?]

at net.minecraft.world.gen.ChunkProviderServer.provideChunk(ChunkProviderServer.java:221) ~[ChunkProviderServer.class:?]

at net.minecraft.world.World.getChunkFromChunkCoords(World.java:482) ~[World.class:?]

at net.minecraft.world.World.getBlock(World.java:387) ~[World.class:?]

at net.minecraft.world.World.isAirBlock(World.java:410) ~[World.class:?]

at net.minecraft.world.World.getTopBlock(World.java:371) ~[World.class:?]

at net.minecraft.world.WorldProvider.canCoordinateBeSpawn(WorldProvider.java:93) ~[WorldProvider.class:?]

at net.minecraft.world.WorldServer.createSpawnPosition(WorldServer.java:794) ~[WorldServer.class:?]

at net.minecraft.world.WorldServer.initialize(WorldServer.java:757) ~[WorldServer.class:?]

at net.minecraft.world.World.<init>(World.java:296) ~[World.class:?]

... 6 more

 

Link to comment
Share on other sites

I'm sure it does. I'm trying to make a dimension that auto generates a structure.

 

https://github.com/theMusicalGamer/doctorWhoMod/blob/master/doctorwho/world/chunk/ChunkProviderTardis.java#L39-L42

Apparently I'm a complete and utter jerk and come to this forum just like to make fun of people, be confrontational, and make your personal life miserable.  If you think this is the case, JUST REPORT ME.  Otherwise you're just going to get reported when you reply to my posts and point it out, because odds are, I was trying to be nice.

 

Exception: If you do not understand Java, I WILL NOT HELP YOU and your thread will get locked.

 

DO NOT PM ME WITH PROBLEMS. No help will be given.

Link to comment
Share on other sites

I do know some workarounds you can do to have many partial worlds (Not infinite, but scalable). But for this I would recommend just making a new dimension filled with this structure and just teleporting different players to different structures.

 

If you dont want them all lumped into 1 world, then you'll need some workarounds to avoid having like 100 dimensions loaded and lagging servers. This is a lot harder though getting everything to run on just 1 dimension id.

"you seem to be THE best modder I've seen imo."

~spynathan

 

ლ(́◉◞౪◟◉‵ლ

Link to comment
Share on other sites

  • 3 weeks later...

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.