Object ChunkHelper

  • All Implemented Interfaces:

    
    public class ChunkHelper
    
                        

    My crazy fast chunk remover.

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
      public final static ChunkHelper INSTANCE
    • Constructor Summary

      Constructors 
      Constructor Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      final Unit clearChunk(LevelAccessor level, Double x, Double z) Clear a specific chunk.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

    • Method Detail

      • clearChunk

         final Unit clearChunk(LevelAccessor level, Double x, Double z)

        Clear a specific chunk. This will only work on the server-side.

        This works by clearing the heightmaps and chunk sections. It's much more efficient than setting each block in the chunk, one at a time.