mirror of https://github.com/FabricMC/yarn.git
21w37a version and shared constants (#2687)
* 21w37a version and shared constants * Update mappings/net/minecraft/SaveVersion.mapping Co-authored-by: enbrain <69905075+enbrain@users.noreply.github.com> * Update mappings/net/minecraft/SharedConstants.mapping Co-authored-by: liach <7806504+liach@users.noreply.github.com> * Apply suggestions from code review Co-authored-by: liach <7806504+liach@users.noreply.github.com> Co-authored-by: modmuss50 <modmuss50@gmail.com> Co-authored-by: enbrain <69905075+enbrain@users.noreply.github.com> Co-authored-by: liach <7806504+liach@users.noreply.github.com>
This commit is contained in:
parent
1866662e34
commit
61372ae755
|
@ -25,7 +25,8 @@ CLASS net/minecraft/class_6595 net/minecraft/SaveVersion
|
|||
ARG 1 other
|
||||
METHOD method_38494 getId ()I
|
||||
COMMENT {@return the integer data version of this save version}
|
||||
METHOD method_38495 hasOldWorldHeight ()Z
|
||||
COMMENT This method always returns {@code false}, but its usage appears to
|
||||
COMMENT indicate that it returns if this save version has the old 0 to 255 world
|
||||
COMMENT height limit.
|
||||
METHOD method_38495 hasIncompatibleWorldHeight ()Z
|
||||
COMMENT {@return if this save version has the new -64 to 319 world height limit}
|
||||
COMMENT
|
||||
COMMENT <p>This corresponds to world versions {@code 2693} to {@code 2706}, or
|
||||
COMMENT game versions 21w06a to 21w14a.
|
||||
|
|
|
@ -18,8 +18,11 @@ CLASS net/minecraft/class_155 net/minecraft/SharedConstants
|
|||
FIELD field_29734 RELEASE_TARGET Ljava/lang/String;
|
||||
FIELD field_29735 RELEASE_TARGET_PROTOCOL_VERSION I
|
||||
FIELD field_29737 SNBT_TOO_OLD_THRESHOLD I
|
||||
FIELD field_29738 RESOURCE_PACK_VERSION I
|
||||
FIELD field_29739 DATA_PACK_VERSION I
|
||||
FIELD field_29740 DATA_VERSION_KEY Ljava/lang/String;
|
||||
FIELD field_34371 DEBUG_BIOME_SOURCE Z
|
||||
FIELD field_34373 CURRENT_SERIES Ljava/lang/String;
|
||||
METHOD method_16673 getGameVersion ()Lnet/minecraft/class_6489;
|
||||
METHOD method_31372 getProtocolVersion ()I
|
||||
METHOD method_34872 setGameVersion (Lnet/minecraft/class_6489;)V
|
||||
|
|
|
@ -7,7 +7,7 @@ CLASS net/minecraft/class_528 net/minecraft/client/gui/screen/world/WorldListWid
|
|||
FIELD field_26608 SNAPSHOT_FIRST_LINE Lnet/minecraft/class_2561;
|
||||
FIELD field_26609 SNAPSHOT_SECOND_LINE 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_28857 INCOMPATIBLE_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;
|
||||
|
|
|
@ -29,12 +29,14 @@ CLASS net/minecraft/class_34 net/minecraft/world/level/storage/LevelSummary
|
|||
METHOD method_27430 createDetails ()Lnet/minecraft/class_2561;
|
||||
METHOD method_29586 getVersionInfo ()Lnet/minecraft/class_5315;
|
||||
METHOD method_33405 getConversionWarning ()Lnet/minecraft/class_34$class_5781;
|
||||
METHOD method_33783 isPreWorldHeightChangeVersion ()Z
|
||||
COMMENT Returns whether the level is from a version before the world height was changed to -64 to 320.
|
||||
METHOD method_33783 hasIncompatibleWorldHeight ()Z
|
||||
COMMENT Returns whether the level is from a version after the world height was changed to -64 to 320.
|
||||
COMMENT
|
||||
COMMENT <p>This includes world versions {@code 2692} and earlier (21w05b and earlier).
|
||||
COMMENT <p>This corresponds to world versions {@code 2693} to {@code 2706}, or
|
||||
COMMENT game versions 21w06a to 21w14a.
|
||||
METHOD method_33784 isUnavailable ()Z
|
||||
METHOD method_35505 getLevelInfo ()Lnet/minecraft/class_1940;
|
||||
METHOD method_38496 isVersionAvailable ()Z
|
||||
CLASS class_5781 ConversionWarning
|
||||
FIELD field_28440 backup Z
|
||||
FIELD field_28441 boldRedFormatting Z
|
||||
|
|
Loading…
Reference in New Issue