mirror of https://github.com/FabricMC/yarn.git
Fix wrong mappings at InGameHud (#3075)
* Fix wrong mappings `Lnet/minecraft/client/gui/hud/InGameHud;titleTotalTicks:I` and `Lnet/minecraft/client/gui/hud/InGameHud;titleRemainTicks:I` have some wrong mappings The renaming is simple: * `titleTotalTicks` -> `titleRemainingTicks` * `titleRemainTicks` -> `titleStayTicks` Total ticks seems like the total time it is on the screen, but it is a reducing value, as it can be seen on `Lnet/minecraft/client/gui/hud/InGameHud;tick()V` where it has `--this.titleTotalTicks;` Remain ticks seem to be the ticks remaining for the title on the screen, but it is the amount of ticks between fade out and fade in, on `TitleCommand` at `/title times fadeIn stay fadeOut` it's parameter is labled as `stay` * Update InGameHud.mapping
This commit is contained in:
parent
7930e597e4
commit
fd1158aa3f
|
@ -9,13 +9,13 @@ CLASS net/minecraft/class_329 net/minecraft/client/gui/hud/InGameHud
|
|||
FIELD field_2014 lastHealthValue I
|
||||
FIELD field_2015 playerListHud Lnet/minecraft/class_355;
|
||||
FIELD field_2016 title Lnet/minecraft/class_2561;
|
||||
FIELD field_2017 titleRemainTicks I
|
||||
FIELD field_2017 titleStayTicks I
|
||||
FIELD field_2018 overlayMessage Lnet/minecraft/class_2561;
|
||||
FIELD field_2019 PUMPKIN_BLUR Lnet/minecraft/class_2960;
|
||||
FIELD field_2020 VIGNETTE_TEXTURE Lnet/minecraft/class_2960;
|
||||
FIELD field_2021 chatHud Lnet/minecraft/class_338;
|
||||
FIELD field_2022 listeners Ljava/util/Map;
|
||||
FIELD field_2023 titleTotalTicks I
|
||||
FIELD field_2023 titleRemainTicks I
|
||||
FIELD field_2024 itemRenderer Lnet/minecraft/class_918;
|
||||
FIELD field_2025 spectatorHud Lnet/minecraft/class_365;
|
||||
FIELD field_2026 debugHud Lnet/minecraft/class_340;
|
||||
|
|
Loading…
Reference in New Issue