- 
    
Bug
 - 
    Resolution: Unresolved
 - 
    None
 - 
    1.20.4, 24w14a, 24w44a
 - 
    None
 
- 
        Confirmed
 - 
        Textures and models
 
Relates to MC-269935 and MC-270259.
The bug
If a mcmeta file is used to define how the chest slots for donkey, mule and llama inventories scale, they will not scale as expected.
How to reproduce
- Download and apply each attached resource pack
 - Enter the inventory of any chested donkey, mule or llama with less than maximum strength
 - Observe the chest slots
 
Expected results
- For "stretch", the texture file would be stretched to accommodate the amount of slots.
 - For "tile", the texture would repeat and be cut off to accommodate the amount of slots.
 - For "nine_slice", we'd expect the same as above, but the rightmost slot's border would be magenta instead of green.
 
Actual results
Before 24w44a:
- For "stretch", the texture is repeated and is cut off to accommodate the amount of slots. This is the behaviour that was expected of "tile".
 - For "tile" and "nine_slice", the texture is stretched to accommodate the amount of slots. This is the behaviour that was expected of "stretch".
 
24w44a onwards:
- For "stretch", the texture is pre-stretched and then truncated to indicate the amount of slots.
 - For "tile", the texture is pre-tiled and then truncated to indicate the amount of slots. This is the correct behaviour.
 - For "nine_slice", the texture is pre-ninesliced and then truncated to indicate the amount of slots. This is almost correct, however the rightmost part of the rightmost slots are not purple as expected.
 
How to fix
Code changes are required. To preserve vanilla's behaviour after the fix you'll want to include a mcmeta file in the default textures to make sure it uses "tile" scaling.