When adding a custom trim pattern with a data pack and resource pack, the entity armor model looks correct, but the inventory item always uses the sentry pattern, with no way to change this.
How to reproduce
Download and enable the attached data pack and resource pack
Open a new world (/reload doesn't work for trim patterns)
Give yourself an armor piece with the new Stripes pattern, either by using sticks as template in a smithing table, or with this command:
/give @s minecraft:iron_chestplate{Trim:{pattern:"example:stripes",material:"minecraft:redstone"}}Notice that the armor model is renderer correctly, but the inventory item has the wrong pattern.
I've just been made aware that this also applies to vanilla patterns, and is mentioned in the article, so you can consider this bug report invalid.