Jump to content

Recommended Posts

Posted

Hi guys, I'm currently working on a project and I have a simple question: How can I get The ChunkProviderServer(that implements IChunkProvider) of a World? Casting is not possible, than how can I find it?

Posted

Well no:

[13:36:12 WARN]: Caused by: java.lang.ClassCastException: current.CustomChunkProvider cannot be cast to net.minecraft.server.v1_13_R1.ChunkProviderServer
[13:36:12 WARN]:        at net.minecraft.server.v1_13_R1.WorldServer.getChunkProviderServer(WorldServer.java:1049)
[13:36:12 WARN]:        at net.minecraft.server.v1_13_R1.WorldServer.a(WorldServer.java:444)
[13:36:12 WARN]:        at net.minecraft.server.v1_13_R1.WorldServer.isChunkLoaded(WorldServer.java:440)
[13:36:12 WARN]:        at net.minecraft.server.v1_13_R1.IWorldReader.b(SourceFile:400)
[13:36:12 WARN]:        at net.minecraft.server.v1_13_R1.IWorldReader.isLoaded(SourceFile:396)
[13:36:12 WARN]:        at net.minecraft.server.v1_13_R1.World.getBiome(World.java:207)
[13:36:12 WARN]:        at net.minecraft.server.v1_13_R1.WorldProviderNormal.a(SourceFile:200)
[13:36:12 WARN]:        at net.minecraft.server.v1_13_R1.WorldProviderNormal.a(SourceFile:186)
[13:36:12 WARN]:        at net.minecraft.server.v1_13_R1.WorldServer.b(WorldServer.java:821)
[13:36:12 WARN]:        at net.minecraft.server

Posted
11 minutes ago, Auties said:

net.minecraft.server.v1_13_R1

What are these packages? It should be net.minecraft.world.gen for ChunkProviderServer, not net.minecraft.server.v1_13_R1. And what are these method names? How did you set up your modding environment? What version are you using?

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.