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:
Awakened-Redstone 2022-04-06 13:05:41 -03:00 committed by GitHub
parent 7930e597e4
commit fd1158aa3f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -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;