Class RegionFile

java.lang.Object
net.minecraft.level.storage.RegionFile

public class RegionFile extends Object
Mappings:
Namespace Name
intermediary net/minecraft/class_353
glue class_378
server jx
client qj
named net/minecraft/level/storage/RegionFile
  • Field Details

    • emptySector

      private static final byte[] emptySector
      Mappings:
      Namespace Name Mixin selector
      intermediary field_1315 Lnet/minecraft/class_353;field_1315:[B
      glue field_1498 Lclass_378;field_1498:[B
      server a Ljx;a:[B
      client a Lqj;a:[B
      named emptySector Lnet/minecraft/level/storage/RegionFile;emptySector:[B
    • fileName

      private final File fileName
      Mappings:
      Namespace Name Mixin selector
      intermediary field_1316 Lnet/minecraft/class_353;field_1316:Ljava/io/File;
      glue field_1499 Lclass_378;field_1499:Ljava/io/File;
      server b Ljx;b:Ljava/io/File;
      client b Lqj;b:Ljava/io/File;
      named fileName Lnet/minecraft/level/storage/RegionFile;fileName:Ljava/io/File;
    • file

      private RandomAccessFile file
      Mappings:
      Namespace Name Mixin selector
      intermediary field_1317 Lnet/minecraft/class_353;field_1317:Ljava/io/RandomAccessFile;
      glue field_1500 Lclass_378;field_1500:Ljava/io/RandomAccessFile;
      server c Ljx;c:Ljava/io/RandomAccessFile;
      client c Lqj;c:Ljava/io/RandomAccessFile;
      named file Lnet/minecraft/level/storage/RegionFile;file:Ljava/io/RandomAccessFile;
    • offsets

      private final int[] offsets
      Mappings:
      Namespace Name Mixin selector
      intermediary field_1318 Lnet/minecraft/class_353;field_1318:[I
      glue field_1501 Lclass_378;field_1501:[I
      server d Ljx;d:[I
      client d Lqj;d:[I
      named offsets Lnet/minecraft/level/storage/RegionFile;offsets:[I
    • timestamps

      private final int[] timestamps
      Mappings:
      Namespace Name Mixin selector
      intermediary field_1319 Lnet/minecraft/class_353;field_1319:[I
      glue field_1502 Lclass_378;field_1502:[I
      server e Ljx;e:[I
      client e Lqj;e:[I
      named timestamps Lnet/minecraft/level/storage/RegionFile;timestamps:[I
    • sectorFree

      private ArrayList sectorFree
      Mappings:
      Namespace Name Mixin selector
      intermediary field_1320 Lnet/minecraft/class_353;field_1320:Ljava/util/ArrayList;
      glue field_1503 Lclass_378;field_1503:Ljava/util/ArrayList;
      server f Ljx;f:Ljava/util/ArrayList;
      client f Lqj;f:Ljava/util/ArrayList;
      named sectorFree Lnet/minecraft/level/storage/RegionFile;sectorFree:Ljava/util/ArrayList;
    • sizeDelta

      private int sizeDelta
      Mappings:
      Namespace Name Mixin selector
      intermediary field_1321 Lnet/minecraft/class_353;field_1321:I
      glue field_1504 Lclass_378;field_1504:I
      server g Ljx;g:I
      client g Lqj;g:I
      named sizeDelta Lnet/minecraft/level/storage/RegionFile;sizeDelta:I
    • lastModified

      private long lastModified
      Mappings:
      Namespace Name Mixin selector
      intermediary field_1322 Lnet/minecraft/class_353;field_1322:J
      glue field_1505 Lclass_378;field_1505:J
      server h Ljx;h:J
      client h Lqj;h:J
      named lastModified Lnet/minecraft/level/storage/RegionFile;lastModified:J
  • Constructor Details

    • RegionFile

      public RegionFile(File file)
  • Method Details

    • getSizeDelta

      public int getSizeDelta()
      Mappings:
      Namespace Name Mixin selector
      intermediary method_1158 Lnet/minecraft/class_353;method_1158()I
      glue method_1499 Lclass_378;method_1499()I
      server a Ljx;a()I
      client a Lqj;a()I
      named getSizeDelta Lnet/minecraft/level/storage/RegionFile;getSizeDelta()I
    • debug

      private void debug(String in)
      Mappings:
      Namespace Name Mixin selector
      intermediary method_1163 Lnet/minecraft/class_353;method_1163(Ljava/lang/String;)V
      glue method_1504 Lclass_378;method_1504(Ljava/lang/String;)V
      server a Ljx;a(Ljava/lang/String;)V
      client a Lqj;a(Ljava/lang/String;)V
      named debug Lnet/minecraft/level/storage/RegionFile;debug(Ljava/lang/String;)V
    • debugln

      private void debugln(String in)
      Mappings:
      Namespace Name Mixin selector
      intermediary method_1169 Lnet/minecraft/class_353;method_1169(Ljava/lang/String;)V
      glue method_1510 Lclass_378;method_1510(Ljava/lang/String;)V
      server b Ljx;b(Ljava/lang/String;)V
      client b Lqj;b(Ljava/lang/String;)V
      named debugln Lnet/minecraft/level/storage/RegionFile;debugln(Ljava/lang/String;)V
    • debug

      private void debug(String mode, int x, int z, String in)
      Mappings:
      Namespace Name Mixin selector
      intermediary method_1165 Lnet/minecraft/class_353;method_1165(Ljava/lang/String;IILjava/lang/String;)V
      glue method_1506 Lclass_378;method_1506(Ljava/lang/String;IILjava/lang/String;)V
      server a Ljx;a(Ljava/lang/String;IILjava/lang/String;)V
      client a Lqj;a(Ljava/lang/String;IILjava/lang/String;)V
      named debug Lnet/minecraft/level/storage/RegionFile;debug(Ljava/lang/String;IILjava/lang/String;)V
    • debug

      private void debug(String mode, int x, int z, int count, String in)
      Mappings:
      Namespace Name Mixin selector
      intermediary method_1164 Lnet/minecraft/class_353;method_1164(Ljava/lang/String;IIILjava/lang/String;)V
      glue method_1505 Lclass_378;method_1505(Ljava/lang/String;IIILjava/lang/String;)V
      server a Ljx;a(Ljava/lang/String;IIILjava/lang/String;)V
      client a Lqj;a(Ljava/lang/String;IIILjava/lang/String;)V
      named debug Lnet/minecraft/level/storage/RegionFile;debug(Ljava/lang/String;IIILjava/lang/String;)V
    • debugln

      private void debugln(String mode, int x, int z, String in)
      Mappings:
      Namespace Name Mixin selector
      intermediary method_1170 Lnet/minecraft/class_353;method_1170(Ljava/lang/String;IILjava/lang/String;)V
      glue method_1511 Lclass_378;method_1511(Ljava/lang/String;IILjava/lang/String;)V
      server b Ljx;b(Ljava/lang/String;IILjava/lang/String;)V
      client b Lqj;b(Ljava/lang/String;IILjava/lang/String;)V
      named debugln Lnet/minecraft/level/storage/RegionFile;debugln(Ljava/lang/String;IILjava/lang/String;)V
    • getChunkDataInputStream

      public DataInputStream getChunkDataInputStream(int x, int z)
      Mappings:
      Namespace Name Mixin selector
      intermediary method_1159 Lnet/minecraft/class_353;method_1159(II)Ljava/io/DataInputStream;
      glue method_1500 Lclass_378;method_1500(II)Ljava/io/DataInputStream;
      server a Ljx;a(II)Ljava/io/DataInputStream;
      client a Lqj;a(II)Ljava/io/DataInputStream;
      named getChunkDataInputStream Lnet/minecraft/level/storage/RegionFile;getChunkDataInputStream(II)Ljava/io/DataInputStream;
    • getChunkDataOutputStream

      public DataOutputStream getChunkDataOutputStream(int x, int z)
      Mappings:
      Namespace Name Mixin selector
      intermediary method_1167 Lnet/minecraft/class_353;method_1167(II)Ljava/io/DataOutputStream;
      glue method_1508 Lclass_378;method_1508(II)Ljava/io/DataOutputStream;
      server b Ljx;b(II)Ljava/io/DataOutputStream;
      client b Lqj;b(II)Ljava/io/DataOutputStream;
      named getChunkDataOutputStream Lnet/minecraft/level/storage/RegionFile;getChunkDataOutputStream(II)Ljava/io/DataOutputStream;
    • write

      protected void write(int x, int z, byte[] data, int length)
      Mappings:
      Namespace Name Mixin selector
      intermediary method_1161 Lnet/minecraft/class_353;method_1161(II[BI)V
      glue method_1502 Lclass_378;method_1502(II[BI)V
      server a Ljx;a(II[BI)V
      client a Lqj;a(II[BI)V
      named write Lnet/minecraft/level/storage/RegionFile;write(II[BI)V
    • write

      private void write(int sector, byte[] data, int length)
      Mappings:
      Namespace Name Mixin selector
      intermediary method_1162 Lnet/minecraft/class_353;method_1162(I[BI)V
      glue method_1503 Lclass_378;method_1503(I[BI)V
      server a Ljx;a(I[BI)V
      client a Lqj;a(I[BI)V
      named write Lnet/minecraft/level/storage/RegionFile;write(I[BI)V
    • outOfBounds

      private boolean outOfBounds(int x, int z)
      Mappings:
      Namespace Name Mixin selector
      intermediary method_1172 Lnet/minecraft/class_353;method_1172(II)Z
      glue method_1513 Lclass_378;method_1513(II)Z
      server d Ljx;d(II)Z
      client d Lqj;d(II)Z
      named outOfBounds Lnet/minecraft/level/storage/RegionFile;outOfBounds(II)Z
    • getOffset

      private int getOffset(int x, int z)
      Mappings:
      Namespace Name Mixin selector
      intermediary method_1173 Lnet/minecraft/class_353;method_1173(II)I
      glue method_1514 Lclass_378;method_1514(II)I
      server e Ljx;e(II)I
      client e Lqj;e(II)I
      named getOffset Lnet/minecraft/level/storage/RegionFile;getOffset(II)I
    • offsetHasData

      public boolean offsetHasData(int int2, int int3)
      Mappings:
      Namespace Name Mixin selector
      intermediary method_1171 Lnet/minecraft/class_353;method_1171(II)Z
      glue method_1512 Lclass_378;method_1512(II)Z
      server c Ljx;c(II)Z
      client c Lqj;c(II)Z
      named offsetHasData Lnet/minecraft/level/storage/RegionFile;offsetHasData(II)Z
    • setOffset

      private void setOffset(int x, int z, int offset)
      Mappings:
      Namespace Name Mixin selector
      intermediary method_1160 Lnet/minecraft/class_353;method_1160(III)V
      glue method_1501 Lclass_378;method_1501(III)V
      server a Ljx;a(III)V
      client a Lqj;a(III)V
      named setOffset Lnet/minecraft/level/storage/RegionFile;setOffset(III)V
    • writeTimestamp

      private void writeTimestamp(int x, int z, int timestamp)
      Mappings:
      Namespace Name Mixin selector
      intermediary method_1168 Lnet/minecraft/class_353;method_1168(III)V
      glue method_1509 Lclass_378;method_1509(III)V
      server b Ljx;b(III)V
      client b Lqj;b(III)V
      named writeTimestamp Lnet/minecraft/level/storage/RegionFile;writeTimestamp(III)V
    • close

      public void close()
      Mappings:
      Namespace Name Mixin selector
      intermediary method_1166 Lnet/minecraft/class_353;method_1166()V
      glue method_1507 Lclass_378;method_1507()V
      server b Ljx;b()V
      client b Lqj;b()V
      named close Lnet/minecraft/level/storage/RegionFile;close()V