Class RegionFileFormat

java.lang.Object
net.minecraft.world.chunk.RegionFileFormat

public class RegionFileFormat extends Object
Mappings:
Namespace Name
official anh
intermediary net/minecraft/class_1202
named net/minecraft/world/chunk/RegionFileFormat
  • Field Details

    • BYTES

      private static final byte[] BYTES
      Mappings:
      Namespace Name Mixin selector
      official a Lanh;a:[B
      intermediary field_4767 Lnet/minecraft/class_1202;field_4767:[B
      named BYTES Lnet/minecraft/world/chunk/RegionFileFormat;BYTES:[B
    • file

      private final File file
      Mappings:
      Namespace Name Mixin selector
      official b Lanh;b:Ljava/io/File;
      intermediary field_4768 Lnet/minecraft/class_1202;field_4768:Ljava/io/File;
      named file Lnet/minecraft/world/chunk/RegionFileFormat;file:Ljava/io/File;
    • fileBuffer

      private RandomAccessFile fileBuffer
      Mappings:
      Namespace Name Mixin selector
      official c Lanh;c:Ljava/io/RandomAccessFile;
      intermediary field_4769 Lnet/minecraft/class_1202;field_4769:Ljava/io/RandomAccessFile;
      named fileBuffer Lnet/minecraft/world/chunk/RegionFileFormat;fileBuffer:Ljava/io/RandomAccessFile;
    • sectorData

      private final int[] sectorData
      Mappings:
      Namespace Name Mixin selector
      official d Lanh;d:[I
      intermediary field_4770 Lnet/minecraft/class_1202;field_4770:[I
      named sectorData Lnet/minecraft/world/chunk/RegionFileFormat;sectorData:[I
    • saveTimes

      private final int[] saveTimes
      Mappings:
      Namespace Name Mixin selector
      official e Lanh;e:[I
      intermediary field_4771 Lnet/minecraft/class_1202;field_4771:[I
      named saveTimes Lnet/minecraft/world/chunk/RegionFileFormat;saveTimes:[I
    • field_9956

      private List<Boolean> field_9956
      Mappings:
      Namespace Name Mixin selector
      official f Lanh;f:Ljava/util/List;
      intermediary field_9956 Lnet/minecraft/class_1202;field_9956:Ljava/util/List;
      named field_9956 Lnet/minecraft/world/chunk/RegionFileFormat;field_9956:Ljava/util/List;
    • field_4773

      private int field_4773
      Mappings:
      Namespace Name Mixin selector
      official g Lanh;g:I
      intermediary field_4773 Lnet/minecraft/class_1202;field_4773:I
      named field_4773 Lnet/minecraft/world/chunk/RegionFileFormat;field_4773:I
    • lastModified

      private long lastModified
      Mappings:
      Namespace Name Mixin selector
      official h Lanh;h:J
      intermediary field_4774 Lnet/minecraft/class_1202;field_4774:J
      named lastModified Lnet/minecraft/world/chunk/RegionFileFormat;lastModified:J
  • Constructor Details

    • RegionFileFormat

      public RegionFileFormat(File file)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lanh;<init>(Ljava/io/File;)V
      intermediary <init> Lnet/minecraft/class_1202;<init>(Ljava/io/File;)V
      named <init> Lnet/minecraft/world/chunk/RegionFileFormat;<init>(Ljava/io/File;)V
  • Method Details

    • getChunkInputStream

      public DataInputStream getChunkInputStream(int chunkX, int chunkZ)
      Mappings:
      Namespace Name Mixin selector
      official a Lanh;a(II)Ljava/io/DataInputStream;
      intermediary method_3957 Lnet/minecraft/class_1202;method_3957(II)Ljava/io/DataInputStream;
      named getChunkInputStream Lnet/minecraft/world/chunk/RegionFileFormat;getChunkInputStream(II)Ljava/io/DataInputStream;
    • getChunkOutputStream

      public DataOutputStream getChunkOutputStream(int chunkX, int chunkZ)
      Mappings:
      Namespace Name Mixin selector
      official b Lanh;b(II)Ljava/io/DataOutputStream;
      intermediary method_3961 Lnet/minecraft/class_1202;method_3961(II)Ljava/io/DataOutputStream;
      named getChunkOutputStream Lnet/minecraft/world/chunk/RegionFileFormat;getChunkOutputStream(II)Ljava/io/DataOutputStream;
    • writeChunk

      protected void writeChunk(int chunkX, int chunkZ, byte[] byte2, int int2)
      Mappings:
      Namespace Name Mixin selector
      official a Lanh;a(II[BI)V
      intermediary method_3959 Lnet/minecraft/class_1202;method_3959(II[BI)V
      named writeChunk Lnet/minecraft/world/chunk/RegionFileFormat;writeChunk(II[BI)V
    • writeChunk

      private void writeChunk(int sectorData, byte[] data, int dataLength) throws IOException
      Throws:
      IOException
      Mappings:
      Namespace Name Mixin selector
      official a Lanh;a(I[BI)V
      intermediary method_3960 Lnet/minecraft/class_1202;method_3960(I[BI)V
      named writeChunk Lnet/minecraft/world/chunk/RegionFileFormat;writeChunk(I[BI)V
    • isOutsideRange

      private boolean isOutsideRange(int chunkX, int chunkZ)
      Mappings:
      Namespace Name Mixin selector
      official d Lanh;d(II)Z
      intermediary method_3965 Lnet/minecraft/class_1202;method_3965(II)Z
      named isOutsideRange Lnet/minecraft/world/chunk/RegionFileFormat;isOutsideRange(II)Z
    • getSectorData

      private int getSectorData(int chunkX, int chunkZ)
      Mappings:
      Namespace Name Mixin selector
      official e Lanh;e(II)I
      intermediary method_3966 Lnet/minecraft/class_1202;method_3966(II)I
      named getSectorData Lnet/minecraft/world/chunk/RegionFileFormat;getSectorData(II)I
    • chunkExists

      public boolean chunkExists(int chunkX, int chunkZ)
      Mappings:
      Namespace Name Mixin selector
      official c Lanh;c(II)Z
      intermediary method_3964 Lnet/minecraft/class_1202;method_3964(II)Z
      named chunkExists Lnet/minecraft/world/chunk/RegionFileFormat;chunkExists(II)Z
    • writeSectorData

      private void writeSectorData(int chunkX, int chunkZ, int length) throws IOException
      Throws:
      IOException
      Mappings:
      Namespace Name Mixin selector
      official a Lanh;a(III)V
      intermediary method_3958 Lnet/minecraft/class_1202;method_3958(III)V
      named writeSectorData Lnet/minecraft/world/chunk/RegionFileFormat;writeSectorData(III)V
    • writeSaveTime

      private void writeSaveTime(int chunkX, int chunkZ, int timestamp) throws IOException
      Throws:
      IOException
      Mappings:
      Namespace Name Mixin selector
      official b Lanh;b(III)V
      intermediary method_3962 Lnet/minecraft/class_1202;method_3962(III)V
      named writeSaveTime Lnet/minecraft/world/chunk/RegionFileFormat;writeSaveTime(III)V
    • close

      public void close() throws IOException
      Throws:
      IOException
      Mappings:
      Namespace Name Mixin selector
      official c Lanh;c()V
      intermediary method_3963 Lnet/minecraft/class_1202;method_3963()V
      named close Lnet/minecraft/world/chunk/RegionFileFormat;close()V