ArmorTrimHelper
com.jsmacrosce.jsmacros.client.api.helper.inventory.ArmorTrimHelper
Identifies an armor trim by its pattern and material.
js
const trim = Player.getPlayer()?.getMainHand().getComponents().getArmorTrim();
if (trim != null) Chat.log(`${trim.getPatternId()} with ${trim.getMaterialId()}`);