generate chunk data without nms or obc?

Discussion in 'Plugin Development' started by Techy4198, Sep 11, 2014.

Thread Status:
Not open for further replies.
  1. Offline


    I want to generate data for a default end dimension, just a Bukkit Chunk object, not actually saving the chunk to a world. I currently have this:
    Chunk chunk=((CraftWorld)world).getHandle().worldProvider.byDimension(1)
    However, due to this and a few surrounding lines, I have to import the following classes:
    Is there a way to do the same exact thing without NMS and OBC classes? I know it must be possible with reflection but I can't figure out how.
    Also please don't try and completely change the function of this, my plugin works perfectly at the moment, no errors, but I want to get rid of version-dependent imports.
Thread Status:
Not open for further replies.

Share This Page