inferSlot

public static Optional<EquipmentSlotMapper.Slot> inferSlot(JsonObject equipmentJson, String filenameStem)

Given a parsed equipment JSON and a filename stem, infer the most likely slot. Returns empty if the equipment file's layers don't match any known pattern.