-
Bug
-
Resolution: Unresolved
-
None
-
1.20.4, 24w14a
-
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
- 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".
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.