Class ChunkLoader

  • All Implemented Interfaces:
    java.lang.AutoCloseable
    Direct Known Subclasses:
    ChunkManager

    public class ChunkLoader
    extends java.lang.Object
    implements java.lang.AutoCloseable
    • Field Detail

      • fixerUpper

        protected final com.mojang.datafixers.DataFixer fixerUpper
    • Constructor Detail

      • ChunkLoader

        public ChunkLoader​(java.io.File p_i231889_1_,
                           com.mojang.datafixers.DataFixer p_i231889_2_,
                           boolean p_i231889_3_)
    • Method Detail

      • getVersion

        public static int getVersion​(CompoundNBT p_219165_0_)
      • read

        @Nullable
        public CompoundNBT read​(ChunkPos p_227078_1_)
                         throws java.io.IOException
        Throws:
        java.io.IOException
      • flushWorker

        public void flushWorker()
      • close

        public void close()
                   throws java.io.IOException
        Specified by:
        close in interface java.lang.AutoCloseable
        Throws:
        java.io.IOException