-
Notifications
You must be signed in to change notification settings - Fork 31
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Add public domain RegionFile names. The only names I wrote myself here are the ones involving the timestamp array, which was added by Notch. * Level format conversion mappings Some of these names are not great but they're better than being obf'd * Bump build number
- Loading branch information
1 parent
6cfb3e2
commit 2921994
Showing
6 changed files
with
98 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
15 changes: 13 additions & 2 deletions
15
mappings/net/minecraft/level/storage/McRegionLevelStorage.mapping
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,14 @@ | ||
CLASS net/minecraft/class_157 net/minecraft/level/storage/McRegionLevelStorage | ||
METHOD method_536 (Ljava/io/File;Ljava/util/ArrayList;Ljava/util/ArrayList;)V | ||
ARG 1 file | ||
METHOD method_535 convertChunks (Ljava/io/File;Ljava/util/ArrayList;IILnet/minecraft/class_62;)V | ||
ARG 1 levelDir | ||
ARG 2 comparableList | ||
ARG 3 startCount | ||
ARG 4 endCount | ||
METHOD method_536 scanLevelDir (Ljava/io/File;Ljava/util/ArrayList;Ljava/util/ArrayList;)V | ||
ARG 1 levelDir | ||
ARG 2 comparableList | ||
ARG 3 fileList | ||
METHOD method_537 deleteOldFiles (Ljava/util/ArrayList;IILnet/minecraft/class_62;)V | ||
ARG 1 fileList | ||
ARG 2 startCount | ||
ARG 3 endCount |
7 changes: 7 additions & 0 deletions
7
mappings/net/minecraft/level/storage/OldRegionComparable.mapping
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
CLASS net/minecraft/class_634 net/minecraft/level/storage/OldRegionComparable | ||
FIELD field_2754 file Ljava/io/File; | ||
FIELD field_2755 x I | ||
FIELD field_2756 z I | ||
METHOD method_2095 getFile ()Ljava/io/File; | ||
METHOD method_2097 getX ()I | ||
METHOD method_2098 getZ ()I |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,67 @@ | ||
CLASS net/minecraft/class_353 net/minecraft/level/storage/RegionFile | ||
CLASS class_354 ChunkBuffer | ||
FIELD field_1324 x I | ||
FIELD field_1325 z I | ||
METHOD <init> (Lnet/minecraft/class_353;II)V | ||
ARG 2 x | ||
ARG 3 z | ||
FIELD field_1315 emptySector [B | ||
FIELD field_1316 fileName Ljava/io/File; | ||
FIELD field_1317 file Ljava/io/RandomAccessFile; | ||
FIELD field_1318 offsets [I | ||
FIELD field_1319 timestamps [I | ||
FIELD field_1320 sectorFree Ljava/util/ArrayList; | ||
FIELD field_1321 sizeDelta I | ||
FIELD field_1322 lastModified J | ||
METHOD method_1158 getSizeDelta ()I | ||
METHOD method_1159 getChunkDataInputStream (II)Ljava/io/DataInputStream; | ||
ARG 1 x | ||
ARG 2 z | ||
METHOD method_1160 setOffset (III)V | ||
ARG 1 x | ||
ARG 2 z | ||
ARG 3 offset | ||
METHOD method_1161 write (II[BI)V | ||
ARG 1 x | ||
ARG 2 z | ||
ARG 3 data | ||
ARG 4 length | ||
METHOD method_1162 write (I[BI)V | ||
ARG 1 sector | ||
ARG 2 data | ||
ARG 3 length | ||
METHOD method_1163 debug (Ljava/lang/String;)V | ||
ARG 1 in | ||
METHOD method_1164 debug (Ljava/lang/String;IIILjava/lang/String;)V | ||
ARG 1 mode | ||
ARG 2 x | ||
ARG 3 z | ||
ARG 4 count | ||
ARG 5 in | ||
METHOD method_1165 debug (Ljava/lang/String;IILjava/lang/String;)V | ||
ARG 1 mode | ||
ARG 2 x | ||
ARG 3 z | ||
ARG 4 in | ||
METHOD method_1166 close ()V | ||
METHOD method_1167 getChunkDataOutputStream (II)Ljava/io/DataOutputStream; | ||
ARG 1 x | ||
ARG 2 z | ||
METHOD method_1168 writeTimestamp (III)V | ||
ARG 1 x | ||
ARG 2 z | ||
ARG 3 timestamp | ||
METHOD method_1169 debugln (Ljava/lang/String;)V | ||
ARG 1 in | ||
METHOD method_1170 debugln (Ljava/lang/String;IILjava/lang/String;)V | ||
ARG 1 mode | ||
ARG 2 x | ||
ARG 3 z | ||
ARG 4 in | ||
METHOD method_1171 offsetHasData (II)Z | ||
METHOD method_1172 outOfBounds (II)Z | ||
ARG 1 x | ||
ARG 2 z | ||
METHOD method_1173 getOffset (II)I | ||
ARG 1 x | ||
ARG 2 z |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
CLASS net/minecraft/class_379 net/minecraft/level/storage/RegionLoader | ||
FIELD field_1429 regionCache Ljava/util/Map; | ||
METHOD method_1212 clearCache ()V | ||
METHOD method_1213 getRegion (Ljava/io/File;II)Lnet/minecraft/class_353; | ||
ARG 0 levelDir | ||
ARG 1 x | ||
ARG 2 z |