-
Bug
-
Resolution: Unresolved
-
None
-
1.21.1, 1.21.2 Release Candidate 1
-
None
-
Community Consensus
-
(Unassigned)
Relates to: MC-269935 MC-270259 MC-270520 MC-270565 MC-270567
The bug
The progress textures for the attack indicators don't scale in the expected way when a mcmeta file is used to define how they scale.
How to reproduce
- Download and apply the attached resource packs individually
- Attack (weapons with considerable cooldown may make things easier to see)
Expected results
- For "stretch", the progress texture would stretch to accommodate the cooldown duration.
- For "tile", the texture would repeat itself to accommodate the cooldown duration.
- For "nine_slice" we'd get a similar result to "tile", but only the center would repeat and there would be a continuous border.
Actual results
- For "stretch", the texture is pre-stretched and then truncated to indicate the cooldown duration.
- For both "tile" and "nine_slice" we get the behaviour we'd previously expected for "stretch" - the texture stretches to fit the cooldown duration.
How to fix
Make these use the scaling correctly. (For tile and nine_slice, it may be worth including a json parameter to indicate that the tiling occurs from the bottom up for the hotbar version, rather than the top down.)