How to access net.minecraft.world.level.chunk.storage.ChunkSerializer?

Discussion in 'Plugin Development' started by Tim_M, Sep 29, 2021.

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

    Tim_M

    I need to access the class net.minecraft.world.level.chunk.storage.ChunkSerializer. This is can be found in minecraft's source code. How can I get and use it in bukkit (I have imported CraftBukkit).

    Edit: I have come to the conclusion that this is impossible since the server jar is different. I will keep this thread open in case I'm wrong.
     
    Last edited: Oct 6, 2021
  2. Offline

    timtower Administrator Administrator Moderator

    @Tim_M Why do you need access to it?
     
  3. Offline

    Tim_M

    I'm trying to create a system for saving huge areas (10k*10k*256). The Bukkit API is kind of slow, so my friend suggested to use the internal methods. This would decrease the time needed to save and load from minutes to a matter of ticks.
     
  4. Offline

    timtower Administrator Administrator Moderator

  5. Offline

    Tim_M

    Why does that matter just how do I access the class or bukkit equivalent.
     
  6. Offline

    timtower Administrator Administrator Moderator

    Because it seems easier to reset the entire world folder instead of doing it with a NMS method.
    XY problem here.
     
  7. Offline

    Tim_M

    Well I would have done that if I could. Only part of the world should be reset.
     
Thread Status:
Not open for further replies.

Share This Page