forked from FabricMC/yarn
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* 22w15a stuff * Apply suggestions from code review Co-authored-by: enbrain <[email protected]> * Apply suggestions from code review Co-authored-by: enbrain <[email protected]> Co-authored-by: enbrain <[email protected]>
- Loading branch information
Showing
13 changed files
with
146 additions
and
2 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
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,6 +1,61 @@ | ||
CLASS net/minecraft/class_2408 net/minecraft/data/DataCache | ||
FIELD field_11285 root Ljava/nio/file/Path; | ||
FIELD field_11287 LOGGER Lorg/slf4j/Logger; | ||
FIELD field_38912 HEADER Ljava/lang/String; | ||
FIELD field_38913 cachePath Ljava/nio/file/Path; | ||
FIELD field_38914 versionName Ljava/lang/String; | ||
FIELD field_38915 cachedDatas Ljava/util/Map; | ||
FIELD field_38916 dataWriters Ljava/util/Map; | ||
FIELD field_38917 paths Ljava/util/Set; | ||
FIELD field_38918 totalSize I | ||
METHOD <init> (Ljava/nio/file/Path;Ljava/util/List;Lnet/minecraft/class_6489;)V | ||
ARG 1 root | ||
ARG 2 dataProviders | ||
ARG 3 gameVersion | ||
METHOD method_10326 write ()V | ||
METHOD method_43347 isVersionDifferent (Lnet/minecraft/class_2405;)Z | ||
ARG 1 dataProvider | ||
METHOD method_43348 parseOrCreateCache (Ljava/nio/file/Path;Ljava/nio/file/Path;)Lnet/minecraft/class_2408$class_7405; | ||
ARG 0 root | ||
ARG 1 dataProviderPath | ||
METHOD method_43349 (Ljava/util/Set;Lnet/minecraft/class_2408$class_7405;)V | ||
ARG 1 cachedData | ||
METHOD method_43350 (Lorg/apache/commons/lang3/mutable/MutableInt;Lnet/minecraft/class_2405;Lnet/minecraft/class_2408$class_7404;)V | ||
ARG 2 dataProvider | ||
ARG 3 writer | ||
METHOD method_43351 (Lorg/apache/commons/lang3/mutable/MutableInt;Ljava/util/Set;Lorg/apache/commons/lang3/mutable/MutableInt;Ljava/nio/file/Path;)V | ||
ARG 4 path | ||
METHOD method_43352 getOrCreateWriter (Lnet/minecraft/class_2405;)Lnet/minecraft/class_7403; | ||
ARG 1 dataProvider | ||
METHOD method_43353 getPath (Lnet/minecraft/class_2405;)Ljava/nio/file/Path; | ||
ARG 1 dataProvider | ||
METHOD method_43354 (Lnet/minecraft/class_2405;)Lnet/minecraft/class_2408$class_7404; | ||
ARG 1 provider | ||
CLASS class_7404 CachedDataWriter | ||
FIELD field_38919 oldCache Lnet/minecraft/class_2408$class_7405; | ||
FIELD field_38920 newCache Lnet/minecraft/class_2408$class_7405; | ||
FIELD field_38921 cacheMissCount I | ||
METHOD <init> (Ljava/lang/String;Lnet/minecraft/class_2408$class_7405;)V | ||
ARG 1 versionName | ||
ARG 2 cachedData | ||
METHOD method_43355 isCacheInvalid (Ljava/nio/file/Path;Ljava/lang/String;)Z | ||
ARG 1 path | ||
ARG 2 hash | ||
CLASS class_7405 CachedData | ||
METHOD <init> (Ljava/lang/String;)V | ||
ARG 1 version | ||
METHOD method_43356 size ()I | ||
METHOD method_43357 get (Ljava/nio/file/Path;)Ljava/lang/String; | ||
ARG 1 path | ||
METHOD method_43358 put (Ljava/nio/file/Path;Ljava/lang/String;)V | ||
ARG 1 path | ||
ARG 2 value | ||
METHOD method_43359 parseCache (Ljava/nio/file/Path;Ljava/nio/file/Path;)Lnet/minecraft/class_2408$class_7405; | ||
ARG 0 root | ||
ARG 1 dataProviderPath | ||
METHOD method_43360 write (Ljava/nio/file/Path;Ljava/nio/file/Path;Ljava/lang/String;)V | ||
ARG 1 root | ||
ARG 2 dataProviderPath | ||
ARG 3 description | ||
METHOD method_43361 (Ljava/util/Map;Ljava/nio/file/Path;Ljava/lang/String;)V | ||
ARG 2 line |
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
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,8 @@ | ||
CLASS net/minecraft/class_7403 net/minecraft/data/DataWriter | ||
METHOD method_43345 write (Ljava/nio/file/Path;Ljava/lang/String;)V | ||
ARG 1 path | ||
ARG 2 data | ||
METHOD method_43346 write (Ljava/nio/file/Path;[BLjava/lang/String;)V | ||
ARG 1 path | ||
ARG 2 data | ||
ARG 3 hash |
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
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,4 +1,13 @@ | ||
CLASS net/minecraft/class_7090 net/minecraft/datafixer/fix/BlendingDataFix | ||
FIELD field_37414 name Ljava/lang/String; | ||
FIELD field_37415 SKIP_BLENDING_STATUSES Ljava/util/Set; | ||
METHOD <init> (Lcom/mojang/datafixers/schemas/Schema;)V | ||
ARG 1 schema | ||
METHOD method_41311 (Lcom/mojang/datafixers/Typed;)Lcom/mojang/datafixers/Typed; | ||
ARG 0 typed | ||
METHOD method_41312 update (Lcom/mojang/serialization/Dynamic;)Lcom/mojang/serialization/Dynamic; | ||
ARG 0 dynamic | ||
METHOD method_41313 setSections (Lcom/mojang/serialization/Dynamic;II)Lcom/mojang/serialization/Dynamic; | ||
ARG 0 dynamic | ||
ARG 1 height | ||
ARG 2 minY |
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
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