Open yungando opened 5 months ago
Previously didn't test vanilla Elytra with armour that had been created with commands, and not been created with the datapack. This was causing a crash.
Second commit allows the chestplate NBT lookup to return null and fall-back to using the iron armour icon, similar to the rest of the mod.
Adds support for Vanilla Tweak's Armored Elytra datapack.
When wearing an Armored Elytra from the datapack, the mod shows the material of the chestplate used during creation. An elytra combined with a netherite chestplate will show the netherite icon when worn, for example.
May need refactoring to better fit the codebase. Tested all armored elytra variants, as well as unmodified elytra without issue.