Map fields and methods that prevent old worlds from loading on 21w06a (#2042)

This commit is contained in:
haykam821 2021-02-10 15:16:05 -05:00 committed by GitHub
parent 3f9425b857
commit f3349f12b0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 6 additions and 0 deletions

View File

@ -7,6 +7,7 @@ CLASS net/minecraft/class_528 net/minecraft/client/gui/screen/world/WorldListWid
FIELD field_26608 SNAPSHOT_ONE_TOOLTIP Lnet/minecraft/class_2561;
FIELD field_26609 SNAPSHOT_TWO_TOOLTIP Lnet/minecraft/class_2561;
FIELD field_26610 LOCKED_TEXT Lnet/minecraft/class_2561;
FIELD field_28857 PRE_WORLDHEIGHT_TEXT Lnet/minecraft/class_2561;
FIELD field_3237 parent Lnet/minecraft/class_526;
FIELD field_3238 LOGGER Lorg/apache/logging/log4j/Logger;
FIELD field_3239 levels Ljava/util/List;

View File

@ -28,3 +28,8 @@ CLASS net/minecraft/class_34 net/minecraft/world/level/storage/LevelSummary
METHOD method_27429 getDetails ()Lnet/minecraft/class_2561;
METHOD method_27430 createDetails ()Lnet/minecraft/class_2561;
METHOD method_29586 getVersionInfo ()Lnet/minecraft/class_5315;
METHOD method_33783 isPreWorldHeightChangeVersion ()Z
COMMENT Returns whether the level is from a version before the world height was changed to -64 to 320.
COMMENT
COMMENT <p>This includes world versions {@code 2692} and earlier (21w05b and earlier).
METHOD method_33784 isUnavailable ()Z