hello. Anyone familiar with armor model generators on datagen?
Am I correct? in 1.21.5, the ItemModelGenerator#registerArmor does not care about the euipment type any more? in other words, is doesn't matter if we are registering a helmet or a leggings any more?
so, will this generate the armor models correctly?
public static void generateArmorModel(String modID, ItemModelGenerator generator, Item armor, ArmorMaterial material, boolean dyeable)//, EquipmentType slot, boolean dyeable)
{
Identifier id = material.assetId().getValue();
String name = Registries.ITEM.getId(armor).getPath();
RegistryKey<EquipmentAsset> key = RegistryKey.of(RegistryKey.ofRegistry(Identifier.ofVanilla("equipment_asset")), identifier(modID, name));
generator.registerArmor(armor, key, id, dyeable);
}```