Add missing mappings in LevelSummary (#1924)

* couple of SplashScreen names (#1766)

* couple of SplashScreen names

* Update SplashScreen.mapping

* Add missing mappings in LevelSummary

`field_24191` contains a `net.minecraft.text.Text` storing game mode, version, and other level details (such as if cheats are enabled) as a formatted string (This is the third line of text for each level in the list on the world selection screen).
The value of this field is created by `method_27430` and publicly accessible via `method_27429`.

Also mapped the `SaveVersionInfo` member to `versionInfo`, which seems like a no-brainer.

* Reorder `field_24191` to stay alphabetical

Co-authored-by: LoganDark <logandarklock@gmail.com>
This commit is contained in:
yyny 2020-12-23 17:47:45 +01:00 committed by GitHub
parent c1edcd1149
commit 6bd581026e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 0 deletions

View File

@ -3,7 +3,9 @@ CLASS net/minecraft/class_34 net/minecraft/world/level/storage/LevelSummary
FIELD field_209 requiresConversion Z
FIELD field_23772 locked Z
FIELD field_23773 file Ljava/io/File;
FIELD field_24191 details Lnet/minecraft/class_2561;
FIELD field_25022 levelInfo Lnet/minecraft/class_1940;
FIELD field_25023 versionInfo Lnet/minecraft/class_5315;
METHOD method_247 getGameMode ()Lnet/minecraft/class_1934;
METHOD method_248 getName ()Ljava/lang/String;
METHOD method_249 getLastPlayed ()J
@ -17,3 +19,5 @@ CLASS net/minecraft/class_34 net/minecraft/world/level/storage/LevelSummary
METHOD method_260 isFutureLevel ()Z
METHOD method_27020 getFile ()Ljava/io/File;
METHOD method_27021 isLocked ()Z
METHOD method_27429 getDetails ()Lnet/minecraft/class_2561;
METHOD method_27430 createDetails ()Lnet/minecraft/class_2561;